Searched refs:aspm_lock (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | aspm.c | 112 spin_lock_irqsave(&dd->aspm_lock, flags); in aspm_disable_inc() 115 spin_unlock_irqrestore(&dd->aspm_lock, flags); in aspm_disable_inc() 122 spin_lock_irqsave(&dd->aspm_lock, flags); in aspm_enable_dec() 125 spin_unlock_irqrestore(&dd->aspm_lock, flags); in aspm_enable_dec() 136 spin_lock_irqsave(&rcd->aspm_lock, flags); in __aspm_ctx_disable() 166 spin_unlock_irqrestore(&rcd->aspm_lock, flags); in __aspm_ctx_disable() 175 spin_lock_irqsave(&rcd->aspm_lock, flags); in aspm_ctx_timer_function() 178 spin_unlock_irqrestore(&rcd->aspm_lock, flags); in aspm_ctx_timer_function() 195 spin_lock_irqsave(&rcd->aspm_lock, flags); in aspm_disable_all() 197 spin_unlock_irqrestore(&rcd->aspm_lock, flags); in aspm_disable_all() [all …]
|
D | hfi.h | 288 spinlock_t aspm_lock; member 1393 spinlock_t aspm_lock; member
|
/Linux-v5.10/drivers/pci/pcie/ |
D | aspm.c | 81 static DEFINE_MUTEX(aspm_lock); 925 mutex_lock(&aspm_lock); in pcie_aspm_init_link_state() 956 mutex_unlock(&aspm_lock); in pcie_aspm_init_link_state() 995 mutex_lock(&aspm_lock); in pcie_aspm_exit_link_state() 1019 mutex_unlock(&aspm_lock); in pcie_aspm_exit_link_state() 1035 mutex_lock(&aspm_lock); in pcie_aspm_pm_state_change() 1038 mutex_unlock(&aspm_lock); in pcie_aspm_pm_state_change() 1054 mutex_lock(&aspm_lock); in pcie_aspm_powersave_config_link() 1057 mutex_unlock(&aspm_lock); in pcie_aspm_powersave_config_link() 1096 mutex_lock(&aspm_lock); in __pci_disable_link_state() [all …]
|