Lines Matching refs:freq_pct
526 u32 freq_pct[MAX_OPP_ENTRIES]; member
847 i, svsb->volt[i], i, svsb->freq_pct[i]); in svs_status_debug_show()
978 svsb->volt[i] = interpolate(svsb->freq_pct[turn_pt], in svs_get_bank_volts_v3()
979 svsb->freq_pct[j], in svs_get_bank_volts_v3()
982 svsb->freq_pct[i]); in svs_get_bank_volts_v3()
1000 svsb->volt[i] = interpolate(svsb->freq_pct[0], in svs_get_bank_volts_v3()
1001 svsb->freq_pct[j], in svs_get_bank_volts_v3()
1004 svsb->freq_pct[i]); in svs_get_bank_volts_v3()
1045 svsb->volt[i] = interpolate(svsb->freq_pct[0], in svs_get_bank_volts_v3()
1046 svsb->freq_pct[svsb->vbin_turn_pt], in svs_get_bank_volts_v3()
1049 svsb->freq_pct[i]); in svs_get_bank_volts_v3()
1056 u32 i, j, *freq_pct, freq_pct74 = 0, freq_pct30 = 0; in svs_set_bank_freq_pct_v3() local
1078 freq_pct30 = svsb->freq_pct[0]; in svs_set_bank_freq_pct_v3()
1083 freq_pct = (shift_byte < REG_BYTES) ? in svs_set_bank_freq_pct_v3()
1085 *freq_pct |= (svsb->freq_pct[i] << b_sft); in svs_set_bank_freq_pct_v3()
1093 freq_pct30 = svsb->freq_pct[turn_pt]; in svs_set_bank_freq_pct_v3()
1098 freq_pct = (shift_byte < REG_BYTES) ? in svs_set_bank_freq_pct_v3()
1100 *freq_pct |= (svsb->freq_pct[i] << b_sft); in svs_set_bank_freq_pct_v3()
1110 freq_pct30 = svsb->freq_pct[0]; in svs_set_bank_freq_pct_v3()
1115 freq_pct = (shift_byte < REG_BYTES) ? in svs_set_bank_freq_pct_v3()
1117 *freq_pct |= (svsb->freq_pct[i] << b_sft); in svs_set_bank_freq_pct_v3()
1124 freq_pct = (shift_byte < REG_BYTES) ? in svs_set_bank_freq_pct_v3()
1126 *freq_pct |= (svsb->freq_pct[i] << b_sft); in svs_set_bank_freq_pct_v3()
1154 svsb->volt[i + 1] = interpolate(svsb->freq_pct[i], in svs_get_bank_volts_v2()
1155 svsb->freq_pct[i + 2], in svs_get_bank_volts_v2()
1158 svsb->freq_pct[i + 1]); in svs_get_bank_volts_v2()
1160 svsb->volt[15] = interpolate(svsb->freq_pct[12], in svs_get_bank_volts_v2()
1161 svsb->freq_pct[14], in svs_get_bank_volts_v2()
1164 svsb->freq_pct[15]); in svs_get_bank_volts_v2()
1185 svsb->volt[i] = interpolate(svsb->freq_pct[0], in svs_get_bank_volts_v2()
1186 svsb->freq_pct[svsb->vbin_turn_pt], in svs_get_bank_volts_v2()
1189 svsb->freq_pct[i]); in svs_get_bank_volts_v2()
1197 freqpct74_val = FIELD_PREP(SVSB_FREQPCTS_FLD_PCT0_4, svsb->freq_pct[8]) | in svs_set_bank_freq_pct_v2()
1198 FIELD_PREP(SVSB_FREQPCTS_FLD_PCT1_5, svsb->freq_pct[10]) | in svs_set_bank_freq_pct_v2()
1199 FIELD_PREP(SVSB_FREQPCTS_FLD_PCT2_6, svsb->freq_pct[12]) | in svs_set_bank_freq_pct_v2()
1200 FIELD_PREP(SVSB_FREQPCTS_FLD_PCT3_7, svsb->freq_pct[14]); in svs_set_bank_freq_pct_v2()
1202 freqpct30_val = FIELD_PREP(SVSB_FREQPCTS_FLD_PCT0_4, svsb->freq_pct[0]) | in svs_set_bank_freq_pct_v2()
1203 FIELD_PREP(SVSB_FREQPCTS_FLD_PCT1_5, svsb->freq_pct[2]) | in svs_set_bank_freq_pct_v2()
1204 FIELD_PREP(SVSB_FREQPCTS_FLD_PCT2_6, svsb->freq_pct[4]) | in svs_set_bank_freq_pct_v2()
1205 FIELD_PREP(SVSB_FREQPCTS_FLD_PCT3_7, svsb->freq_pct[6]); in svs_set_bank_freq_pct_v2()
1851 svsb->freq_pct[i] = percent(svsb->opp_dfreq[i], in svs_bank_resource_setup()