/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.c | 21 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo_prepare() 137 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_register_client() 145 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_client() 174 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_unregister_client() 188 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_client() 216 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_ae_algo() 240 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_algo() 267 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo() 278 list_for_each_entry(client, &hnae3_client_list, node) in hnae3_unregister_ae_algo() 310 list_for_each_entry(ae_algo, &hnae3_ae_algo_list, node) { in hnae3_register_ae_dev() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | disp.c | 78 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini() 88 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini() 115 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init() 120 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_init() 130 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init() 142 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init() 156 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init() 172 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init() 197 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_destroy() 200 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_destroy() [all …]
|
/openbmc/linux/virt/lib/ |
H A D | irqbypass.c | 100 list_for_each_entry(tmp, &producers, node) { in irq_bypass_register_producer() 107 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_register_producer() 150 list_for_each_entry(tmp, &producers, node) { in irq_bypass_unregister_producer() 154 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer() 196 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_register_consumer() 203 list_for_each_entry(producer, &producers, node) { in irq_bypass_register_consumer() 246 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_unregister_consumer() 250 list_for_each_entry(producer, &producers, node) { in irq_bypass_unregister_consumer()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | base.c | 39 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find() 67 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_bus_find() 80 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find() 126 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_intr() 146 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_fini() 150 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_fini() 159 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_fini() 177 list_for_each_entry(pad, &i2c->pad, head) in nvkm_i2c_preinit() 179 list_for_each_entry(bus, &i2c->bus, head) in nvkm_i2c_preinit() 193 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_validation.c | 195 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup() 237 list_for_each_entry(entry, &ctx->resource_ctx_list, head) { in vmw_validation_find_res_dup() 244 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup() 432 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve() 486 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 493 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 555 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate() 604 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate() 650 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht() 653 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht() [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | i386.c | 64 list_for_each_entry(map, &pcibios_fwaddrmappings, list) in pcibios_fwaddrmap_lookup() 240 list_for_each_entry(child, &bus->children, node) in pcibios_allocate_bus_resources() 312 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_allocate_resources() 346 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_allocate_rom_resources() 360 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_assign_resources() 394 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey() 397 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey() 399 list_for_each_entry(bus, &pci_root_buses, node) in pcibios_resource_survey()
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | genpd.py | 9 from linux.lists import list_for_each_entry 53 for link in list_for_each_entry( 65 for pm_data in list_for_each_entry(genpd['dev_list'], 78 for genpd in list_for_each_entry(
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-syscfg.c | 37 list_for_each_entry(feat_csdev, &csdev->feature_csdev_list, node) { in cscfg_get_feat_csdev() 110 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_add_cfg_to_csdevs() 214 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_add_feat_to_csdevs() 229 list_for_each_entry(feat_desc, &cscfg_mgr->feat_desc_list, item) { in cscfg_match_list_feat() 256 list_for_each_entry(feat_desc_exist, &cscfg_mgr->feat_desc_list, item) { in cscfg_load_feat() 280 list_for_each_entry(config_desc_exist, &cscfg_mgr->config_desc_list, item) { in cscfg_load_config() 312 list_for_each_entry(feat_desc_item, &cscfg_mgr->feat_desc_list, item) { in cscfg_get_named_feat_desc() 330 list_for_each_entry(feat_csdev, &csdev->feature_csdev_list, node) { in cscfg_csdev_get_feat_from_desc() 360 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_update_feat_param_val() 428 list_for_each_entry(config_desc, &cscfg_mgr->config_desc_list, item) { in cscfg_fs_unregister_cfgs_feats() [all …]
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | bus.c | 200 list_for_each_entry(client, &device->clients, list) { in host1x_device_init() 211 list_for_each_entry(client, &device->clients, list) { in host1x_device_init() 300 list_for_each_entry(device, &host1x->devices, list) { in host1x_add_client() 301 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client() 323 list_for_each_entry(subdev, &device->active, list) { in host1x_del_client() 469 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add() 507 list_for_each_entry(device, &host1x->devices, list) { in host1x_attach_driver() 542 list_for_each_entry(device, &host1x->devices, list) { in host1x_devices_show() 549 list_for_each_entry(subdev, &device->active, list) in host1x_devices_show() 553 list_for_each_entry(subdev, &device->subdevs, list) in host1x_devices_show() [all …]
|
/openbmc/linux/scripts/coccinelle/iterators/ |
H A D | list_entry_update.cocci | 2 /// list_for_each_entry uses its first argument to get from one element of 20 iterator name list_for_each_entry; 25 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> } 35 list_for_each_entry@p1(x,...) S 47 list_for_each_entry@p1(x,...) S
|
/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
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | base.c | 114 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_fini() 118 list_for_each_entry(conn, &disp->conns, head) { in nvkm_disp_fini() 133 list_for_each_entry(conn, &disp->conns, head) { in nvkm_disp_init() 137 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_init() 150 list_for_each_entry(ior, &disp->iors, head) { in nvkm_disp_init() 236 list_for_each_entry(pair, &disp->outps, head) { in nvkm_disp_oneinit() 256 list_for_each_entry(conn, &disp->conns, head) { in nvkm_disp_oneinit() 288 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_oneinit() 299 list_for_each_entry(head, &disp->heads, head) in nvkm_disp_oneinit()
|
/openbmc/linux/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 28 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 37 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 80 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_add_vdev_to_pad() 103 list_for_each_entry(link, &entity->links, list) { in imx_media_add_vdev_to_pad() 128 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists() 157 list_for_each_entry(vdev, &imxmd->vdev_list, list) { in imx_media_create_pad_vdev_lists() 273 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify() 285 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify() 319 list_for_each_entry(pad_vdev, pad_vdev_list, list) in imx_media_notify()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | ibmphp_ebda.c | 113 list_for_each_entry(ptr, &bus_info_head, bus_info_list) { in print_bus_info() 134 list_for_each_entry(ptr, &rio_lo_head, rio_detail_list) { in print_lo_info() 149 list_for_each_entry(ptr, &rio_vg_head, rio_detail_list) { in print_vg_info() 164 list_for_each_entry(ptr, &ibmphp_ebda_pci_rsrc_head, ebda_pci_rsrc_list) { in print_ebda_pci_rsrc() 174 list_for_each_entry(ptr, &ibmphp_slot_head, ibm_slot_list) { in print_ibm_slot() 183 list_for_each_entry(ptr, &opt_vg_head, opt_rio_list) { in print_opt_vg() 196 list_for_each_entry(hpc_ptr, &ebda_hpc_head, ebda_hpc_list) { in print_ebda_hpc() 449 list_for_each_entry(ptr, &opt_vg_head, opt_rio_list) { in search_opt_vg() 461 list_for_each_entry(rio_detail_ptr, &rio_vg_head, rio_detail_list) { in combine_wpg_for_chassis() 487 list_for_each_entry(ptr, &opt_lo_head, opt_rio_lo_list) { in search_opt_lo() [all …]
|
H A D | acpiphp_glue.c | 278 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context() 344 list_for_each_entry(slot, &bridge->slots, node) { in cleanup_bridge() 345 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge() 386 list_for_each_entry(tmp, &bus->children, node) { in acpiphp_max_busnr() 398 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region() 422 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge() 434 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot() 527 list_for_each_entry(dev, &bus->devices, bus_list) { in enable_slot() 536 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot() 569 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr() 67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset() 83 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask() 98 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id() 112 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
|
/openbmc/linux/drivers/acpi/ |
H A D | nvs.c | 58 list_for_each_entry(region, &nvs_region_list, node) { in acpi_nvs_for_each_region() 134 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_free() 158 list_for_each_entry(entry, &nvs_list, node) { in suspend_nvs_alloc() 177 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_save() 209 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_restore()
|
/openbmc/linux/drivers/soundwire/ |
H A D | stream.c | 274 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params() 275 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params() 283 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params() 382 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports() 383 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports() 392 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports() 556 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_prep_deprep_ports() 557 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports() 566 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports() 596 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_notify_config() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_core.c | 56 list_for_each_entry(pos, &thermal_governor_list, governor_list) in __find_governor() 142 list_for_each_entry(pos, &thermal_tz_list, node) { in thermal_register_governor() 183 list_for_each_entry(pos, &thermal_tz_list, node) { in thermal_unregister_governor() 229 list_for_each_entry(pos, &thermal_governor_list, governor_list) { in thermal_build_list_of_policies() 401 list_for_each_entry(pos, &tz->thermal_instances, tz_node) in thermal_zone_device_init() 539 list_for_each_entry(gov, &thermal_governor_list, governor_list) { in for_each_thermal_governor() 556 list_for_each_entry(cdev, &thermal_cdev_list, node) { in for_each_thermal_cooling_device() 573 list_for_each_entry(tz, &thermal_tz_list, node) { in for_each_thermal_zone() 588 list_for_each_entry(tz, &thermal_tz_list, node) { in thermal_zone_get_by_id() 650 list_for_each_entry(pos1, &thermal_tz_list, node) { in thermal_zone_bind_cooling_device() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | phy.c | 89 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init() 116 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit() 138 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_set_mode() 165 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_calibrate() 186 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_power_on()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | base.c | 52 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_device_is_registered() 80 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_find_device_by_node() 110 list_for_each_entry(dssdev, list, list) { in omapdss_device_next_output() 192 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains() 276 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_stack_is_ready()
|
/openbmc/linux/drivers/pnp/ |
H A D | quirks.c | 59 list_for_each_entry(option, &dev->options, list) { in quirk_awe32_resources() 75 list_for_each_entry(option, &dev->options, list) { in quirk_cmi8330_resources() 114 list_for_each_entry(option, &dev->options, list) { in quirk_sb16audio_resources() 145 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set() 155 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set() 214 list_for_each_entry(option, &dev->options, list) { in quirk_ad1815_mpu_resources() 306 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area() 389 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_encoders.c | 59 list_for_each_entry(clone_encoder, &dev->mode_config.encoder_list, head) { in radeon_encoder_clones() 80 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_setup_encoder_clones() 217 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_link_encoder_connector() 219 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_link_encoder_connector() 236 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_encoder_set_active_device() 256 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder() 272 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder_init() 290 list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) { in radeon_get_external_encoder()
|
/openbmc/linux/net/dsa/ |
H A D | dsa.c | 110 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_lag_find() 122 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_bridge_find() 133 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_bridge_num_find() 185 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_switch_find() 189 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find() 205 list_for_each_entry(dst, &dsa_tree_list, list) in dsa_tree_find() 281 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node() 297 list_for_each_entry(dl, &dst->rtable, list) in dsa_link_touch() 346 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table() 361 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu() [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | member.c | 125 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_copy_in() 174 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign() 182 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign() 222 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign() 239 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign() 353 list_for_each_entry(memb, head, list) { in find_memb() 415 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array() 432 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array() 457 list_for_each_entry(memb, &ls->ls_nodes, list) { in ping_members() 520 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_lsop_recover_done() [all …]
|