Home
last modified time | relevance | path

Searched refs:device_get_uclass_id (Results 1 – 24 of 24) sorted by relevance

/openbmc/u-boot/cmd/
H A Dusb.c351 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 Dusb-compat.h83 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 Dspmi.c39 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 Dcore.c863 ut_asserteq(UCLASS_TEST, device_get_uclass_id(dev)); in dm_test_device_get_uclass_id()
/openbmc/u-boot/drivers/core/
H A Dsyscon-uclass.c30 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 Ddevice.c388 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 Dfdtaddr.c71 if (device_get_uclass_id(dev->parent) == in devfdt_get_addr_index()
/openbmc/u-boot/drivers/pci/
H A Dpci-emul-uclass.c33 if (device_get_uclass_id(dev) == UCLASS_PCI_GENERIC) { in sandbox_pci_get_emul()
/openbmc/u-boot/drivers/block/
H A Dblk-uclass.c119 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 Dimx8-power-domain.c47 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 Dspl-boot-order.c47 if (device_get_uclass_id(dev) == UCLASS_BLK) { in spl_node_to_boot_device()
H A Drk3288-board-spl.c61 switch (device_get_uclass_id(dev)) { in spl_boot_device()
H A Drk3188-board-spl.c60 switch (device_get_uclass_id(dev)) { in spl_boot_device()
/openbmc/u-boot/drivers/video/bridge/
H A Dps862x.c111 if (device_get_uclass_id(dev->parent) != UCLASS_I2C) in ps8622_probe()
H A Danx6345.c399 if (device_get_uclass_id(dev->parent) != UCLASS_I2C) in anx6345_probe()
/openbmc/u-boot/include/dm/
H A Ddevice.h381 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 Di2c-mux-uclass.c109 if (UCLASS_I2C == device_get_uclass_id(mux->parent)) { in i2c_mux_post_probe()
/openbmc/u-boot/drivers/usb/host/
H A Dusb-uclass.c634 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 Dxhci.c122 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 Dusb-emul-uclass.c135 if (device_get_uclass_id(dev->parent) == UCLASS_USB) { in usb_emul_find_devnum()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c531 if (device_get_uclass_id(keyb_dev) == UCLASS_KEYBOARD) { in cros_ec_probe()
/openbmc/u-boot/common/
H A Dconsole.c164 is_serial = device_get_uclass_id(dev) == UCLASS_SERIAL; in console_dev_is_serial()
H A Dusb_hub.c70 if (device_get_uclass_id(hub->parent) != UCLASS_USB_HUB) in usb_hub_is_root_hub()
H A Dusb.c1246 if (device_get_uclass_id(dev->parent) != UCLASS_USB_HUB) { in usb_find_usb2_hub_address_port()