Searched refs:dma_domain (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/iommu/ |
D | fsl_pamu_domain.c | 58 static int update_liodn_stash(int liodn, struct fsl_dma_domain *dma_domain, in update_liodn_stash() argument 78 static int pamu_set_liodn(struct fsl_dma_domain *dma_domain, struct device *dev, in pamu_set_liodn() argument 96 ret = pamu_config_ppaace(liodn, omi_index, dma_domain->stash_id, 0); in pamu_set_liodn() 99 ret = pamu_config_ppaace(liodn, ~(u32)0, dma_domain->stash_id, in pamu_set_liodn() 124 static void detach_device(struct device *dev, struct fsl_dma_domain *dma_domain) in detach_device() argument 129 spin_lock_irqsave(&dma_domain->domain_lock, flags); in detach_device() 131 list_for_each_entry_safe(info, tmp, &dma_domain->devices, link) { in detach_device() 135 spin_unlock_irqrestore(&dma_domain->domain_lock, flags); in detach_device() 138 static void attach_device(struct fsl_dma_domain *dma_domain, int liodn, struct device *dev) in attach_device() argument 149 if (old_domain_info && old_domain_info->domain != dma_domain) { in attach_device() [all …]
|