Searched refs:USB_RQ (Results 1 – 2 of 2) sorted by relevance
/external/libusb/examples/ |
D | dpfp.c | 36 #define USB_RQ 0x04 macro 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() 180 libusb_fill_control_setup(buf, CTRL_OUT, USB_RQ, 0x4e, 0, 1); in set_mode_async()
|
D | dpfp_threaded.c | 40 #define USB_RQ 0x04 macro 112 r = libusb_control_transfer(devh, CTRL_IN, USB_RQ, 0xf0, 0, data, in print_f0_data() 134 r = libusb_control_transfer(devh, CTRL_IN, USB_RQ, 0x07, 0, status, 1, 0); in get_hwstat() 153 r = libusb_control_transfer(devh, CTRL_OUT, USB_RQ, 0x07, 0, &data, 1, 0); in set_hwstat() 171 r = libusb_control_transfer(devh, CTRL_OUT, USB_RQ, 0x4e, 0, &data, 1, 0); in set_mode() 212 libusb_fill_control_setup(buf, CTRL_OUT, USB_RQ, 0x4e, 0, 1); in set_mode_async()
|