Searched refs:ep_idx (Results 1 – 5 of 5) sorted by relevance
72 GetEndpointDescriptor(ep_idx) => { in fmt()73 write!(f, "failed to get endpoint descriptor for ep: {}", ep_idx) in fmt()
387 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()
70 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()
1035 int ep_idx; in find_endpoint() local1037 for (ep_idx = 0; ep_idx < altsetting->bNumEndpoints; ep_idx++) { in find_endpoint()1039 &altsetting->endpoint[ep_idx]; in find_endpoint()
808 int ep_idx; in sunos_find_interface() local810 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()