Searched refs:child_head (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/drivers/core/ |
D | device.c | 57 INIT_LIST_HEAD(&dev->child_head); in device_bind_common() 141 list_add_tail(&dev->sibling_node, &parent->child_head); in device_bind_common() 508 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_get_child() 525 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_child_by_seq() 561 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_child_by_of_offset() 590 list_for_each_entry(dev, &parent->child_head, sibling_node) { in _device_find_global_by_of_offset() 609 if (list_empty(&parent->child_head)) { in device_find_first_child() 612 *devp = list_first_entry(&parent->child_head, struct udevice, in device_find_first_child() 624 if (list_is_last(&dev->sibling_node, &parent->child_head)) { in device_find_next_child() 667 return !list_empty(&dev->child_head); in device_has_children() [all …]
|
D | dump.c | 38 list_for_each_entry(child, &dev->child_head, sibling_node) { in show_devices() 39 is_last = list_is_last(&child->sibling_node, &dev->child_head); in show_devices()
|
D | device-remove.c | 36 list_for_each_entry_safe(pos, n, &dev->child_head, sibling_node) { in device_chld_unbind() 58 list_for_each_entry_safe(pos, n, &dev->child_head, sibling_node) { in device_chld_remove()
|
D | devres.c | 212 list_for_each_entry(child, &dev->child_head, sibling_node) in dump_resources()
|
/external/u-boot/include/dm/ |
D | device.h | 141 struct list_head child_head; member 609 list_for_each_entry_safe(pos, next, &parent->child_head, sibling_node)
|
/external/u-boot/test/dm/ |
D | core.c | 118 ut_asserteq(0, list_count_items(&gd->dm_root->child_head)); in dm_test_autobind() 125 ut_assert(0 < list_count_items(&gd->dm_root->child_head)); in dm_test_autobind() 131 list_for_each_entry(dev, &gd->dm_root->child_head, sibling_node) in dm_test_autobind()
|