Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c47 struct qcom_iommu_ctx;
57 struct qcom_iommu_ctx *ctxs[]; /* indexed by asid-1 */
60 struct qcom_iommu_ctx { struct
94 static struct qcom_iommu_ctx * to_ctx(struct qcom_iommu_domain *d, unsigned asid) in to_ctx()
103 iommu_writel(struct qcom_iommu_ctx *ctx, unsigned reg, u32 val) in iommu_writel()
109 iommu_writeq(struct qcom_iommu_ctx *ctx, unsigned reg, u64 val) in iommu_writeq()
115 iommu_readl(struct qcom_iommu_ctx *ctx, unsigned reg) in iommu_readl()
121 iommu_readq(struct qcom_iommu_ctx *ctx, unsigned reg) in iommu_readq()
133 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_sync()
152 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_inv_context()
[all …]