Home
last modified time | relevance | path

Searched refs:dev_head (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/core/
H A Duclass.c80 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()
180 if (list_empty(&uc->dev_head)) in dev_get_uclass_index()
205 if (list_empty(&uc->dev_head)) in uclass_find_device()
227 if (list_empty(&uc->dev_head)) in uclass_find_first_device()
230 *devp = list_first_entry(&uc->dev_head, struct udevice, uclass_node); in uclass_find_first_device()
240 if (list_is_last(&dev->uclass_node, &dev->uclass->dev_head)) in uclass_find_next_device()
284 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in uclass_find_next_free_req_seq()
633 list_add_tail(&dev->uclass_node, &uc->dev_head); in uclass_bind_device()
H A Ddump.c90 if (list_empty(&uc->dev_head)) in dm_dump_uclass()
/openbmc/u-boot/include/dm/
H A Duclass.h37 struct list_head dev_head; member
379 list_for_each_entry(pos, &uc->dev_head, uclass_node)
394 list_for_each_entry_safe(pos, next, &uc->dev_head, uclass_node)
/openbmc/u-boot/test/dm/
H A Dtest-uclass.c80 if (&prev->uclass_node != &uc->dev_head) { in test_post_probe()
H A Dbus.c125 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
132 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children()
H A Dtest-fdt.c206 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_fdt()
261 ut_asserteq(2, list_count_items(&uc->dev_head)); in dm_test_fdt_pre_reloc()
/openbmc/linux/fs/btrfs/
H A Dcheck-integrity.c576 struct list_head *dev_head = &fs_devices->devices; in btrfsic_process_superblock() local
586 list_for_each_entry(device, dev_head, dev_list) { in btrfsic_process_superblock()
2737 struct list_head *dev_head = &fs_devices->devices; in btrfsic_mount() local
2771 list_for_each_entry(device, dev_head, dev_list) { in btrfsic_mount()
2808 struct list_head *dev_head = &fs_devices->devices; in btrfsic_unmount() local
2817 list_for_each_entry(device, dev_head, dev_list) { in btrfsic_unmount()