Home
last modified time | relevance | path

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

12345678910>>...86

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c113 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_register_client()
121 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_client()
150 list_for_each_entry(client_tmp, &hnae3_client_list, node) { in hnae3_unregister_client()
164 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_client()
192 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_register_ae_algo()
216 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_algo()
243 list_for_each_entry(ae_dev, &hnae3_ae_dev_list, node) { in hnae3_unregister_ae_algo()
254 list_for_each_entry(client, &hnae3_client_list, node) in hnae3_unregister_ae_algo()
286 list_for_each_entry(ae_algo, &hnae3_ae_algo_list, node) { in hnae3_register_ae_dev()
313 list_for_each_entry(client, &hnae3_client_list, node) { in hnae3_register_ae_dev()
[all …]
/Linux-v5.10/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.10/virt/lib/
Dirqbypass.c104 list_for_each_entry(tmp, &producers, node) { in irq_bypass_register_producer()
111 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_register_producer()
154 list_for_each_entry(tmp, &producers, node) { in irq_bypass_unregister_producer()
158 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer()
200 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_register_consumer()
207 list_for_each_entry(producer, &producers, node) { in irq_bypass_register_consumer()
250 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_unregister_consumer()
254 list_for_each_entry(producer, &producers, node) { in irq_bypass_unregister_consumer()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c88 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_get_device()
144 list_for_each_entry(intf, &intf_list, list) in mlx5_attach_device()
177 list_for_each_entry(intf, &intf_list, list) in mlx5_detach_device()
188 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_device_registered()
203 list_for_each_entry(intf, &intf_list, list) in mlx5_register_device()
229 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_register_interface()
242 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_unregister_interface()
256 list_for_each_entry(intf, &intf_list, list) { in mlx5_has_added_dev_by_protocol()
283 list_for_each_entry(intf, &intf_list, list) in mlx5_add_dev_by_protocol()
295 list_for_each_entry(intf, &intf_list, list) in mlx5_remove_dev_by_protocol()
[all …]
/Linux-v5.10/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.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c50 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
66 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
82 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask()
100 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr()
120 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id()
134 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
149 list_for_each_entry(info, &top->device, head) { in nvkm_top_engine()
/Linux-v5.10/net/dsa/
Ddsa2.c29 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_switch_find()
33 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find()
49 list_for_each_entry(dst, &dsa_tree_list, list) in dsa_tree_find()
138 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node()
154 list_for_each_entry(dl, &dst->rtable, list) in dsa_link_touch()
203 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table()
218 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu()
236 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_default_cpu()
247 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_default_cpu()
439 list_for_each_entry(dp, &ds->dst->ports, list) { in dsa_switch_setup()
[all …]
/Linux-v5.10/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.10/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.10/drivers/gpu/host1x/
Dbus.c198 list_for_each_entry(client, &device->clients, list) { in host1x_device_init()
267 list_for_each_entry(device, &host1x->devices, list) { in host1x_add_client()
268 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
290 list_for_each_entry(subdev, &device->active, list) { in host1x_del_client()
461 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
499 list_for_each_entry(device, &host1x->devices, list) { in host1x_attach_driver()
534 list_for_each_entry(device, &host1x->devices, list) { in host1x_devices_show()
541 list_for_each_entry(subdev, &device->active, list) in host1x_devices_show()
545 list_for_each_entry(subdev, &device->subdevs, list) in host1x_devices_show()
575 list_for_each_entry(driver, &drivers, list) in host1x_register()
[all …]
/Linux-v5.10/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.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c193 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup()
230 list_for_each_entry(entry, &ctx->resource_ctx_list, head) { in vmw_validation_find_res_dup()
237 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup()
448 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
501 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
508 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
583 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
643 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
689 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
692 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[all …]
/Linux-v5.10/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.10/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.10/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.10/drivers/acpi/
Dnvs.c56 list_for_each_entry(region, &nvs_region_list, node) { in acpi_nvs_for_each_region()
132 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_free()
156 list_for_each_entry(entry, &nvs_list, node) { in suspend_nvs_alloc()
175 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_save()
207 list_for_each_entry(entry, &nvs_list, node) in suspend_nvs_restore()
/Linux-v5.10/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()
298 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
330 list_for_each_entry(pad_vdev, pad_vdev_list, list) in imx_media_notify()
/Linux-v5.10/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()
559 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c57 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain()
75 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id()
104 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_device_by_pci_dev()
122 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_device_by_kgd()
562 list_for_each_entry(iolink, &dev->io_link_props, list) in kfd_remove_sysfs_node_entry()
574 list_for_each_entry(cache, &dev->cache_props, list) in kfd_remove_sysfs_node_entry()
586 list_for_each_entry(mem, &dev->mem_props, list) in kfd_remove_sysfs_node_entry()
597 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_remove_sysfs_node_entry()
683 list_for_each_entry(mem, &dev->mem_props, list) { in kfd_build_sysfs_node_entry()
704 list_for_each_entry(cache, &dev->cache_props, list) { in kfd_build_sysfs_node_entry()
[all …]
/Linux-v5.10/drivers/soundwire/
Dstream.c270 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
271 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
279 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
378 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports()
379 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
388 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
547 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_prep_deprep_ports()
548 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
557 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
587 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_notify_config()
[all …]
/Linux-v5.10/drivers/thermal/
Dthermal_core.c60 list_for_each_entry(pos, &thermal_governor_list, governor_list) in __find_governor()
146 list_for_each_entry(pos, &thermal_tz_list, node) { in thermal_register_governor()
187 list_for_each_entry(pos, &thermal_tz_list, node) { in thermal_unregister_governor()
231 list_for_each_entry(pos, &thermal_governor_list, governor_list) { in thermal_build_list_of_policies()
478 list_for_each_entry(pos, &tz->thermal_instances, tz_node) in thermal_zone_device_init()
690 list_for_each_entry(cdev, &thermal_cdev_list, node) { in thermal_zone_device_rebind_exception()
711 list_for_each_entry(gov, &thermal_governor_list, governor_list) { in for_each_thermal_governor()
728 list_for_each_entry(cdev, &thermal_cdev_list, node) { in for_each_thermal_cooling_device()
745 list_for_each_entry(tz, &thermal_tz_list, node) { in for_each_thermal_zone()
760 list_for_each_entry(tz, &thermal_tz_list, node) { in thermal_zone_get_by_id()
[all …]
/Linux-v5.10/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.10/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()

12345678910>>...86