Home
last modified time | relevance | path

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

/drivers/infiniband/hw/usnic/
Dusnic_vnic.c45 spinlock_t res_lock; member
116 spin_lock(&vnic->res_lock); in usnic_vnic_dump()
133 spin_unlock(&vnic->res_lock); in usnic_vnic_dump()
253 spin_lock(&vnic->res_lock); in usnic_vnic_get_resources()
264 spin_unlock(&vnic->res_lock); in usnic_vnic_get_resources()
281 spin_lock(&vnic->res_lock); in usnic_vnic_put_resources()
288 spin_unlock(&vnic->res_lock); in usnic_vnic_put_resources()
452 spin_lock_init(&vnic->res_lock); in usnic_vnic_alloc()
/drivers/parisc/
Dsba_iommu.c730 spin_lock_irqsave(&ioc->res_lock, flags); in sba_map_single()
773 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_map_single()
823 spin_lock_irqsave(&ioc->res_lock, flags); in sba_unmap_page()
858 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_unmap_page()
971 spin_lock_irqsave(&ioc->res_lock, flags); in sba_map_sg()
1016 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_map_sg()
1057 spin_lock_irqsave(&ioc->res_lock, flags); in sba_unmap_sg()
1059 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_unmap_sg()
1077 spin_lock_irqsave(&ioc->res_lock, flags); in sba_unmap_sg()
1079 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_unmap_sg()
[all …]
Dccio-dma.c222 spinlock_t res_lock; member
737 spin_lock_irqsave(&ioc->res_lock, flags); in ccio_map_single()
768 spin_unlock_irqrestore(&ioc->res_lock, flags); in ccio_map_single()
815 spin_lock_irqsave(&ioc->res_lock, flags); in ccio_unmap_page()
824 spin_unlock_irqrestore(&ioc->res_lock, flags); in ccio_unmap_page()
932 spin_lock_irqsave(&ioc->res_lock, flags); in ccio_map_sg()
958 spin_unlock_irqrestore(&ioc->res_lock, flags); in ccio_map_sg()
1311 spin_lock_init(&ioc->res_lock); in ccio_ioc_init()
/drivers/pwm/
Dpwm-lpc18xx-sct.c105 struct mutex res_lock; member
134 mutex_lock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res()
146 mutex_unlock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res()
386 mutex_init(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_probe()
/drivers/atm/
Dnicstar.c316 spin_lock_irqsave(&card->res_lock, flags); in ns_read_sram()
321 spin_unlock_irqrestore(&card->res_lock, flags); in ns_read_sram()
333 spin_lock_irqsave(&card->res_lock, flags); in ns_write_sram()
343 spin_unlock_irqrestore(&card->res_lock, flags); in ns_write_sram()
385 spin_lock_init(&card->res_lock); in ns_init_card()
1027 spin_lock_irqsave(&card->res_lock, flags); in push_rxbufs()
1035 spin_unlock_irqrestore(&card->res_lock, flags); in push_rxbufs()
1429 spin_lock_irqsave(&card->res_lock, flags); in ns_close()
1433 spin_unlock_irqrestore(&card->res_lock, flags); in ns_close()
2732 spin_lock_irqsave(&card->res_lock, flags); in ns_phy_put()
[all …]
Dnicstar.h747 spinlock_t res_lock; /* Card resource lock */ member