| /openbmc/u-boot/scripts/coccinelle/iterators/ |
| H A D | list_entry_update.cocci | 1 /// list_for_each_entry uses its first argument to get from one element of 19 iterator name list_for_each_entry; 24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> } 34 list_for_each_entry@p1(x,...) S 46 list_for_each_entry@p1(x,...) S
|
| H A D | use_after_iter.cocci | 1 /// If list_for_each_entry, etc complete a traversal of the list, the iterator 23 iterator name list_for_each_entry; 41 list_for_each_entry@p1(c,...,member) { ... when != break; 88 list_for_each_entry(c,...) S
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | composite.c | 193 list_for_each_entry(f, &config->functions, list) { in config_buf() 231 list_for_each_entry(c, &cdev->configs, list) { in config_desc() 259 list_for_each_entry(c, &cdev->configs, list) { in count_configs() 296 list_for_each_entry(f, &cdev->config->functions, list) { in reset_config() 322 list_for_each_entry(c, &cdev->configs, list) { in set_config() 431 list_for_each_entry(c, &cdev->configs, list) { in usb_add_config() 547 list_for_each_entry(c, &cdev->configs, list) { in get_string() 552 list_for_each_entry(f, &c->functions, list) { in get_string() 578 list_for_each_entry(c, &cdev->configs, list) { in get_string() 584 list_for_each_entry(f, &c->functions, list) { in get_string() [all …]
|
| H A D | epautoconf.c | 178 list_for_each_entry(ep, &gadget->ep_list, ep_list) { in find_ep() 286 list_for_each_entry(ep, &gadget->ep_list, ep_list) { in usb_ep_autoconfig() 308 list_for_each_entry(ep, &gadget->ep_list, ep_list) { in usb_ep_autoconfig_reset()
|
| /openbmc/u-boot/common/ |
| H A D | log.c | 91 list_for_each_entry(ldev, &gd->log_head, sibling_node) { in log_device_find_by_name() 163 list_for_each_entry(filt, &ldev->filter_head, sibling_node) { in log_passes_filters() 191 list_for_each_entry(ldev, &gd->log_head, sibling_node) { in log_dispatch() 279 list_for_each_entry(filt, &ldev->filter_head, sibling_node) { in log_remove_filter()
|
| /openbmc/u-boot/drivers/core/ |
| H A D | device.c | 537 list_for_each_entry(uc, &gd->uclass_root, sibling_node) { in device_find_by_ofnode() 553 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_get_child() 570 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_child_by_seq() 606 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_child_by_of_offset() 635 list_for_each_entry(dev, &parent->child_head, sibling_node) { in _device_find_global_by_ofnode() 693 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_first_inactive_child() 711 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_first_child_by_uclass() 728 list_for_each_entry(dev, &parent->child_head, sibling_node) { in device_find_child_by_name() 835 list_for_each_entry(uc, &gd->uclass_root, sibling_node) { in dev_disable_by_path()
|
| H A D | devres.c | 207 list_for_each_entry(dr, &dev->devres_head, entry) in dump_resources() 212 list_for_each_entry(child, &dev->child_head, sibling_node) in dump_resources()
|
| H A D | dump.c | 40 list_for_each_entry(child, &dev->child_head, sibling_node) { in show_devices()
|
| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_boottime.c | 222 list_for_each_entry(evt, &efi_events, link) { in efi_signal_event() 232 list_for_each_entry(evt, &efi_events, link) { in efi_signal_event() 568 list_for_each_entry(evt, &efi_events, link) { in efi_is_event() 710 list_for_each_entry(evt, &efi_events, link) { in efi_timer_check() 937 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_search_obj() 1083 list_for_each_entry(handler, &handle->protocols, link) { in efi_get_drivers() 1086 list_for_each_entry(item, &handler->open_infos, link) { in efi_get_drivers() 1101 list_for_each_entry(handler, &handle->protocols, link) { in efi_get_drivers() 1104 list_for_each_entry(item, &handler->open_infos, link) { in efi_get_drivers() 1355 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_locate_handle() [all …]
|
| H A D | efi_hii.c | 38 list_for_each_entry(hii, &efi_package_lists, link) { in efi_hii_packagelist_exists() 602 list_for_each_entry(hii, &efi_package_lists, link) { in list_package_lists() 722 list_for_each_entry(layout_data, &efi_keyboard_layout_list, link_sys) { in find_keyboard_layouts() 756 list_for_each_entry(layout_data, &efi_keyboard_layout_list, link_sys) { in get_keyboard_layout() 797 list_for_each_entry(hii, &efi_package_lists, link) { in get_package_list_handle() 860 list_for_each_entry(stbl, &hii->string_tables, link) { in new_string() 914 list_for_each_entry(stbl, &hii->string_tables, link) { in get_string() 966 list_for_each_entry(stbl, &hii->string_tables, link) { in set_string() 1024 list_for_each_entry(stbl, &hii->string_tables, link) { in get_languages() 1035 list_for_each_entry(stbl, &hii->string_tables, link) { in get_languages() [all …]
|
| H A D | efi_image_loader.c | 82 list_for_each_entry(efiobj, &efi_obj_list, link) { in efi_print_image_infos() 83 list_for_each_entry(handler, &efiobj->protocols, link) { in efi_print_image_infos()
|
| /openbmc/u-boot/drivers/usb/gadget/udc/ |
| H A D | udc-core.c | 248 list_for_each_entry(udc, &udc_list, list) in usb_del_gadget_udc() 307 list_for_each_entry(udc, &udc_list, list) { in usb_gadget_probe_driver() 338 list_for_each_entry(udc, &udc_list, list) in usb_gadget_unregister_driver()
|
| /openbmc/u-boot/drivers/power/ |
| H A D | power_core.c | 70 list_for_each_entry(p, &pmic_list, list) { in pmic_get() 117 list_for_each_entry(p, &pmic_list, list) { in pmic_list_names()
|
| /openbmc/u-boot/arch/sandbox/cpu/ |
| H A D | cpu.c | 106 list_for_each_entry(mentry, &state->mapmem_head, sibling_node) { in phys_to_virt() 127 list_for_each_entry(mentry, &state->mapmem_head, sibling_node) { in find_tag()
|
| /openbmc/u-boot/drivers/pinctrl/ |
| H A D | pinctrl_stm32.c | 69 list_for_each_entry(child, &dev->child_head, sibling_node) { in stm32_populate_gpio_dev_list() 107 list_for_each_entry(gpio_bank, &priv->gpio_dev, list) { in stm32_pinctrl_get_pins_count() 129 list_for_each_entry(gpio_bank, &priv->gpio_dev, list) { in stm32_pinctrl_get_gpio_dev()
|
| /openbmc/u-boot/drivers/video/exynos/ |
| H A D | exynos_mipi_dsi.c | 72 list_for_each_entry(dsim_ddi, &dsim_ddi_list, list) { in exynos_mipi_dsi_find_lcd_device() 144 list_for_each_entry(dsim_ddi, &dsim_ddi_list, list) { in exynos_mipi_dsi_bind_lcd_ddi()
|
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | attach.c | 1080 list_for_each_entry(aeb, &ai->corr, u.list) in late_analysis() 1269 list_for_each_entry(aeb, &ai->free, u.list) { in scan_all() 1274 list_for_each_entry(aeb, &ai->corr, u.list) in scan_all() 1278 list_for_each_entry(aeb, &ai->erase, u.list) in scan_all() 1719 list_for_each_entry(aeb, &ai->free, u.list) in self_check_ai() 1722 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai() 1725 list_for_each_entry(aeb, &ai->erase, u.list) in self_check_ai() 1728 list_for_each_entry(aeb, &ai->alien, u.list) in self_check_ai()
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | replay.c | 169 list_for_each_entry(b, &c->replay_buds, list) { in set_buds_lprops() 300 list_for_each_entry(r, &c->replay_list, list) { in apply_replay_list() 579 list_for_each_entry(snod, &sleb->nodes, list) { in replay_bud() 700 list_for_each_entry(b, &c->replay_buds, list) { in replay_buds() 891 list_for_each_entry(snod, &sleb->nodes, list) { in replay_log_leb()
|
| H A D | orphan.c | 163 list_for_each_entry(orphan, &c->orph_new, new_list) { in ubifs_orphan_start_commit() 371 list_for_each_entry(orphan, &c->orph_list, list) { in consolidate() 559 list_for_each_entry(snod, &sleb->nodes, list) { in do_kill_orphans() 852 list_for_each_entry(snod, &sleb->nodes, list) { in dbg_read_orphans()
|
| H A D | lprops.c | 865 list_for_each_entry(lprops, &c->empty_list, list) { in dbg_check_cats() 881 list_for_each_entry(lprops, &c->freeable_list, list) { in dbg_check_cats() 911 list_for_each_entry(lprops, &c->frdi_idx_list, list) { in dbg_check_cats() 1061 list_for_each_entry(lprops, list, list) { in scan_check_cb() 1118 list_for_each_entry(snod, &sleb->nodes, list) { in scan_check_cb()
|
| /openbmc/u-boot/drivers/dfu/ |
| H A D | dfu.c | 497 list_for_each_entry(dfu, &dfu_list, list) { in dfu_show_entities() 513 list_for_each_entry(dfu, &dfu_list, list) { in dfu_get_entity() 526 list_for_each_entry(dfu, &dfu_list, list) { in dfu_get_alt()
|
| /openbmc/u-boot/scripts/kconfig/ |
| H A D | list.h | 49 #define list_for_each_entry(pos, head, member) \ macro
|
| /openbmc/u-boot/include/dm/ |
| H A D | uclass.h | 379 list_for_each_entry(pos, &uc->dev_head, uclass_node)
|
| /openbmc/u-boot/drivers/usb/dwc3/ |
| H A D | dwc3-omap.c | 417 list_for_each_entry(omap, &dwc3_omap_list, list) { in dwc3_omap_uboot_exit() 441 list_for_each_entry(omap, &dwc3_omap_list, list) in dwc3_omap_uboot_interrupt_status()
|
| /openbmc/u-boot/drivers/block/ |
| H A D | blkcache.c | 37 list_for_each_entry(node, &block_cache, lh) in cache_find()
|