/external/libusb/libusb/ |
D | descriptor.c | 195 if (usb_interface->altsetting) { in clear_interface() 199 usb_interface->altsetting + i; in clear_interface() 209 free((void *) usb_interface->altsetting); in clear_interface() 210 usb_interface->altsetting = NULL; in clear_interface() 229 struct libusb_interface_descriptor *altsetting = in parse_interface() local 230 (struct libusb_interface_descriptor *) usb_interface->altsetting; in parse_interface() 231 altsetting = usbi_reallocf(altsetting, in parse_interface() 234 if (!altsetting) { in parse_interface() 238 usb_interface->altsetting = altsetting; in parse_interface() 240 ifp = altsetting + usb_interface->num_altsetting; in parse_interface()
|
D | core.c | 1016 const struct libusb_interface_descriptor *altsetting in find_endpoint() local 1017 = &iface->altsetting[altsetting_idx]; in find_endpoint() 1020 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; ep_idx++) { in find_endpoint() 1022 &altsetting->endpoint[ep_idx]; in find_endpoint()
|
/external/libusb/examples/ |
D | xusb.c | 868 first_iface = conf_desc->usb_interface[0].altsetting[0].bInterfaceNumber; in test_device() 871 conf_desc->usb_interface[i].altsetting[0].bInterfaceNumber); in test_device() 874 i, j, conf_desc->usb_interface[i].altsetting[j].bNumEndpoints); in test_device() 876 conf_desc->usb_interface[i].altsetting[j].bInterfaceClass, in test_device() 877 conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass, in test_device() 878 conf_desc->usb_interface[i].altsetting[j].bInterfaceProtocol); in test_device() 879 if ( (conf_desc->usb_interface[i].altsetting[j].bInterfaceClass == LIBUSB_CLASS_MASS_STORAGE) in test_device() 880 && ( (conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass == 0x01) in test_device() 881 || (conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass == 0x06) ) in test_device() 882 && (conf_desc->usb_interface[i].altsetting[j].bInterfaceProtocol == 0x50) ) { in test_device() [all …]
|
D | testlibusb.c | 145 print_altsetting(&interface->altsetting[i]); in print_interface()
|
/external/libusb/libusb/os/ |
D | sunos_usb.c | 450 const struct libusb_interface_descriptor *altsetting = in sunos_find_interface() local 451 &iface->altsetting[altsetting_idx]; in sunos_find_interface() 454 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; in sunos_find_interface() 457 &altsetting->endpoint[ep_idx]; in sunos_find_interface() 510 if (hpriv->altsetting[ifc] > 0) { in sunos_check_device_and_status_open() 512 hpriv->altsetting[ifc]); in sunos_check_device_and_status_open() 758 hpriv->altsetting[iface] = 0; in sunos_release_interface() 765 int altsetting) in sunos_set_interface_altsetting() argument 771 usbi_dbg("iface %d, setting %d", iface, altsetting); in sunos_set_interface_altsetting() 773 if (iface < 0 || altsetting < 0) { in sunos_set_interface_altsetting() [all …]
|
D | haiku_usb_raw.cpp | 124 haiku_set_altsetting(struct libusb_device_handle *dev_handle, int interface_number, int altsetting) in haiku_set_altsetting() argument 127 return handle->SetAltSetting(interface_number, altsetting); in haiku_set_altsetting()
|
D | sunos_usb.h | 44 uint8_t altsetting[USB_MAXINTERFACES]; /* a interface's alt */ member
|
D | windows_winusb.c | 68 …erface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting); 82 …erface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting); 95 …erface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting); 500 intf_desc = &intf->altsetting[j]; in get_interface_by_endpoint() 517 …ic int windows_assign_endpoints(struct libusb_device_handle *dev_handle, int iface, int altsetting) in windows_assign_endpoints() argument 531 if_desc = &conf_desc->interface[iface].altsetting[altsetting]; in windows_assign_endpoints() 1838 …indows_set_interface_altsetting(struct libusb_device_handle *dev_handle, int iface, int altsetting) in windows_set_interface_altsetting() argument 1846 r = priv->apib->set_interface_altsetting(SUB_API_NOTSET, dev_handle, iface, altsetting); in windows_set_interface_altsetting() 1849 r = windows_assign_endpoints(dev_handle, iface, altsetting); in windows_set_interface_altsetting() 2130 …terface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting) in unsupported_set_interface_altsetting() argument [all …]
|
D | netbsd_usb.c | 369 int altsetting) in netbsd_set_interface_altsetting() argument 374 usbi_dbg("iface %d, setting %d", iface, altsetting); in netbsd_set_interface_altsetting() 379 intf.uai_alt_no = altsetting; in netbsd_set_interface_altsetting()
|
D | openbsd_usb.c | 403 int altsetting) in obsd_set_interface_altsetting() argument 411 usbi_dbg("iface %d, setting %d", iface, altsetting); in obsd_set_interface_altsetting() 416 intf.uai_alt_no = altsetting; in obsd_set_interface_altsetting()
|
D | linux_usbfs.h | 55 unsigned int 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/libmtp/src/ |
D | libusb1-glue.c | 99 uint8_t *altsetting, 294 &config->interface[j].altsetting[k]; in probe_device_descriptor() 343 config->interface[j].altsetting[k].iInterface, in probe_device_descriptor() 358 if (libusb_kernel_driver_active(devh, config->interface[j].altsetting[k].iInterface)) in probe_device_descriptor() 364 if (config->interface[j].altsetting[k].bInterfaceClass != in probe_device_descriptor() 1873 if (config->interface[].altsetting[].bAlternateSetting != in init_ptp_usb() 1874 ptp_usb->altsetting) { in init_ptp_usb() 1878 ptp_usb->altsetting); in init_ptp_usb() 1998 uint8_t *altsetting, in find_interface_and_endpoints() argument 2037 no_ep = config->interface[j].altsetting[k].bNumEndpoints; in find_interface_and_endpoints() [all …]
|
D | libusb-glue.c | 105 uint8_t *altsetting, 287 &dev->config[i].interface[j].altsetting[k]; in probe_device_descriptor() 333 dev->config[i].interface[j].altsetting[k].iInterface, in probe_device_descriptor() 357 dev->config[i].interface[j].altsetting[k].iInterface, in probe_device_descriptor() 1729 if (dev->config->interface[].altsetting[] != in init_ptp_usb() 1730 ptp_usb->altsetting) { in init_ptp_usb() 1877 uint8_t *altsetting, in find_interface_and_endpoints() argument 1906 no_ep = dev->config[i].interface[j].altsetting[k].bNumEndpoints; in find_interface_and_endpoints() 1910 *interface = dev->config[i].interface[j].altsetting[k].bInterfaceNumber; in find_interface_and_endpoints() 1911 *altsetting = dev->config[i].interface[j].altsetting[k].bAlternateSetting; in find_interface_and_endpoints() [all …]
|
D | libusb-glue.h | 96 uint8_t altsetting; member
|
/external/u-boot/drivers/usb/gadget/ |
D | f_dfu.c | 37 u8 altsetting; member 160 ret = dfu_write(dfu_get_entity(f_dfu->altsetting), req->buf, in dnload_request_complete() 171 dfu_set_defer_flush(dfu_get_entity(f_dfu->altsetting)); in dnload_request_flush() 184 struct dfu_entity *dfu = dfu_get_entity(f_dfu->altsetting); in handle_getstatus() 243 return dfu_read(dfu_get_entity(f_dfu->altsetting), req->buf, in handle_upload() 767 f_dfu->altsetting = alt; in dfu_set_alt() 778 return f_dfu->altsetting; in __dfu_get_alt()
|
D | f_sdp.c | 99 u8 altsetting; member 549 sdp->altsetting = alt; in sdp_set_alt() 559 return sdp->altsetting; in sdp_get_alt()
|
/external/libmtp/logs/ |
D | mtp-detect-lg-g3.txt | 26 Configuration 0, interface 0, altsetting 0:
|
D | mtp-detect-zuk-z1.txt | 26 Configuration 0, interface 0, altsetting 0:
|
D | mtp-detect-samsung-gt-i9300.txt | 25 Configuration 0, interface 0, altsetting 0: 214 Configuration 0, interface 0, altsetting 0:
|
D | mtp-detect-yota-phone.txt | 51 Configuration 0, interface 0, altsetting 0:
|
D | mtp-detect-blu-studio-hd.txt | 36 Configuration 0, interface 0, altsetting 0:
|
/external/kernel-headers/original/uapi/linux/ |
D | usbdevice_fs.h | 59 unsigned int altsetting; member
|
/external/libusb-compat/examples/ |
D | testlibusb.c | 44 print_altsetting(&interface->altsetting[i]); in print_interface()
|