Home
last modified time | relevance | path

Searched refs:StandardControlRequest (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/usb_util/src/
Dtypes.rs95 pub enum StandardControlRequest { enum
177 pub fn get_standard_request(&self) -> Option<StandardControlRequest> { in get_standard_request() argument
182 0x00 => Some(StandardControlRequest::GetStatus), in get_standard_request()
183 0x01 => Some(StandardControlRequest::ClearFeature), in get_standard_request()
184 0x03 => Some(StandardControlRequest::SetFeature), in get_standard_request()
185 0x05 => Some(StandardControlRequest::SetAddress), in get_standard_request()
186 0x06 => Some(StandardControlRequest::GetDescriptor), in get_standard_request()
187 0x07 => Some(StandardControlRequest::SetDescriptor), in get_standard_request()
188 0x08 => Some(StandardControlRequest::GetConfiguration), in get_standard_request()
189 0x09 => Some(StandardControlRequest::SetConfiguration), in get_standard_request()
[all …]
/external/crosvm/devices/src/usb/host_backend/
Dhost_device.rs23 ControlRequestDataPhaseTransferDirection, ControlRequestRecipient, StandardControlRequest,
123 Some(StandardControlRequest::SetAddress) => { in intercepted_control_transfer()
132 Some(StandardControlRequest::SetConfiguration) => { in intercepted_control_transfer()
139 Some(StandardControlRequest::SetInterface) => { in intercepted_control_transfer()
146 Some(StandardControlRequest::ClearFeature) => { in intercepted_control_transfer()