Home
last modified time | relevance | path

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

12

/u-boot/drivers/core/
A Dlists.c27 const int n_ents = ll_entry_count(struct driver, driver); in lists_driver_lookup_name() local
30 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name()
43 const int n_ents = ll_entry_count(struct uclass_driver, uclass_driver); in lists_uclass_lookup() local
46 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
58 const int n_ents = ll_entry_count(struct driver_info, driver_info); in bind_drivers_pass() local
69 for (idx = 0; idx < n_ents; idx++) { in bind_drivers_pass()
188 const int n_ents = ll_entry_count(struct driver, driver); in lists_bind_fdt() local
225 for (entry = driver; entry != driver + n_ents; entry++) { in lists_bind_fdt()
231 if (entry == driver + n_ents) in lists_bind_fdt()
A Ddump.c105 const int n_ents = ll_entry_count(struct driver, driver); in dm_dump_driver_compat() local
111 for (entry = d; entry < d + n_ents; entry++) { in dm_dump_driver_compat()
129 const int n_ents = ll_entry_count(struct driver, driver); in dm_dump_drivers() local
138 for (entry = d; entry < d + n_ents; entry++) { in dm_dump_drivers()
168 const int n_ents = ll_entry_count(struct driver_info, driver_info); in dm_dump_static_driver_info() local
173 for (entry = drv; entry != drv + n_ents; entry++) { in dm_dump_static_driver_info()
A Droot.c58 const int n_ents = ll_entry_count(struct driver, driver); in fix_drivers() local
61 for (entry = drv; entry != drv + n_ents; entry++) { in fix_drivers()
91 const int n_ents = ll_entry_count(struct uclass_driver, uclass_driver); in fix_uclass() local
94 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
123 const int n_ents = ll_entry_count(struct driver_info, driver_info); in fix_devices() local
126 for (entry = dev; entry != dev + n_ents; entry++) { in fix_devices()
190 int n_ents; in dm_scan_plat() local
192 n_ents = ll_entry_count(struct driver_info, driver_info); in dm_scan_plat()
193 dyn = calloc(n_ents, sizeof(struct driver_rt)); in dm_scan_plat()
/u-boot/test/env/
A Dcmd_ut_env.c16 const int n_ents = ll_entry_count(struct unit_test, env_test); in do_ut_env() local
19 tests, n_ents, argc, argv); in do_ut_env()
/u-boot/test/cmd/
A Dmem.c16 const int n_ents = ll_entry_count(struct unit_test, mem_test); in do_ut_mem() local
18 return cmd_ut_category("cmd_mem", "mem_test_", tests, n_ents, argc, in do_ut_mem()
A Daddrmap.c34 const int n_ents = ll_entry_count(struct unit_test, addrmap_test); in do_ut_addrmap() local
36 return cmd_ut_category("cmd_addrmap", "cmd_addrmap_", tests, n_ents, in do_ut_addrmap()
A Dsetexpr.c380 const int n_ents = ll_entry_count(struct unit_test, setexpr_test); in do_ut_setexpr() local
382 return cmd_ut_category("cmd_setexpr", "cmd_mem_", tests, n_ents, argc, in do_ut_setexpr()
/u-boot/test/lib/
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", "lib_test_", tests, n_ents, argc, argv); in do_ut_lib()
/u-boot/test/log/
A Dtest-main.c17 const int n_ents = ll_entry_count(struct unit_test, log_test); in do_ut_log() local
20 tests, n_ents, argc, argv); in do_ut_log()
/u-boot/test/optee/
A Dcmd_ut_optee.c99 const int n_ents = ll_entry_count(struct unit_test, optee_test); in do_ut_optee() local
133 ret = cmd_ut_category("optee", "", tests, n_ents, argc, argv); in do_ut_optee()
139 ret = cmd_ut_category("optee", "", tests, n_ents, argc, argv); in do_ut_optee()
146 ret = cmd_ut_category("optee", "", tests, n_ents, argc, argv); in do_ut_optee()
/u-boot/env/
A Denv.c21 const int n_ents = ll_entry_count(struct env_driver, env_driver); in env_fix_drivers() local
25 for (entry = drv; entry != drv + n_ents; entry++) { in env_fix_drivers()
43 const int n_ents = ll_entry_count(struct env_driver, env_driver); in _env_driver_lookup() local
47 for (entry = drv; entry != drv + n_ents; entry++) { in _env_driver_lookup()
356 const int n_ents = ll_entry_count(struct env_driver, env_driver); in env_select() local
365 for (entry = drv; entry != drv + n_ents; entry++) { in env_select()
/u-boot/cmd/
A Dlsblk.c15 const int n_ents = ll_entry_count(struct driver, driver); in do_lsblk() local
29 for (entry = d; entry < d + n_ents; entry++) { in do_lsblk()
A Dpart.c189 const int n_ents = ll_entry_count(struct part_driver, part_driver); in do_part_types() local
195 for (entry = drv; entry != drv + n_ents; entry++) { in do_part_types()
/u-boot/test/dm/
A Dof_platdata.c113 const int n_ents = in find_driver_info() local
118 for (i = 0; i < n_ents; i++) { in find_driver_info()
147 const int n_ents = ll_entry_count(struct driver_info, driver_info); in dm_test_of_plat_dev() local
148 bool found[n_ents]; in dm_test_of_plat_dev()
156 for (i = 0; i < n_ents; i++) { in dm_test_of_plat_dev()
A Dtest-main.c152 const int n_ents = ll_entry_count(struct unit_test, dm_test); in dm_test_main() local
173 printf("Running %d driver model tests\n", n_ents); in dm_test_main()
178 for (test = tests; test < tests + n_ents; test++) { in dm_test_main()
/u-boot/test/
A Dcmd_ut.c17 struct unit_test *tests, int n_ents, in cmd_ut_category() argument
25 printf("Running %d %s tests\n", n_ents, name); in cmd_ut_category()
27 for (test = tests; test < tests + n_ents; test++) { in cmd_ut_category()
A Dstr_ut.c112 const int n_ents = ll_entry_count(struct unit_test, str_test); in do_ut_str() local
114 return cmd_ut_category("str", "str_", tests, n_ents, argc, argv); in do_ut_str()
A Dbootm.c244 const int n_ents = ll_entry_count(struct unit_test, bootm_test); in do_ut_bootm() local
246 return cmd_ut_category("bootm", "bootm_test_", tests, n_ents, in do_ut_bootm()
A Dbloblist.c392 const int n_ents = ll_entry_count(struct unit_test, bloblist_test); in do_ut_bloblist() local
395 tests, n_ents, argc, argv); in do_ut_bloblist()
A Dcompression.c544 const int n_ents = ll_entry_count(struct unit_test, compression_test); in do_ut_compression() local
547 tests, n_ents, argc, argv); in do_ut_compression()
/u-boot/drivers/block/
A Dblk_legacy.c15 const int n_ents = ll_entry_count(struct blk_driver, blk_driver); in blk_driver_lookup_type() local
18 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_type()
30 const int n_ents = ll_entry_count(struct blk_driver, blk_driver); in blk_driver_lookup_typename() local
33 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_typename()
/u-boot/disk/
A Dpart.c33 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_driver_lookup_type() local
37 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
47 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
239 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_init() local
245 for (entry = drv; entry != drv + n_ents; entry++) { in part_init()
/u-boot/include/test/
A Dsuites.h26 struct unit_test *tests, int n_ents,
/u-boot/test/overlay/
A Dcmd_ut_overlay.c218 const int n_ents = ll_entry_count(struct unit_test, overlay_test); in do_ut_overlay() local
277 ret = cmd_ut_category("overlay", "", tests, n_ents, argc, argv); in do_ut_overlay()
/u-boot/drivers/usb/host/
A Dusb-uclass.c556 int n_ents; in usb_find_and_bind_driver() local
564 n_ents = ll_entry_count(struct usb_driver_entry, usb_driver_entry); in usb_find_and_bind_driver()
565 for (entry = start; entry != start + n_ents; entry++) { in usb_find_and_bind_driver()

Completed in 78 milliseconds

12