Home
last modified time | relevance | path

Searched refs:bNumEndpoints (Results 1 – 25 of 45) sorted by relevance

12

/external/libusb/libusb/
Ddescriptor.c202 for (j = 0; j < ifp->bNumEndpoints; j++) in clear_interface()
258 if (ifp->bNumEndpoints > USB_MAXENDPOINTS) { in parse_interface()
259 usbi_err(ctx, "too many endpoints (%d)", ifp->bNumEndpoints); in parse_interface()
320 if (ifp->bNumEndpoints > 0) { in parse_interface()
322 endpoint = calloc(ifp->bNumEndpoints, sizeof(struct libusb_endpoint_descriptor)); in parse_interface()
329 for (i = 0; i < ifp->bNumEndpoints; i++) { in parse_interface()
335 ifp->bNumEndpoints = (uint8_t)i; in parse_interface()
/external/u-boot/drivers/usb/emul/
Dsandbox_keyb.c84 .bNumEndpoints = 1,
118 .bNumEndpoints = 1,
Dsandbox_hub.c71 .bNumEndpoints = 1,
Dsandbox_flash.c134 .bNumEndpoints = 2,
/external/autotest/client/site_tests/cellular_MbimComplianceDescriptor/
Dcellular_MbimComplianceDES01.py158 if ncm_data_interface.bNumEndpoints != 2:
182 if mbim_data_interface.bNumEndpoints != 2:
Dcellular_MbimComplianceDES02.py140 if mbim_data_interface.bNumEndpoints != 2:
/external/autotest/client/cros/cellular/mbim_compliance/tests/
Ddes_01.py152 if ncm_data_interface.bNumEndpoints != 2:
176 if mbim_data_interface.bNumEndpoints != 2:
Ddes_02.py140 if mbim_data_interface.bNumEndpoints != 2:
/external/crosvm/usb_util/src/
Dinterface_descriptor.rs21 if ep_idx >= self.0.bNumEndpoints { in endpoint_descriptor()
/external/libusb/examples/
Dtestlibusb.c71 printf(" bNumEndpoints: %d\n", interface->bNumEndpoints); in print_altsetting()
77 for (i = 0; i < interface->bNumEndpoints; i++) in print_altsetting()
Dxusb.c874 i, j, conf_desc->usb_interface[i].altsetting[j].bNumEndpoints); in test_device()
886 for (k=0; k<conf_desc->usb_interface[i].altsetting[j].bNumEndpoints; k++) { in test_device()
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors_unittest.py215 self.assertEquals(1, descriptor.bNumEndpoints)
297 self.assertEquals(0, descriptor.bNumEndpoints)
313 self.assertEquals(2, descriptor.bNumEndpoints)
/external/u-boot/drivers/serial/
Dusbtty.c179 .bNumEndpoints = 0x01,
234 .bNumEndpoints = 0x02,
311 .bNumEndpoints = NUM_ENDPOINTS,
/external/u-boot/drivers/usb/gadget/
Dether.c412 .bNumEndpoints = 1,
427 .bNumEndpoints = 1,
572 .bNumEndpoints = 0,
587 .bNumEndpoints = 2,
607 .bNumEndpoints = 2,
633 .bNumEndpoints = 2,
2141 control_intf.bNumEndpoints = 0; in eth_bind()
Df_dfu.c74 .bNumEndpoints = 0,
661 d->bNumEndpoints = 0; in dfu_prepare_function()
Dstorage_common.c403 .bNumEndpoints = 2, /* Adjusted during fsg_bind() */
Df_thor.c373 .bNumEndpoints = 2,
398 .bNumEndpoints = 1,
Df_fastboot.c91 .bNumEndpoints = 0x02,
/external/u-boot/common/
Dusb_hub.c890 if (iface->desc.bNumEndpoints != 1) in usb_hub_check()
906 iface->desc.bNumEndpoints); in usb_hub_check()
/external/u-boot/drivers/usb/host/
Dehci.h87 unsigned char bNumEndpoints; member
/external/u-boot/drivers/usb/eth/
Dusb_ether.c40 for (i = 0; i < iface_desc->bNumEndpoints; i++) { in usb_ether_register()
/external/u-boot/include/
Dusbdescriptors.h195 u8 bNumEndpoints; member
/external/libiio/src/iiod/
Dusbd.c267 desc->bNumEndpoints = nb_pipes * 2; in create_header()
/external/libiio/src/
Dusb.c669 unsigned int i, eps = iface->bNumEndpoints; in usb_verify_eps()
883 pdata->nb_ep_couples = iface->bNumEndpoints / 2; in usb_create_context()
/external/crosvm/devices/src/usb/host_backend/
Dhost_device.rs391 for ep_idx in 0..interface.bNumEndpoints { in create_endpoints()

12