Searched refs:bar_lock (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/ssb/ |
D | pcmcia.c | 230 spin_lock_irqsave(&bus->bar_lock, flags); in ssb_pcmcia_read8() 234 spin_unlock_irqrestore(&bus->bar_lock, flags); in ssb_pcmcia_read8() 246 spin_lock_irqsave(&bus->bar_lock, flags); in ssb_pcmcia_read16() 250 spin_unlock_irqrestore(&bus->bar_lock, flags); in ssb_pcmcia_read16() 262 spin_lock_irqsave(&bus->bar_lock, flags); in ssb_pcmcia_read32() 268 spin_unlock_irqrestore(&bus->bar_lock, flags); in ssb_pcmcia_read32() 282 spin_lock_irqsave(&bus->bar_lock, flags); in ssb_pcmcia_block_read() 327 spin_unlock_irqrestore(&bus->bar_lock, flags); in ssb_pcmcia_block_read() 337 spin_lock_irqsave(&bus->bar_lock, flags); in ssb_pcmcia_write8() 341 spin_unlock_irqrestore(&bus->bar_lock, flags); in ssb_pcmcia_write8() [all …]
|
D | pci.c | 74 spin_lock_irqsave(&bus->bar_lock, flags); in ssb_pci_switch_core() 78 spin_unlock_irqrestore(&bus->bar_lock, flags); in ssb_pci_switch_core()
|
D | main.c | 624 spin_lock_init(&bus->bar_lock); in ssb_bus_register()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 148 spinlock_t bar_lock; /* Protect the PCI2CPP BAR cache */ member 424 spin_lock_irqsave(&nfp->bar_lock, flags); in find_unused_bar_and_lock() 428 spin_unlock_irqrestore(&nfp->bar_lock, flags); in find_unused_bar_and_lock() 430 __release(&nfp->bar_lock); in find_unused_bar_and_lock() 467 spin_lock_irqsave(&nfp->bar_lock, irqflags); in nfp_alloc_bar() 472 spin_unlock_irqrestore(&nfp->bar_lock, irqflags); in nfp_alloc_bar() 486 spin_unlock_irqrestore(&nfp->bar_lock, irqflags); in nfp_alloc_bar() 491 __acquire(&nfp->bar_lock); in nfp_alloc_bar() 503 spin_unlock_irqrestore(&nfp->bar_lock, irqflags); in nfp_alloc_bar() 1331 spin_lock_init(&nfp->bar_lock); in nfp_cpp_from_nfp6000_pcie()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net.h | 659 struct semaphore bar_lock; member 875 down(&nn->bar_lock); in nn_ctrl_bar_lock() 880 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock() 885 up(&nn->bar_lock); in nn_ctrl_bar_unlock()
|
D | nfp_net_common.c | 2225 sema_init(&nn->bar_lock, 1); in nfp_net_alloc()
|
/linux-6.1.9/include/linux/ssb/ |
D | ssb.h | 433 spinlock_t bar_lock; member
|