Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/iommu/
Dtegra-smmu.c53 struct tegra_smmu *smmu; member
68 static inline void smmu_writel(struct tegra_smmu *smmu, u32 value, in smmu_writel() argument
71 writel(value, smmu->regs + offset); in smmu_writel()
74 static inline u32 smmu_readl(struct tegra_smmu *smmu, unsigned long offset) in smmu_readl() argument
76 return readl(smmu->regs + offset); in smmu_readl()
85 #define SMMU_TLB_CONFIG_ACTIVE_LINES(smmu) \ argument
86 ((smmu)->soc->num_tlb_lines & (smmu)->tlb_mask)
162 static bool smmu_dma_addr_valid(struct tegra_smmu *smmu, dma_addr_t addr) in smmu_dma_addr_valid() argument
165 return (addr & smmu->pfn_mask) == addr; in smmu_dma_addr_valid()
173 static void smmu_flush_ptc_all(struct tegra_smmu *smmu) in smmu_flush_ptc_all() argument
[all …]
Darm-smmu.c72 #define ARM_SMMU_GR0(smmu) ((smmu)->base) argument
73 #define ARM_SMMU_GR1(smmu) ((smmu)->base + (1 << (smmu)->pgshift)) argument
80 #define ARM_SMMU_GR0_NS(smmu) \ argument
81 ((smmu)->base + \
82 ((smmu->options & ARM_SMMU_OPT_SECURE_CFG_ACCESS) \
97 #define ARM_SMMU_CB(smmu, n) ((smmu)->cb_base + ((n) << (smmu)->pgshift)) argument
149 struct arm_smmu_device *smmu; member
154 #define fwspec_smmu(fw) (__fwspec_cfg(fw)->smmu)
244 struct arm_smmu_device *smmu; member
273 static void parse_driver_options(struct arm_smmu_device *smmu) in parse_driver_options() argument
[all …]
Darm-smmu-v3.c597 struct arm_smmu_device *smmu; member
610 struct arm_smmu_device *smmu; member
636 struct arm_smmu_device *smmu) in arm_smmu_page1_fixup() argument
639 (smmu->options & ARM_SMMU_OPT_PAGE0_REGS_ONLY)) in arm_smmu_page1_fixup()
642 return smmu->base + offset; in arm_smmu_page1_fixup()
650 static void parse_driver_options(struct arm_smmu_device *smmu) in parse_driver_options() argument
655 if (of_property_read_bool(smmu->dev->of_node, in parse_driver_options()
657 smmu->options |= arm_smmu_options[i].opt; in parse_driver_options()
658 dev_notice(smmu->dev, "option %s\n", in parse_driver_options()
850 static void arm_smmu_cmdq_skip_err(struct arm_smmu_device *smmu) in arm_smmu_cmdq_skip_err() argument
[all …]
DMakefile16 obj-$(CONFIG_ARM_SMMU) += arm-smmu.o
17 obj-$(CONFIG_ARM_SMMU_V3) += arm-smmu-v3.o
29 obj-$(CONFIG_TEGRA_IOMMU_SMMU) += tegra-smmu.o
/Linux-v4.19/drivers/memory/tegra/
Dtegra210.c22 .smmu = {
36 .smmu = {
50 .smmu = {
64 .smmu = {
78 .smmu = {
92 .smmu = {
106 .smmu = {
120 .smmu = {
134 .smmu = {
148 .smmu = {
[all …]
Dtegra30.c25 .smmu = {
39 .smmu = {
53 .smmu = {
67 .smmu = {
81 .smmu = {
95 .smmu = {
109 .smmu = {
123 .smmu = {
137 .smmu = {
151 .smmu = {
[all …]
Dtegra114.c25 .smmu = {
39 .smmu = {
53 .smmu = {
67 .smmu = {
81 .smmu = {
95 .smmu = {
109 .smmu = {
123 .smmu = {
137 .smmu = {
151 .smmu = {
[all …]
Dtegra124.c67 .smmu = {
81 .smmu = {
95 .smmu = {
109 .smmu = {
123 .smmu = {
137 .smmu = {
151 .smmu = {
165 .smmu = {
179 .smmu = {
193 .smmu = {
[all …]
Dmc.c699 mc->smmu = tegra_smmu_probe(&pdev->dev, mc->soc->smmu, mc); in tegra_mc_probe()
700 if (IS_ERR(mc->smmu)) in tegra_mc_probe()
702 PTR_ERR(mc->smmu)); in tegra_mc_probe()
/Linux-v4.19/drivers/acpi/arm64/
Diort.c370 struct acpi_iort_smmu_v3 *smmu; in iort_get_id_mapping_index() local
381 smmu = (struct acpi_iort_smmu_v3 *)node->node_data; in iort_get_id_mapping_index()
386 if (smmu->event_gsiv && smmu->pri_gsiv && smmu->gerr_gsiv in iort_get_id_mapping_index()
387 && smmu->sync_gsiv) in iort_get_id_mapping_index()
390 if (smmu->id_mapping_index >= node->mapping_count) { in iort_get_id_mapping_index()
396 return smmu->id_mapping_index; in iort_get_id_mapping_index()
787 struct acpi_iort_smmu_v3 *smmu; in iort_get_msi_resv_iommu() local
789 smmu = (struct acpi_iort_smmu_v3 *)iommu->node_data; in iort_get_msi_resv_iommu()
790 if (smmu->model == ACPI_IORT_SMMU_V3_HISILICON_HI161X) in iort_get_msi_resv_iommu()
1123 struct acpi_iort_smmu_v3 *smmu; in arm_smmu_v3_count_resources() local
[all …]
/Linux-v4.19/include/soc/tegra/
Dmc.h45 struct tegra_smmu_enable smmu; member
85 void tegra_smmu_remove(struct tegra_smmu *smmu);
94 static inline void tegra_smmu_remove(struct tegra_smmu *smmu) in tegra_smmu_remove() argument
135 const struct tegra_smmu_soc *smmu; member
146 struct tegra_smmu *smmu; member
/Linux-v4.19/Documentation/devicetree/bindings/iommu/
Dnvidia,tegra30-smmu.txt4 - compatible : "nvidia,tegra30-smmu"
13 smmu {
14 compatible = "nvidia,tegra30-smmu";
Darm,smmu.txt14 "arm,smmu-v1"
15 "arm,smmu-v2"
19 "cavium,smmu-v2"
57 - calxeda,smmu-secure-config-access : Enable proper handling of buggy
88 compatible = "arm,smmu-v1";
127 compatible = "arm,mmu-500", "arm,smmu-v2";
Darm,smmu-v3.txt12 * "arm,smmu-v3" for any SMMUv3 compliant
66 smmu@2b400000 {
67 compatible = "arm,smmu-v3";
Dqcom,iommu.txt3 Qualcomm "B" family devices which are not compatible with arm-smmu have
/Linux-v4.19/Documentation/devicetree/bindings/crypto/
Dhisilicon,hip07-sec.txt22 - iommus: The SEC units are behind smmu-v3 iommus.
23 Refer to iommu/arm,smmu-v3.txt for more information.
/Linux-v4.19/arch/arm64/boot/dts/amd/
Damd-seattle-xgbe-b.dtsi88 xgmac0_smmu: smmu@e0600000 {
104 xgmac1_smmu: smmu@e0800000 {
/Linux-v4.19/arch/arm64/boot/dts/arm/
Djuno-base.dtsi39 compatible = "arm,mmu-401", "arm,smmu-v1";
50 compatible = "arm,mmu-401", "arm,smmu-v1";
606 compatible = "arm,mmu-401", "arm,smmu-v1";
617 compatible = "arm,mmu-401", "arm,smmu-v1";
626 compatible = "arm,mmu-401", "arm,smmu-v1";
635 compatible = "arm,mmu-401", "arm,smmu-v1";
/Linux-v4.19/arch/arm64/boot/dts/hisilicon/
Dhip07.dtsi1163 * systems. Hence please make sure that the smmu pcie node on
1169 compatible = "arm,smmu-v3";
1173 smmu-cb-memtype = <0x0 0x1>;
1178 compatible = "arm,smmu-v3";
1188 /* smmu-cb-memtype = <0x0 0x1>;*/
1191 compatible = "arm,smmu-v3";
1201 /* smmu-cb-memtype = <0x0 0x1>;*/
1204 compatible = "arm,smmu-v3";
1214 /* smmu-cb-memtype = <0x0 0x1>;*/
1217 compatible = "arm,smmu-v3";
[all …]
Dhip06.dtsi332 * systems. Hence please make sure that the smmu pcie node on
338 compatible = "arm,smmu-v3";
342 smmu-cb-memtype = <0x0 0x1>;
/Linux-v4.19/arch/arm64/boot/dts/broadcom/stingray/
Dstingray.dtsi185 smmu: mmu@3000000 { label
570 iommus = <&smmu 0x6000 0x0000>;
601 iommus = <&smmu 0x6002 0x0000>;
611 iommus = <&smmu 0x6003 0x0000>;
/Linux-v4.19/arch/arm64/boot/dts/nvidia/
Dtegra186.dtsi460 smmu: iommu@12000000 { label
549 iommus = <&smmu TEGRA186_SID_HOST1X>;
619 iommus = <&smmu TEGRA186_SID_NVDISPLAY>;
635 iommus = <&smmu TEGRA186_SID_NVDISPLAY>;
651 iommus = <&smmu TEGRA186_SID_NVDISPLAY>;
/Linux-v4.19/Documentation/devicetree/bindings/gpu/
Dnvidia,gk20a.txt89 iommus = <&smmu TEGRA186_SID_GPU>;
/Linux-v4.19/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi505 smmu: smmu@fd800000 { label
/Linux-v4.19/arch/arm64/boot/dts/broadcom/northstar2/
Dns2.dtsi298 smmu: mmu@64000000 { label

12