Searched refs:altsetting (Results 1 – 13 of 13) sorted by relevance
/external/libusb/libusb/ |
D | descriptor.c | 162 if (interface->altsetting) { in clear_interface() 166 interface->altsetting + i; in clear_interface() 176 free((void *) interface->altsetting); in clear_interface() 177 interface->altsetting = NULL; in clear_interface() 198 struct libusb_interface_descriptor *altsetting = in parse_interface() local 199 (struct libusb_interface_descriptor *) interface->altsetting; in parse_interface() 200 altsetting = realloc(altsetting, in parse_interface() 203 if (!altsetting) { in parse_interface() 207 interface->altsetting = altsetting; in parse_interface() 209 ifp = altsetting + interface->num_altsetting; in parse_interface()
|
D | core.c | 684 const struct libusb_interface_descriptor *altsetting in find_endpoint() local 685 = &iface->altsetting[altsetting_idx]; in find_endpoint() 688 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; ep_idx++) { in find_endpoint() 690 &altsetting->endpoint[ep_idx]; in find_endpoint()
|
D | libusbi.h | 614 int iface, int altsetting);
|
D | libusb.h | 458 const struct libusb_interface_descriptor *altsetting; member
|
/external/libusb-compat/libusb/ |
D | core.c | 369 if (iface->altsetting) { in clear_interface() 372 clear_interface_descriptor(iface->altsetting + i); in clear_interface() 373 free(iface->altsetting); in clear_interface() 455 dest->altsetting = malloc(alloc_size); in copy_interface() 456 if (!dest->altsetting) in copy_interface() 458 memset(dest->altsetting, 0, alloc_size); in copy_interface() 461 int r = copy_interface_descriptor(dest->altsetting + i, in copy_interface() 462 &src->altsetting[i]); in copy_interface()
|
D | usb.h | 150 struct usb_interface_descriptor *altsetting; member
|
/external/libusb/libusb/os/ |
D | linux_usbfs.h | 53 unsigned int altsetting; member
|
D | linux_usbfs.c | 1166 int altsetting) in op_set_interface() argument 1173 setintf.altsetting = altsetting; in op_set_interface()
|
D | darwin_usb.c | 968 …rwin_set_interface_altsetting(struct libusb_device_handle *dev_handle, int iface, int altsetting) { in darwin_set_interface_altsetting() argument 978 kresult = (*(cInterface->interface))->SetAlternateInterface (cInterface->interface, altsetting); in darwin_set_interface_altsetting()
|
/external/libmtp/src/ |
D | libusb-glue.c | 268 &dev->config[i].interface[j].altsetting[k]; in probe_device_descriptor() 272 dev->config[i].interface[j].altsetting[k].iInterface, in probe_device_descriptor() 348 &dev->config[i].interface[j].altsetting[k]; in probe_device_descriptor() 353 dev->config[i].interface[j].altsetting[k].iInterface, in probe_device_descriptor() 377 dev->config[i].interface[j].altsetting[k].iInterface, in probe_device_descriptor() 1743 *interface = dev->config[i].interface[j].altsetting->bInterfaceNumber; in find_interface_and_endpoints() 1744 ep = dev->config[i].interface[j].altsetting->endpoint; in find_interface_and_endpoints() 1745 no_ep = dev->config[i].interface[j].altsetting->bNumEndpoints; in find_interface_and_endpoints()
|
/external/kernel-headers/original/uapi/linux/ |
D | usbdevice_fs.h | 58 unsigned int altsetting; member
|
/external/libusb-compat/examples/ |
D | testlibusb.c | 44 print_altsetting(&interface->altsetting[i]); in print_interface()
|
/external/libusb/ |
D | ChangeLog | 1486 Support for changing altsetting
|