Lines Matching refs:child
346 struct udevice *child; local
348 for (device_find_first_child(dev->dev, &child);
349 child;
350 device_find_next_child(&child)) {
351 if (device_get_uclass_id(child) == UCLASS_BLK)
408 struct udevice *child; local
410 for (device_find_first_child(dev->dev, &child);
411 child;
412 device_find_next_child(&child)) {
415 if (!device_active(child))
418 udev = dev_get_parent_priv(child);
424 if ((device_get_uclass_id(child) != UCLASS_USB_EMUL) &&
425 (device_get_uclass_id(child) != UCLASS_BLK)) {
609 struct udevice *child; local
613 for (device_find_first_child(udev->dev, &child);
614 child;
615 device_find_next_child(&child)) {
616 if (device_active(child) &&
617 (device_get_uclass_id(child) != UCLASS_USB_EMUL) &&
618 (device_get_uclass_id(child) != UCLASS_BLK)) {
619 udev = dev_get_parent_priv(child);