Searched refs:device_list_lock (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | bus.c | 418 spin_lock_irqsave(&dev->device_list_lock, flags); in ishtp_bus_add_device() 423 spin_unlock_irqrestore(&dev->device_list_lock, flags); in ishtp_bus_add_device() 428 spin_unlock_irqrestore(&dev->device_list_lock, flags); in ishtp_bus_add_device() 444 spin_lock_irqsave(&dev->device_list_lock, flags); in ishtp_bus_add_device() 446 spin_unlock_irqrestore(&dev->device_list_lock, flags); in ishtp_bus_add_device() 450 spin_lock_irqsave(&dev->device_list_lock, flags); in ishtp_bus_add_device() 452 spin_unlock_irqrestore(&dev->device_list_lock, flags); in ishtp_bus_add_device() 691 spin_lock_irqsave(&cl->dev->device_list_lock, flags); in ishtp_cl_device_bind() 701 spin_unlock_irqrestore(&cl->dev->device_list_lock, flags); in ishtp_cl_device_bind() 754 spin_lock_irqsave(&ishtp_dev->device_list_lock, flags); in ishtp_bus_remove_all_clients() [all …]
|
H A D | init.c | 69 spin_lock_init(&dev->device_list_lock); in ishtp_device_init()
|
H A D | ishtp-dev.h | 202 spinlock_t device_list_lock; member
|
/linux/drivers/spi/ |
H A D | spidev.c | 85 static DEFINE_MUTEX(device_list_lock); 592 mutex_lock(&device_list_lock); in spidev_open() 627 mutex_unlock(&device_list_lock); in spidev_open() 634 mutex_unlock(&device_list_lock); in spidev_open() 643 mutex_lock(&device_list_lock); in spidev_release() 671 mutex_unlock(&device_list_lock); in spidev_release() 800 mutex_lock(&device_list_lock); in spidev_probe() 818 mutex_unlock(&device_list_lock); in spidev_probe() 835 mutex_lock(&device_list_lock); in spidev_remove() 846 mutex_unlock(&device_list_lock); in spidev_remove()
|
/linux/drivers/acpi/ |
H A D | acpi_video.c | 166 struct mutex device_list_lock; /* protects video_device_list */ member 1187 mutex_lock(&video->device_list_lock); in acpi_video_bus_get_one_device() 1189 mutex_unlock(&video->device_list_lock); in acpi_video_bus_get_one_device() 1212 mutex_lock(&video->device_list_lock); in acpi_video_device_rebind() 1217 mutex_unlock(&video->device_list_lock); in acpi_video_device_rebind() 1781 mutex_lock(&video->device_list_lock); in acpi_video_run_bcl_for_osi() 1786 mutex_unlock(&video->device_list_lock); in acpi_video_run_bcl_for_osi() 1815 mutex_lock(&video->device_list_lock); in acpi_video_bus_register_backlight() 1820 mutex_unlock(&video->device_list_lock); in acpi_video_bus_register_backlight() 1858 mutex_lock(&video->device_list_lock); in acpi_video_bus_unregister_backlight() [all …]
|
/linux/drivers/pci/controller/ |
H A D | pci-hyperv.c | 506 spinlock_t device_list_lock; /* Protect lists below */ member 2149 spin_lock_irqsave(&hbus->device_list_lock, flags); in survey_child_resources() 2185 spin_unlock_irqrestore(&hbus->device_list_lock, flags); in survey_child_resources() 2226 spin_lock_irqsave(&hbus->device_list_lock, flags); in prepopulate_bars() 2305 spin_unlock_irqrestore(&hbus->device_list_lock, flags); in prepopulate_bars() 2503 spin_lock_irqsave(&hbus->device_list_lock, flags); in new_pcichild_device() 2506 spin_unlock_irqrestore(&hbus->device_list_lock, flags); in new_pcichild_device() 2533 spin_lock_irqsave(&hbus->device_list_lock, flags); in get_pcichild_wslot() 2541 spin_unlock_irqrestore(&hbus->device_list_lock, flags); in get_pcichild_wslot() 2588 spin_lock_irqsave(&hbus->device_list_lock, flags); in pci_devices_present_work() [all …]
|
/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 69 struct mutex device_list_lock; member 1252 mutex_lock(&iommu->device_list_lock); in vfio_notify_dma_unmap() 1258 mutex_unlock(&iommu->device_list_lock); in vfio_notify_dma_unmap() 2551 mutex_init(&iommu->device_list_lock); in vfio_iommu_type1_open() 3010 mutex_lock(&iommu->device_list_lock); in vfio_iommu_type1_register_device() 3012 mutex_unlock(&iommu->device_list_lock); in vfio_iommu_type1_register_device() 3025 mutex_lock(&iommu->device_list_lock); in vfio_iommu_type1_unregister_device() 3027 mutex_unlock(&iommu->device_list_lock); in vfio_iommu_type1_unregister_device()
|