Searched refs:devh (Results 1 – 4 of 4) sorted by relevance
/external/libusb/examples/ |
D | dpfp.c | 60 static struct libusb_device_handle *devh = NULL; variable 70 devh = libusb_open_device_with_vid_pid(NULL, 0x05ba, 0x000a); in find_dpfp_device() 71 return devh ? 0 : -EIO; in find_dpfp_device() 80 r = libusb_control_transfer(devh, CTRL_IN, USB_RQ, 0xf0, 0, data, in print_f0_data() 102 r = libusb_control_transfer(devh, CTRL_IN, USB_RQ, 0x07, 0, status, 1, 0); in get_hwstat() 121 r = libusb_control_transfer(devh, CTRL_OUT, USB_RQ, 0x07, 0, &data, 1, 0); in set_hwstat() 139 r = libusb_control_transfer(devh, CTRL_OUT, USB_RQ, 0x4e, 0, &data, 1, 0); in set_mode() 182 libusb_fill_control_transfer(transfer, devh, buf, cb_mode_changed, NULL, in set_mode_async() 195 r = libusb_interrupt_transfer(devh, EP_INTR, data, INTR_LENGTH, in do_sync_intr() 404 libusb_fill_bulk_transfer(img_transfer, devh, EP_DATA, imgbuf, in alloc_transfers() [all …]
|
D | dpfp_threaded.c | 61 static struct libusb_device_handle *devh = NULL; variable 99 devh = libusb_open_device_with_vid_pid(NULL, 0x05ba, 0x000a); in find_dpfp_device() 100 return devh ? 0 : -EIO; in find_dpfp_device() 109 r = libusb_control_transfer(devh, CTRL_IN, USB_RQ, 0xf0, 0, data, in print_f0_data() 131 r = libusb_control_transfer(devh, CTRL_IN, USB_RQ, 0x07, 0, status, 1, 0); in get_hwstat() 150 r = libusb_control_transfer(devh, CTRL_OUT, USB_RQ, 0x07, 0, &data, 1, 0); in set_hwstat() 168 r = libusb_control_transfer(devh, CTRL_OUT, USB_RQ, 0x4e, 0, &data, 1, 0); in set_mode() 211 libusb_fill_control_transfer(transfer, devh, buf, cb_mode_changed, NULL, in set_mode_async() 224 r = libusb_interrupt_transfer(devh, EP_INTR, data, INTR_LENGTH, in do_sync_intr() 431 libusb_fill_bulk_transfer(img_transfer, devh, EP_DATA, imgbuf, in alloc_transfers() [all …]
|
/external/libmtp/src/ |
D | libusb-glue.c | 223 usb_dev_handle *devh; in probe_device_descriptor() local 242 devh = usb_open(dev); in probe_device_descriptor() 243 if (devh == NULL) { in probe_device_descriptor() 271 ret = usb_get_string_simple(devh, in probe_device_descriptor() 284 usb_close(devh); in probe_device_descriptor() 292 usb_close(devh); in probe_device_descriptor() 310 usb_dev_handle *devh; in probe_device_descriptor() local 321 devh = usb_open(dev); in probe_device_descriptor() 322 if (devh == NULL) { in probe_device_descriptor() 352 ret = usb_get_string_simple(devh, in probe_device_descriptor() [all …]
|
/external/libusb/ |
D | ChangeLog | 1553 Rename API away from "devh" and fix implementation to match header 1760 Tim Roberts. Still not really sure about devh naming in general. 1835 Rename fpusb_device_handle functions to devh
|