Home
last modified time | relevance | path

Searched refs:usb_handle (Results 1 - 9 of 9) sorted by relevance

/third_party/backends/backend/
H A Dhp3900_usb.c53 static SANE_Int usb_ctl_write (USB_Handle usb_handle, SANE_Int address,
56 static SANE_Int usb_ctl_read (USB_Handle usb_handle, SANE_Int address,
62 static SANE_Int IRead_Byte (USB_Handle usb_handle, SANE_Int address,
64 static SANE_Int IRead_Word (USB_Handle usb_handle, SANE_Int address,
66 static SANE_Int IRead_Integer (USB_Handle usb_handle, SANE_Int address,
68 static SANE_Int IRead_Buffer (USB_Handle usb_handle, SANE_Int address,
71 static SANE_Int IWrite_Byte (USB_Handle usb_handle, SANE_Int address,
74 static SANE_Int IWrite_Word (USB_Handle usb_handle, SANE_Int address,
76 static SANE_Int IWrite_Integer (USB_Handle usb_handle, SANE_Int address,
78 static SANE_Int IWrite_Buffer (USB_Handle usb_handle, SANE_In
108 IWrite_Byte(USB_Handle usb_handle, SANE_Int address, SANE_Byte data, SANE_Int index1, SANE_Int index2) IWrite_Byte() argument
127 IWrite_Word(USB_Handle usb_handle, SANE_Int address, SANE_Int data, SANE_Int index) IWrite_Word() argument
143 IWrite_Integer(USB_Handle usb_handle, SANE_Int address, SANE_Int data, SANE_Int index) IWrite_Integer() argument
161 IWrite_Buffer(USB_Handle usb_handle, SANE_Int address, SANE_Byte * buffer, SANE_Int size, SANE_Int index) IWrite_Buffer() argument
174 IRead_Byte(USB_Handle usb_handle, SANE_Int address, SANE_Byte * data, SANE_Int index) IRead_Byte() argument
191 IRead_Word(USB_Handle usb_handle, SANE_Int address, SANE_Int * data, SANE_Int index) IRead_Word() argument
208 IRead_Integer(USB_Handle usb_handle, SANE_Int address, SANE_Int * data, SANE_Int index) IRead_Integer() argument
230 IRead_Buffer(USB_Handle usb_handle, SANE_Int address, SANE_Byte * buffer, SANE_Int size, SANE_Int index) IRead_Buffer() argument
243 Write_Byte(USB_Handle usb_handle, SANE_Int address, SANE_Byte data) Write_Byte() argument
249 Write_Word(USB_Handle usb_handle, SANE_Int address, SANE_Int data) Write_Word() argument
260 Write_Buffer(USB_Handle usb_handle, SANE_Int address, SANE_Byte * buffer, SANE_Int size) Write_Buffer() argument
267 Read_Byte(USB_Handle usb_handle, SANE_Int address, SANE_Byte * data) Read_Byte() argument
273 Read_Word(USB_Handle usb_handle, SANE_Int address, SANE_Int * data) Read_Word() argument
279 Read_Integer(USB_Handle usb_handle, SANE_Int address, SANE_Int * data) Read_Integer() argument
285 Read_Buffer(USB_Handle usb_handle, SANE_Int address, SANE_Byte * buffer, SANE_Int size) Read_Buffer() argument
292 Write_Bulk(USB_Handle usb_handle, SANE_Byte * buffer, SANE_Int size) Write_Bulk() argument
326 Read_Bulk(USB_Handle usb_handle, SANE_Byte * buffer, size_t size) Read_Bulk() argument
358 usb_ctl_write(USB_Handle usb_handle, SANE_Int address, SANE_Byte * buffer, SANE_Int size, SANE_Int index) usb_ctl_write() argument
400 usb_ctl_read(USB_Handle usb_handle, SANE_Int address, SANE_Byte * buffer, SANE_Int size, SANE_Int index) usb_ctl_read() argument
[all...]
H A Dhp3900_rts8822.c165 static SANE_Byte RTS_Sensor_Type (USB_Handle usb_handle);
189 static SANE_Int RTS_EEPROM_ReadByte (USB_Handle usb_handle, SANE_Int address,
191 static SANE_Int RTS_EEPROM_ReadInteger (USB_Handle usb_handle,
193 static SANE_Int RTS_EEPROM_ReadWord (USB_Handle usb_handle, SANE_Int address,
195 static SANE_Int RTS_EEPROM_WriteBuffer (USB_Handle usb_handle,
198 static SANE_Int RTS_EEPROM_WriteByte (USB_Handle usb_handle, SANE_Int address,
200 static SANE_Int RTS_EEPROM_WriteInteger (USB_Handle usb_handle,
202 static SANE_Int RTS_EEPROM_WriteWord (USB_Handle usb_handle, SANE_Int address,
231 static SANE_Int RTS_ReadRegs (USB_Handle usb_handle, SANE_Byte * buffer);
232 static SANE_Int RTS_WriteRegs (USB_Handle usb_handle, SANE_Byt
739 RTS_WriteRegs(USB_Handle usb_handle, SANE_Byte * buffer) RTS_WriteRegs() argument
752 RTS_ReadRegs(USB_Handle usb_handle, SANE_Byte * buffer) RTS_ReadRegs() argument
765 SetLock(USB_Handle usb_handle, SANE_Byte * Regs, SANE_Byte Enable) SetLock() argument
1070 RTS_Sensor_Type(USB_Handle usb_handle) RTS_Sensor_Type() argument
14304 RTS_EEPROM_WriteByte(USB_Handle usb_handle, SANE_Int address, SANE_Byte data) RTS_EEPROM_WriteByte() argument
14319 RTS_EEPROM_ReadWord(USB_Handle usb_handle, SANE_Int address, SANE_Int * data) RTS_EEPROM_ReadWord() argument
14333 RTS_EEPROM_ReadByte(USB_Handle usb_handle, SANE_Int address, SANE_Byte * data) RTS_EEPROM_ReadByte() argument
14348 RTS_EEPROM_WriteWord(USB_Handle usb_handle, SANE_Int address, SANE_Int data) RTS_EEPROM_WriteWord() argument
14363 RTS_EEPROM_ReadInteger(USB_Handle usb_handle, SANE_Int address, SANE_Int * data) RTS_EEPROM_ReadInteger() argument
14378 RTS_EEPROM_WriteInteger(USB_Handle usb_handle, SANE_Int address, SANE_Int data) RTS_EEPROM_WriteInteger() argument
14393 RTS_EEPROM_WriteBuffer(USB_Handle usb_handle, SANE_Int address, SANE_Byte * data, SANE_Int size) RTS_EEPROM_WriteBuffer() argument
[all...]
H A Dhp3900_types.c652 USB_Handle usb_handle; member
H A Dhp3900_sane.c1860 rst = sanei_usb_open (name, &device->usb_handle); in sane_open()
1876 (device->usb_handle, &vendor, in sane_open()
2697 sanei_usb_close (device->usb_handle); in sane_close()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
H A Dusb_handle.h56 struct usb_handle { struct
66 int (*open)(struct usb_handle *handle);
67 int (*close)(struct usb_handle *handle);
68 int (*read)(struct usb_handle *handle, void *buffer, size_t len);
69 int (*write)(struct usb_handle *handle, void *buffer, size_t len);
70 int (*ioctl)(struct usb_handle *handle, int cmd, void *arg);
71 void *(*mmap)(struct usb_handle *handle, uint32_t size);
72 int (*poll)(struct usb_handle *handle, int timeout);
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dusb_handle.c36 #include "usb_handle.h"
78 static struct usb_handle *handle_find_by_name(const char *devName) in handle_find_by_name()
80 struct usb_handle *handle = NULL; in handle_find_by_name()
103 static struct usb_handle *handle_find_by_fd(int fd) in handle_find_by_fd()
105 struct usb_handle *handle = NULL; in handle_find_by_fd()
130 struct usb_handle *handle = NULL; in register_handle()
141 handle = (struct usb_handle *)usbm_malloc(obj, sizeof(*handle)); in register_handle()
161 struct usb_handle *handle = NULL; in unregister_handle()
180 struct usb_handle *handle = NULL; in handle_open()
210 struct usb_handle *handl in handle_close()
[all...]
H A Dusbd_generic_epfile.c290 static int generic_epfile_handle_open(struct usb_handle *handle) in generic_epfile_handle_open()
304 static int generic_epfile_handle_close(struct usb_handle *handle) in generic_epfile_handle_close()
318 static ssize_t generic_epfile_handle_read(struct usb_handle *handle, void *buffer, size_t len) in generic_epfile_handle_read()
365 static ssize_t generic_epfile_handle_write(struct usb_handle *handle, void *buffer, size_t len) in generic_epfile_handle_write()
415 static int generic_epfile_handle_ioctl(struct usb_handle *handle, int cmd, void *arg) in generic_epfile_handle_ioctl()
526 static void *generic_epfile_handle_mmap(struct usb_handle *handle, uint32_t size) in generic_epfile_handle_mmap()
555 static int generic_epfile_handle_poll(struct usb_handle *handle, int timeout) in generic_epfile_handle_poll()
H A Dusbd_generic_ep0.c822 static int generic_ep0_handle_open(struct usb_handle *handle) in generic_ep0_handle_open()
843 static int generic_ep0_handle_close(struct usb_handle *handle) in generic_ep0_handle_close()
857 static ssize_t generic_ep0_handle_read(struct usb_handle *handle, void *buffer, size_t len) in generic_ep0_handle_read()
907 static ssize_t generic_ep0_handle_write(struct usb_handle *handle, void *buffer, size_t len) in generic_ep0_handle_write()
948 static int generic_ep0_handle_ioctl(struct usb_handle *handle, int cmd, void *arg) in generic_ep0_handle_ioctl()
1055 static void *generic_ep0_handle_mmap(struct usb_handle *handle, uint32_t size) in generic_ep0_handle_mmap()
1088 static int generic_ep0_handle_poll(struct usb_handle *handle, int timeout) in generic_ep0_handle_poll()
H A Dusbd_config.c1047 int fconfig_handle_open(struct usb_handle *handle) in fconfig_handle_open()
1062 int fconfig_handle_close(struct usb_handle *handle) in fconfig_handle_close()
1076 int fconfig_handle_read(struct usb_handle *handle, void *buffer, size_t len) in fconfig_handle_read()
1095 int fconfig_handle_write(struct usb_handle *handle, void *buffer, size_t len) in fconfig_handle_write()
1114 int fconfig_handle_ioctl(struct usb_handle *handle, int cmd, void *arg) in fconfig_handle_ioctl()

Completed in 15 milliseconds