Home
last modified time | relevance | path

Searched refs:uclass_first_device (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/u-boot/arch/x86/cpu/
H A Dcpu.c225 uclass_first_device(UCLASS_CPU, &dev); in x86_init_cpus()
248 uclass_first_device(UCLASS_NORTHBRIDGE, &dev); in cpu_init_r()
249 uclass_first_device(UCLASS_PCH, &dev); in cpu_init_r()
250 uclass_first_device(UCLASS_LPC, &dev); in cpu_init_r()
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dcpu.c53 uclass_first_device(UCLASS_NORTHBRIDGE, &dev); in cpu_common_init()
55 ret = uclass_first_device(UCLASS_LPC, &lpc); in cpu_common_init()
62 uclass_first_device(UCLASS_AHCI, &dev); in cpu_common_init()
/openbmc/u-boot/arch/sandbox/lib/
H A Dpci_io.c23 for (uclass_first_device(UCLASS_PCI_EMUL, &dev); in pci_map_physmem()
57 for (uclass_first_device(UCLASS_PCI_EMUL, &dev); in pci_io_read()
78 for (uclass_first_device(UCLASS_PCI_EMUL, &dev); in pci_io_write()
/openbmc/u-boot/test/dm/
H A Dvirtio.c24 ut_assertok(uclass_first_device(UCLASS_VIRTIO, &bus)); in dm_test_virtio_base()
51 ut_assertok(uclass_first_device(UCLASS_VIRTIO, &bus)); in dm_test_virtio_all_ops()
108 ut_assertok(uclass_first_device(UCLASS_VIRTIO, &bus)); in dm_test_virtio_remove()
H A Di2c.c128 ut_assertok(uclass_first_device(UCLASS_I2C_EMUL, &eeprom)); in dm_test_i2c_bytewise()
181 ut_assertok(uclass_first_device(UCLASS_I2C_EMUL, &eeprom)); in dm_test_i2c_offset()
H A Dcore.c491 for (ret = uclass_first_device(UCLASS_TEST, &dev); in dm_test_leak()
608 for (ret = uclass_first_device(UCLASS_TEST, &dev); in dm_test_children()
802 for (ret = uclass_first_device(UCLASS_TEST, &dev); in dm_test_uclass_devices_get()
836 for (ret = uclass_first_device(UCLASS_TEST_FDT, &testdev); in dm_test_uclass_devices_get_by_name()
H A Dtest-fdt.c364 for (ret = uclass_first_device(UCLASS_TEST_PROBE, &dev), count = 0; in dm_test_first_next_device()
378 ut_assertok(uclass_first_device(UCLASS_TEST_PROBE, &dev)); in dm_test_first_next_device()
387 ut_asserteq(-ENOENT, uclass_first_device(UCLASS_TEST_PROBE, &dev)); in dm_test_first_next_device()
/openbmc/u-boot/board/gdsys/common/
H A Dosd_cmd.c52 for (uclass_first_device(UCLASS_VIDEO_OSD, &dev); in do_osd_write()
87 for (uclass_first_device(UCLASS_VIDEO_OSD, &dev); in do_osd_print()
114 for (uclass_first_device(UCLASS_VIDEO_OSD, &dev); in do_osd_size()
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset-uclass.c55 for (uclass_first_device(UCLASS_SYSRESET, &dev); in sysreset_walk()
73 for (uclass_first_device(UCLASS_SYSRESET, &dev); in sysreset_get_last_walk()
H A Dsysreset_ast.c19 int ret = uclass_first_device(UCLASS_WDT, &wdt); in ast_sysreset_request()
/openbmc/u-boot/cmd/
H A Daxi.c62 for (uclass_first_device(UCLASS_AXI, &dummy); in axi_set_cur_bus()
105 for (uclass_first_device(UCLASS_AXI, &dummy); in do_axi_show_bus()
114 for (uclass_first_device(UCLASS_AXI, &bus); in do_axi_show_bus()
H A Dcpu.c26 for (uclass_first_device(UCLASS_CPU, &dev); in print_cpu_list()
H A Ddemo.c69 for (i = 0, ret = uclass_first_device(UCLASS_DEMO, &dev); in do_demo_list()
/openbmc/u-boot/arch/arm/mach-uniphier/
H A Dpinctrl-glue.c19 ret = uclass_first_device(UCLASS_PINCTRL, &pctldev); in uniphier_pin_init()
/openbmc/u-boot/board/intel/cougarcanyon2/
H A Dcougarcanyon2.c23 ret = uclass_first_device(UCLASS_PCH, &pch); in board_early_init_f()
/openbmc/u-boot/arch/sandbox/cpu/
H A Dspl.c61 for (uclass_first_device(UCLASS_MISC, &dev); in spl_board_init()
/openbmc/u-boot/drivers/serial/
H A Dserial_bcm283x_pl011.c27 if (uclass_first_device(UCLASS_PINCTRL, &dev) || !dev) in bcm283x_is_serial_muxed()
H A Dserial-uclass.c82 uclass_first_device(UCLASS_SERIAL, &dev); in serial_find_console_or_panic()
141 (!uclass_first_device(UCLASS_SERIAL, &dev) && dev)) { in serial_find_console_or_panic()
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dsdram.c212 ret = uclass_first_device(UCLASS_PCH, &pch_dev); in dram_init()
224 ret = uclass_first_device(UCLASS_NORTHBRIDGE, &dev); in dram_init()
/openbmc/u-boot/arch/arm/mach-mvebu/
H A Darm64-common.c138 uclass_first_device(UCLASS_AHCI, &dev); in arch_early_init_r()
/openbmc/u-boot/drivers/cpu/
H A Dcpu-uclass.c19 ret = uclass_first_device(UCLASS_CPU, &cpu); in cpu_probe_all()
/openbmc/u-boot/drivers/w1-eeprom/
H A Dw1-eeprom-uclass.c45 for (ret = uclass_first_device(UCLASS_W1_EEPROM, &dev); in w1_eeprom_register_new_device()
/openbmc/u-boot/include/dm/
H A Duclass.h282 int uclass_first_device(enum uclass_id id, struct udevice **devp);
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c176 uclass_first_device(UCLASS_LPC, &lpc); in checkcpu()
/openbmc/u-boot/net/
H A Deth-uclass.c56 uclass_first_device(UCLASS_ETH, &uc_priv->current); in eth_set_current_to_next()
71 eth_errno = uclass_first_device(UCLASS_ETH, in eth_get_dev()

123