Home
last modified time | relevance | path

Searched refs:smmu (Results 1 – 25 of 85) sorted by relevance

1234

/linux/drivers/iommu/arm/arm-smmu/
A Darm-smmu.c647 smmu_domain->smmu = smmu; in arm_smmu_init_domain_context()
751 smmu_domain->smmu = smmu; in arm_smmu_init_domain_context()
1154 smmu = cfg->smmu; in arm_smmu_attach_dev()
1169 if (smmu_domain->smmu != smmu) { in arm_smmu_attach_dev()
1405 cfg->smmu = smmu; in arm_smmu_probe_device()
1443 smmu = cfg->smmu; in arm_smmu_release_device()
1464 smmu = cfg->smmu; in arm_smmu_probe_finalize()
1662 smmu->impl->reset(smmu); in arm_smmu_device_reset()
1767 smmu->smrs = devm_kcalloc(smmu->dev, size, sizeof(*smmu->smrs), in arm_smmu_device_cfg_probe()
1815 smmu->cbs = devm_kcalloc(smmu->dev, smmu->num_context_banks, in arm_smmu_device_cfg_probe()
[all …]
A Darm-smmu-impl.c52 struct arm_smmu_device smmu; member
59 struct cavium_smmu *cs = container_of(smmu, struct cavium_smmu, smmu); in cavium_cfg_probe()
94 cs = devm_krealloc(smmu->dev, smmu, sizeof(*cs), GFP_KERNEL); in cavium_smmu_impl_init()
98 cs->smmu.impl = &cavium_impl; in cavium_smmu_impl_init()
100 return &cs->smmu; in cavium_smmu_impl_init()
200 switch (smmu->model) { in arm_smmu_impl_init()
202 smmu->impl = &arm_mmu500_impl; in arm_smmu_impl_init()
212 smmu->impl = &calxeda_impl; in arm_smmu_impl_init()
219 smmu = qcom_smmu_impl_init(smmu); in arm_smmu_impl_init()
222 smmu->impl = &mrvl_mmu500_impl; in arm_smmu_impl_init()
[all …]
A Darm-smmu-qcom.c14 struct arm_smmu_device smmu; member
22 return container_of(smmu, struct qcom_smmu, smmu); in to_qcom_smmu()
47 struct arm_smmu_device *smmu = smmu_domain->smmu; in qcom_adreno_smmu_get_fault_info() local
74 struct arm_smmu_device *smmu = smmu_domain->smmu; in qcom_adreno_smmu_resume_translation() local
288 smmu->smrs[i].valid = true; in qcom_smmu_cfg_probe()
292 smmu->s2crs[i].cbndx = 0xff; in qcom_smmu_cfg_probe()
363 arm_mmu500_reset(smmu); in qcom_smmu500_reset()
396 qsmmu = devm_krealloc(smmu->dev, smmu, sizeof(*qsmmu), GFP_KERNEL); in qcom_smmu_create()
400 qsmmu->smmu.impl = impl; in qcom_smmu_create()
402 return &qsmmu->smmu; in qcom_smmu_create()
[all …]
A Darm-smmu-nvidia.c35 struct arm_smmu_device smmu; member
43 return container_of(smmu, struct nvidia_smmu, smmu); in to_nvidia_smmu()
51 nvidia_smmu = container_of(smmu, struct nvidia_smmu, smmu); in nvidia_smmu_page()
128 dev_err_ratelimited(smmu->dev, in nvidia_smmu_tlb_sync()
165 dev_err_ratelimited(smmu->dev, in nvidia_smmu_global_fault_inst()
167 dev_err_ratelimited(smmu->dev, in nvidia_smmu_global_fault_inst()
200 void __iomem *cb_base = nvidia_smmu_page(smmu, inst, smmu->numpage + idx); in nvidia_smmu_context_fault_bank()
210 dev_err_ratelimited(smmu->dev, in nvidia_smmu_context_fault_bank()
223 struct arm_smmu_device *smmu; in nvidia_smmu_context_fault() local
229 smmu = smmu_domain->smmu; in nvidia_smmu_context_fault()
[all …]
A Darm-smmu.h368 struct arm_smmu_device *smmu; member
380 struct arm_smmu_device *smmu; member
469 return smmu->base + (n << smmu->pgshift); in arm_smmu_page()
474 if (smmu->impl && unlikely(smmu->impl->read_reg)) in arm_smmu_readl()
475 return smmu->impl->read_reg(smmu, page, offset); in arm_smmu_readl()
482 if (smmu->impl && unlikely(smmu->impl->write_reg)) in arm_smmu_writel()
483 smmu->impl->write_reg(smmu, page, offset, val); in arm_smmu_writel()
490 if (smmu->impl && unlikely(smmu->impl->read_reg64)) in arm_smmu_readq()
491 return smmu->impl->read_reg64(smmu, page, offset); in arm_smmu_readq()
498 if (smmu->impl && unlikely(smmu->impl->write_reg64)) in arm_smmu_writeq()
[all …]
A D.built-in.a.cmd1smmu/built-in.a := echo >/dev/null; rm -f drivers/iommu/arm/arm-smmu/built-in.a; /usr/bin/ccache /…
A Dbuilt-in.a4 arm-smmu.o/
5 arm-smmu-impl.o/
6 arm-smmu-nvidia.o/
7 arm-smmu-qcom.o/
A DMakefile4 arm_smmu-objs += arm-smmu.o arm-smmu-impl.o arm-smmu-nvidia.o
5 arm_smmu-$(CONFIG_ARM_SMMU_QCOM) += arm-smmu-qcom.o
/linux/drivers/iommu/
A Dtegra-smmu.c88 ((smmu)->soc->num_tlb_lines & (smmu)->tlb_mask)
451 as->smmu = smmu; in tegra_smmu_as_prepare()
523 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_detach_dev() local
539 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_pde() local
567 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_pte_lookup() local
585 struct tegra_smmu *smmu = as->smmu; in as_get_pte() local
636 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_pte_put_use() local
651 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_pte() local
888 struct tegra_smmu *smmu = group->smmu; in tegra_smmu_group_release() local
925 group->smmu = smmu; in tegra_smmu_device_group()
[all …]
A Dbuilt-in.a3 arm/arm-smmu/qcom_iommu.o/
4 arm/arm-smmu/arm-smmu.o/
5 arm/arm-smmu/arm-smmu-impl.o/
6 arm/arm-smmu/arm-smmu-nvidia.o/
7 arm/arm-smmu/arm-smmu-qcom.o/
8 arm/arm-smmu-v3/arm-smmu-v3.o/
20 tegra-smmu.o/
/linux/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c1275 smmu = master->smmu; in arm_smmu_write_strtab_ent()
2398 smmu = master->smmu; in arm_smmu_attach_dev()
2415 smmu_domain->smmu = smmu; in arm_smmu_attach_dev()
2421 } else if (smmu_domain->smmu != smmu) { in arm_smmu_attach_dev()
2653 master->smmu = smmu; in arm_smmu_probe_device()
2947 ret = arm_smmu_init_one_queue(smmu, &smmu->cmdq.q, smmu->base, in arm_smmu_init_queues()
2958 ret = arm_smmu_init_one_queue(smmu, &smmu->evtq.q, smmu->page1, in arm_smmu_init_queues()
2975 return arm_smmu_init_one_queue(smmu, &smmu->priq.q, smmu->page1, in arm_smmu_init_queues()
3641 smmu->ias = max(smmu->ias, smmu->oas); in arm_smmu_device_hw_probe()
3647 smmu->ias, smmu->oas, smmu->features); in arm_smmu_device_hw_probe()
[all …]
A Darm-smmu-v3-sva.c49 struct arm_smmu_device *smmu; in arm_smmu_share_asid() local
65 smmu = smmu_domain->smmu; in arm_smmu_share_asid()
85 arm_smmu_tlb_inv_asid(smmu, asid); in arm_smmu_share_asid()
188 if (!(smmu_domain->smmu->features & ARM_SMMU_FEAT_BTM)) in arm_smmu_mm_invalidate_range()
298 arm_smmu_tlb_inv_asid(smmu_domain->smmu, cd->asid); in arm_smmu_mmu_notifier_put()
403 if ((smmu->features & feat_mask) != feat_mask) in arm_smmu_sva_supported()
406 if (!(smmu->pgsize_bitmap & PAGE_SIZE)) in arm_smmu_sva_supported()
417 if (smmu->oas < oas) in arm_smmu_sva_supported()
423 if (smmu->asid_bits < asid_bits) in arm_smmu_sva_supported()
449 if (!(master->smmu->features & ARM_SMMU_FEAT_SVA)) in arm_smmu_master_sva_supported()
[all …]
A D.built-in.a.cmd1smmu-v3/built-in.a := echo >/dev/null; rm -f drivers/iommu/arm/arm-smmu-v3/built-in.a; /usr/bin/cc…
/linux/drivers/memory/tegra/
A Dtegra210.c20 .smmu = {
36 .smmu = {
52 .smmu = {
68 .smmu = {
84 .smmu = {
100 .smmu = {
116 .smmu = {
132 .smmu = {
148 .smmu = {
164 .smmu = {
[all …]
A Dtegra114.c31 .smmu = {
47 .smmu = {
63 .smmu = {
79 .smmu = {
95 .smmu = {
111 .smmu = {
127 .smmu = {
143 .smmu = {
159 .smmu = {
175 .smmu = {
[all …]
A Dtegra124.c32 .smmu = {
48 .smmu = {
64 .smmu = {
80 .smmu = {
96 .smmu = {
112 .smmu = {
128 .smmu = {
144 .smmu = {
160 .smmu = {
176 .smmu = {
[all …]
A Dtegra30.c54 .smmu = {
71 .smmu = {
88 .smmu = {
105 .smmu = {
122 .smmu = {
139 .smmu = {
156 .smmu = {
173 .smmu = {
190 .smmu = {
207 .smmu = {
[all …]
/linux/Documentation/devicetree/bindings/iommu/
A Darm,smmu.yaml29 - qcom,msm8996-smmu-v2
30 - qcom,msm8998-smmu-v2
31 - const: qcom,smmu-v2
52 - const: qcom,smmu-v2
68 - const: arm,smmu-v2
73 - const: arm,smmu-v1
75 - arm,smmu-v1
76 - arm,smmu-v2
80 - cavium,smmu-v2
151 smmu ptw
[all …]
/linux/drivers/iommu/arm/
A Dbuilt-in.a3 arm-smmu/qcom_iommu.o/
4 arm-smmu/arm-smmu.o/
5 arm-smmu/arm-smmu-impl.o/
6 arm-smmu/arm-smmu-nvidia.o/
7 arm-smmu/arm-smmu-qcom.o/
8 arm-smmu-v3/arm-smmu-v3.o/
/linux/drivers/acpi/arm64/
A Diort.c424 if (smmu->event_gsiv && smmu->pri_gsiv && smmu->gerr_gsiv in iort_get_id_mapping_index()
1133 if (smmu->event_gsiv) in arm_smmu_v3_count_resources()
1136 if (smmu->pri_gsiv) in arm_smmu_v3_count_resources()
1139 if (smmu->gerr_gsiv) in arm_smmu_v3_count_resources()
1142 if (smmu->sync_gsiv) in arm_smmu_v3_count_resources()
1161 return smmu->event_gsiv == smmu->pri_gsiv && in arm_smmu_v3_is_combined_irq()
1162 smmu->event_gsiv == smmu->gerr_gsiv && in arm_smmu_v3_is_combined_irq()
1163 smmu->event_gsiv == smmu->sync_gsiv; in arm_smmu_v3_is_combined_irq()
1205 if (smmu->pri_gsiv) in arm_smmu_v3_init_resources()
1260 smmu->pxm); in arm_smmu_v3_set_proximity()
[all …]
/linux/arch/arm64/boot/dts/marvell/
A Darmada-8040.dtsi20 <0x0 &smmu 0x480 0x20>,
21 <0x100 &smmu 0x4a0 0x20>,
22 <0x200 &smmu 0x4c0 0x20>;
36 iommus = <&smmu 0x444>;
40 iommus = <&smmu 0x445>;
44 iommus = <&smmu 0x440>;
48 iommus = <&smmu 0x441>;
52 iommus = <&smmu 0x454>;
56 iommus = <&smmu 0x450>;
60 iommus = <&smmu 0x451>;
A Darmada-7040.dtsi20 <0x0 &smmu 0x480 0x20>,
21 <0x100 &smmu 0x4a0 0x20>,
22 <0x200 &smmu 0x4c0 0x20>;
27 iommus = <&smmu 0x444>;
31 iommus = <&smmu 0x445>;
35 iommus = <&smmu 0x440>;
39 iommus = <&smmu 0x441>;
/linux/Documentation/devicetree/bindings/display/
A Darm,komeda.txt15 devicetree/bindings/iommu/arm,smmu-v3.txt,
49 iommus = <&smmu 0>, <&smmu 1>, <&smmu 2>, <&smmu 3>,
50 <&smmu 4>, <&smmu 5>, <&smmu 6>, <&smmu 7>,
51 <&smmu 8>, <&smmu 9>;
/linux/arch/arm64/boot/dts/xilinx/
A Dzynqmp.dtsi266 iommus = <&smmu 0x14e8>;
279 iommus = <&smmu 0x14e9>;
387 iommus = <&smmu 0x868>;
400 iommus = <&smmu 0x869>;
413 iommus = <&smmu 0x86a>;
426 iommus = <&smmu 0x86b>;
439 iommus = <&smmu 0x86c>;
452 iommus = <&smmu 0x86d>;
678 iommus = <&smmu 0x4c0>, <&smmu 0x4c1>,
679 <&smmu 0x4c2>, <&smmu 0x4c3>;
[all …]
/linux/include/soc/tegra/
A Dmc.h47 } smmu; member
102 void tegra_smmu_remove(struct tegra_smmu *smmu);
111 static inline void tegra_smmu_remove(struct tegra_smmu *smmu) in tegra_smmu_remove() argument
198 const struct tegra_smmu_soc *smmu; member
212 struct tegra_smmu *smmu; member

Completed in 71 milliseconds

1234