Home
last modified time | relevance | path

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

/external/u-boot/drivers/core/
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()
128 const int n_ents = ll_entry_count(struct driver, driver); in lists_bind_fdt() local
165 for (entry = driver; entry != driver + n_ents; entry++) { in lists_bind_fdt()
171 if (entry == driver + n_ents) in lists_bind_fdt()
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()
/external/u-boot/env/
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()
/external/u-boot/test/
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()
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()
/external/u-boot/test/env/
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()
/external/u-boot/drivers/block/
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()
/external/u-boot/test/dm/
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()
/external/u-boot/disk/
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()
230 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_init() local
236 for (entry = drv; entry != drv + n_ents; entry++) { in part_init()
/external/u-boot/include/test/
Dsuites.h23 int cmd_ut_category(const char *name, struct unit_test *tests, int n_ents,
/external/u-boot/test/overlay/
Dcmd_ut_overlay.c222 const int n_ents = ll_entry_count(struct unit_test, overlay_test); in do_ut_overlay() local
282 ret = cmd_ut_category("overlay", tests, n_ents, argc, argv); in do_ut_overlay()
/external/u-boot/common/spl/
Dspl.c401 const int n_ents = in spl_ll_find_loader() local
405 for (entry = drv; entry != drv + n_ents; entry++) { in spl_ll_find_loader()
/external/u-boot/drivers/usb/host/
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()
/external/u-boot/drivers/pci/
Dpci-uclass.c646 int n_ents; in pci_find_and_bind_driver() local
656 n_ents = ll_entry_count(struct pci_driver_entry, pci_driver_entry); in pci_find_and_bind_driver()
657 for (entry = start; entry != start + n_ents; entry++) { in pci_find_and_bind_driver()