Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 *ct in qcom_iommu_tlb_inv_context()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c44 struct qcom_iommu_ctx;
54 struct qcom_iommu_ctx *ctxs[]; /* indexed by asid */
57 struct qcom_iommu_ctx { struct
92 static struct qcom_iommu_ctx * to_ctx(struct qcom_iommu_domain *d, unsigned asid) in to_ctx()
101 iommu_writel(struct qcom_iommu_ctx *ctx, unsigned reg, u32 val) in iommu_writel()
107 iommu_writeq(struct qcom_iommu_ctx *ctx, unsigned reg, u64 val) in iommu_writeq()
113 iommu_readl(struct qcom_iommu_ctx *ctx, unsigned reg) in iommu_readl()
119 iommu_readq(struct qcom_iommu_ctx *ctx, unsigned reg) in iommu_readq()
131 struct qcom_iommu_ctx *ctx = to_ctx(qcom_domain, fwspec->ids[i]); in qcom_iommu_tlb_sync()
150 struct qcom_iommu_ctx *ct in qcom_iommu_tlb_inv_context()
[all...]

Completed in 2 milliseconds