Searched refs:iommu_domain (Results 51 - 75 of 105) sorted by relevance

12345

/linux-master/drivers/iommu/
H A Dmtk_iommu.c285 struct iommu_domain domain;
370 static struct mtk_iommu_domain *to_mtk_domain(struct iommu_domain *dom)
691 static struct iommu_domain *mtk_iommu_domain_alloc_paging(struct device *dev)
703 static void mtk_iommu_domain_free(struct iommu_domain *domain)
708 static int mtk_iommu_attach_device(struct iommu_domain *domain,
776 static int mtk_iommu_identity_attach(struct iommu_domain *identity_domain,
779 struct iommu_domain *domain = iommu_get_domain_for_dev(dev);
793 static struct iommu_domain mtk_iommu_identity_domain = {
798 static int mtk_iommu_map(struct iommu_domain *domain, unsigned long iova,
812 static size_t mtk_iommu_unmap(struct iommu_domain *domai
[all...]
H A Domap-iommu.c56 * to_omap_domain - Get struct omap_iommu_domain from generic iommu_domain
59 static struct omap_iommu_domain *to_omap_domain(struct iommu_domain *dom)
809 struct iommu_domain *domain = obj->domain;
949 int omap_iommu_domain_deactivate(struct iommu_domain *domain)
978 int omap_iommu_domain_activate(struct iommu_domain *domain)
1312 static int omap_iommu_map(struct iommu_domain *domain, unsigned long da,
1359 static size_t omap_iommu_unmap(struct iommu_domain *domain, unsigned long da,
1450 omap_iommu_attach_dev(struct iommu_domain *domain, struct device *dev)
1553 static int omap_iommu_identity_attach(struct iommu_domain *identity_domain,
1556 struct iommu_domain *domai
[all...]
H A Dio-pgfault.c62 static struct iommu_domain *get_domain_for_iopf(struct device *dev,
65 struct iommu_domain *domain;
/linux-master/drivers/iommu/intel/
H A Diommu.h658 struct iommu_domain domain; /* generic domain data structure for
797 /* Convert generic struct iommu_domain to private struct dmar_domain */
798 static inline struct dmar_domain *to_dmar_domain(struct iommu_domain *dom)
1104 int prepare_domain_attach_device(struct iommu_domain *domain,
1111 struct iommu_domain *intel_nested_domain_alloc(struct iommu_domain *parent,
1154 struct iommu_domain *intel_svm_domain_alloc(struct device *dev,
1160 static inline struct iommu_domain *intel_svm_domain_alloc(struct device *dev,
H A Diommu.c212 static void intel_iommu_domain_free(struct iommu_domain *domain);
1377 static void intel_flush_iotlb_all(struct iommu_domain *domain)
3622 static int blocking_domain_attach_dev(struct iommu_domain *domain,
3629 static struct iommu_domain blocking_domain = {
3636 static struct iommu_domain *intel_iommu_domain_alloc(unsigned type)
3639 struct iommu_domain *domain;
3671 static struct iommu_domain *
3673 struct iommu_domain *parent,
3681 struct iommu_domain *domain;
3725 static void intel_iommu_domain_free(struct iommu_domain *domai
[all...]
H A Dsvm.c196 static int intel_svm_set_dev_pasid(struct iommu_domain *domain,
551 static void intel_svm_domain_free(struct iommu_domain *domain)
564 struct iommu_domain *intel_svm_domain_alloc(struct device *dev,
/linux-master/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.c102 static struct arm_smmu_domain *to_smmu_domain(struct iommu_domain *dom)
635 struct iommu_domain *domain = &smmu_domain->domain;
870 static struct iommu_domain *arm_smmu_domain_alloc_paging(struct device *dev)
889 static void arm_smmu_domain_free(struct iommu_domain *domain)
1116 static int arm_smmu_attach_dev(struct iommu_domain *domain, struct device *dev)
1186 static int arm_smmu_attach_dev_identity(struct iommu_domain *domain,
1196 static struct iommu_domain arm_smmu_identity_domain = {
1201 static int arm_smmu_attach_dev_blocked(struct iommu_domain *domain,
1211 static struct iommu_domain arm_smmu_blocked_domain = {
1216 static int arm_smmu_map_pages(struct iommu_domain *domai
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_dev.h198 struct iommu_domain *iommu;
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h323 if (nic->iommu_domain)
324 return iommu_iova_to_phys(nic->iommu_domain, dma_addr);
H A Dnic.h284 void *iommu_domain; member in struct:nicvf
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos_sq.c99 pa = otx2_iova_to_phys(pfvf->iommu_domain, iova);
131 pa = otx2_iova_to_phys(pfvf->iommu_domain, iova);
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h573 struct iommu_domain *iommu_domain; member in struct:dpaa2_eth_priv
836 void *dpaa2_iova_to_virt(struct iommu_domain *domain, dma_addr_t iova_addr);
/linux-master/drivers/gpu/host1x/
H A Ddev.c370 static struct iommu_domain *host1x_iommu_attach(struct host1x *host)
372 struct iommu_domain *domain = iommu_get_domain_for_dev(host->dev);
449 struct iommu_domain *domain;
H A Ddev.h143 struct iommu_domain *domain;
/linux-master/drivers/media/platform/qcom/venus/
H A Dcore.h203 struct iommu_domain *iommu_domain; member in struct:venus_core::video_firmware
/linux-master/drivers/iommu/amd/
H A Diommu.c2398 static struct iommu_domain *do_iommu_domain_alloc(unsigned int type,
2438 static struct iommu_domain *amd_iommu_domain_alloc(unsigned int type)
2440 struct iommu_domain *domain;
2449 static struct iommu_domain *
2451 struct iommu_domain *parent,
2463 void amd_iommu_domain_free(struct iommu_domain *dom)
2482 static int amd_iommu_attach_device(struct iommu_domain *dom,
2525 static int amd_iommu_iotlb_sync_map(struct iommu_domain *dom,
2536 static int amd_iommu_map_pages(struct iommu_domain *dom, unsigned long iova,
2562 static void amd_iommu_iotlb_gather_add_page(struct iommu_domain *domai
[all...]
H A Damd_iommu_types.h523 struct iommu_domain;
578 struct iommu_domain domain; /* generic domain handle used by
/linux-master/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c2206 struct iommu_domain *domain = &smmu_domain->domain;
2240 static struct iommu_domain *arm_smmu_domain_alloc(unsigned type)
2248 static struct iommu_domain *arm_smmu_domain_alloc_paging(struct device *dev)
2279 static void arm_smmu_domain_free(struct iommu_domain *domain)
2543 struct iommu_domain *domain = iommu_get_domain_for_dev(master->dev);
2560 static int arm_smmu_attach_dev(struct iommu_domain *domain, struct device *dev)
2678 static int arm_smmu_attach_dev_identity(struct iommu_domain *domain,
2692 static struct iommu_domain arm_smmu_identity_domain = {
2697 static int arm_smmu_attach_dev_blocked(struct iommu_domain *domain,
2710 static struct iommu_domain arm_smmu_blocked_domai
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Ddrm.h34 struct iommu_domain *domain;
H A Ddrm.c941 struct iommu_domain *domain = iommu_get_domain_for_dev(client->dev);
992 struct iommu_domain *domain;
1089 struct iommu_domain *domain;
/linux-master/drivers/hwtracing/ptt/
H A Dhisi_ptt.c1291 struct iommu_domain *iommu_domain; local
1293 iommu_domain = iommu_get_domain_for_dev(&pdev->dev);
1294 if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY)
/linux-master/arch/powerpc/kernel/
H A Diommu.c1285 spapr_tce_platform_iommu_attach_dev(struct iommu_domain *platform_domain,
1288 struct iommu_domain *domain = iommu_get_domain_for_dev(dev);
1312 static struct iommu_domain spapr_tce_platform_domain = {
1318 spapr_tce_blocked_iommu_attach_dev(struct iommu_domain *platform_domain,
1340 static struct iommu_domain spapr_tce_blocked_domain = {
/linux-master/include/linux/
H A Dremoteproc.h551 struct iommu_domain *domain;
/linux-master/drivers/vfio/
H A Dvfio.h227 struct iommu_domain *(*group_iommu_domain)(void *iommu_data,
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dahb.c962 struct iommu_domain *iommu_dom;
1034 ab_ahb->fw.iommu_domain = iommu_dom;
1058 struct iommu_domain *iommu;
1070 iommu = ab_ahb->fw.iommu_domain;

Completed in 287 milliseconds

12345