Home
last modified time | relevance | path

Searched refs:iommu_domain (Results 51 – 75 of 107) sorted by relevance

12345

/openbmc/linux/drivers/iommu/
H A Dmtk_iommu.c285 struct iommu_domain domain;
370 static struct mtk_iommu_domain *to_mtk_domain(struct iommu_domain *dom) in to_mtk_domain()
691 static struct iommu_domain *mtk_iommu_domain_alloc(unsigned type) in mtk_iommu_domain_alloc()
706 static void mtk_iommu_domain_free(struct iommu_domain *domain) in mtk_iommu_domain_free()
711 static int mtk_iommu_attach_device(struct iommu_domain *domain, in mtk_iommu_attach_device()
779 static int mtk_iommu_map(struct iommu_domain *domain, unsigned long iova, in mtk_iommu_map()
793 static size_t mtk_iommu_unmap(struct iommu_domain *domain, in mtk_iommu_unmap()
803 static void mtk_iommu_flush_iotlb_all(struct iommu_domain *domain) in mtk_iommu_flush_iotlb_all()
811 static void mtk_iommu_iotlb_sync(struct iommu_domain *domain, in mtk_iommu_iotlb_sync()
820 static void mtk_iommu_sync_map(struct iommu_domain *domain, unsigned long iova, in mtk_iommu_sync_map()
[all …]
H A Dio-pgfault.c75 struct iommu_domain *domain; in iopf_handler()
/openbmc/linux/drivers/iommu/amd/
H A Diommu.c180 static struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain()
1808 struct iommu_domain *def_domain = iommu_get_dma_domain(dev); in attach_device()
2158 static struct iommu_domain *amd_iommu_domain_alloc(unsigned type) in amd_iommu_domain_alloc()
2180 static void amd_iommu_domain_free(struct iommu_domain *dom) in amd_iommu_domain_free()
2200 static int amd_iommu_attach_device(struct iommu_domain *dom, in amd_iommu_attach_device()
2236 static void amd_iommu_iotlb_sync_map(struct iommu_domain *dom, in amd_iommu_iotlb_sync_map()
2411 static void amd_iommu_flush_iotlb_all(struct iommu_domain *domain) in amd_iommu_flush_iotlb_all()
2422 static void amd_iommu_iotlb_sync(struct iommu_domain *domain, in amd_iommu_iotlb_sync()
2511 void amd_iommu_domain_direct_map(struct iommu_domain *dom) in amd_iommu_domain_direct_map()
2643 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page()
[all …]
H A Damd_iommu_types.h523 struct iommu_domain;
557 struct iommu_domain domain; /* generic domain handle used by
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.h64 struct iommu_domain *domain;
H A Dintern.h107 struct iommu_domain *domain;
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h323 if (nic->iommu_domain) in nicvf_iova_to_phys()
324 return iommu_iova_to_phys(nic->iommu_domain, dma_addr); in nicvf_iova_to_phys()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos_sq.c99 pa = otx2_iova_to_phys(pfvf->iommu_domain, iova); in otx2_qos_sq_aura_pool_init()
131 pa = otx2_iova_to_phys(pfvf->iommu_domain, iova); in otx2_qos_sq_free_sqbs()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h573 struct iommu_domain *iommu_domain; member
836 void *dpaa2_iova_to_virt(struct iommu_domain *domain, dma_addr_t iova_addr);
/openbmc/linux/drivers/iommu/intel/
H A Diommu.c286 static void intel_iommu_domain_free(struct iommu_domain *domain);
1591 static void intel_flush_iotlb_all(struct iommu_domain *domain) in intel_flush_iotlb_all()
4018 static struct iommu_domain blocking_domain = {
4028 struct iommu_domain *domain; in intel_iommu_domain_alloc()
4064 static void intel_iommu_domain_free(struct iommu_domain *domain) in intel_iommu_domain_free()
4110 static int intel_iommu_attach_device(struct iommu_domain *domain, in intel_iommu_attach_device()
4126 static int intel_iommu_map(struct iommu_domain *domain, in intel_iommu_map()
4162 static int intel_iommu_map_pages(struct iommu_domain *domain, in intel_iommu_map_pages()
4184 static size_t intel_iommu_unmap(struct iommu_domain *domain, in intel_iommu_unmap()
4230 static void intel_iommu_tlb_sync(struct iommu_domain *domain, in intel_iommu_tlb_sync()
[all …]
H A Diommu.h613 struct iommu_domain domain; /* generic domain data structure for
738 static inline struct dmar_domain *to_dmar_domain(struct iommu_domain *dom) in to_dmar_domain()
855 struct iommu_domain *intel_svm_domain_alloc(void);
877 static inline struct iommu_domain *intel_svm_domain_alloc(void) in intel_svm_domain_alloc()
H A Dsvm.c820 static int intel_svm_set_dev_pasid(struct iommu_domain *domain, in intel_svm_set_dev_pasid()
830 static void intel_svm_domain_free(struct iommu_domain *domain) in intel_svm_domain_free()
840 struct iommu_domain *intel_svm_domain_alloc(void) in intel_svm_domain_alloc()
/openbmc/linux/drivers/gpu/host1x/
H A Ddev.c345 static struct iommu_domain *host1x_iommu_attach(struct host1x *host) in host1x_iommu_attach()
347 struct iommu_domain *domain = iommu_get_domain_for_dev(host->dev); in host1x_iommu_attach()
424 struct iommu_domain *domain; in host1x_iommu_init()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_dev.h198 struct iommu_domain *iommu;
/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dcore.h204 struct iommu_domain *iommu_domain; member
/openbmc/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.c1288 struct iommu_domain *iommu_domain; in hisi_ptt_check_iommu_mapping() local
1290 iommu_domain = iommu_get_domain_for_dev(&pdev->dev); in hisi_ptt_check_iommu_mapping()
1291 if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY) in hisi_ptt_check_iommu_mapping()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddrm.h34 struct iommu_domain *domain;
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c2000 struct iommu_domain *domain = &smmu_domain->domain; in arm_smmu_tlb_inv_page_nosync()
2034 static struct iommu_domain *arm_smmu_domain_alloc(unsigned type) in arm_smmu_domain_alloc()
2063 static void arm_smmu_domain_free(struct iommu_domain *domain) in arm_smmu_domain_free()
2176 static int arm_smmu_domain_finalise(struct iommu_domain *domain, in arm_smmu_domain_finalise()
2408 static int arm_smmu_attach_dev(struct iommu_domain *domain, struct device *dev) in arm_smmu_attach_dev()
2482 static int arm_smmu_map_pages(struct iommu_domain *domain, unsigned long iova, in arm_smmu_map_pages()
2507 static void arm_smmu_flush_iotlb_all(struct iommu_domain *domain) in arm_smmu_flush_iotlb_all()
2515 static void arm_smmu_iotlb_sync(struct iommu_domain *domain, in arm_smmu_iotlb_sync()
2529 arm_smmu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) in arm_smmu_iova_to_phys()
2743 static int arm_smmu_enable_nesting(struct iommu_domain *domain) in arm_smmu_enable_nesting()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dahb.c956 struct iommu_domain *iommu_dom; in ath11k_ahb_fw_resources_init()
1028 ab_ahb->fw.iommu_domain = iommu_dom; in ath11k_ahb_fw_resources_init()
1052 struct iommu_domain *iommu; in ath11k_ahb_fw_resource_deinit()
1064 iommu = ab_ahb->fw.iommu_domain; in ath11k_ahb_fw_resource_deinit()
/openbmc/linux/Documentation/userspace-api/
H A Diommu.rst202 int iommu_uapi_sva_unbind_gpasid(struct iommu_domain *domain,
208 int iommu_sva_unbind_gpasid(struct iommu_domain *domain,
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dsnoc.c1602 struct iommu_domain *iommu_dom; in ath10k_fw_init()
1648 ar_snoc->fw.iommu_domain = iommu_dom; in ath10k_fw_init()
1680 struct iommu_domain *iommu; in ath10k_fw_deinit()
1686 iommu = ar_snoc->fw.iommu_domain; in ath10k_fw_deinit()
/openbmc/linux/drivers/vfio/
H A Dvfio.h227 struct iommu_domain *(*group_iommu_domain)(void *iommu_data,
/openbmc/linux/include/linux/
H A Dremoteproc.h551 struct iommu_domain *domain;
/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c1283 static int spapr_tce_blocking_iommu_attach_dev(struct iommu_domain *dom, in spapr_tce_blocking_iommu_attach_dev()
1325 static struct iommu_domain *spapr_tce_iommu_domain_alloc(unsigned int type) in spapr_tce_iommu_domain_alloc()
1327 struct iommu_domain *dom; in spapr_tce_iommu_domain_alloc()
/openbmc/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-nvidia.c224 struct iommu_domain *domain = dev; in nvidia_smmu_context_fault()

12345