Home
last modified time | relevance | path

Searched refs:pci_lock (Results 1 – 6 of 6) sorted by relevance

/drivers/pci/
Daccess.c15 DEFINE_RAW_SPINLOCK(pci_lock);
31 # define pci_lock_config(f) raw_spin_lock_irqsave(&pci_lock, f)
32 # define pci_unlock_config(f) raw_spin_unlock_irqrestore(&pci_lock, f)
190 raw_spin_lock_irqsave(&pci_lock, flags); in pci_bus_set_ops()
193 raw_spin_unlock_irqrestore(&pci_lock, flags); in pci_bus_set_ops()
209 __must_hold(&pci_lock) in pci_wait_cfg()
212 raw_spin_unlock_irq(&pci_lock); in pci_wait_cfg()
214 raw_spin_lock_irq(&pci_lock); in pci_wait_cfg()
227 raw_spin_lock_irq(&pci_lock); \
232 raw_spin_unlock_irq(&pci_lock); \
[all …]
Dpci.h170 extern raw_spinlock_t pci_lock;
Dpci.c4655 raw_spin_lock_irqsave(&pci_lock, flags); in pci_check_and_set_intx_mask()
4679 raw_spin_unlock_irqrestore(&pci_lock, flags); in pci_check_and_set_intx_mask()
/drivers/media/pci/cobalt/
Dcobalt-driver.h255 struct mutex pci_lock; member
327 mutex_lock(&cobalt->pci_lock); in cobalt_s_bit_sysctrl()
331 mutex_unlock(&cobalt->pci_lock); in cobalt_s_bit_sysctrl()
Dcobalt-driver.c671 mutex_init(&cobalt->pci_lock); in cobalt_probe()
/drivers/edac/
Di7core_edac.c2051 u32 pci_lock; in enable_sdram_scrub_setting() local
2054 pci_read_config_dword(pvt->pci_noncore, MC_CFG_CONTROL, &pci_lock); in enable_sdram_scrub_setting()
2055 pci_lock &= ~0x3; in enable_sdram_scrub_setting()
2057 pci_lock | MC_CFG_UNLOCK); in enable_sdram_scrub_setting()
2066 u32 pci_lock; in disable_sdram_scrub_setting() local
2069 pci_read_config_dword(pvt->pci_noncore, MC_CFG_CONTROL, &pci_lock); in disable_sdram_scrub_setting()
2070 pci_lock &= ~0x3; in disable_sdram_scrub_setting()
2072 pci_lock | MC_CFG_LOCK); in disable_sdram_scrub_setting()