Home
last modified time | relevance | path

Searched refs:alt_setting (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/devices/src/usb/host_backend/
Dhost_device.rs332 let alt_setting = self.control_request_setup.value as u8; in set_interface() localVariable
335 .set_interface_alt_setting(interface, alt_setting) in set_interface()
337 self.alt_settings.insert(interface, alt_setting); in set_interface()
383 let alt_setting = self.alt_settings.get(i).unwrap_or(&0); in create_endpoints() localVariable
385 .get_interface_descriptor(*i, *alt_setting) in create_endpoints()
386 .ok_or(Error::GetInterfaceDescriptor((*i, *alt_setting)))?; in create_endpoints()
Derror.rs67 GetInterfaceDescriptor((i, alt_setting)) => write!( in fmt()
70 i, alt_setting in fmt()
/external/crosvm/usb_util/src/
Ddescriptor.rs54 alt_setting: u8, in get_interface_descriptor()
57 .get(&(interface_num, alt_setting)) in get_interface_descriptor()
/external/libusb/libusb/os/
Ddarwin_usb.c1391 UInt8 alt_setting; in get_endpoints() local
1393 … kresult = (*(cInterface->interface))->GetAlternateSetting (cInterface->interface, &alt_setting); in get_endpoints()
1404 endpoint_desc = config->interface[iface].altsetting[alt_setting].endpoint + i - 1; in get_endpoints()