Home
last modified time | relevance | path

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

/external/crosvm/usb_util/src/
Dtypes.rs85 pub enum ControlRequestRecipient { enum
165 pub fn get_recipient(&self) -> ControlRequestRecipient { in get_recipient() argument
168 0 => ControlRequestRecipient::Device, in get_recipient()
169 1 => ControlRequestRecipient::Interface, in get_recipient()
170 2 => ControlRequestRecipient::Endpoint, in get_recipient()
171 3 => ControlRequestRecipient::Other, in get_recipient()
172 _ => ControlRequestRecipient::Reserved, in get_recipient()
/external/crosvm/devices/src/usb/host_backend/
Dhost_device.rs23 ControlRequestDataPhaseTransferDirection, ControlRequestRecipient, StandardControlRequest,
124 if recipient != ControlRequestRecipient::Device { in intercepted_control_transfer()
133 if recipient != ControlRequestRecipient::Device { in intercepted_control_transfer()
140 if recipient != ControlRequestRecipient::Interface { in intercepted_control_transfer()
147 if recipient != ControlRequestRecipient::Endpoint { in intercepted_control_transfer()