Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/drivers/core/
Dlists.c26 const int n_ents = ll_entry_count(struct driver, driver); in lists_driver_lookup_name() local
29 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name()
42 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in lists_uclass_lookup() local
45 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
57 const int n_ents = ll_entry_count(struct driver_info, driver_info); in lists_bind_drivers() local
63 for (entry = info; entry != info + n_ents; entry++) { in lists_bind_drivers()
131 const int n_ents = ll_entry_count(struct driver, driver); in lists_bind_fdt() local
168 for (entry = driver; entry != driver + n_ents; entry++) { in lists_bind_fdt()
174 if (entry == driver + n_ents) in lists_bind_fdt()
Droot.c56 const int n_ents = ll_entry_count(struct driver, driver); in fix_drivers() local
59 for (entry = drv; entry != drv + n_ents; entry++) { in fix_drivers()
89 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in fix_uclass() local
92 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
121 const int n_ents = ll_entry_count(struct driver_info, driver_info); in fix_devices() local
124 for (entry = dev; entry != dev + n_ents; entry++) { in fix_devices()
/third_party/uboot/u-boot-2020.01/test/optee/
Dcmd_ut_optee.c98 const int n_ents = ll_entry_count(struct unit_test, optee_test); in do_ut_optee() local
132 ret = cmd_ut_category("optee", tests, n_ents, argc, argv); in do_ut_optee()
138 ret = cmd_ut_category("optee", tests, n_ents, argc, argv); in do_ut_optee()
145 ret = cmd_ut_category("optee", tests, n_ents, argc, argv); in do_ut_optee()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/test/lib/
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()
/third_party/uboot/u-boot-2020.01/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()
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()
Dcompression.c541 const int n_ents = ll_entry_count(struct unit_test, compression_test); in do_ut_compression() local
543 return cmd_ut_category("compression", tests, n_ents, argc, argv); in do_ut_compression()
Dunicode_ut.c586 const int n_ents = ll_entry_count(struct unit_test, unicode_test); in do_ut_unicode() local
588 return cmd_ut_category("Unicode", tests, n_ents, argc, argv); in do_ut_unicode()
/third_party/uboot/u-boot-2020.01/env/
Denv.c17 const int n_ents = ll_entry_count(struct env_driver, env_driver); in env_fix_drivers() local
21 for (entry = drv; entry != drv + n_ents; entry++) { in env_fix_drivers()
39 const int n_ents = ll_entry_count(struct env_driver, env_driver); in _env_driver_lookup() local
43 for (entry = drv; entry != drv + n_ents; entry++) { in _env_driver_lookup()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/disk/
Dpart.c31 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_driver_lookup_type() local
35 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
45 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
234 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_init() local
240 for (entry = drv; entry != drv + n_ents; entry++) { in part_init()
/third_party/uboot/u-boot-2020.01/include/test/
Dsuites.h23 int cmd_ut_category(const char *name, struct unit_test *tests, int n_ents,
/third_party/uboot/u-boot-2020.01/test/overlay/
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()
/third_party/uboot/u-boot-2020.01/drivers/usb/host/
Dusb-uclass.c497 int n_ents; in usb_find_and_bind_driver() local
504 n_ents = ll_entry_count(struct usb_driver_entry, usb_driver_entry); in usb_find_and_bind_driver()
505 for (entry = start; entry != start + n_ents; entry++) { in usb_find_and_bind_driver()
/third_party/uboot/u-boot-2020.01/common/spl/
Dspl.c506 const int n_ents = in spl_ll_find_loader() local
510 for (entry = drv; entry != drv + n_ents; entry++) { in spl_ll_find_loader()
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpci-uclass.c667 int n_ents; in pci_find_and_bind_driver() local
686 n_ents = ll_entry_count(struct pci_driver_entry, pci_driver_entry); in pci_find_and_bind_driver()
687 for (entry = start; entry != start + n_ents; entry++) { in pci_find_and_bind_driver()