Home
last modified time | relevance | path

Searched refs:claimed_interfaces (Results 1 – 6 of 6) sorted by relevance

/external/crosvm/devices/src/usb/host_backend/
Dhost_device.rs45 claimed_interfaces: Vec<u8>, field
70 claimed_interfaces: vec![], in new()
371 self.claimed_interfaces.push(i); in claim_interfaces()
382 for i in &self.claimed_interfaces { in create_endpoints()
412 for i in &self.claimed_interfaces { in release_interfaces()
417 self.claimed_interfaces = Vec::new(); in release_interfaces()
/external/libusb/libusb/os/
Ddarwin_usb.c191 if (dev_handle->claimed_interfaces & (1U << iface)) { in ep_to_pipeRef()
1263 if (dev_handle->claimed_interfaces & (1U << i)) in darwin_close()
1306 if (dev_handle->claimed_interfaces & (1U << i)) in darwin_set_configuration()
1315 if (dev_handle->claimed_interfaces & (1U << i)) in darwin_set_configuration()
1607 unsigned long claimed_interfaces) { in darwin_restore_state() argument
1614 dev_handle->claimed_interfaces = 0; in darwin_restore_state()
1643 if (claimed_interfaces) { in darwin_restore_state()
1645 if (!(claimed_interfaces & (1U << iface))) { in darwin_restore_state()
1657 dev_handle->claimed_interfaces |= 1U << iface; in darwin_restore_state()
1668 unsigned long claimed_interfaces = dev_handle->claimed_interfaces; in darwin_reset_device() local
[all …]
Dlinux_usbfs.c1560 if (handle->claimed_interfaces & (1UL << i)) in op_reset_device()
1579 if (!(handle->claimed_interfaces & (1UL << i))) in op_reset_device()
1590 handle->claimed_interfaces &= ~(1UL << i); in op_reset_device()
/external/libusb/libusb/
Dcore.c1680 if (dev_handle->claimed_interfaces & (1U << interface_number)) in libusb_claim_interface()
1685 dev_handle->claimed_interfaces |= 1U << interface_number; in libusb_claim_interface()
1721 if (!(dev_handle->claimed_interfaces & (1U << interface_number))) { in libusb_release_interface()
1728 dev_handle->claimed_interfaces &= ~(1U << interface_number); in libusb_release_interface()
1772 if (!(dev_handle->claimed_interfaces & (1U << interface_number))) { in libusb_set_interface_alt_setting()
Dlibusbi.h476 unsigned long claimed_interfaces; member
/external/libusb/include/libusb/
Dlibusbi.h476 unsigned long claimed_interfaces; member