Home
last modified time | relevance | path

Searched refs:EndpointType (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/usb_util/src/
Dendpoint_descriptor.rs8 use crate::types::{EndpointDirection, EndpointType};
39 pub fn get_endpoint_type(&self) -> Option<EndpointType> { in get_endpoint_type() argument
42 0 => Some(EndpointType::Control), in get_endpoint_type()
43 1 => Some(EndpointType::Isochronous), in get_endpoint_type()
44 2 => Some(EndpointType::Bulk), in get_endpoint_type()
45 3 => Some(EndpointType::Interrupt), in get_endpoint_type()
Dtypes.rs41 pub enum EndpointType { enum
/external/crosvm/devices/src/usb/host_backend/
Dusb_endpoint.rs19 use usb_util::types::{EndpointDirection, EndpointType, ENDPOINT_DIRECTION_OFFSET};
31 ty: EndpointType,
42 ty: EndpointType, in new() argument
44 assert!(ty != EndpointType::Control); in new()
89 EndpointType::Bulk => { in handle_transfer()
92 EndpointType::Interrupt => { in handle_transfer()