Home
last modified time | relevance | path

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

/external/crosvm/usb_util/src/
Dendpoint_descriptor.rs8 use crate::types::{EndpointDirection, EndpointType};
24 pub fn get_direction(&self) -> EndpointDirection { in get_direction() argument
27 EndpointDirection::DeviceToHost in get_direction()
29 EndpointDirection::HostToDevice in get_direction()
Dtypes.rs50 pub enum EndpointDirection { enum
/external/crosvm/devices/src/usb/host_backend/
Dusb_endpoint.rs19 use usb_util::types::{EndpointDirection, EndpointType, ENDPOINT_DIRECTION_OFFSET};
30 direction: EndpointDirection,
41 direction: EndpointDirection, in new() argument
62 EndpointDirection::HostToDevice => TransferDirection::Out, in match_ep()
63 EndpointDirection::DeviceToHost => TransferDirection::In, in match_ep()
133 EndpointDirection::HostToDevice => { in do_handle_transfer()
188 EndpointDirection::DeviceToHost => { in do_handle_transfer()