Home
last modified time | relevance | path

Searched refs:cbndx (Results 1 – 3 of 3) sorted by relevance

/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c66 info->fsr = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_FSR); in qcom_adreno_smmu_get_fault_info()
67 info->fsynr0 = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_FSYNR0); in qcom_adreno_smmu_get_fault_info()
68 info->fsynr1 = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_FSYNR1); in qcom_adreno_smmu_get_fault_info()
69 info->far = arm_smmu_cb_readq(smmu, cfg->cbndx, ARM_SMMU_CB_FAR); in qcom_adreno_smmu_get_fault_info()
70 info->cbfrsynra = arm_smmu_gr1_read(smmu, ARM_SMMU_GR1_CBFRSYNRA(cfg->cbndx)); in qcom_adreno_smmu_get_fault_info()
71 info->ttbr0 = arm_smmu_cb_readq(smmu, cfg->cbndx, ARM_SMMU_CB_TTBR0); in qcom_adreno_smmu_get_fault_info()
72 info->contextidr = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_CONTEXTIDR); in qcom_adreno_smmu_get_fault_info()
82 qsmmu->stall_enabled |= BIT(cfg->cbndx); in qcom_adreno_smmu_set_stall()
84 qsmmu->stall_enabled &= ~BIT(cfg->cbndx); in qcom_adreno_smmu_set_stall()
97 arm_smmu_cb_write(smmu, cfg->cbndx, ARM_SMMU_CB_RESUME, reg); in qcom_adreno_smmu_resume_translation()
[all …]
Darm-smmu.c232 __arm_smmu_tlb_sync(smmu, ARM_SMMU_CB(smmu, smmu_domain->cfg.cbndx), in arm_smmu_tlb_sync_context()
245 arm_smmu_cb_write(smmu_domain->smmu, smmu_domain->cfg.cbndx, in arm_smmu_tlb_inv_context_s1()
267 int idx = cfg->cbndx; in arm_smmu_tlb_inv_range_s1()
294 int idx = smmu_domain->cfg.cbndx; in arm_smmu_tlb_inv_range_s2()
398 int idx = smmu_domain->cfg.cbndx; in arm_smmu_context_fault()
458 struct arm_smmu_cb *cb = &smmu_domain->smmu->cbs[cfg->cbndx]; in arm_smmu_init_context_bank()
735 cfg->cbndx = ret; in arm_smmu_init_domain_context()
740 cfg->irptndx = cfg->cbndx; in arm_smmu_init_domain_context()
744 cfg->vmid = cfg->cbndx + 1; in arm_smmu_init_domain_context()
746 cfg->asid = cfg->cbndx; in arm_smmu_init_domain_context()
[all …]
Darm-smmu.h267 u8 cbndx; member
341 u8 cbndx; member