Searched refs:res_lock (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/arch/ia64/hp/common/ |
D | sba_iommu.c | 207 spinlock_t res_lock; /* protects the resource bitmap, but must be held when */ member 493 spin_lock_irqsave(&ioc->res_lock, flags); in sba_search_bitmap() 603 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_search_bitmap() 608 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_search_bitmap() 658 spin_lock(&ioc->res_lock); in sba_alloc_range() 666 spin_unlock(&ioc->res_lock); in sba_alloc_range() 960 spin_lock_irqsave(&ioc->res_lock, flags); in sba_map_page() 963 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_map_page() 991 spin_lock_irqsave(&ioc->res_lock, flags); in sba_map_page() 993 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_map_page() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 45 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()
|
/linux-6.1.9/sound/soc/codecs/ |
D | mt6359-accdet.c | 405 mutex_lock(&priv->res_lock); in mt6359_accdet_work() 412 mutex_unlock(&priv->res_lock); in mt6359_accdet_work() 423 mutex_lock(&priv->res_lock); in mt6359_accdet_jd_work() 457 mutex_unlock(&priv->res_lock); in mt6359_accdet_jd_work() 466 mutex_lock(&priv->res_lock); in mt6359_accdet_irq() 481 mutex_unlock(&priv->res_lock); in mt6359_accdet_irq() 505 mutex_unlock(&priv->res_lock); in mt6359_accdet_irq() 528 mutex_unlock(&priv->res_lock); in mt6359_accdet_irq() 547 mutex_unlock(&priv->res_lock); in mt6359_accdet_irq() 965 mutex_init(&priv->res_lock); in mt6359_accdet_probe()
|
D | mt6359-accdet.h | 112 struct mutex res_lock; /* lock protection */ member
|
/linux-6.1.9/drivers/parisc/ |
D | sba_iommu.c | 730 spin_lock_irqsave(&ioc->res_lock, flags); in sba_map_single() 773 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_map_single() 822 spin_lock_irqsave(&ioc->res_lock, flags); in sba_unmap_page() 857 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_unmap_page() 966 spin_lock_irqsave(&ioc->res_lock, flags); in sba_map_sg() 1011 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_map_sg() 1051 spin_lock_irqsave(&ioc->res_lock, flags); in sba_unmap_sg() 1053 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_unmap_sg() 1071 spin_lock_irqsave(&ioc->res_lock, flags); in sba_unmap_sg() 1073 spin_unlock_irqrestore(&ioc->res_lock, flags); in sba_unmap_sg() [all …]
|
D | ccio-dma.c | 233 spinlock_t res_lock; member 747 spin_lock_irqsave(&ioc->res_lock, flags); in ccio_map_single() 778 spin_unlock_irqrestore(&ioc->res_lock, flags); in ccio_map_single() 824 spin_lock_irqsave(&ioc->res_lock, flags); in ccio_unmap_page() 833 spin_unlock_irqrestore(&ioc->res_lock, flags); in ccio_unmap_page() 937 spin_lock_irqsave(&ioc->res_lock, flags); in ccio_map_sg() 963 spin_unlock_irqrestore(&ioc->res_lock, flags); in ccio_map_sg() 1315 spin_lock_init(&ioc->res_lock); in ccio_ioc_init()
|
/linux-6.1.9/drivers/pwm/ |
D | pwm-lpc18xx-sct.c | 104 struct mutex res_lock; member 133 mutex_lock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res() 145 mutex_unlock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res() 394 mutex_init(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_probe()
|
/linux-6.1.9/drivers/atm/ |
D | nicstar.c | 316 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 …]
|
D | nicstar.h | 747 spinlock_t res_lock; /* Card resource lock */ member
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | ropes.h | 39 spinlock_t res_lock; member
|