Home
last modified time | relevance | path

Searched refs:ep_idx (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/devices/src/usb/host_backend/
Derror.rs72 GetEndpointDescriptor(ep_idx) => { in fmt()
73 write!(f, "failed to get endpoint descriptor for ep: {}", ep_idx) in fmt()
Dhost_device.rs387 for ep_idx in 0..interface.bNumEndpoints { in create_endpoints()
389 .get_endpoint_descriptor(ep_idx) in create_endpoints()
390 .ok_or(Error::GetEndpointDescriptor(ep_idx))?; in create_endpoints()
/external/crosvm/usb_util/src/
Ddescriptor.rs70 pub fn get_endpoint_descriptor(&self, ep_idx: u8) -> Option<&EndpointDescriptor> { in get_endpoint_descriptor()
71 self.endpoint_descriptors.get(&ep_idx) in get_endpoint_descriptor()
147 for ep_idx in 0..interface_descriptor.bNumEndpoints { in parse_usbfs_descriptors()
153 .insert(ep_idx, endpoint_descriptor); in parse_usbfs_descriptors()
155 warn!("Could not read endpoint descriptor {}", ep_idx); in parse_usbfs_descriptors()
/external/libusb/libusb/
Dcore.c1035 int ep_idx; in find_endpoint() local
1037 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; ep_idx++) { in find_endpoint()
1039 &altsetting->endpoint[ep_idx]; in find_endpoint()
/external/libusb/libusb/os/
Dsunos_usb.c808 int ep_idx; in sunos_find_interface() local
810 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; in sunos_find_interface()
811 ep_idx++) { in sunos_find_interface()
813 &altsetting->endpoint[ep_idx]; in sunos_find_interface()