/device/google/accessory/arduino/USB_Host_Shield/ |
D | Usb.h | 131 EP_RECORD* getDevTableEntry( byte addr, byte ep ); 132 void setDevTableEntry( byte addr, EP_RECORD* eprecord_ptr ); 133 …byte ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigne… 135 …byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit =… 136 …byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int… 137 …byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* … 139 byte setConf( byte addr, byte ep, byte conf_value, unsigned int nak_limit = USB_NAK_LIMIT ); 141 …byte setProto( byte addr, byte ep, byte interface, byte protocol, unsigned int nak_limit = USB_NAK… 142 …byte getProto( byte addr, byte ep, byte interface, char* dataptr, unsigned int nak_limit = USB_NAK… 143 …byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limi… [all …]
|
D | Usb.cpp | 67 EP_RECORD* USB::getDevTableEntry( byte addr, byte ep ) in getDevTableEntry() argument 70 ptr = devtable[ addr ].epinfo; in getDevTableEntry() 76 void USB::setDevTableEntry( byte addr, EP_RECORD* eprecord_ptr ) in setDevTableEntry() argument 78 devtable[ addr ].epinfo = eprecord_ptr; in setDevTableEntry() 86 byte USB::ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, uns… in ctrlReq() argument 92 regWr( rPERADDR, addr ); //set peripheral address in ctrlReq() 113 rcode = ctrlData( addr, ep, nbytes, dataptr, direction ); in ctrlReq() 137 byte USB::ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsi… in ctrlData() argument 141 devtable[ addr ].epinfo[ ep ].rcvToggle = bmRCVTOG1; in ctrlData() 142 rcode = inTransfer( addr, ep, nbytes, dataptr, nak_limit ); in ctrlData() [all …]
|
/device/generic/goldfish/libqemu/ |
D | test_host_1.c | 60 struct sockaddr_in addr; in socket_loopback_server() local 67 memset(&addr, 0, sizeof(addr)); in socket_loopback_server() 68 addr.sin_family = AF_INET; in socket_loopback_server() 69 addr.sin_port = htons(port); in socket_loopback_server() 70 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socket_loopback_server() 75 if (TFR(bind(sock, (struct sockaddr*)&addr, sizeof(addr))) < 0) { in socket_loopback_server() 93 struct sockaddr_un addr; in socket_unix_server() local 100 memset(&addr, 0, sizeof(addr)); in socket_unix_server() 101 addr.sun_family = AF_UNIX; in socket_unix_server() 102 snprintf(addr.sun_path, sizeof(addr.sun_path), "%s", path); in socket_unix_server() [all …]
|
D | test_host_2.c | 58 struct sockaddr_in addr; in socket_loopback_server() local 65 memset(&addr, 0, sizeof(addr)); in socket_loopback_server() 66 addr.sin_family = AF_INET; in socket_loopback_server() 67 addr.sin_port = htons(port); in socket_loopback_server() 68 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socket_loopback_server() 73 if (TFR(bind(sock, (struct sockaddr*)&addr, sizeof(addr))) < 0) { in socket_loopback_server()
|
D | test_util.c | 48 struct sockaddr_in addr; in pipe_openSocket() local 58 memset(&addr, 0, sizeof(addr)); in pipe_openSocket() 59 addr.sin_family = AF_INET; in pipe_openSocket() 60 addr.sin_port = htons(port); in pipe_openSocket() 61 addr.sin_addr.s_addr = htonl(0x0a000202); in pipe_openSocket() 63 if ( connect(fd, (struct sockaddr*)&addr, sizeof(addr)) < 0 ) { in pipe_openSocket()
|
/device/google/accessory/arduino/AndroidAccessory/ |
D | AndroidAccessory.cpp | 60 int AndroidAccessory::getProtocol(byte addr) in getProtocol() argument 63 usb.ctrlReq(addr, 0, in getProtocol() 71 void AndroidAccessory::sendString(byte addr, int index, const char *str) in sendString() argument 73 usb.ctrlReq(addr, 0, in sendString() 82 bool AndroidAccessory::switchDevice(byte addr) in switchDevice() argument 84 int protocol = getProtocol(addr); in switchDevice() 93 sendString(addr, ACCESSORY_STRING_MANUFACTURER, manufacturer); in switchDevice() 94 sendString(addr, ACCESSORY_STRING_MODEL, model); in switchDevice() 95 sendString(addr, ACCESSORY_STRING_DESCRIPTION, description); in switchDevice() 96 sendString(addr, ACCESSORY_STRING_VERSION, version); in switchDevice() [all …]
|
D | AndroidAccessory.h | 47 int getProtocol(byte addr); 48 void sendString(byte addr, int index, const char *str); 49 bool switchDevice(byte addr); 50 bool findEndpoints(byte addr, EP_RECORD *inEp, EP_RECORD *outEp);
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_helper.c | 86 int mm_camera_do_munmap(int pmem_fd, void *addr, size_t size) in mm_camera_do_munmap() argument 96 size, addr); in mm_camera_do_munmap() 97 rc = (munmap(addr, size)); in mm_camera_do_munmap() 99 CDBG("do_mmap: pmem munmap fd %d ptr %p len %u rc %d\n", pmem_fd, addr, in mm_camera_do_munmap() 150 void *addr, size_t size) in mm_camera_do_munmap_ion() argument 153 rc = munmap(addr, size); in mm_camera_do_munmap_ion() 167 int mm_camera_dump_image(void *addr, uint32_t size, char *filename) in mm_camera_dump_image() argument 175 write(file_fd, addr, size); in mm_camera_dump_image() 308 void *addr, size_t size) in mm_camera_do_munmap_ion() argument 311 rc = munmap(addr, size); in mm_camera_do_munmap_ion()
|
/device/lge/mako/camera/mm-camera-interface/ |
D | mm_camera_helper.c | 86 int mm_camera_do_munmap(int pmem_fd, void *addr, size_t size) in mm_camera_do_munmap() argument 96 size, addr); in mm_camera_do_munmap() 97 rc = (munmap(addr, size)); in mm_camera_do_munmap() 99 CDBG("do_mmap: pmem munmap fd %d ptr %p len %u rc %d\n", pmem_fd, addr, in mm_camera_do_munmap() 150 void *addr, size_t size) in mm_camera_do_munmap_ion() argument 153 rc = munmap(addr, size); in mm_camera_do_munmap_ion() 167 int mm_camera_dump_image(void *addr, uint32_t size, char *filename) in mm_camera_dump_image() argument 175 write(file_fd, addr, size); in mm_camera_dump_image() 325 void *addr, size_t size) in mm_camera_do_munmap_ion() argument 328 rc = munmap(addr, size); in mm_camera_do_munmap_ion()
|
D | mm_camera_interface2.h | 512 extern int mm_camera_do_munmap(int pmem_fd, void *addr, size_t size); 516 void *addr, size_t size); 517 extern int mm_camera_dump_image(void *addr, uint32_t size, char *filename); 528 void *addr, size_t size);
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 111 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer); in mm_jpeg_test_alloc() 112 if (NULL == p_buffer->addr) { in mm_jpeg_test_alloc() 118 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); in mm_jpeg_test_alloc() 119 if (NULL == p_buffer->addr) { in mm_jpeg_test_alloc() 129 if (p_buffer->addr == NULL) in mm_jpeg_test_free() 135 free(p_buffer->addr); in mm_jpeg_test_free() 161 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpeg_test_read() 210 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in encode_init() 217 p_params->src_main_buf[0].buf_vaddr = p_obj->input.addr; in encode_init()
|
D | mm_jpeg_ionbuf.h | 48 uint8_t *addr; member
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 111 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer); in mm_jpeg_test_alloc() 112 if (NULL == p_buffer->addr) { in mm_jpeg_test_alloc() 118 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); in mm_jpeg_test_alloc() 119 if (NULL == p_buffer->addr) { in mm_jpeg_test_alloc() 129 if (p_buffer->addr == NULL) in mm_jpeg_test_free() 135 free(p_buffer->addr); in mm_jpeg_test_free() 161 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpeg_test_read() 210 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in encode_init() 217 p_params->src_main_buf[0].buf_vaddr = p_obj->input.addr; in encode_init()
|
D | mm_jpeg_ionbuf.h | 48 uint8_t *addr; member
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | TcpStream.cpp | 63 struct sockaddr_in addr; in accept() local 64 socklen_t len = sizeof(addr); in accept() 65 clientSock = ::accept(m_sock, (sockaddr *)&addr, &len); in accept()
|
D | UnixStream.cpp | 108 struct sockaddr_un addr; in accept() local 109 socklen_t len = sizeof(addr); in accept() 110 clientSock = ::accept(m_sock, (sockaddr *)&addr, &len); in accept()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_helper.c | 43 int mm_camera_dump_image(void *addr, uint32_t size, char *filename) in mm_camera_dump_image() argument 51 write(file_fd, addr, size); in mm_camera_dump_image()
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpegdec_test.c | 145 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0); in mm_jpegdec_test_alloc() 146 if (NULL == p_buffer->addr) { in mm_jpegdec_test_alloc() 152 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); in mm_jpegdec_test_alloc() 153 if (NULL == p_buffer->addr) { in mm_jpegdec_test_alloc() 163 if (p_buffer->addr == NULL) in mm_jpegdec_test_free() 169 free(p_buffer->addr); in mm_jpegdec_test_free() 200 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read() 273 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in decode_init() 287 p_params->src_main_buf[0].buf_vaddr = p_obj->input.addr; in decode_init()
|
D | mm_jpeg_test.c | 192 p_buffer->addr = (uint8_t *)buffer_allocate(p_buffer, 0); in mm_jpeg_test_alloc() 193 if (NULL == p_buffer->addr) { in mm_jpeg_test_alloc() 199 p_buffer->addr = (uint8_t *)malloc(p_buffer->size); in mm_jpeg_test_alloc() 200 if (NULL == p_buffer->addr) { in mm_jpeg_test_alloc() 210 if (p_buffer->addr == NULL) in mm_jpeg_test_free() 216 free(p_buffer->addr); in mm_jpeg_test_free() 242 fread(p_obj->input[idx].addr, 1, p_obj->input[idx].size, fp); in mm_jpeg_test_read() 281 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init() 292 p_params->src_thumb_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init() 332 p_params->dest_buf[i].buf_vaddr = p_obj->output[i].addr; in encode_init() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 120 lrc = munmap(p_buffer->addr, lsize); in buffer_deallocate() 151 cache_inv_data.vaddr = p_buffer->addr; in buffer_invalidate()
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 48 uint8_t *addr; member
|
/device/asus/fugu/original-kernel-headers/linux/sound/ |
D | intel_sst_ioctl.h | 54 __u64 addr; member
|
/device/asus/fugu/kernel-headers/linux/sound/ |
D | intel_sst_ioctl.h | 42 __u64 addr; member
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 192 unsigned long addr; in dumpFrameToFile() local 194 addr = *tmp; in dumpFrameToFile() 202 rc = write(file_fd, (const void *)addr, len); in dumpFrameToFile() 204 __func__, buf, (uint32_t)newFrame->buffer, (void *)addr, len, rc); in dumpFrameToFile()
|
/device/lge/mako/sepolicy/ |
D | netmgrd.te | 32 # Runs /system/bin/ip addr flush dev <device> commands.
|