Lines Matching refs:performance_level_count
807 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
824 ps->performance_levels[ps->performance_level_count - 1].mclk; in ni_apply_state_adjust_rules()
826 ps->performance_levels[ps->performance_level_count - 1].vddci; in ni_apply_state_adjust_rules()
833 for (i = 1; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
844 for (i = 1; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
850 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
855 for (i = 1; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
863 for (i = 1; i < ps->performance_level_count; i++) in ni_apply_state_adjust_rules()
868 for (i = 0; i < ps->performance_level_count; i++) in ni_apply_state_adjust_rules()
872 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
887 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
895 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
1397 if (state->performance_level_count < 3) in ni_calculate_power_boost_limit()
1401 state->performance_levels[state->performance_level_count - 2].vddc, in ni_calculate_power_boost_limit()
1411 state->performance_levels[state->performance_level_count - 1].vddc, in ni_calculate_power_boost_limit()
1645 for (i = 0; i < state->performance_level_count; i++) { in ni_do_program_memory_timing_parameters()
2306 for (i = 0; i < ps->performance_level_count - 1; i++) in ni_populate_smc_sp()
2309 smc_state->levels[ps->performance_level_count - 1].bSP = in ni_populate_smc_sp()
2406 if (state->performance_level_count >= 9) in ni_populate_smc_t()
2409 if (state->performance_level_count < 2) { in ni_populate_smc_t()
2417 for (i = 0; i <= state->performance_level_count - 2; i++) { in ni_populate_smc_t()
2444 high_bsp = (i == state->performance_level_count - 2) ? in ni_populate_smc_t()
2474 if (state->performance_level_count == 0) in ni_populate_power_containment_values()
2477 if (smc_state->levelCount != state->performance_level_count) in ni_populate_power_containment_values()
2505 for (i = 1; i < state->performance_level_count; i++) { in ni_populate_power_containment_values()
2508 max_ps_percent = (i != (state->performance_level_count - 1)) ? in ni_populate_power_containment_values()
2533 ((i != (state->performance_level_count - 1)) && power_boost_limit) ? in ni_populate_power_containment_values()
2551 if (state->performance_level_count == 0) in ni_populate_sq_ramping_values()
2554 if (smc_state->levelCount != state->performance_level_count) in ni_populate_sq_ramping_values()
2575 for (i = 0; i < state->performance_level_count; i++) { in ni_populate_sq_ramping_values()
2636 u32 threshold = state->performance_levels[state->performance_level_count - 1].sclk * 100 / 100; in ni_convert_power_state_to_smc()
2643 if (state->performance_level_count > NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE) in ni_convert_power_state_to_smc()
2646 for (i = 0; i < state->performance_level_count; i++) { in ni_convert_power_state_to_smc()
2988 for (i = 0; i < state->performance_level_count; i++) { in ni_convert_mc_reg_table_to_smc()
3045 sizeof(SMC_NIslands_MCRegisterSet) * ni_new_state->performance_level_count, in ni_upload_mc_reg_table()
3519 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >= in ni_set_uvd_clock_before_set_eng_clock()
3520 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_before_set_eng_clock()
3537 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk < in ni_set_uvd_clock_after_set_eng_clock()
3538 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_after_set_eng_clock()
3929 ps->performance_level_count = index + 1; in ni_parse_pplib_clock_info()
4292 for (i = 0; i < ps->performance_level_count; i++) { in ni_dpm_print_power_state()
4315 if (current_index >= ps->performance_level_count) { in ni_dpm_debugfs_print_current_performance_level()
4335 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_sclk()
4353 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_mclk()
4369 return requested_state->performance_levels[requested_state->performance_level_count - 1].sclk; in ni_dpm_get_sclk()
4380 return requested_state->performance_levels[requested_state->performance_level_count - 1].mclk; in ni_dpm_get_mclk()