Lines Matching full:smmu
9 #include "arm-smmu.h"
12 struct arm_smmu_device smmu; member
34 static int qcom_sdm845_smmu500_reset(struct arm_smmu_device *smmu) in qcom_sdm845_smmu500_reset() argument
46 dev_warn(smmu->dev, "Failed to turn off SAFE logic\n"); in qcom_sdm845_smmu500_reset()
51 static int qcom_smmu500_reset(struct arm_smmu_device *smmu) in qcom_smmu500_reset() argument
53 const struct device_node *np = smmu->dev->of_node; in qcom_smmu500_reset()
55 arm_mmu500_reset(smmu); in qcom_smmu500_reset()
57 if (of_device_is_compatible(np, "qcom,sdm845-smmu-500")) in qcom_smmu500_reset()
58 return qcom_sdm845_smmu500_reset(smmu); in qcom_smmu500_reset()
68 struct arm_smmu_device *qcom_smmu_impl_init(struct arm_smmu_device *smmu) in qcom_smmu_impl_init() argument
76 qsmmu = devm_kzalloc(smmu->dev, sizeof(*qsmmu), GFP_KERNEL); in qcom_smmu_impl_init()
80 qsmmu->smmu = *smmu; in qcom_smmu_impl_init()
82 qsmmu->smmu.impl = &qcom_smmu_impl; in qcom_smmu_impl_init()
83 devm_kfree(smmu->dev, smmu); in qcom_smmu_impl_init()
85 return &qsmmu->smmu; in qcom_smmu_impl_init()