Searched refs:desc_index (Results 1 – 3 of 3) sorted by relevance
/external/libusb-compat/libusb/ |
D | core.c | 852 API_EXPORTED int usb_get_string(usb_dev_handle *dev, int desc_index, int langid, in usb_get_string() argument 856 r = libusb_get_string_descriptor(dev->handle, desc_index & 0xff, in usb_get_string() 863 API_EXPORTED int usb_get_string_simple(usb_dev_handle *dev, int desc_index, in usb_get_string_simple() argument 867 r = libusb_get_string_descriptor_ascii(dev->handle, desc_index & 0xff, in usb_get_string_simple() 875 unsigned char desc_index, void *buf, int size) in usb_get_descriptor() argument 878 r = libusb_get_descriptor(dev->handle, type, desc_index, buf, size); in usb_get_descriptor() 885 unsigned char type, unsigned char desc_index, void *buf, int size) in usb_get_descriptor_by_endpoint() argument 893 (type << 8) | desc_index, 0, buf, size, 1000); in usb_get_descriptor_by_endpoint()
|
/external/libusb/libusb/ |
D | libusb.h | 1146 uint8_t desc_type, uint8_t desc_index, unsigned char *data, int length) in libusb_get_descriptor() argument 1149 LIBUSB_REQUEST_GET_DESCRIPTOR, (desc_type << 8) | desc_index, 0, data, in libusb_get_descriptor() 1168 uint8_t desc_index, uint16_t langid, unsigned char *data, int length) in libusb_get_string_descriptor() argument 1171 LIBUSB_REQUEST_GET_DESCRIPTOR, (LIBUSB_DT_STRING << 8) | desc_index, in libusb_get_string_descriptor()
|
D | descriptor.c | 676 uint8_t desc_index, unsigned char *data, int length) in libusb_get_string_descriptor_ascii() argument 695 r = libusb_get_string_descriptor(dev, desc_index, langid, tbuf, in libusb_get_string_descriptor_ascii()
|