Home
last modified time | relevance | path

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

12

/drivers/cpuidle/
Dgovernor.c54 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
64 list_for_each_entry(dev, &cpuidle_detected_devices, device_list) in cpuidle_switch_governor()
Dcpuidle.c434 list_del(&dev->device_list); in __cpuidle_unregister_device()
463 list_add(&dev->device_list, &cpuidle_detected_devices); in __cpuidle_register_device()
/drivers/infiniband/core/
Ddevice.c68 static LIST_HEAD(device_list);
131 list_for_each_entry(device, &device_list, core_list) in __ib_device_get_by_name()
150 list_for_each_entry(device, &device_list, core_list) { in alloc_name()
389 list_add_tail(&device->core_list, &device_list); in ib_register_device()
460 list_for_each_entry(device, &device_list, core_list) in ib_register_client()
494 list_for_each_entry(device, &device_list, core_list) { in ib_unregister_client()
771 list_for_each_entry(dev, &device_list, core_list) in ib_enum_all_roce_netdevs()
/drivers/hid/intel-ish-hid/ishtp/
Dbus.c384 list_for_each_entry(device, &dev->device_list, device_link) { in ishtp_bus_add_device()
410 list_add_tail(&device->device_link, &dev->device_list); in ishtp_bus_add_device()
629 list_for_each_entry(cl_device, &cl->dev->device_list, in ishtp_cl_device_bind()
689 list_for_each_entry_safe(cl_device, n, &ishtp_dev->device_list, in ishtp_bus_remove_all_clients()
Dinit.c65 INIT_LIST_HEAD(&dev->device_list); in ishtp_device_init()
Dishtp-dev.h196 struct list_head device_list; member
/drivers/usb/class/
Dcdc-wdm.c106 struct list_head device_list; member
118 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device()
133 list_for_each_entry(desc, &wdm_device_list, device_list) in wdm_find_device_by_minor()
784 INIT_LIST_HEAD(&desc->device_list); in wdm_create()
864 list_add(&desc->device_list, &wdm_device_list); in wdm_create()
876 list_del(&desc->device_list); in wdm_create()
984 list_del(&desc->device_list); in wdm_disconnect()
/drivers/acpi/
Dpci_root.c287 LIST_HEAD(device_list); in acpi_get_pci_dev()
300 list_add(&node->node, &device_list); in acpi_get_pci_dev()
318 list_for_each_entry(node, &device_list, node) { in acpi_get_pci_dev()
345 list_for_each_entry_safe(node, tmp, &device_list, node) in acpi_get_pci_dev()
/drivers/vfio/
Dvfio.c79 struct list_head device_list; member
332 INIT_LIST_HEAD(&group->device_list); in vfio_create_group()
402 WARN_ON(!list_empty(&group->device_list)); in vfio_group_release()
537 list_add(&device->group_next, &group->device_list); in vfio_group_create_device()
581 list_for_each_entry(device, &group->device_list, group_next) { in vfio_group_get_device()
875 list_for_each_entry(it, &group->device_list, group_next) { in vfio_device_get_from_name()
/drivers/memory/
Demif.c78 static LIST_HEAD(device_list);
328 list_for_each_entry(emif, &device_list, node) { in do_freq_update()
339 list_for_each_entry(emif, &device_list, node) { in do_freq_update()
1555 list_add(&emif->node, &device_list); in emif_probe()
1815 list_for_each_entry(emif, &device_list, node) in volt_notify_handling()
1883 list_for_each_entry(emif, &device_list, node) in freq_pre_notify_handling()
1907 list_for_each_entry(emif, &device_list, node) in freq_post_notify_handling()
/drivers/crypto/ux500/cryp/
Dcryp_core.c55 struct klist device_list; member
437 klist_iter_init(&driver_data.device_list, &device_iterator); in cryp_get_device_data()
1518 klist_add_tail(&device_data->list_node, &driver_data.device_list); in ux500_cryp_probe()
1583 if (list_empty(&driver_data.device_list.k_list)) in ux500_cryp_remove()
1630 if (list_empty(&driver_data.device_list.k_list)) in ux500_cryp_shutdown()
1744 klist_init(&driver_data.device_list, NULL, NULL); in ux500_cryp_mod_init()
/drivers/crypto/ux500/hash/
Dhash_core.c66 struct klist device_list; member
378 klist_iter_init(&driver_data.device_list, &device_iterator); in hash_get_device_data()
1712 klist_add_tail(&device_data->list_node, &driver_data.device_list); in ux500_hash_probe()
1776 if (list_empty(&driver_data.device_list.k_list)) in ux500_hash_remove()
1825 if (list_empty(&driver_data.device_list.k_list)) in ux500_hash_shutdown()
1928 klist_init(&driver_data.device_list, NULL, NULL); in ux500_hash_mod_init()
/drivers/misc/mei/
Dbus.c907 list_for_each_entry_safe(cldev, next, &bus->device_list, bus_list) in mei_cl_bus_remove_devices()
939 list_add_tail(&cldev->bus_list, &bus->device_list); in mei_cl_bus_dev_init()
961 list_for_each_entry_safe(cldev, n, &bus->device_list, bus_list) { in mei_cl_bus_rescan()
Dinit.c378 INIT_LIST_HEAD(&dev->device_list); in mei_device_init()
Dmei_dev.h492 struct list_head device_list; member
/drivers/spi/
Dspidev.c90 static LIST_HEAD(device_list);
591 list_for_each_entry(spidev, &device_list, device_entry) { in spidev_open()
793 list_add(&spidev->device_entry, &device_list); in spidev_probe()
/drivers/media/dvb-core/
Ddvbdev.h85 struct list_head device_list; member
Ddvbdev.c176 list_for_each_entry(dev, &adap->device_list, list_head) in dvbdev_get_free_id()
471 list_add_tail (&dvbdev->list_head, &adap->device_list); in dvb_register_device()
809 INIT_LIST_HEAD (&adap->device_list); in dvb_register_adapter()
/drivers/gpu/drm/ttm/
Dttm_bo.c1458 INIT_LIST_HEAD(&glob->device_list); in ttm_bo_global_init()
1504 list_del(&bdev->device_list); in ttm_bo_device_release()
1555 list_add_tail(&bdev->device_list, &glob->device_list); in ttm_bo_device_init()
/drivers/usb/host/
Dr8a66597.h99 struct list_head device_list; member
/drivers/nvme/target/
Drdma.c130 static LIST_HEAD(device_list);
853 list_for_each_entry(ndev, &device_list, entry) { in nvmet_rdma_find_get_device()
876 list_add(&ndev->entry, &device_list); in nvmet_rdma_find_get_device()
/drivers/infiniband/ulp/iser/
Discsi_iser.h570 struct list_head device_list; member
Diser_verbs.c507 list_for_each_entry(device, &ig.device_list, ig_list) in iser_device_find_by_ib_device()
524 list_add(&device->ig_list, &ig.device_list); in iser_device_find_by_ib_device()
/drivers/net/ethernet/ti/
Dnetcp_core.c83 struct list_head device_list; member
377 list_for_each_entry(netcp_device, &netcp_devices, device_list) { in netcp_register_module()
437 list_for_each_entry(netcp_device, &netcp_devices, device_list) { in netcp_unregister_module()
2137 list_add_tail(&netcp_device->device_list, &netcp_devices); in netcp_probe()
/drivers/nvme/host/
Drdma.c145 static LIST_HEAD(device_list);
429 list_for_each_entry(ndev, &device_list, entry) { in nvme_rdma_find_get_device()
454 list_add(&ndev->entry, &device_list); in nvme_rdma_find_get_device()

12