Home
last modified time | relevance | path

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

/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.c624 spin_lock_init(&bus->bar_lock); in ssb_bus_register()
/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()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h659 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()
Dnfp_net_common.c2225 sema_init(&nn->bar_lock, 1); in nfp_net_alloc()