Home
last modified time | relevance | path

Searched refs:n_ents (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/drivers/core/
H A Dlists.c24 const int n_ents = ll_entry_count(struct driver, driver); in lists_driver_lookup_name() local
27 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name()
40 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in lists_uclass_lookup() local
43 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
55 const int n_ents = ll_entry_count(struct driver_info, driver_info); in lists_bind_drivers() local
61 for (entry = info; entry != info + n_ents; entry++) { in lists_bind_drivers()
129 const int n_ents = ll_entry_count(struct driver, driver); in lists_bind_fdt() local
166 for (entry = driver; entry != driver + n_ents; entry++) { in lists_bind_fdt()
172 if (entry == driver + n_ents) in lists_bind_fdt()
H A Droot.c76 const int n_ents = ll_entry_count(struct driver, driver); in fix_drivers() local
79 for (entry = drv; entry != drv + n_ents; entry++) { in fix_drivers()
109 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in fix_uclass() local
112 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
141 const int n_ents = ll_entry_count(struct driver_info, driver_info); in fix_devices() local
144 for (entry = dev; entry != dev + n_ents; entry++) { in fix_devices()
/openbmc/u-boot/env/
H A Denv.c16 const int n_ents = ll_entry_count(struct env_driver, env_driver); in env_fix_drivers() local
20 for (entry = drv; entry != drv + n_ents; entry++) { in env_fix_drivers()
36 const int n_ents = ll_entry_count(struct env_driver, env_driver); in _env_driver_lookup() local
40 for (entry = drv; entry != drv + n_ents; entry++) { in _env_driver_lookup()
/openbmc/u-boot/test/lib/
H A Dcmd_ut_lib.c17 const int n_ents = ll_entry_count(struct unit_test, lib_test); in do_ut_lib() local
19 return cmd_ut_category("lib", tests, n_ents, argc, argv); in do_ut_lib()
/openbmc/u-boot/test/env/
H A Dcmd_ut_env.c16 const int n_ents = ll_entry_count(struct unit_test, env_test); in do_ut_env() local
18 return cmd_ut_category("environment", tests, n_ents, argc, argv); in do_ut_env()
/openbmc/u-boot/test/
H A Dcmd_ut.c14 int cmd_ut_category(const char *name, struct unit_test *tests, int n_ents, in cmd_ut_category() argument
21 printf("Running %d %s tests\n", n_ents, name); in cmd_ut_category()
23 for (test = tests; test < tests + n_ents; test++) { in cmd_ut_category()
H A Dbloblist.c184 const int n_ents = ll_entry_count(struct unit_test, bloblist_test); in do_ut_bloblist() local
186 return cmd_ut_category("bloblist", tests, n_ents, argc, argv); in do_ut_bloblist()
H A Dcompression.c539 const int n_ents = ll_entry_count(struct unit_test, compression_test); in do_ut_compression() local
541 return cmd_ut_category("compression", tests, n_ents, argc, argv); in do_ut_compression()
H A Dunicode_ut.c563 const int n_ents = ll_entry_count(struct unit_test, unicode_test); in do_ut_unicode() local
565 return cmd_ut_category("Unicode", tests, n_ents, argc, argv); in do_ut_unicode()
/openbmc/u-boot/drivers/block/
H A Dblk_legacy.c13 const int n_ents = ll_entry_count(struct blk_driver, blk_driver); in blk_driver_lookup_type() local
16 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_type()
28 const int n_ents = ll_entry_count(struct blk_driver, blk_driver); in blk_driver_lookup_typename() local
31 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_typename()
/openbmc/u-boot/test/dm/
H A Dtest-main.c130 const int n_ents = ll_entry_count(struct unit_test, dm_test); in dm_test_main() local
149 printf("Running %d driver model tests\n", n_ents); in dm_test_main()
155 for (test = tests; test < tests + n_ents; test++) { in dm_test_main()
/openbmc/u-boot/disk/
H A Dpart.c30 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_driver_lookup_type() local
34 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
44 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
233 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_init() local
239 for (entry = drv; entry != drv + n_ents; entry++) { in part_init()
/openbmc/u-boot/test/overlay/
H A Dcmd_ut_overlay.c216 const int n_ents = ll_entry_count(struct unit_test, overlay_test); in do_ut_overlay() local
275 ret = cmd_ut_category("overlay", tests, n_ents, argc, argv); in do_ut_overlay()
/openbmc/u-boot/include/test/
H A Dsuites.h23 int cmd_ut_category(const char *name, struct unit_test *tests, int n_ents,
/openbmc/u-boot/drivers/usb/host/
H A Dusb-uclass.c500 int n_ents; in usb_find_and_bind_driver() local
507 n_ents = ll_entry_count(struct usb_driver_entry, usb_driver_entry); in usb_find_and_bind_driver()
508 for (entry = start; entry != start + n_ents; entry++) { in usb_find_and_bind_driver()
/openbmc/u-boot/common/spl/
H A Dspl.c526 const int n_ents = in spl_ll_find_loader() local
530 for (entry = drv; entry != drv + n_ents; entry++) { in spl_ll_find_loader()
/openbmc/u-boot/drivers/pci/
H A Dpci-uclass.c667 int n_ents; in pci_find_and_bind_driver() local
681 n_ents = ll_entry_count(struct pci_driver_entry, pci_driver_entry); in pci_find_and_bind_driver()
682 for (entry = start; entry != start + n_ents; entry++) { in pci_find_and_bind_driver()