Searched refs:device_find_child_by_seq (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/test/dm/ |
H A D | bus.c | 157 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, -1, true, &dev)); in dm_test_bus_children_funcs() 158 ut_assertok(device_find_child_by_seq(bus, 0, true, &dev)); in dm_test_bus_children_funcs() 160 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, 0, false, &dev)); in dm_test_bus_children_funcs() 165 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, 2, false, &dev)); in dm_test_bus_children_funcs() 166 ut_asserteq(-ENODEV, device_find_child_by_seq(bus, 2, true, &dev)); in dm_test_bus_children_funcs() 220 ut_assertok(device_find_child_by_seq(bus, 5, true, &dev)); in dm_test_bus_children_iterators() 245 ut_assertok(device_find_child_by_seq(bus, 0, true, &dev)); in test_bus_parent_data()
|
/openbmc/u-boot/drivers/core/ |
H A D | device.c | 561 int device_find_child_by_seq(struct udevice *parent, int seq_or_req_seq, in device_find_child_by_seq() function 588 ret = device_find_child_by_seq(parent, seq, false, &dev); in device_get_child_by_seq() 594 ret = device_find_child_by_seq(parent, seq, true, &dev); in device_get_child_by_seq()
|
/openbmc/u-boot/include/dm/ |
H A D | device.h | 426 int device_find_child_by_seq(struct udevice *parent, int seq_or_req_seq,
|