Home
last modified time | relevance | path

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

/drivers/iommu/arm/arm-smmu/
Darm-smmu.h277 struct arm_smmu_device { struct
368 struct arm_smmu_device *smmu;
380 struct arm_smmu_device *smmu;
425 u32 (*read_reg)(struct arm_smmu_device *smmu, int page, int offset);
426 void (*write_reg)(struct arm_smmu_device *smmu, int page, int offset,
428 u64 (*read_reg64)(struct arm_smmu_device *smmu, int page, int offset);
429 void (*write_reg64)(struct arm_smmu_device *smmu, int page, int offset,
431 int (*cfg_probe)(struct arm_smmu_device *smmu);
432 int (*reset)(struct arm_smmu_device *smmu);
435 void (*tlb_sync)(struct arm_smmu_device *smmu, int page, int sync,
[all …]
Darm-smmu-impl.c28 static u32 arm_smmu_read_ns(struct arm_smmu_device *smmu, int page, in arm_smmu_read_ns()
36 static void arm_smmu_write_ns(struct arm_smmu_device *smmu, int page, in arm_smmu_write_ns()
52 struct arm_smmu_device smmu;
56 static int cavium_cfg_probe(struct arm_smmu_device *smmu) in cavium_cfg_probe()
90 static struct arm_smmu_device *cavium_smmu_impl_init(struct arm_smmu_device *smmu) in cavium_smmu_impl_init()
110 int arm_mmu500_reset(struct arm_smmu_device *smmu) in arm_mmu500_reset()
148 static u64 mrvl_mmu500_readq(struct arm_smmu_device *smmu, int page, int off) in mrvl_mmu500_readq()
157 static void mrvl_mmu500_writeq(struct arm_smmu_device *smmu, int page, int off, in mrvl_mmu500_writeq()
167 static int mrvl_mmu500_cfg_probe(struct arm_smmu_device *smmu) in mrvl_mmu500_cfg_probe()
191 struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu) in arm_smmu_impl_init()
Darm-smmu-nvidia.c35 struct arm_smmu_device smmu;
41 static inline struct nvidia_smmu *to_nvidia_smmu(struct arm_smmu_device *smmu) in to_nvidia_smmu()
46 static inline void __iomem *nvidia_smmu_page(struct arm_smmu_device *smmu, in nvidia_smmu_page()
55 static u32 nvidia_smmu_read_reg(struct arm_smmu_device *smmu, in nvidia_smmu_read_reg()
63 static void nvidia_smmu_write_reg(struct arm_smmu_device *smmu, in nvidia_smmu_write_reg()
76 static u64 nvidia_smmu_read_reg64(struct arm_smmu_device *smmu, in nvidia_smmu_read_reg64()
84 static void nvidia_smmu_write_reg64(struct arm_smmu_device *smmu, in nvidia_smmu_write_reg64()
97 static void nvidia_smmu_tlb_sync(struct arm_smmu_device *smmu, int page, in nvidia_smmu_tlb_sync()
132 static int nvidia_smmu_reset(struct arm_smmu_device *smmu) in nvidia_smmu_reset()
151 struct arm_smmu_device *smmu, in nvidia_smmu_global_fault_inst()
[all …]
Darm-smmu-qcom.c17 static struct qcom_smmu *to_qcom_smmu(struct arm_smmu_device *smmu) in to_qcom_smmu()
22 static void qcom_smmu_tlb_sync(struct arm_smmu_device *smmu, int page, in qcom_smmu_tlb_sync()
42 static void qcom_adreno_smmu_write_sctlr(struct arm_smmu_device *smmu, int idx, in qcom_adreno_smmu_write_sctlr()
64 struct arm_smmu_device *smmu = smmu_domain->smmu; in qcom_adreno_smmu_get_fault_info()
91 struct arm_smmu_device *smmu = smmu_domain->smmu; in qcom_adreno_smmu_resume_translation()
178 struct arm_smmu_device *smmu, in qcom_adreno_smmu_alloc_context_bank()
198 static bool qcom_adreno_can_do_ttbr1(struct arm_smmu_device *smmu) in qcom_adreno_can_do_ttbr1()
268 static int qcom_smmu_cfg_probe(struct arm_smmu_device *smmu) in qcom_smmu_cfg_probe()
318 static void qcom_smmu_write_s2cr(struct arm_smmu_device *smmu, int idx) in qcom_smmu_write_s2cr()
361 static int qcom_sdm845_smmu500_reset(struct arm_smmu_device *smmu) in qcom_sdm845_smmu500_reset()
[all …]
Darm-smmu-qcom.h10 struct arm_smmu_device smmu;
18 void qcom_smmu_tlb_sync_debug(struct arm_smmu_device *smmu);
19 const void *qcom_smmu_impl_data(struct arm_smmu_device *smmu);
21 static inline void qcom_smmu_tlb_sync_debug(struct arm_smmu_device *smmu) { } in qcom_smmu_tlb_sync_debug()
22 static inline const void *qcom_smmu_impl_data(struct arm_smmu_device *smmu) in qcom_smmu_impl_data()
Darm-smmu.c72 static inline int arm_smmu_rpm_get(struct arm_smmu_device *smmu) in arm_smmu_rpm_get()
80 static inline void arm_smmu_rpm_put(struct arm_smmu_device *smmu) in arm_smmu_rpm_put()
131 struct arm_smmu_device **smmu) in arm_smmu_register_legacy_master()
182 struct arm_smmu_device **smmu) in arm_smmu_register_legacy_master()
194 static void __arm_smmu_tlb_sync(struct arm_smmu_device *smmu, int page, in __arm_smmu_tlb_sync()
217 static void arm_smmu_tlb_sync_global(struct arm_smmu_device *smmu) in arm_smmu_tlb_sync_global()
229 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_tlb_sync_context()
254 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_tlb_inv_context_s2()
266 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_tlb_inv_range_s1()
294 struct arm_smmu_device *smmu = smmu_domain->smmu; in arm_smmu_tlb_inv_range_s2()
[all …]
Darm-smmu-qcom-debug.c23 void qcom_smmu_tlb_sync_debug(struct arm_smmu_device *smmu) in qcom_smmu_tlb_sync_debug()
132 const void *qcom_smmu_impl_data(struct arm_smmu_device *smmu) in qcom_smmu_impl_data()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c89 static void parse_driver_options(struct arm_smmu_device *smmu) in parse_driver_options()
180 static void queue_poll_init(struct arm_smmu_device *smmu, in queue_poll_init()
336 static struct arm_smmu_cmdq *arm_smmu_get_cmdq(struct arm_smmu_device *smmu) in arm_smmu_get_cmdq()
341 static void arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu, in arm_smmu_cmdq_build_sync_cmd()
360 static void __arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_skip_err()
415 static void arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu) in arm_smmu_cmdq_skip_err()
581 static int arm_smmu_cmdq_poll_until_not_full(struct arm_smmu_device *smmu, in arm_smmu_cmdq_poll_until_not_full()
616 static int __arm_smmu_cmdq_poll_until_msi(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_poll_until_msi()
640 static int __arm_smmu_cmdq_poll_until_consumed(struct arm_smmu_device *smmu, in __arm_smmu_cmdq_poll_until_consumed()
690 static int arm_smmu_cmdq_poll_until_sync(struct arm_smmu_device *smmu, in arm_smmu_cmdq_poll_until_sync()
[all …]
Darm-smmu-v3.h624 struct arm_smmu_device { struct
695 struct arm_smmu_device *smmu; argument
718 struct arm_smmu_device *smmu;
750 void arm_smmu_tlb_inv_asid(struct arm_smmu_device *smmu, u16 asid);
759 bool arm_smmu_sva_supported(struct arm_smmu_device *smmu);
770 static inline bool arm_smmu_sva_supported(struct arm_smmu_device *smmu) in arm_smmu_sva_supported()
Darm-smmu-v3-sva.c50 struct arm_smmu_device *smmu; in arm_smmu_share_asid()
386 bool arm_smmu_sva_supported(struct arm_smmu_device *smmu) in arm_smmu_sva_supported()