Searched refs:dev_head (Results 1 – 7 of 7) sorted by relevance
/u-boot/include/dm/ |
A D | uclass.h | 37 struct list_head dev_head; member 405 list_for_each_entry(pos, &uc->dev_head, uclass_node) 418 list_for_each_entry(pos, &uc->dev_head, uclass_node) 433 list_for_each_entry_safe(pos, next, &uc->dev_head, uclass_node)
|
/u-boot/drivers/core/ |
A D | uclass.c | 87 INIT_LIST_HEAD(&uc->dev_head); in uclass_add() 123 while (!list_empty(&uc->dev_head)) { in uclass_destroy() 124 dev = list_first_entry(&uc->dev_head, struct udevice, in uclass_destroy() 197 if (list_empty(&uc->dev_head)) in dev_get_uclass_index() 222 if (list_empty(&uc->dev_head)) in uclass_find_device() 244 if (list_empty(&uc->dev_head)) in uclass_find_first_device() 247 *devp = list_first_entry(&uc->dev_head, struct udevice, uclass_node); in uclass_find_first_device() 257 if (list_is_last(&dev->uclass_node, &dev->uclass->dev_head)) in uclass_find_next_device() 300 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in uclass_find_next_free_seq() 658 list_add_tail(&dev->uclass_node, &uc->dev_head); in uclass_bind_device()
|
A D | dump.c | 92 if (list_empty(&uc->dev_head)) in dm_dump_uclass()
|
/u-boot/test/dm/ |
A D | test-uclass.c | 82 if (&prev->uclass_node != &uc->dev_head) { in test_post_probe()
|
A D | bus.c | 31 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children() 38 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
|
A D | test-fdt.c | 166 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_fdt() 221 ut_asserteq(2, list_count_items(&uc->dev_head)); in dm_test_fdt_pre_reloc()
|
A D | core.c | 1172 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in dm_test_all_have_seq()
|
Completed in 15 milliseconds