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()
2302 for (i = 0; i < ps->performance_level_count - 1; i++) in ni_populate_smc_sp()
2305 smc_state->levels[ps->performance_level_count - 1].bSP = in ni_populate_smc_sp()
2402 if (state->performance_level_count >= 9) in ni_populate_smc_t()
2405 if (state->performance_level_count < 2) { in ni_populate_smc_t()
2413 for (i = 0; i <= state->performance_level_count - 2; i++) { in ni_populate_smc_t()
2440 high_bsp = (i == state->performance_level_count - 2) ? in ni_populate_smc_t()
2470 if (state->performance_level_count == 0) in ni_populate_power_containment_values()
2473 if (smc_state->levelCount != state->performance_level_count) in ni_populate_power_containment_values()
2501 for (i = 1; i < state->performance_level_count; i++) { in ni_populate_power_containment_values()
2504 max_ps_percent = (i != (state->performance_level_count - 1)) ? in ni_populate_power_containment_values()
2529 ((i != (state->performance_level_count - 1)) && power_boost_limit) ? in ni_populate_power_containment_values()
2547 if (state->performance_level_count == 0) in ni_populate_sq_ramping_values()
2550 if (smc_state->levelCount != state->performance_level_count) in ni_populate_sq_ramping_values()
2571 for (i = 0; i < state->performance_level_count; i++) { in ni_populate_sq_ramping_values()
2632 u32 threshold = state->performance_levels[state->performance_level_count - 1].sclk * 100 / 100; in ni_convert_power_state_to_smc()
2639 if (state->performance_level_count > NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE) in ni_convert_power_state_to_smc()
2642 for (i = 0; i < state->performance_level_count; i++) { in ni_convert_power_state_to_smc()
2984 for (i = 0; i < state->performance_level_count; i++) { in ni_convert_mc_reg_table_to_smc()
3041 sizeof(SMC_NIslands_MCRegisterSet) * ni_new_state->performance_level_count, in ni_upload_mc_reg_table()
3518 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >= in ni_set_uvd_clock_before_set_eng_clock()
3519 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_before_set_eng_clock()
3536 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk < in ni_set_uvd_clock_after_set_eng_clock()
3537 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_after_set_eng_clock()
3928 ps->performance_level_count = index + 1; in ni_parse_pplib_clock_info()
4291 for (i = 0; i < ps->performance_level_count; i++) { in ni_dpm_print_power_state()
4314 if (current_index >= ps->performance_level_count) { in ni_dpm_debugfs_print_current_performance_level()
4334 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_sclk()
4352 if (current_index >= ps->performance_level_count) { in ni_dpm_get_current_mclk()
4368 return requested_state->performance_levels[requested_state->performance_level_count - 1].sclk; in ni_dpm_get_sclk()
4379 return requested_state->performance_levels[requested_state->performance_level_count - 1].mclk; in ni_dpm_get_mclk()