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.c150 spinlock_t bar_lock; /* Protect the PCI2CPP BAR cache */ member
429 spin_lock_irqsave(&nfp->bar_lock, flags); in find_unused_bar_and_lock()
433 spin_unlock_irqrestore(&nfp->bar_lock, flags); in find_unused_bar_and_lock()
435 __release(&nfp->bar_lock); in find_unused_bar_and_lock()
472 spin_lock_irqsave(&nfp->bar_lock, irqflags); in nfp_alloc_bar()
477 spin_unlock_irqrestore(&nfp->bar_lock, irqflags); in nfp_alloc_bar()
491 spin_unlock_irqrestore(&nfp->bar_lock, irqflags); in nfp_alloc_bar()
496 __acquire(&nfp->bar_lock); in nfp_alloc_bar()
508 spin_unlock_irqrestore(&nfp->bar_lock, irqflags); in nfp_alloc_bar()
1334 spin_lock_init(&nfp->bar_lock); in nfp_cpp_from_nfp6000_pcie()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h662 struct semaphore bar_lock; member
908 down(&nn->bar_lock); in nn_ctrl_bar_lock()
913 return !down_trylock(&nn->bar_lock); in nn_ctrl_bar_trylock()
918 up(&nn->bar_lock); in nn_ctrl_bar_unlock()
Dnfp_net_common.c3900 sema_init(&nn->bar_lock, 1); in nfp_net_alloc()