Lines Matching refs:performance_level_count

809 		for (i = 0; i < ps->performance_level_count; i++) {  in ni_apply_state_adjust_rules()
826 ps->performance_levels[ps->performance_level_count - 1].mclk; in ni_apply_state_adjust_rules()
828 ps->performance_levels[ps->performance_level_count - 1].vddci; in ni_apply_state_adjust_rules()
835 for (i = 1; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
846 for (i = 1; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
852 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
857 for (i = 1; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
865 for (i = 1; i < ps->performance_level_count; i++) in ni_apply_state_adjust_rules()
870 for (i = 0; i < ps->performance_level_count; i++) in ni_apply_state_adjust_rules()
874 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
889 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
897 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
1399 if (state->performance_level_count < 3) in ni_calculate_power_boost_limit()
1403 state->performance_levels[state->performance_level_count - 2].vddc, in ni_calculate_power_boost_limit()
1413 state->performance_levels[state->performance_level_count - 1].vddc, in ni_calculate_power_boost_limit()
1647 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()
2985 for (i = 0; i < state->performance_level_count; i++) { in ni_convert_mc_reg_table_to_smc()
3042 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()