Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_udev.c252 struct udev_device *parent_dev = in fill_usb_card_info() local
255 if (!parent_dev) in fill_usb_card_info()
258 sysattr = udev_device_get_sysattr_value(parent_dev, "idVendor"); in fill_usb_card_info()
261 sysattr = udev_device_get_sysattr_value(parent_dev, "idProduct"); in fill_usb_card_info()
264 sysattr = udev_device_get_sysattr_value(parent_dev, "serial"); in fill_usb_card_info()
272 card_info->usb_desc_checksum = calculate_desc_checksum(parent_dev); in fill_usb_card_info()
/external/libusb/libusb/os/
Dwindows_winusb.c1021 static int init_device(struct libusb_device *dev, struct libusb_device *parent_dev, in init_device() argument
1041 if (parent_dev != NULL) { // Not a HCD root hub in init_device()
1043 parent_priv = usbi_get_device_priv(parent_dev); in init_device()
1050 bus_number = parent_dev->bus_number; in init_device()
1053 if (tmp_dev != parent_dev) { in init_device()
1083 dev->parent_dev = parent_dev; in init_device()
1381 struct libusb_device *dev, *parent_dev; in winusb_get_device_list() local
1469 dev = parent_dev = NULL; in winusb_get_device_list()
1623 parent_dev = get_ancestor(ctx, dev_info_data.DevInst, NULL); in winusb_get_device_list()
1624 if (parent_dev == NULL) { in winusb_get_device_list()
[all …]
Ddarwin_usb.c1131 …dev->parent_dev = usbi_get_device_by_session_id (ctx, (unsigned long) cached_device->parent_sessio… in process_new_device()
1133 dev->parent_dev = NULL; in process_new_device()
1157 dev->port_number, (void *) dev->parent_dev, priv->dev->sys_path); in process_new_device()
Dlinux_usbfs.c1053 dev->parent_dev = libusb_ref_device(it); in linux_get_parent_info()
1060 if (!dev->parent_dev && add_parent) { in linux_get_parent_info()
1069 dev->parent_dev, parent_sysfs_dir, dev->port_number); in linux_get_parent_info()
Dwindows_usbdk.c284 dev->parent_dev = NULL; in usbdk_device_init()
/external/libusb/libusb/
Dcore.c967 dev = dev->parent_dev; in libusb_get_port_numbers()
999 return dev->parent_dev; in libusb_get_parent()
1201 libusb_unref_device(dev->parent_dev); in libusb_unref_device()
Dlibusbi.h459 struct libusb_device *parent_dev; member
/external/python/cpython3/Lib/
Dpathlib.py1459 parent_dev = self.parent.stat().st_dev
1464 if dev != parent_dev:
/external/libusb/include/libusb/
Dlibusbi.h459 struct libusb_device *parent_dev; member