Searched refs:parent_dev (Results 1 – 12 of 12) sorted by relevance
/third_party/uboot/u-boot-2020.01/drivers/misc/ |
D | fs_loader.c | 256 struct udevice *parent_dev = NULL; in fs_loader_probe() local 258 ret = device_get_global_by_ofnode(node, &parent_dev); in fs_loader_probe() 262 ret = blk_get_from_parent(parent_dev, &dev); in fs_loader_probe()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.h | 211 device_t parent_dev; /* parent device */ member 297 struct usb_device *usb_alloc_device(device_t parent_dev, struct usb_bus *bus,
|
D | usb_device.c | 1038 device_get_nameunit(udev->parent_dev), in usb_detach_device_sub() 1051 if (device_delete_child(udev->parent_dev, dev)) { in usb_detach_device_sub() 1152 if (device_delete_child(udev->parent_dev, dev)) { in usb_probe_and_attach_sub() 1165 uaa->temp_dev = device_add_child(udev->parent_dev, NULL, -1); in usb_probe_and_attach_sub() 1167 device_printf(udev->parent_dev, in usb_probe_and_attach_sub() 1355 if (device_delete_child(udev->parent_dev, uaa.temp_dev)) in usb_probe_and_attach() 1476 usb_alloc_device(device_t parent_dev, struct usb_bus *bus, in usb_alloc_device() argument 1494 parent_dev, bus, parent_hub, depth, port_index, port_no, in usb_alloc_device() 1543 udev->parent_dev = parent_dev; in usb_alloc_device()
|
D | usb_hub.c | 1572 parent_info.nameunit = device_get_nameunit(udev->parent_dev); in uhub_attach()
|
/third_party/libusb/libusb/os/ |
D | windows_winusb.c | 1021 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 …]
|
D | darwin_usb.c | 1131 …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()
|
D | linux_usbfs.c | 1053 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()
|
D | windows_usbdk.c | 284 dev->parent_dev = NULL; in usbdk_device_init()
|
/third_party/glib/gio/ |
D | glocalfile.c | 1604 dev_t *parent_dev) in get_parent() argument 1620 res = expand_symlinks (parent, parent_dev); in get_parent() 1631 dev_t parent_dev; in expand_all_symlinks() local 1633 parent = get_parent (path, &parent_dev); in expand_all_symlinks() 1659 dev_t dir_dev, parent_dev; in find_mountpoint_for() local 1674 parent = get_parent (dir, &parent_dev); in find_mountpoint_for() 1681 if (parent_dev != dir_dev) in find_mountpoint_for()
|
/third_party/libusb/libusb/ |
D | core.c | 967 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()
|
D | libusbi.h | 459 struct libusb_device *parent_dev; member
|
/third_party/python/Lib/ |
D | pathlib.py | 1459 parent_dev = self.parent.stat().st_dev 1464 if dev != parent_dev:
|