Home
last modified time | relevance | path

Searched refs:parent_dev (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/libusb/src/libusb/os/
Dwindows_usb.c956 if (priv->parent_dev == NULL) { in force_hcd_device_descriptor()
960 parent_priv = _device_priv(priv->parent_dev); in force_hcd_device_descriptor()
1076 static int init_device(struct libusb_device* dev, struct libusb_device* parent_dev, in init_device() argument
1087 if ((dev == NULL) || (parent_dev == NULL)) { in init_device()
1091 parent_priv = _device_priv(parent_dev); in init_device()
1099 if (parent_dev->bus_number == 0) { in init_device()
1105 parent_dev->bus_number = tmp_dev->bus_number; in init_device()
1110 if (parent_dev->bus_number == 0) { in init_device()
1114 dev->bus_number = parent_dev->bus_number; in init_device()
1118 priv->parent_dev = parent_dev; in init_device()
[all …]
Ddarwin_usb.c859 …dev->parent_dev = usbi_get_device_by_session_id (ctx, (unsigned long) cached_device->parent_sessio… in process_new_device()
861 dev->parent_dev = NULL; in process_new_device()
868 if (dev->parent_dev) { in process_new_device()
869 libusb_ref_device(dev->parent_dev); in process_new_device()
890 dev->port_number, (void *) dev->parent_dev, priv->dev->sys_path); in process_new_device()
Dwindows_usb.h211 struct libusb_device *parent_dev; // access to parent is required for usermode ops member
238 p->parent_dev = NULL; in windows_device_priv_init()
Dlinux_usbfs.c1015 dev->parent_dev = libusb_ref_device(it); in linux_get_parent_info()
1021 if (!dev->parent_dev && add_parent) { in linux_get_parent_info()
1030 dev->parent_dev, parent_sysfs_dir, dev->port_number); in linux_get_parent_info()
/external/qemu/hw/
Dpci.c43 PCIDevice *parent_dev; member
116 bus->parent_dev = dev; in pci_register_secondary_bus()
663 pci_dev = bus->parent_dev; in pci_set_irq()
/external/chromium_org/third_party/libusb/src/libusb/
Dcore.c791 dev = dev->parent_dev; in libusb_get_port_numbers()
822 return dev->parent_dev; in libusb_get_parent()
1000 libusb_unref_device(dev->parent_dev); in libusb_unref_device()
Dlibusbi.h300 struct libusb_device* parent_dev; member