Lines Matching refs:idx

308 	uint32_t idx = smmu->cfg[index].cbndx;  in arm_smmu_smr_cfg()  local
316 ARM_SMMU_GR0_SMR(idx)), reg); in arm_smmu_smr_cfg()
321 uint32_t idx = smmu->cfg[index].cbndx; in arm_smmu_s2cr_cfg() local
329 ARM_SMMU_GR0_S2CR(idx)), reg); in arm_smmu_s2cr_cfg()
404 uint32_t idx; in arm_smmu_create_identity_map() local
441 for (idx = 0; idx < smmu->streams; idx++) { in arm_smmu_create_identity_map()
443 smmu->s2cr[idx].type = S2CR_TYPE_TRANS; in arm_smmu_create_identity_map()
444 smmu->s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_create_identity_map()
445 smmu->s2cr[idx].cbndx = context_bank_index; in arm_smmu_create_identity_map()
446 smmu->cfg[idx].cbndx = context_bank_index; in arm_smmu_create_identity_map()
447 smmu->cfg[idx].cbar = STG1_WITH_STG2_BYPASS << CBAR_TYPE_SHIFT; in arm_smmu_create_identity_map()
448 arm_smmu_s2cr_cfg(smmu, idx); in arm_smmu_create_identity_map()
451 smmu->smr[idx].mask = smmu->stream_ids_mask[idx]; in arm_smmu_create_identity_map()
452 smmu->smr[idx].id = smmu->stream_ids[idx]; in arm_smmu_create_identity_map()
453 smmu->smr[idx].valid = 1; in arm_smmu_create_identity_map()
454 arm_smmu_smr_cfg(smmu, idx); in arm_smmu_create_identity_map()
458 ARM_SMMU_GR1_CBA2R(smmu->cfg[idx].cbndx)), in arm_smmu_create_identity_map()
461 reg = smmu->cfg[idx].cbar; in arm_smmu_create_identity_map()
466 ARM_SMMU_GR1_CBAR(smmu->cfg[idx].cbndx)), in arm_smmu_create_identity_map()
485 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()
489 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()
493 asid = smmu->cfg[idx].cbndx; in arm_smmu_create_identity_map()
498 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()
505 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()
519 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()
525 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()
532 ARM_SMMU_CB(smmu, smmu->cfg[idx].cbndx) + in arm_smmu_create_identity_map()