/openbmc/u-boot/drivers/core/ |
H A D | root.c | 36 struct udevice *dm_root(void) in dm_root() function 38 if (!gd->dm_root) { in dm_root() 43 return gd->dm_root; in dm_root() 49 if (gd->dm_root) { in dm_fixup_for_gd_move() 57 struct udevice *root = dm_root(); in dm_get_translation_offset() 65 struct udevice *root = dm_root(); in dm_set_translation_offset() 156 if (gd->dm_root) { in dm_init() 188 device_remove(dm_root(), DM_REMOVE_NORMAL); in dm_uninit() 189 device_unbind(dm_root()); in dm_uninit() 190 gd->dm_root = NULL; in dm_uninit() [all …]
|
H A D | dump.c | 50 root = dm_root(); in dm_dump_all()
|
H A D | syscon-uclass.c | 166 parent = dm_root(); in syscon_node_to_regmap()
|
H A D | devres.c | 220 root = dm_root(); in dm_dump_devres()
|
H A D | device.c | 646 *devp = _device_find_global_by_ofnode(gd->dm_root, ofnode); in device_find_global_by_ofnode() 655 dev = _device_find_global_by_ofnode(gd->dm_root, ofnode); in device_get_global_by_ofnode()
|
/openbmc/u-boot/test/dm/ |
H A D | test-main.c | 29 gd->dm_root = NULL; in dm_test_init() 38 dms->root = dm_root(); in dm_test_init() 191 gd->dm_root = NULL; in dm_test_main()
|
H A D | blk.c | 24 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_base() 97 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_find()
|
H A D | core.c | 118 ut_asserteq(0, list_count_items(&gd->dm_root->child_head)); in dm_test_autobind() 125 ut_assert(0 < list_count_items(&gd->dm_root->child_head)); in dm_test_autobind() 131 list_for_each_entry(dev, &gd->dm_root->child_head, sibling_node) in dm_test_autobind() 730 gd->dm_root = NULL; in dm_test_uclass_before_ready()
|
/openbmc/u-boot/drivers/timer/ |
H A D | timer-uclass.c | 98 if (gd->dm_root == NULL) in dm_timer_init() 111 if (!lists_bind_fdt(dm_root(), node, &dev, false)) { in dm_timer_init()
|
/openbmc/u-boot/include/dm/ |
H A D | root.h | 21 struct udevice *dm_root(void);
|
H A D | device-internal.h | 184 #define DM_ROOT_NON_CONST (((gd_t *)gd)->dm_root)
|
/openbmc/u-boot/board/xilinx/microblaze-generic/ |
H A D | microblaze-generic.c | 87 ret = device_bind_driver(gd->dm_root, "mb_soft_reset", in board_late_init()
|
/openbmc/u-boot/board/freescale/imx8qxp_mek/ |
H A D | spl.c | 32 lists_bind_fdt(gd->dm_root, offset_to_ofnode(offset), in spl_board_init()
|
/openbmc/u-boot/drivers/cpu/ |
H A D | cpu-uclass.c | 93 ret = device_bind_driver_to_node(dm_root(), "cpu_bus", "cpus", node, in uclass_cpu_init()
|
/openbmc/u-boot/include/asm-generic/ |
H A D | global_data.h | 66 struct udevice *dm_root; /* Root instance for Driver Model */ member
|
/openbmc/u-boot/common/ |
H A D | board_r.c | 285 gd->dm_root_f = gd->dm_root; in initr_dm() 286 gd->dm_root = NULL; in initr_dm()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | axp_gpio.c | 174 ret = device_bind_driver(dm_root(), "gpio_axp", "AXP-gpio", &dev); in axp_gpio_init()
|
/openbmc/u-boot/lib/efi_driver/ |
H A D | efi_block_device.c | 132 struct udevice *bdev, *parent = dm_root(); in efi_bl_bind()
|
/openbmc/u-boot/common/spl/ |
H A D | spl.c | 601 gd->dm_root_f = gd->dm_root; in spl_initr_dm() 602 gd->dm_root = NULL; in spl_initr_dm()
|
/openbmc/u-boot/drivers/block/ |
H A D | sandbox.c | 129 ret = blk_create_device(gd->dm_root, "sandbox_host_blk", str,
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial-uclass.c | 64 if (node > 0 && !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node), in serial_check_stdout()
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | mp_init.c | 432 for (device_find_first_child(dm_root(), &pdev); in qemu_cpu_fixup()
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2400.c | 520 ret = device_bind_driver(gd->dm_root, "ast_sysreset", "reset", &dev); in ast2400_clk_bind()
|
H A D | clk_ast2500.c | 642 ret = device_bind_driver(gd->dm_root, "ast_sysreset", "reset", &dev); in ast2500_clk_bind()
|
/openbmc/u-boot/arch/arm/mach-imx/imx8/ |
H A D | cpu.c | 62 ret = device_bind_driver_to_node(gd->dm_root, "imx8_scu", "imx8_scu", in arch_cpu_init_dm()
|