Lines Matching refs:cbndx
251 __arm_smmu_tlb_sync(smmu, ARM_SMMU_CB(smmu, smmu_domain->cfg.cbndx),
264 arm_smmu_cb_write(smmu_domain->smmu, smmu_domain->cfg.cbndx,
286 int idx = cfg->cbndx;
313 int idx = smmu_domain->cfg.cbndx;
429 int idx = smmu_domain->cfg.cbndx;
484 struct arm_smmu_cb *cb = &smmu_domain->smmu->cbs[cfg->cbndx];
758 cfg->cbndx = ret;
763 cfg->irptndx = cfg->cbndx;
767 cfg->vmid = cfg->cbndx + 1;
769 cfg->asid = cfg->cbndx;
809 arm_smmu_write_context_bank(smmu, cfg->cbndx);
837 __arm_smmu_free_bitmap(smmu->context_map, cfg->cbndx);
862 smmu->cbs[cfg->cbndx].cfg = NULL;
863 arm_smmu_write_context_bank(smmu, cfg->cbndx);
871 __arm_smmu_free_bitmap(smmu->context_map, cfg->cbndx);
940 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) |
1120 u8 cbndx = smmu_domain->cfg.cbndx;
1130 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx)
1135 s2cr[idx].cbndx = cbndx;
1286 int ret, idx = cfg->cbndx;