Searched refs:prev_sclk (Results 1 – 5 of 5) sorted by relevance
1598 u32 prev_sclk = 0; in sumo_construct_sclk_voltage_mapping_table() local1601 if (table[i].ulSupportedSCLK > prev_sclk) { in sumo_construct_sclk_voltage_mapping_table()1606 prev_sclk = table[i].ulSupportedSCLK; in sumo_construct_sclk_voltage_mapping_table()
2462 u32 prev_sclk; in ni_populate_power_containment_values() local2506 prev_sclk = state->performance_levels[i-1].sclk; in ni_populate_power_containment_values()2511 if (max_sclk < prev_sclk) in ni_populate_power_containment_values()2514 if ((max_ps_percent == 0) || (prev_sclk == max_sclk) || eg_pi->uvd_enabled) in ni_populate_power_containment_values()2517 min_sclk = prev_sclk; in ni_populate_power_containment_values()2519 min_sclk = (prev_sclk * (u32)max_ps_percent) / 100; in ni_populate_power_containment_values()
2230 u32 prev_sclk; in si_populate_power_containment_values() local2259 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()2266 if (prev_sclk > max_sclk) in si_populate_power_containment_values()2270 (prev_sclk == max_sclk) || in si_populate_power_containment_values()2274 min_sclk = prev_sclk; in si_populate_power_containment_values()2276 min_sclk = (prev_sclk * (u32)max_ps_percent) / 100; in si_populate_power_containment_values()
143 u32 prev_sclk = 0; in sumo_construct_sclk_voltage_mapping_table() local146 if (table[i].ulSupportedSCLK > prev_sclk) { in sumo_construct_sclk_voltage_mapping_table()151 prev_sclk = table[i].ulSupportedSCLK; in sumo_construct_sclk_voltage_mapping_table()
2388 u32 prev_sclk; in si_populate_power_containment_values() local2417 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()2424 if (prev_sclk > max_sclk) in si_populate_power_containment_values()2428 (prev_sclk == max_sclk) || in si_populate_power_containment_values()2432 min_sclk = prev_sclk; in si_populate_power_containment_values()2434 min_sclk = (prev_sclk * (u32)max_ps_percent) / 100; in si_populate_power_containment_values()