Home
last modified time | relevance | path

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

12345678910>>...91

/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c54 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
64 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
91 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
96 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_init()
106 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
118 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
131 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
147 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
171 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_destroy()
174 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_destroy()
[all …]
/Linux-v5.4/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.4/virt/lib/
Dirqbypass.c99 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()
149 list_for_each_entry(tmp, &producers, node) { in irq_bypass_unregister_producer()
153 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer()
194 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_register_consumer()
202 list_for_each_entry(producer, &producers, node) { in irq_bypass_register_consumer()
244 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_unregister_consumer()
248 list_for_each_entry(producer, &producers, node) { in irq_bypass_unregister_consumer()
/Linux-v5.4/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()
231 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_register_interface()
244 list_for_each_entry(priv, &mlx5_dev_list, dev_list) in mlx5_unregister_interface()
258 list_for_each_entry(intf, &intf_list, list) { in mlx5_has_added_dev_by_protocol()
285 list_for_each_entry(intf, &intf_list, list) in mlx5_add_dev_by_protocol()
297 list_for_each_entry(intf, &intf_list, list) in mlx5_remove_dev_by_protocol()
[all …]
/Linux-v5.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c190 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup()
227 list_for_each_entry(entry, &ctx->resource_ctx_list, head) { in vmw_validation_find_res_dup()
234 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup()
445 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
485 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
492 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
564 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
600 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
645 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
648 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[all …]
/Linux-v5.4/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.4/drivers/soundwire/
Dstream.c268 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_program_port_params()
269 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
277 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
376 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_enable_disable_ports()
377 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
386 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
545 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_prep_deprep_ports()
546 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
555 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
585 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_notify_config()
[all …]
/Linux-v5.4/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.4/tools/objtool/
Delf.c28 list_for_each_entry(sec, &elf->sections, list) in find_section_by_name()
40 list_for_each_entry(sec, &elf->sections, list) in find_section_by_index()
52 list_for_each_entry(sec, &elf->sections, list) in find_symbol_by_index()
64 list_for_each_entry(sym, &sec->symbol_list, list) in find_symbol_by_offset()
77 list_for_each_entry(sec, &elf->sections, list) in find_symbol_by_name()
78 list_for_each_entry(sym, &sec->symbol_list, list) in find_symbol_by_name()
89 list_for_each_entry(sym, &sec->symbol_list, list) in find_symbol_containing()
123 list_for_each_entry(func, &sec->symbol_list, list) in find_containing_func()
296 list_for_each_entry(sec, &elf->sections, list) { in read_symbols()
297 list_for_each_entry(sym, &sec->symbol_list, list) { in read_symbols()
[all …]
/Linux-v5.4/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.c269 list_for_each_entry(slot, &bridge->slots, node) in acpiphp_add_context()
335 list_for_each_entry(slot, &bridge->slots, node) { in cleanup_bridge()
336 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
377 list_for_each_entry(tmp, &bus->children, node) { in acpiphp_max_busnr()
391 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
412 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
424 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
511 list_for_each_entry(dev, &bus->devices, bus_list) { in enable_slot()
520 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
552 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c45 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_link_encoder_connector()
47 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in amdgpu_link_encoder_connector()
66 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_encoder_set_active_device()
85 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_get_connector_for_encoder()
101 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { in amdgpu_get_connector_for_encoder_init()
119 list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) { in amdgpu_get_external_encoder()
/Linux-v5.4/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.4/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()
538 list_for_each_entry(iolink, &dev->io_link_props, list) in kfd_remove_sysfs_node_entry()
550 list_for_each_entry(cache, &dev->cache_props, list) in kfd_remove_sysfs_node_entry()
562 list_for_each_entry(mem, &dev->mem_props, list) in kfd_remove_sysfs_node_entry()
573 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_remove_sysfs_node_entry()
657 list_for_each_entry(mem, &dev->mem_props, list) { in kfd_build_sysfs_node_entry()
676 list_for_each_entry(cache, &dev->cache_props, list) { in kfd_build_sysfs_node_entry()
[all …]
/Linux-v5.4/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()
317 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area()
400 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
/Linux-v5.4/drivers/staging/media/imx/
Dimx-media-dev-common.c41 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_links()
103 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_add_vdev_to_pad()
126 list_for_each_entry(link, &entity->links, list) { in imx_media_add_vdev_to_pad()
151 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists()
180 list_for_each_entry(vdev, &imxmd->vdev_list, list) { in imx_media_create_pad_vdev_lists()
298 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
308 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_link_notify()
340 list_for_each_entry(pad_vdev, pad_vdev_list, list) in imx_media_notify()
/Linux-v5.4/drivers/leds/
Dled-triggers.c49 list_for_each_entry(trig, &trigger_list, next_trig) { in led_trigger_store()
84 list_for_each_entry(trig, &trigger_list, next_trig) { in led_trigger_show()
199 list_for_each_entry(trig, &trigger_list, next_trig) { in led_trigger_set_default()
236 list_for_each_entry(_trig, &trigger_list, next_trig) { in led_trigger_register()
248 list_for_each_entry(led_cdev, &leds_list, node) { in led_trigger_register()
277 list_for_each_entry(led_cdev, &leds_list, node) { in led_trigger_unregister()
326 list_for_each_entry(led_cdev, &trig->led_cdevs, trig_list) in led_trigger_event()
344 list_for_each_entry(led_cdev, &trig->led_cdevs, trig_list) { in led_trigger_blink_setup()

12345678910>>...91