Searched refs:qsmmu (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu-qcom.c | 47 struct qcom_smmu *qsmmu = to_qcom_smmu(smmu); in qcom_adreno_smmu_write_sctlr() local 55 if (qsmmu->stall_enabled & BIT(idx)) in qcom_adreno_smmu_write_sctlr() 81 struct qcom_smmu *qsmmu = to_qcom_smmu(smmu_domain->smmu); in qcom_adreno_smmu_set_stall() local 84 qsmmu->stall_enabled |= BIT(cfg->cbndx); in qcom_adreno_smmu_set_stall() 86 qsmmu->stall_enabled &= ~BIT(cfg->cbndx); in qcom_adreno_smmu_set_stall() 279 struct qcom_smmu *qsmmu = to_qcom_smmu(smmu); in qcom_smmu_cfg_probe() local 325 qsmmu->bypass_quirk = true; in qcom_smmu_cfg_probe() 326 qsmmu->bypass_cbndx = smmu->num_context_banks - 1; in qcom_smmu_cfg_probe() 328 set_bit(qsmmu->bypass_cbndx, smmu->context_map); in qcom_smmu_cfg_probe() 330 arm_smmu_cb_write(smmu, qsmmu->bypass_cbndx, ARM_SMMU_CB_SCTLR, 0); in qcom_smmu_cfg_probe() [all …]
|
H A D | arm-smmu-qcom-debug.c | 68 struct qcom_smmu *qsmmu = container_of(smmu, struct qcom_smmu, smmu); in qcom_smmu_tlb_sync_debug() local 76 cfg = qsmmu->cfg; in qcom_smmu_tlb_sync_debug() 104 static struct qcom_tbu *qcom_find_tbu(struct qcom_smmu *qsmmu, u32 sid) in qcom_find_tbu() argument 118 if (qsmmu->smmu.dev->of_node == tbu->smmu_np && in qcom_find_tbu() 122 dev_err(qsmmu->smmu.dev, "Unable to find TBU for sid 0x%x\n", sid); in qcom_find_tbu() 267 struct qcom_smmu *qsmmu = to_qcom_smmu(smmu); in qcom_iova_to_phys() local 276 tbu = qcom_find_tbu(qsmmu, sid); in qcom_iova_to_phys()
|