Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/core/
H A Dlists.c25 const int n_ents = ll_entry_count(struct driver, driver); in lists_driver_lookup_name() local
28 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name()
41 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in lists_uclass_lookup() local
44 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
56 const int n_ents = ll_entry_count(struct driver_info, driver_info); in lists_bind_drivers() local
62 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.c77 const int n_ents = ll_entry_count(struct driver, driver); in fix_drivers() local
80 for (entry = drv; entry != drv + n_ents; entry++) { in fix_drivers()
110 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in fix_uclass() local
113 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
142 const int n_ents = ll_entry_count(struct driver_info, driver_info); in fix_devices() local
145 for (entry = dev; entry != dev + n_ents; entry++) { in fix_devices()
/OK3568_Linux_fs/u-boot/test/env/
H A Dcmd_ut_env.c17 const int n_ents = ll_entry_count(struct unit_test, env_test); in do_ut_env() local
22 printf("Running %d environment tests\n", n_ents); in do_ut_env()
24 for (test = tests; test < tests + n_ents; test++) { in do_ut_env()
/OK3568_Linux_fs/u-boot/drivers/block/
H A Dblk_legacy.c14 const int n_ents = ll_entry_count(struct blk_driver, blk_driver); in blk_driver_lookup_type() local
17 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_type()
29 const int n_ents = ll_entry_count(struct blk_driver, blk_driver); in blk_driver_lookup_typename() local
32 for (entry = drv; entry != drv + n_ents; entry++) { in blk_driver_lookup_typename()
/OK3568_Linux_fs/u-boot/test/dm/
H A Dtest-main.c131 const int n_ents = ll_entry_count(struct unit_test, dm_test); in dm_test_main() local
150 printf("Running %d driver model tests\n", n_ents); in dm_test_main()
156 for (test = tests; test < tests + n_ents; test++) { in dm_test_main()
/OK3568_Linux_fs/u-boot/disk/
H A Dpart.c38 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_driver_lookup_type() local
42 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
52 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
241 const int n_ents = ll_entry_count(struct part_driver, part_driver); in part_init() local
247 for (entry = drv; entry != drv + n_ents; entry++) { in part_init()
/OK3568_Linux_fs/u-boot/env/
H A Denv.c16 const int n_ents = ll_entry_count(struct env_driver, env_driver); in env_driver_lookup() local
20 for (entry = drv; entry != drv + n_ents; entry++) { in env_driver_lookup()
/OK3568_Linux_fs/u-boot/test/overlay/
H A Dcmd_ut_overlay.c222 const int n_ents = ll_entry_count(struct unit_test, overlay_test); in do_ut_overlay() local
283 printf("Running %d environment tests\n", n_ents); in do_ut_overlay()
285 for (test = tests; test < tests + n_ents; test++) { in do_ut_overlay()
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl.c408 const int n_ents = in spl_ll_find_loader() local
412 for (entry = drv; entry != drv + n_ents; entry++) { in spl_ll_find_loader()
/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci-uclass.c589 int n_ents; in pci_find_and_bind_driver() local
599 n_ents = ll_entry_count(struct pci_driver_entry, pci_driver_entry); in pci_find_and_bind_driver()
600 for (entry = start; entry != start + n_ents; entry++) { in pci_find_and_bind_driver()