/openbmc/u-boot/cmd/ |
H A D | usb.c | 351 if (device_get_uclass_id(dev->dev) == UCLASS_MASS_STORAGE) { 357 if (device_get_uclass_id(child) == UCLASS_BLK) 374 if (device_get_uclass_id(dev->dev->parent) != UCLASS_USB) { 430 if ((device_get_uclass_id(child) != UCLASS_USB_EMUL) && 431 (device_get_uclass_id(child) != UCLASS_BLK)) { 622 (device_get_uclass_id(child) != UCLASS_USB_EMUL) && 623 (device_get_uclass_id(child) != UCLASS_BLK)) {
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | usb-compat.h | 83 if (device_get_uclass_id(udev->dev) == UCLASS_USB) in usb_dev_get_parent() 94 if (device_get_uclass_id(parent) == UCLASS_USB_HUB) in usb_dev_get_parent()
|
/openbmc/u-boot/test/dm/ |
H A D | spmi.c | 39 ut_asserteq(device_get_uclass_id(dev), UCLASS_PMIC); in dm_test_spmi_probe() 85 ut_asserteq(device_get_uclass_id(dev->parent), UCLASS_PMIC); in dm_test_spmi_access_peripheral()
|
H A D | core.c | 863 ut_asserteq(UCLASS_TEST, device_get_uclass_id(dev)); in dm_test_device_get_uclass_id()
|
/openbmc/u-boot/drivers/core/ |
H A D | syscon-uclass.c | 30 if (device_get_uclass_id(dev) != UCLASS_SYSCON) in syscon_get_regmap() 41 if (device_get_uclass_id(dev->parent) == UCLASS_PCI) in syscon_pre_probe()
|
H A D | device.c | 388 if (dev->parent && device_get_uclass_id(dev) != UCLASS_PINCTRL) in device_probe() 391 if (dev->parent && device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN) { in device_probe() 429 if (dev->parent && device_get_uclass_id(dev) == UCLASS_PINCTRL) in device_probe() 695 device_get_uclass_id(dev) == uclass_id) { in device_find_first_inactive_child() 712 if (device_get_uclass_id(dev) == uclass_id) { in device_find_first_child_by_uclass() 756 enum uclass_id device_get_uclass_id(const struct udevice *dev) in device_get_uclass_id() function
|
H A D | fdtaddr.c | 71 if (device_get_uclass_id(dev->parent) == in devfdt_get_addr_index()
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci-emul-uclass.c | 33 if (device_get_uclass_id(dev) == UCLASS_PCI_GENERIC) { in sandbox_pci_get_emul()
|
/openbmc/u-boot/drivers/block/ |
H A D | blk-uclass.c | 119 if (device_get_uclass_id(dev->parent) != uclass_id) { in blk_get_devnum_by_typename() 121 device_get_uclass_id(dev->parent), uclass_id); in blk_get_devnum_by_typename() 148 if (device_get_uclass_id(child_dev) != UCLASS_BLK) in blk_get_by_device() 488 id = device_get_uclass_id(dev); in blk_get_from_parent()
|
/openbmc/u-boot/drivers/power/domain/ |
H A D | imx8-power-domain.c | 47 if (device_get_uclass_id(parent) == UCLASS_POWER_DOMAIN) { in imx8_power_domain_on() 141 if (device_get_uclass_id(parent) == UCLASS_POWER_DOMAIN) { in imx8_power_domain_off_parentnodes()
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | spl-boot-order.c | 47 if (device_get_uclass_id(dev) == UCLASS_BLK) { in spl_node_to_boot_device()
|
H A D | rk3288-board-spl.c | 61 switch (device_get_uclass_id(dev)) { in spl_boot_device()
|
H A D | rk3188-board-spl.c | 60 switch (device_get_uclass_id(dev)) { in spl_boot_device()
|
/openbmc/u-boot/drivers/video/bridge/ |
H A D | ps862x.c | 111 if (device_get_uclass_id(dev->parent) != UCLASS_I2C) in ps8622_probe()
|
H A D | anx6345.c | 399 if (device_get_uclass_id(dev->parent) != UCLASS_I2C) in anx6345_probe()
|
/openbmc/u-boot/include/dm/ |
H A D | device.h | 381 enum uclass_id device_get_uclass_id(const struct udevice *dev); 667 return device_get_uclass_id(dev->parent) == UCLASS_PCI; in device_is_on_pci_bus()
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | i2c-mux-uclass.c | 109 if (UCLASS_I2C == device_get_uclass_id(mux->parent)) { in i2c_mux_post_probe()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | usb-uclass.c | 634 parent_udev = device_get_uclass_id(parent) == UCLASS_USB_HUB ? in usb_scan_device() 740 for (bus = dev; bus && device_get_uclass_id(bus) != UCLASS_USB; ) in usb_get_bus()
|
H A D | xhci.c | 122 device_get_uclass_id(dev) != UCLASS_USB; in xhci_get_ctrl() 1358 if (device_get_uclass_id(hub) == UCLASS_USB_HUB) { in xhci_submit_control_msg()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | usb-emul-uclass.c | 135 if (device_get_uclass_id(dev->parent) == UCLASS_USB) { in usb_emul_find_devnum()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_sandbox.c | 531 if (device_get_uclass_id(keyb_dev) == UCLASS_KEYBOARD) { in cros_ec_probe()
|
/openbmc/u-boot/common/ |
H A D | console.c | 164 is_serial = device_get_uclass_id(dev) == UCLASS_SERIAL; in console_dev_is_serial()
|
H A D | usb_hub.c | 70 if (device_get_uclass_id(hub->parent) != UCLASS_USB_HUB) in usb_hub_is_root_hub()
|
H A D | usb.c | 1246 if (device_get_uclass_id(dev->parent) != UCLASS_USB_HUB) { in usb_find_usb2_hub_address_port()
|