Home
last modified time | relevance | path

Searched refs:iommu_lock (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/arm/mach-omap2/
Domap-iommu.c24 static DEFINE_SPINLOCK(iommu_lock);
43 spin_lock_irqsave(&iommu_lock, flags); in omap_iommu_dra7_emu_swsup_config()
50 spin_unlock_irqrestore(&iommu_lock, flags); in omap_iommu_dra7_emu_swsup_config()
63 spin_lock_irqsave(&iommu_lock, flags); in _get_pwrdm()
72 spin_unlock_irqrestore(&iommu_lock, flags); in _get_pwrdm()
106 spin_lock_irqsave(&iommu_lock, flags); in _get_pwrdm()
108 spin_unlock_irqrestore(&iommu_lock, flags); in _get_pwrdm()
/linux-6.6.21/drivers/iommu/
Dfsl_pamu_domain.c19 static DEFINE_SPINLOCK(iommu_lock);
64 spin_lock_irqsave(&iommu_lock, flags); in update_liodn_stash()
68 spin_unlock_irqrestore(&iommu_lock, flags); in update_liodn_stash()
72 spin_unlock_irqrestore(&iommu_lock, flags); in update_liodn_stash()
92 spin_lock_irqsave(&iommu_lock, flags); in pamu_set_liodn()
102 spin_unlock_irqrestore(&iommu_lock, flags); in pamu_set_liodn()
115 spin_lock_irqsave(&iommu_lock, flags); in remove_device_ref()
117 spin_unlock_irqrestore(&iommu_lock, flags); in remove_device_ref()
Dsun50i-iommu.c102 spinlock_t iommu_lock; member
336 assert_spin_locked(&iommu->iommu_lock); in sun50i_iommu_zap_range()
361 assert_spin_locked(&iommu->iommu_lock); in sun50i_iommu_flush_all_tlb()
400 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_flush_iotlb_all()
402 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_flush_iotlb_all()
412 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_iotlb_sync_map()
414 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_iotlb_sync_map()
442 spin_lock_irqsave(&iommu->iommu_lock, flags); in sun50i_iommu_enable()
485 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_enable()
492 spin_unlock_irqrestore(&iommu->iommu_lock, flags); in sun50i_iommu_enable()
[all …]
Domap-iommu.c850 spin_lock(&obj->iommu_lock); in omap_iommu_attach()
866 spin_unlock(&obj->iommu_lock); in omap_iommu_attach()
873 spin_unlock(&obj->iommu_lock); in omap_iommu_attach()
887 spin_lock(&obj->iommu_lock); in omap_iommu_detach()
895 spin_unlock(&obj->iommu_lock); in omap_iommu_detach()
1205 spin_lock_init(&obj->iommu_lock); in omap_iommu_probe()
Domap-iommu.h62 spinlock_t iommu_lock; /* global for this whole object */ member
/linux-6.6.21/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c146 spin_lock(&vdpasim->iommu_lock); in vdpasim_do_reset()
151 &vdpasim->iommu_lock); in vdpasim_do_reset()
162 spin_unlock(&vdpasim->iommu_lock); in vdpasim_do_reset()
236 spin_lock_init(&vdpasim->iommu_lock); in vdpasim_create()
267 &vdpasim->iommu_lock); in vdpasim_create()
599 &vdpasim->iommu_lock); in vdpasim_set_group_asid()
618 spin_lock(&vdpasim->iommu_lock); in vdpasim_set_map()
631 spin_unlock(&vdpasim->iommu_lock); in vdpasim_set_map()
636 spin_unlock(&vdpasim->iommu_lock); in vdpasim_set_map()
674 spin_lock(&vdpasim->iommu_lock); in vdpasim_dma_map()
[all …]
Dvdpa_sim.h77 spinlock_t iommu_lock; member
/linux-6.6.21/drivers/vdpa/mlx5/core/
Dmlx5_vdpa.h55 spinlock_t iommu_lock; member
Dresources.c236 spin_lock_init(&mvdev->cvq.iommu_lock); in init_ctrl_vq()
237 vringh_set_iotlb(&mvdev->cvq.vring, mvdev->cvq.iotlb, &mvdev->cvq.iommu_lock); in init_ctrl_vq()