Home
last modified time | relevance | path

Searched refs:bar_lock (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/ssb/
Dpcmcia.c230 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 …]
Dpci.c74 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()
Dmain.c626 spin_lock_init(&bus->bar_lock); in ssb_bus_register()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c148 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()
1333 spin_lock_init(&nfp->bar_lock); in nfp_cpp_from_nfp6000_pcie()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h678 struct semaphore bar_lock; member
944 down(&nn->bar_lock); in nn_ctrl_bar_lock()
949 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
954 up(&nn->bar_lock); in nn_ctrl_bar_unlock()
Dnfp_net_common.c2551 sema_init(&nn->bar_lock, 1); in nfp_net_alloc()
/linux-6.12.1/include/linux/ssb/
Dssb.h433 spinlock_t bar_lock; member