Home
last modified time | relevance | path

Searched refs:device_list (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/gpu/drm/ttm/
H A Dttm_device.c112 INIT_LIST_HEAD(&glob->device_list); in ttm_global_init()
137 list_for_each_entry(bdev, &glob->device_list, device_list) { in ttm_global_swapout()
140 list_move_tail(&bdev->device_list, &glob->device_list); in ttm_global_swapout()
222 list_add_tail(&bdev->device_list, &glob->device_list); in ttm_device_init()
235 list_del(&bdev->device_list); in ttm_device_fini()
/linux/net/tls/
H A Dtls_toe.c43 static LIST_HEAD(device_list);
64 list_for_each_entry(dev, &device_list, dev_list) { in tls_toe_bypass()
90 list_for_each_entry(dev, &device_list, dev_list) { in tls_toe_unhash()
111 list_for_each_entry(dev, &device_list, dev_list) { in tls_toe_hash()
130 list_add_tail(&device->dev_list, &device_list); in tls_toe_register_device()
/linux/drivers/net/wireguard/
H A Ddevice.c29 static LIST_HEAD(device_list);
81 list_for_each_entry(wg, &device_list, device_list) { in wg_pm_notification()
103 list_for_each_entry(wg, &device_list, device_list) { in wg_vm_notification()
247 list_del(&wg->device_list); in wg_destruct()
372 list_add(&wg->device_list, &device_list); in wg_newlink()
416 list_for_each_entry(wg, &device_list, device_list) { in wg_netns_pre_exit()
H A Ddevice.h52 struct list_head device_list, peer_list; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_job.c54 struct list_head device_list, *device_list_handle = NULL; in amdgpu_job_core_dump() local
66 INIT_LIST_HEAD(&device_list); in amdgpu_job_core_dump()
68 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) in amdgpu_job_core_dump()
69 list_add_tail(&tmp_adev->reset_list, &device_list); in amdgpu_job_core_dump()
70 if (!list_is_first(&adev->reset_list, &device_list)) in amdgpu_job_core_dump()
71 list_rotate_to_front(&adev->reset_list, &device_list); in amdgpu_job_core_dump()
72 device_list_handle = &device_list; in amdgpu_job_core_dump()
74 list_add_tail(&adev->reset_list, &device_list); in amdgpu_job_core_dump()
75 device_list_handle = &device_list; in amdgpu_job_core_dump()
/linux/drivers/cpuidle/
H A Dgovernor.c60 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
66 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
/linux/drivers/iommu/iommufd/
H A Ddevice.c25 WARN_ON(igroup->hwpt || !list_empty(&igroup->device_list)); in iommufd_group_release()
92 INIT_LIST_HEAD(&new_igroup->device_list); in iommufd_get_group()
344 if (list_empty(&idev->igroup->device_list)) { in iommufd_device_attach_reserved_iova()
381 if (list_empty(&idev->igroup->device_list)) { in iommufd_hw_pagetable_attach()
388 list_add_tail(&idev->group_item, &idev->igroup->device_list); in iommufd_hw_pagetable_attach()
407 if (list_empty(&idev->igroup->device_list)) { in iommufd_hw_pagetable_detach()
439 list_for_each_entry(cur, &igroup->device_list, group_item) in iommufd_group_remove_reserved_iova()
455 list_for_each_entry(cur, &igroup->device_list, group_item) { in iommufd_group_do_replace_reserved_iova()
514 num_devices = list_count_nodes(&igroup->device_list); in iommufd_device_do_replace()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.h183 struct list_head *device_list);
184 void kfd_release_topology_device_list(struct list_head *device_list);
H A Dkfd_crat.h314 int kfd_parse_crat_table(void *crat_image, struct list_head *device_list,
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c92 struct list_head device_list; member
315 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_entitlement_update()
340 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_entitlement_update()
411 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_balance()
427 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_balance()
465 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_balance()
646 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) in vio_cmo_set_dev_desired()
751 list_add(&dev_ent->list, &vio_cmo.device_list); in vio_cmo_bus_probe()
828 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) in vio_cmo_bus_remove()
900 INIT_LIST_HEAD(&vio_cmo.device_list); in vio_cmo_bus_init()
/linux/drivers/vfio/
H A Dgroup.c32 list_for_each_entry(it, &group->device_list, group_next) { in vfio_device_get_from_name()
569 INIT_LIST_HEAD(&group->device_list); in vfio_group_alloc()
656 list_for_each_entry(device, &group->device_list, group_next) { in vfio_group_has_device()
753 WARN_ON(!list_empty(&group->device_list)); in vfio_device_remove_group()
775 list_add(&device->group_next, &device->group->device_list); in vfio_device_group_register()
881 list_for_each_entry(device, &group->device_list, group_next) { in vfio_group_enforced_coherent()
H A Dvfio_iommu_type1.c68 struct list_head device_list; member
808 if (list_empty(&iommu->device_list)) { in vfio_iommu_type1_pin_pages()
1243 if (list_empty(&iommu->device_list)) in vfio_notify_dma_unmap()
1255 list_for_each_entry(device, &iommu->device_list, iommu_entry) in vfio_notify_dma_unmap()
2460 WARN_ON(!list_empty(&iommu->device_list)); in vfio_iommu_type1_detach_group()
2493 &iommu->device_list)); in vfio_iommu_type1_detach_group()
2552 INIT_LIST_HEAD(&iommu->device_list); in vfio_iommu_type1_open()
3011 list_add(&vdev->iommu_entry, &iommu->device_list); in vfio_iommu_type1_register_device()
/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c419 list_for_each_entry(device, &dev->device_list, device_link) { in ishtp_bus_add_device()
445 list_add_tail(&device->device_link, &dev->device_list); in ishtp_bus_add_device()
692 list_for_each_entry(cl_device, &cl->dev->device_list, in ishtp_cl_device_bind()
755 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
H A Dinit.c60 INIT_LIST_HEAD(&dev->device_list); in ishtp_device_init()
H A Dishtp-dev.h201 struct list_head device_list; member
/linux/drivers/usb/class/
H A Dcdc-wdm.c110 struct list_head device_list; member
125 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device()
140 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device_by_minor()
1027 INIT_LIST_HEAD(&desc->device_list); in wdm_create()
1110 list_add(&desc->device_list, &wdm_device_list); in wdm_create()
1125 list_del(&desc->device_list); in wdm_create()
1236 list_del(&desc->device_list); in wdm_disconnect()
/linux/sound/core/
H A Dtimer.c190 list_for_each_entry(timer, &snd_timer_list, device_list) { in snd_timer_find()
261 list_for_each_entry(timer, &snd_timer_list, device_list) { in snd_timer_check_slave()
943 INIT_LIST_HEAD(&timer->device_list); in snd_timer_new()
981 list_del(&timer->device_list); in snd_timer_free()
1007 list_for_each_entry(timer1, &snd_timer_list, device_list) { in snd_timer_dev_register()
1029 list_add_tail(&timer->device_list, &timer1->device_list); in snd_timer_dev_register()
1039 list_del_init(&timer->device_list); in snd_timer_dev_disconnect()
1225 list_for_each_entry(timer, &snd_timer_list, device_list) { in snd_timer_proc_read()
1532 struct snd_timer, device_list); in snd_timer_user_next_device()
1540 timer = list_entry(p, struct snd_timer, device_list); in snd_timer_user_next_device()
[all …]
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c2360 pdev = list_first_entry(&dev_set->device_list, in vfio_pci_dev_set_resettable()
2380 list_for_each_entry(cur, &dev_set->device_list, vdev.dev_set_list) { in vfio_pci_dev_set_pm_runtime_get()
2389 list_for_each_entry_continue_reverse(cur, &dev_set->device_list, in vfio_pci_dev_set_pm_runtime_get()
2421 list_for_each_entry(vdev, &dev_set->device_list, vdev.dev_set_list) { in vfio_pci_dev_set_hot_reset()
2473 &dev_set->device_list, vdev.dev_set_list)) { in vfio_pci_dev_set_hot_reset()
2487 list_for_each_entry(vdev, &dev_set->device_list, vdev.dev_set_list) in vfio_pci_dev_set_hot_reset()
2492 vdev = list_last_entry(&dev_set->device_list, in vfio_pci_dev_set_hot_reset()
2496 list_for_each_entry_from_reverse(vdev, &dev_set->device_list, in vfio_pci_dev_set_hot_reset()
2500 list_for_each_entry(vdev, &dev_set->device_list, vdev.dev_set_list) in vfio_pci_dev_set_hot_reset()
2517 list_for_each_entry(cur, &dev_set->device_list, vdev.dev_set_list) in vfio_pci_dev_set_needs_reset()
[all …]
/linux/include/sound/
H A Dtimer.h72 struct list_head device_list; member
/linux/drivers/memory/
H A Demif.c72 static LIST_HEAD(device_list);
250 list_for_each_entry(emif, &device_list, node) { in do_freq_update()
261 list_for_each_entry(emif, &device_list, node) { in do_freq_update()
1097 list_add(&emif->node, &device_list); in emif_probe()
/linux/include/media/
H A Ddvbdev.h108 struct list_head device_list; member
/linux/drivers/spi/
H A Dspidev.c84 static LIST_HEAD(device_list);
594 list_for_each_entry(iter, &device_list, device_entry) { in spidev_open()
816 list_add(&spidev->device_entry, &device_list); in spidev_probe()
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c245 list_for_each_entry(device, &its->device_list, dev_list) in find_its_device()
276 list_for_each_entry(dev, &(its)->device_list, dev_list) \
1147 list_for_each_entry_safe(cur, temp, &its->device_list, dev_list) in vgic_its_free_device_list()
1176 list_add_tail(&device->dev_list, &its->device_list); in vgic_its_alloc_device()
1910 INIT_LIST_HEAD(&its->device_list); in vgic_its_create()
2295 next_offset = compute_next_devid_offset(&its->device_list, dev); in vgic_its_save_dte()
2384 list_sort(NULL, &its->device_list, vgic_its_device_cmp); in vgic_its_save_device_tables()
2386 list_for_each_entry(dev, &its->device_list, dev_list) { in vgic_its_save_device_tables()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c1433 const struct list_head *device_list; in get_macsec_tx_sa_from_obj_id() local
1438 device_list = &macsec->macsec_device_list_head; in get_macsec_tx_sa_from_obj_id()
1440 list_for_each_entry(iter, device_list, macsec_device_list_element) { in get_macsec_tx_sa_from_obj_id()
1456 const struct list_head *device_list, *sc_list; in get_macsec_rx_sa_from_obj_id() local
1462 device_list = &macsec->macsec_device_list_head; in get_macsec_rx_sa_from_obj_id()
1464 list_for_each_entry(iter, device_list, macsec_device_list_element) { in get_macsec_rx_sa_from_obj_id()
/linux/drivers/media/dvb-core/
H A Ddvbdev.c197 list_for_each_entry(dev, &adap->device_list, list_head) in dvbdev_get_free_id()
527 list_add_tail(&dvbdev->list_head, &adap->device_list); in dvb_register_device()
920 INIT_LIST_HEAD(&adap->device_list); in dvb_register_adapter()

12