Home
last modified time | relevance | path

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

/external/crosvm/usb_util/src/
Ddescriptor.rs147 for ep_idx in 0..interface_descriptor.bNumEndpoints { in parse_usbfs_descriptors()
230 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_mass_storage()
305 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_servo()
332 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_servo()
359 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_servo()
386 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_servo()
413 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_servo()
477 assert_eq!(i.bNumEndpoints, 2); in parse_descriptors_adb()
Dtypes.rs114 pub bNumEndpoints: u8, field
/external/libusb/libusb/
Ddescriptor.c180 for (j = 0; j < ifp->bNumEndpoints; j++) in clear_interface()
229 } else if (ifp->bNumEndpoints > USB_MAXENDPOINTS) { in parse_interface()
230 usbi_err(ctx, "too many endpoints (%u)", ifp->bNumEndpoints); in parse_interface()
294 if (ifp->bNumEndpoints > 0) { in parse_interface()
298 endpoint = calloc(ifp->bNumEndpoints, sizeof(*endpoint)); in parse_interface()
305 for (i = 0; i < ifp->bNumEndpoints; i++) { in parse_interface()
310 ifp->bNumEndpoints = i; in parse_interface()
Dlibusbi.h625 uint8_t bNumEndpoints; member
Dlibusb.h647 uint8_t bNumEndpoints; member
Dcore.c1037 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; ep_idx++) { in find_endpoint()
/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/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/libusb/examples/
Dtestlibusb.c70 printf(" bNumEndpoints: %u\n", interface->bNumEndpoints); in print_altsetting()
76 for (i = 0; i < interface->bNumEndpoints; i++) in print_altsetting()
Dxusb.c875 i, j, conf_desc->usb_interface[i].altsetting[j].bNumEndpoints); in test_device()
887 for (k=0; k<conf_desc->usb_interface[i].altsetting[j].bNumEndpoints; k++) { in test_device()
/external/libiio/src/iiod/
Dusbd.c267 desc->bNumEndpoints = nb_pipes * 2; in create_header()
/external/crosvm/devices/src/usb/host_backend/
Dhost_device.rs387 for ep_idx in 0..interface.bNumEndpoints { in create_endpoints()
/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/kernel-headers/original/uapi/linux/usb/
Dch9.h395 __u8 bNumEndpoints; member
/external/libusb/libusb/os/
Dwindows_winusb.c452 for (k = 0; k < intf_desc->bNumEndpoints; k++) { in get_interface_by_endpoint()
506 if (if_desc->bNumEndpoints == 0) { in windows_assign_endpoints()
513 priv->usb_interface[iface].endpoint = malloc(if_desc->bNumEndpoints); in windows_assign_endpoints()
519 priv->usb_interface[iface].nb_endpoints = if_desc->bNumEndpoints; in windows_assign_endpoints()
520 for (i = 0; i < if_desc->bNumEndpoints; i++) { in windows_assign_endpoints()
3264 id->bNumEndpoints = num_endpoints; in _hid_get_config_descriptor()
Dwindows_winusb.h393 UCHAR bNumEndpoints; member
Dsunos_usb.c810 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; in sunos_find_interface()
/external/libusb/include/libusb/
Dlibusbi.h625 uint8_t bNumEndpoints; member
Dlibusb.h647 uint8_t bNumEndpoints; member
/external/libcups/backend/
Dusb-libusb.c906 endp < altptr->bNumEndpoints; in find_device()
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi45157 …<var-decl name="bNumEndpoints" type-id="8f048e17" visibility="default" filepath="include/uapi/linu…
66219 …<var-decl name="bNumEndpoints" type-id="8f048e17" visibility="default" filepath="include/uapi/linu…
Dtest-PR27569-v0.abi45128 …<var-decl name="bNumEndpoints" type-id="8f048e17" visibility="default" filepath="include/uapi/linu…
66205 …<var-decl name="bNumEndpoints" type-id="8f048e17" visibility="default" filepath="include/uapi/linu…