Home
last modified time | relevance | path

Searched refs:list_for_each_entry (Results 1 – 25 of 2509) sorted by relevance

12345678910>>...101

/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c21 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo_prepare()
134 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_register_client()
142 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_client()
171 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_unregister_client()
185 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_client()
213 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_ae_algo()
237 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_algo()
264 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo()
275 list_for_each_entry(client, &hnae3_client_list, node) in hnae3_unregister_ae_algo()
307 list_for_each_entry(ae_algo, &hnae3_ae_algo_list, node) { in hnae3_register_ae_dev()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c78 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 …]
/Linux-v5.15/virt/lib/
Dirqbypass.c100 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()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgf119.c44 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
52 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
65 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
70 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
77 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
84 list_for_each_entry(head, &disp->base.head, head) in gf119_disp_super()
164 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_intr()
199 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_init()
246 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_init()
Dbase.c111 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_hpd_ctor()
226 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_fini()
230 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_fini()
245 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_init()
249 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_init()
262 list_for_each_entry(ior, &disp->ior, head) { in nvkm_disp_init()
348 list_for_each_entry(pair, &disp->outp, head) { in nvkm_disp_oneinit()
368 list_for_each_entry(conn, &disp->conn, head) { in nvkm_disp_oneinit()
406 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_oneinit()
417 list_for_each_entry(head, &disp->head, head) in nvkm_disp_oneinit()
/Linux-v5.15/sound/soc/sof/
Dsof-audio.c25 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_dsp_only_d0i3_compatible_stream_active()
51 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_stream_suspend_ignored()
73 list_for_each_entry(spcm, &sdev->pcm_list, list) { in sof_set_hw_params_upon_resume()
104 list_for_each_entry(scontrol, &sdev->kcontrol_list, list) { in sof_restore_kcontrols()
150 list_for_each_entry(swidget, &sdev->widget_list, list) in snd_sof_pipeline_find()
302 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_restore_pipelines()
332 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_name()
359 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_comp()
377 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_pcm_id()
391 list_for_each_entry(swidget, &sdev->widget_list, list) { in snd_sof_find_swidget()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbase.c40 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find()
68 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_bus_find()
81 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find()
142 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_intr()
167 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_fini()
171 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_fini()
180 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_fini()
198 list_for_each_entry(pad, &i2c->pad, head) in nvkm_i2c_preinit()
200 list_for_each_entry(bus, &i2c->bus, head) in nvkm_i2c_preinit()
214 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_init()
[all …]
/Linux-v5.15/scripts/gdb/linux/
Dgenpd.py9 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'],
76 for genpd in list_for_each_entry(
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-syscfg.c37 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()
298 list_for_each_entry(feat_desc_item, &cscfg_mgr->feat_desc_list, item) { in cscfg_get_named_feat_desc()
316 list_for_each_entry(feat_csdev, &csdev->feature_csdev_list, node) { in cscfg_csdev_get_feat_from_desc()
346 list_for_each_entry(csdev_item, &cscfg_mgr->csdev_desc_list, item) { in cscfg_update_feat_param_val()
419 list_for_each_entry(config_desc, &cscfg_mgr->config_desc_list, item) { in cscfg_add_cfgs_csdev()
438 list_for_each_entry(feat_desc, &cscfg_mgr->feat_desc_list, item) { in cscfg_add_feats_csdev()
561 list_for_each_entry(feat_csdev, &csdev->feature_csdev_list, node) in cscfg_csdev_reset_feats()
[all …]
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c194 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup()
231 list_for_each_entry(entry, &ctx->resource_ctx_list, head) { in vmw_validation_find_res_dup()
238 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup()
449 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
502 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
509 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
584 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
644 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
690 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
693 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[all …]
/Linux-v5.15/net/dsa/
Ddsa2.c64 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_broadcast()
142 list_for_each_entry(dst, &dsa_tree_list, list) in dsa_bridge_num_find()
143 list_for_each_entry(dp, &dst->ports, list) in dsa_bridge_num_find()
182 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_switch_find()
186 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find()
202 list_for_each_entry(dst, &dsa_tree_list, list) in dsa_tree_find()
278 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node()
294 list_for_each_entry(dl, &dst->rtable, list) in dsa_link_touch()
343 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table()
358 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu()
[all …]
/Linux-v5.15/drivers/gpu/host1x/
Dbus.c199 list_for_each_entry(client, &device->clients, list) { in host1x_device_init()
210 list_for_each_entry(client, &device->clients, list) { in host1x_device_init()
299 list_for_each_entry(device, &host1x->devices, list) { in host1x_add_client()
300 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
322 list_for_each_entry(subdev, &device->active, list) { in host1x_del_client()
493 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
531 list_for_each_entry(device, &host1x->devices, list) { in host1x_attach_driver()
566 list_for_each_entry(device, &host1x->devices, list) { in host1x_devices_show()
573 list_for_each_entry(subdev, &device->active, list) in host1x_devices_show()
577 list_for_each_entry(subdev, &device->subdevs, list) in host1x_devices_show()
[all …]
/Linux-v5.15/arch/x86/pci/
Di386.c64 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()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dintf.c78 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_remove_device()
100 list_for_each_entry(priv, &dev_list, dev_list) { in mlx4_register_interface()
121 list_for_each_entry(priv, &dev_list, dev_list) in mlx4_unregister_interface()
167 list_for_each_entry(dev_ctx, &bond_list, bond_list) { in mlx4_do_bond()
191 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_dispatch_event()
207 list_for_each_entry(intf, &intf_list, list) in mlx4_register_device()
239 list_for_each_entry(intf, &intf_list, list) in mlx4_unregister_device()
257 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_get_protocol_dev()
/Linux-v5.15/scripts/coccinelle/iterators/
Dlist_entry_update.cocci2 /// 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
/Linux-v5.15/drivers/acpi/
Dnvs.c58 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()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c51 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()
/Linux-v5.15/drivers/staging/media/imx/
Dimx-media-dev-common.c42 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links()
51 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links()
95 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_add_vdev_to_pad()
118 list_for_each_entry(link, &entity->links, list) { in imx_media_add_vdev_to_pad()
143 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists()
172 list_for_each_entry(vdev, &imxmd->vdev_list, list) { in imx_media_create_pad_vdev_lists()
288 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
300 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
334 list_for_each_entry(pad_vdev, pad_vdev_list, list) in imx_media_notify()
/Linux-v5.15/drivers/pci/hotplug/
Dibmphp_ebda.c113 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 …]
Dacpiphp_glue.c277 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context()
343 list_for_each_entry(slot, &bridge->slots, node) { in cleanup_bridge()
344 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
385 list_for_each_entry(tmp, &bus->children, node) { in acpiphp_max_busnr()
397 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
413 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
425 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
518 list_for_each_entry(dev, &bus->devices, bus_list) { in enable_slot()
527 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
560 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
[all …]
/Linux-v5.15/drivers/soundwire/
Dstream.c273 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
274 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
282 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
381 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports()
382 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
391 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
549 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_prep_deprep_ports()
550 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
559 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
589 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_notify_config()
[all …]
/Linux-v5.15/drivers/usb/core/
Dphy.c89 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()
/Linux-v5.15/drivers/pnp/
Dquirks.c59 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()
315 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area()
398 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Daldebaran.c44 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_get_reset_handler()
52 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_get_reset_handler()
117 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_async_reset()
149 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
158 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
177 list_for_each_entry(tmp_adev, in aldebaran_mode2_perform_reset()
189 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
328 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_restore_hwcontext()
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_encoders.c58 list_for_each_entry(clone_encoder, &dev->mode_config.encoder_list, head) { in radeon_encoder_clones()
78 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_setup_encoder_clones()
207 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_link_encoder_connector()
209 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in radeon_link_encoder_connector()
226 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_encoder_set_active_device()
245 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder()
270 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in radeon_get_connector_for_encoder_init()
288 list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) { in radeon_get_external_encoder()

12345678910>>...101