/Linux-v4.19/drivers/iommu/ |
D | tegra-smmu.c | 53 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 …]
|
D | arm-smmu.c | 72 #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 …]
|
D | arm-smmu-v3.c | 597 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 …]
|
D | Makefile | 16 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/ |
D | tegra210.c | 22 .smmu = { 36 .smmu = { 50 .smmu = { 64 .smmu = { 78 .smmu = { 92 .smmu = { 106 .smmu = { 120 .smmu = { 134 .smmu = { 148 .smmu = { [all …]
|
D | tegra30.c | 25 .smmu = { 39 .smmu = { 53 .smmu = { 67 .smmu = { 81 .smmu = { 95 .smmu = { 109 .smmu = { 123 .smmu = { 137 .smmu = { 151 .smmu = { [all …]
|
D | tegra114.c | 25 .smmu = { 39 .smmu = { 53 .smmu = { 67 .smmu = { 81 .smmu = { 95 .smmu = { 109 .smmu = { 123 .smmu = { 137 .smmu = { 151 .smmu = { [all …]
|
D | tegra124.c | 67 .smmu = { 81 .smmu = { 95 .smmu = { 109 .smmu = { 123 .smmu = { 137 .smmu = { 151 .smmu = { 165 .smmu = { 179 .smmu = { 193 .smmu = { [all …]
|
D | mc.c | 699 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/ |
D | iort.c | 370 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/ |
D | mc.h | 45 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/ |
D | nvidia,tegra30-smmu.txt | 4 - compatible : "nvidia,tegra30-smmu" 13 smmu { 14 compatible = "nvidia,tegra30-smmu";
|
D | arm,smmu.txt | 14 "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";
|
D | arm,smmu-v3.txt | 12 * "arm,smmu-v3" for any SMMUv3 compliant 66 smmu@2b400000 { 67 compatible = "arm,smmu-v3";
|
D | qcom,iommu.txt | 3 Qualcomm "B" family devices which are not compatible with arm-smmu have
|
/Linux-v4.19/Documentation/devicetree/bindings/crypto/ |
D | hisilicon,hip07-sec.txt | 22 - 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/ |
D | amd-seattle-xgbe-b.dtsi | 88 xgmac0_smmu: smmu@e0600000 { 104 xgmac1_smmu: smmu@e0800000 {
|
/Linux-v4.19/arch/arm64/boot/dts/arm/ |
D | juno-base.dtsi | 39 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/ |
D | hip07.dtsi | 1163 * 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 …]
|
D | hip06.dtsi | 332 * 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/ |
D | stingray.dtsi | 185 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/ |
D | tegra186.dtsi | 460 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/ |
D | nvidia,gk20a.txt | 89 iommus = <&smmu TEGRA186_SID_GPU>;
|
/Linux-v4.19/arch/arm64/boot/dts/xilinx/ |
D | zynqmp.dtsi | 505 smmu: smmu@fd800000 { label
|
/Linux-v4.19/arch/arm64/boot/dts/broadcom/northstar2/ |
D | ns2.dtsi | 298 smmu: mmu@64000000 { label
|