Lines Matching refs:pci_lock
15 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); \
249 raw_spin_lock_irq(&pci_lock); \
254 raw_spin_unlock_irq(&pci_lock); \
278 raw_spin_lock_irq(&pci_lock); in PCI_USER_READ_CONFIG()
282 raw_spin_unlock_irq(&pci_lock); in PCI_USER_READ_CONFIG()
299 raw_spin_lock_irqsave(&pci_lock, flags); in pci_cfg_access_trylock()
304 raw_spin_unlock_irqrestore(&pci_lock, flags); in pci_cfg_access_trylock()
320 raw_spin_lock_irqsave(&pci_lock, flags); in pci_cfg_access_unlock()
329 raw_spin_unlock_irqrestore(&pci_lock, flags); in pci_cfg_access_unlock()