Lines Matching refs:dm_root
39 struct udevice *dm_root(void) in dm_root() function
41 if (!gd->dm_root) { in dm_root()
46 return gd->dm_root; in dm_root()
52 if (gd->dm_root) { in dm_fixup_for_gd_move()
98 if (gd->dm_root) { in dm_init()
135 device_remove(dm_root(), DM_REMOVE_NON_VITAL); in dm_uninit()
136 device_remove(dm_root(), DM_REMOVE_NORMAL); in dm_uninit()
137 device_unbind(dm_root()); in dm_uninit()
138 gd->dm_root = NULL; in dm_uninit()
146 device_remove(dm_root(), flags); in dm_remove_devices_flags()
154 device_remove(dm_root(), DM_REMOVE_ACTIVE_ALL | DM_REMOVE_NON_VITAL); in dm_remove_devices_active()
155 device_remove(dm_root(), DM_REMOVE_ACTIVE_ALL); in dm_remove_devices_active()
235 return dm_scan_fdt_node(gd->dm_root, ofnode_root(), pre_reloc_only); in dm_scan_fdt()
244 return dm_scan_fdt_node(gd->dm_root, node, pre_reloc_only); in dm_scan_fdt_ofnode_path()
329 ret = dm_probe_devices(gd->dm_root, !(gd->flags & GD_FLG_RELOC)); in dm_autoprobe()
400 *device_countp = device_get_decendent_count(gd->dm_root); in dm_get_stats()
448 dev_collect_stats(stats, gd->dm_root); in dm_get_mem()