Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_udev.c255 struct udev_device *parent_dev = in fill_usb_card_info() local
259 if (!parent_dev) in fill_usb_card_info()
262 sysattr = udev_device_get_sysattr_value(parent_dev, "idVendor"); in fill_usb_card_info()
265 sysattr = udev_device_get_sysattr_value(parent_dev, "idProduct"); in fill_usb_card_info()
268 sysattr = udev_device_get_sysattr_value(parent_dev, "serial"); in fill_usb_card_info()
276 card_info->usb_desc_checksum = calculate_desc_checksum(parent_dev); in fill_usb_card_info()
/external/libusb/libusb/os/
Dwindows_winusb.c867 if (priv->parent_dev == NULL) { in force_hcd_device_descriptor()
872 parent_priv = _device_priv(priv->parent_dev); in force_hcd_device_descriptor()
990 static int init_device(struct libusb_device *dev, struct libusb_device *parent_dev, in init_device() argument
1003 if ((dev == NULL) || (parent_dev == NULL)) in init_device()
1008 parent_priv = _device_priv(parent_dev); in init_device()
1016 if (parent_dev->bus_number == 0) { in init_device()
1028 parent_dev->bus_number = tmp_dev->bus_number; in init_device()
1037 if (parent_dev->bus_number == 0) { in init_device()
1042 dev->bus_number = parent_dev->bus_number; in init_device()
1046 priv->parent_dev = parent_dev; in init_device()
[all …]
Dwindows_winusb.h204 struct libusb_device *parent_dev; // access to parent is required for usermode ops member
234 p->parent_dev = NULL; in windows_device_priv_init()
Dlinux_usbfs.c1033 dev->parent_dev = libusb_ref_device(it); in linux_get_parent_info()
1039 if (!dev->parent_dev && add_parent) { in linux_get_parent_info()
1048 dev->parent_dev, parent_sysfs_dir, dev->port_number); in linux_get_parent_info()
Ddarwin_usb.c994 …dev->parent_dev = usbi_get_device_by_session_id (ctx, (unsigned long) cached_device->parent_sessio… in process_new_device()
996 dev->parent_dev = NULL; in process_new_device()
1020 dev->port_number, (void *) dev->parent_dev, priv->dev->sys_path); in process_new_device()
Dwindows_usbdk.c297 dev->parent_dev = NULL; in usbdk_device_init()
/external/libusb/libusb/
Dcore.c950 dev = dev->parent_dev; in libusb_get_port_numbers()
982 return dev->parent_dev; in libusb_get_parent()
1168 libusb_unref_device(dev->parent_dev); in libusb_unref_device()
Dlibusbi.h375 struct libusb_device* parent_dev; member
/external/libusb/include/libusb/
Dlibusbi.h375 struct libusb_device* parent_dev; member
/external/python/cpython3/Lib/
Dpathlib.py1383 parent_dev = parent.stat().st_dev
1388 if dev != parent_dev: