Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c178 struct list_head *device_list) in kfd_parse_subtype_cu() argument
184 list_for_each_entry(dev, device_list, list) { in kfd_parse_subtype_cu()
217 struct list_head *device_list) in kfd_parse_subtype_mem() argument
228 list_for_each_entry(dev, device_list, list) { in kfd_parse_subtype_mem()
286 struct list_head *device_list) in kfd_parse_subtype_cache() argument
296 list_for_each_entry(dev, device_list, list) { in kfd_parse_subtype_cache()
352 struct list_head *device_list) in kfd_parse_subtype_iolink() argument
364 list_for_each_entry(dev, device_list, list) { in kfd_parse_subtype_iolink()
428 struct list_head *device_list) in kfd_parse_subtype() argument
439 ret = kfd_parse_subtype_cu(cu, device_list); in kfd_parse_subtype()
[all …]
Dkfd_topology.h203 struct list_head *device_list);
204 void kfd_release_topology_device_list(struct list_head *device_list);
Dkfd_topology.c174 void kfd_release_topology_device_list(struct list_head *device_list) in kfd_release_topology_device_list() argument
178 while (!list_empty(device_list)) { in kfd_release_topology_device_list()
179 dev = list_first_entry(device_list, in kfd_release_topology_device_list()
192 struct list_head *device_list) in kfd_create_topology_device() argument
207 list_add_tail(&dev->list, device_list); in kfd_create_topology_device()
969 static bool kfd_is_acpi_crat_invalid(struct list_head *device_list) in kfd_is_acpi_crat_invalid() argument
973 list_for_each_entry(dev, device_list, list) { in kfd_is_acpi_crat_invalid()
Dkfd_crat.h321 int kfd_parse_crat_table(void *crat_image, struct list_head *device_list,
/drivers/net/wireguard/
Ddevice.c28 static LIST_HEAD(device_list);
81 list_for_each_entry(wg, &device_list, device_list) { in wg_pm_notification()
231 list_del(&wg->device_list); in wg_destruct()
359 list_add(&wg->device_list, &device_list); in wg_newlink()
405 list_for_each_entry(wg, &device_list, device_list) { in wg_netns_pre_exit()
Ddevice.h52 struct list_head device_list, peer_list; member
/drivers/cpuidle/
Dgovernor.c60 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
67 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
Dcpuidle.c568 list_del(&dev->device_list); in __cpuidle_unregister_device()
606 list_add(&dev->device_list, &cpuidle_detected_devices); in __cpuidle_register_device()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c368 INIT_LIST_HEAD(&hive->device_list); in amdgpu_get_xgmi_hive()
538 list_add_tail(&adev->gmc.xgmi.head, &hive->device_list); in amdgpu_xgmi_add_device()
539 list_for_each_entry(entry, &hive->device_list, head) in amdgpu_xgmi_add_device()
547 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
561 list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) { in amdgpu_xgmi_add_device()
Damdgpu_xgmi.h32 struct list_head device_list; member
Damdgpu_device.c4516 struct list_head device_list, *device_list_handle = NULL; in amdgpu_device_gpu_recover() local
4568 INIT_LIST_HEAD(&device_list); in amdgpu_device_gpu_recover()
4572 if (!list_is_first(&adev->gmc.xgmi.head, &hive->device_list)) in amdgpu_device_gpu_recover()
4573 list_rotate_to_front(&adev->gmc.xgmi.head, &hive->device_list); in amdgpu_device_gpu_recover()
4574 device_list_handle = &hive->device_list; in amdgpu_device_gpu_recover()
4576 list_add_tail(&adev->gmc.xgmi.head, &device_list); in amdgpu_device_gpu_recover()
4577 device_list_handle = &device_list; in amdgpu_device_gpu_recover()
5006 struct list_head device_list; in amdgpu_pci_slot_reset() local
5010 INIT_LIST_HEAD(&device_list); in amdgpu_pci_slot_reset()
5011 list_add_tail(&adev->gmc.xgmi.head, &device_list); in amdgpu_pci_slot_reset()
[all …]
Damdgpu_ras.c1573 struct list_head device_list, *device_list_handle = NULL; in amdgpu_ras_do_recovery() local
1580 device_list_handle = &hive->device_list; in amdgpu_ras_do_recovery()
1582 INIT_LIST_HEAD(&device_list); in amdgpu_ras_do_recovery()
1583 list_add_tail(&adev->gmc.xgmi.head, &device_list); in amdgpu_ras_do_recovery()
1584 device_list_handle = &device_list; in amdgpu_ras_do_recovery()
/drivers/hid/intel-ish-hid/ishtp/
Dbus.c434 list_for_each_entry(device, &dev->device_list, device_link) { in ishtp_bus_add_device()
460 list_add_tail(&device->device_link, &dev->device_list); in ishtp_bus_add_device()
707 list_for_each_entry(cl_device, &cl->dev->device_list, in ishtp_cl_device_bind()
768 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
Dinit.c56 INIT_LIST_HEAD(&dev->device_list); in ishtp_device_init()
Dishtp-dev.h162 struct list_head device_list; member
/drivers/usb/class/
Dcdc-wdm.c107 struct list_head device_list; member
119 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device()
134 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device_by_minor()
860 INIT_LIST_HEAD(&desc->device_list); in wdm_create()
941 list_add(&desc->device_list, &wdm_device_list); in wdm_create()
953 list_del(&desc->device_list); in wdm_create()
1061 list_del(&desc->device_list); in wdm_disconnect()
/drivers/acpi/
Dpci_root.c274 LIST_HEAD(device_list); in acpi_get_pci_dev()
287 list_add(&node->node, &device_list); in acpi_get_pci_dev()
305 list_for_each_entry(node, &device_list, node) { in acpi_get_pci_dev()
332 list_for_each_entry_safe(node, tmp, &device_list, node) in acpi_get_pci_dev()
/drivers/memory/
Demif.c76 static LIST_HEAD(device_list);
284 list_for_each_entry(emif, &device_list, node) { in do_freq_update()
295 list_for_each_entry(emif, &device_list, node) { in do_freq_update()
1510 list_add(&emif->node, &device_list); in emif_probe()
1766 list_for_each_entry(emif, &device_list, node) in volt_notify_handling()
1834 list_for_each_entry(emif, &device_list, node) in freq_pre_notify_handling()
1858 list_for_each_entry(emif, &device_list, node) in freq_post_notify_handling()
/drivers/crypto/ux500/cryp/
Dcryp_core.c58 struct klist device_list; member
431 klist_iter_init(&driver_data.device_list, &device_iterator); in cryp_get_device_data()
1365 klist_add_tail(&device_data->list_node, &driver_data.device_list); in ux500_cryp_probe()
1430 if (list_empty(&driver_data.device_list.k_list)) in ux500_cryp_remove()
1477 if (list_empty(&driver_data.device_list.k_list)) in ux500_cryp_shutdown()
1591 klist_init(&driver_data.device_list, NULL, NULL); in ux500_cryp_mod_init()
/drivers/crypto/ux500/hash/
Dhash_core.c68 struct klist device_list; member
379 klist_iter_init(&driver_data.device_list, &device_iterator); in hash_get_device_data()
1733 klist_add_tail(&device_data->list_node, &driver_data.device_list); in ux500_hash_probe()
1797 if (list_empty(&driver_data.device_list.k_list)) in ux500_hash_remove()
1846 if (list_empty(&driver_data.device_list.k_list)) in ux500_hash_shutdown()
1949 klist_init(&driver_data.device_list, NULL, NULL); in ux500_hash_mod_init()
/drivers/vfio/
Dvfio.c76 struct list_head device_list; member
325 INIT_LIST_HEAD(&group->device_list); in vfio_create_group()
397 WARN_ON(!list_empty(&group->device_list)); in vfio_group_release()
544 list_for_each_entry(device, &group->device_list, group_next) { in vfio_group_get_device()
794 list_add(&device->group_next, &group->device_list); in vfio_register_group_dev()
854 list_for_each_entry(it, &group->device_list, group_next) { in vfio_device_get_from_name()
957 if (list_empty(&group->device_list)) in vfio_unregister_group_dev()
/drivers/spi/
Dspidev.c82 static LIST_HEAD(device_list);
580 list_for_each_entry(spidev, &device_list, device_entry) { in spidev_open()
786 list_add(&spidev->device_entry, &device_list); in spidev_probe()
/drivers/misc/mei/
Dbus.c1137 list_for_each_entry_safe(cldev, next, &bus->device_list, bus_list) in mei_cl_bus_remove_devices()
1169 list_add_tail(&cldev->bus_list, &bus->device_list); in mei_cl_bus_dev_init()
1191 list_for_each_entry_safe(cldev, n, &bus->device_list, bus_list) { in mei_cl_bus_rescan()
/drivers/media/dvb-core/
Ddvbdev.c207 list_for_each_entry(dev, &adap->device_list, list_head) in dvbdev_get_free_id()
534 list_add_tail (&dvbdev->list_head, &adap->device_list); in dvb_register_device()
928 INIT_LIST_HEAD (&adap->device_list); in dvb_register_adapter()
/drivers/gpu/drm/ttm/
Dttm_bo.c1376 INIT_LIST_HEAD(&glob->device_list); in ttm_bo_global_init()
1400 list_del(&bdev->device_list); in ttm_bo_device_release()
1462 list_add_tail(&bdev->device_list, &glob->device_list); in ttm_bo_device_init()

12