Searched refs:alt_setting (Results 1 – 4 of 4) sorted by relevance
332 let alt_setting = self.control_request_setup.value as u8; in set_interface() localVariable335 .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() localVariable385 .get_interface_descriptor(*i, *alt_setting) in create_endpoints()386 .ok_or(Error::GetInterfaceDescriptor((*i, *alt_setting)))?; in create_endpoints()
67 GetInterfaceDescriptor((i, alt_setting)) => write!( in fmt()70 i, alt_setting in fmt()
54 alt_setting: u8, in get_interface_descriptor()57 .get(&(interface_num, alt_setting)) in get_interface_descriptor()
1391 UInt8 alt_setting; in get_endpoints() local1393 … 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()