Searched refs:dev_head (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/drivers/core/ |
D | uclass.c | 80 INIT_LIST_HEAD(&uc->dev_head); in uclass_add() 116 while (!list_empty(&uc->dev_head)) { in uclass_destroy() 117 dev = list_first_entry(&uc->dev_head, struct udevice, in uclass_destroy() 184 if (list_empty(&uc->dev_head)) in uclass_find_device() 187 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in uclass_find_device() 206 if (list_empty(&uc->dev_head)) in uclass_find_first_device() 209 *devp = list_first_entry(&uc->dev_head, struct udevice, uclass_node); in uclass_find_first_device() 219 if (list_is_last(&dev->uclass_node, &dev->uclass->dev_head)) in uclass_find_next_device() 241 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in uclass_find_device_by_name() 266 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in uclass_find_device_by_seq() [all …]
|
D | dump.c | 87 if (list_empty(&uc->dev_head)) in dm_dump_uclass() 89 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in dm_dump_uclass()
|
/external/u-boot/include/dm/ |
D | uclass.h | 37 struct list_head dev_head; member 361 list_for_each_entry(pos, &uc->dev_head, uclass_node) 376 list_for_each_entry_safe(pos, next, &uc->dev_head, uclass_node)
|
/external/u-boot/test/dm/ |
D | test-uclass.c | 80 if (&prev->uclass_node != &uc->dev_head) { in test_post_probe()
|
D | test-fdt.c | 182 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_fdt() 210 ut_asserteq(1, list_count_items(&uc->dev_head)); in dm_test_fdt_pre_reloc()
|
D | bus.c | 112 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children() 119 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
|