Home
last modified time | relevance | path

Searched refs:dm_root (Results 1 – 25 of 28) sorted by relevance

12

/OK3568_Linux_fs/u-boot/drivers/core/
H A Droot.c37 struct udevice *dm_root(void) in dm_root() function
39 if (!gd->dm_root) { in dm_root()
44 return gd->dm_root; in dm_root()
50 if (gd->dm_root) { in dm_fixup_for_gd_move()
58 struct udevice *root = dm_root(); in dm_get_translation_offset()
66 struct udevice *root = dm_root(); in dm_set_translation_offset()
157 if (gd->dm_root) { in dm_init()
189 device_remove(dm_root(), DM_REMOVE_NORMAL); in dm_uninit()
190 device_unbind(dm_root()); in dm_uninit()
198 device_remove(dm_root(), flags); in dm_remove_devices_flags()
[all …]
H A Droot.su
H A Ddump.c57 root = dm_root(); in dm_dump_all()
H A Ddevres.c221 root = dm_root(); in dm_dump_devres()
H A Duclass.c27 if (!gd->dm_root) in uclass_find()
H A Ddevice.c705 dev = _device_find_global_by_of_offset(gd->dm_root, of_offset); in device_get_global_by_of_offset()
/OK3568_Linux_fs/u-boot/common/usbplug/
H A Dusbplug.c42 gd->dm_root_f = gd->dm_root; in initr_dm()
43 gd->dm_root = NULL; in initr_dm()
/OK3568_Linux_fs/u-boot/test/dm/
H A Dtest-main.c30 gd->dm_root = NULL; in dm_test_init()
39 dms->root = dm_root(); in dm_test_init()
192 gd->dm_root = NULL; in dm_test_main()
H A Dblk.c25 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_base()
103 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_find()
H A Dcore.c119 ut_asserteq(0, list_count_items(&gd->dm_root->child_head)); in dm_test_autobind()
126 ut_assert(0 < list_count_items(&gd->dm_root->child_head)); in dm_test_autobind()
132 list_for_each_entry(dev, &gd->dm_root->child_head, sibling_node) in dm_test_autobind()
731 gd->dm_root = NULL; in dm_test_uclass_before_ready()
/OK3568_Linux_fs/u-boot/drivers/timer/
H A Dtimer-uclass.c99 if (gd->dm_root == NULL) in dm_timer_init()
112 if (!lists_bind_fdt(dm_root(), node, &dev)) { in dm_timer_init()
/OK3568_Linux_fs/u-boot/include/dm/
H A Droot.h22 struct udevice *dm_root(void);
H A Ddevice-internal.h143 #define DM_ROOT_NON_CONST (((gd_t *)gd)->dm_root)
/OK3568_Linux_fs/u-boot/spl/drivers/core/
H A Droot.su
/OK3568_Linux_fs/u-boot/drivers/cpu/
H A Dcpu-uclass.c73 ret = device_bind_driver_to_node(dm_root(), "cpu_bus", "cpus", node, in uclass_cpu_init()
/OK3568_Linux_fs/u-boot/include/asm-generic/
H A Dglobal_data.h80 struct udevice *dm_root; /* Root instance for Driver Model */ member
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Daxp_gpio.c175 ret = device_bind_driver(dm_root(), "gpio_axp", "AXP-gpio", &dev); in axp_gpio_init()
/OK3568_Linux_fs/u-boot/common/
H A Dboard_r.c327 gd->dm_root_f = gd->dm_root; in initr_dm()
328 gd->dm_root = NULL; in initr_dm()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl.c472 gd->dm_root_f = gd->dm_root; in spl_initr_dm()
473 gd->dm_root = NULL; in spl_initr_dm()
/OK3568_Linux_fs/u-boot/drivers/block/
H A Dsandbox.c130 ret = blk_create_device(gd->dm_root, "sandbox_host_blk", str,
/OK3568_Linux_fs/u-boot/drivers/clk/aspeed/
H A Dclk_ast2500.c444 ret = device_bind_driver(gd->dm_root, "ast_sysreset", "reset", &dev); in ast2500_clk_bind()
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial-uclass.c66 if (node > 0 && !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node), in serial_check_stdout()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/
H A Dmp_init.c433 for (device_find_first_child(dm_root(), &pdev); in qemu_cpu_fixup()
/OK3568_Linux_fs/u-boot/spl/
H A Du-boot-spl.sym
H A Du-boot-spl.map

12