Lines Matching refs:config_regs
2739 const struct si_cac_config_reg *config_regs = cac_config_regs; in si_program_cac_config_registers() local
2742 if (!config_regs) in si_program_cac_config_registers()
2745 while (config_regs->offset != 0xFFFFFFFF) { in si_program_cac_config_registers()
2746 switch (config_regs->type) { in si_program_cac_config_registers()
2748 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
2753 data = RREG32(config_regs->offset << 2); in si_program_cac_config_registers()
2757 data &= ~config_regs->mask; in si_program_cac_config_registers()
2758 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
2760 switch (config_regs->type) { in si_program_cac_config_registers()
2762 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
2767 WREG32(config_regs->offset << 2, data); in si_program_cac_config_registers()
2770 config_regs++; in si_program_cac_config_registers()