Searched refs:smc_state (Results 1 – 6 of 6) sorted by relevance
2300 NISLANDS_SMC_SWSTATE *smc_state) in ni_populate_smc_sp() argument2307 smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); in ni_populate_smc_sp()2309 smc_state->levels[ps->performance_level_count - 1].bSP = in ni_populate_smc_sp()2396 NISLANDS_SMC_SWSTATE *smc_state) in ni_populate_smc_t() argument2411 smc_state->levels[0].aT = cpu_to_be32(a_t); in ni_populate_smc_t()2415 smc_state->levels[0].aT = cpu_to_be32(0); in ni_populate_smc_t()2440 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in ni_populate_smc_t()2442 smc_state->levels[i].aT = cpu_to_be32(a_t); in ni_populate_smc_t()2448 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in ni_populate_smc_t()2456 NISLANDS_SMC_SWSTATE *smc_state) in ni_populate_power_containment_values() argument[all …]
2268 SISLANDS_SMC_SWSTATE *smc_state) in si_populate_power_containment_values() argument2291 if (smc_state->levelCount != state->performance_level_count) in si_populate_power_containment_values()2296 smc_state->levels[0].dpm2.MaxPS = 0; in si_populate_power_containment_values()2297 smc_state->levels[0].dpm2.NearTDPDec = 0; in si_populate_power_containment_values()2298 smc_state->levels[0].dpm2.AboveSafeInc = 0; in si_populate_power_containment_values()2299 smc_state->levels[0].dpm2.BelowSafeInc = 0; in si_populate_power_containment_values()2300 smc_state->levels[0].dpm2.PwrEfficiencyRatio = 0; in si_populate_power_containment_values()2350 …smc_state->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / ma… in si_populate_power_containment_values()2351 smc_state->levels[i].dpm2.NearTDPDec = SISLANDS_DPM2_NEAR_TDP_DEC; in si_populate_power_containment_values()2352 smc_state->levels[i].dpm2.AboveSafeInc = SISLANDS_DPM2_ABOVE_SAFE_INC; in si_populate_power_containment_values()[all …]
259 RV770_SMC_SWSTATE *smc_state) in rv770_populate_smc_t() argument291 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t()297 smc_state->levels[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1].aT = in rv770_populate_smc_t()305 RV770_SMC_SWSTATE *smc_state) in rv770_populate_smc_sp() argument311 smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); in rv770_populate_smc_sp()313 smc_state->levels[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1].bSP = in rv770_populate_smc_sp()677 RV770_SMC_SWSTATE *smc_state) in rv770_convert_power_state_to_smc() argument683 smc_state->flags |= PPSMC_SWSTATE_FLAG_DC; in rv770_convert_power_state_to_smc()687 &smc_state->levels[0], in rv770_convert_power_state_to_smc()694 &smc_state->levels[1], in rv770_convert_power_state_to_smc()[all …]
767 RV770_SMC_SWSTATE *smc_state) in cypress_convert_power_state_to_smc() argument774 smc_state->flags |= PPSMC_SWSTATE_FLAG_DC; in cypress_convert_power_state_to_smc()778 &smc_state->levels[0], in cypress_convert_power_state_to_smc()785 &smc_state->levels[1], in cypress_convert_power_state_to_smc()792 &smc_state->levels[2], in cypress_convert_power_state_to_smc()797 smc_state->levels[0].arbValue = MC_CG_ARB_FREQ_F1; in cypress_convert_power_state_to_smc()798 smc_state->levels[1].arbValue = MC_CG_ARB_FREQ_F2; in cypress_convert_power_state_to_smc()799 smc_state->levels[2].arbValue = MC_CG_ARB_FREQ_F3; in cypress_convert_power_state_to_smc()802 smc_state->levels[0].ACIndex = 2; in cypress_convert_power_state_to_smc()803 smc_state->levels[1].ACIndex = 3; in cypress_convert_power_state_to_smc()[all …]
231 RV770_SMC_SWSTATE *smc_state);234 RV770_SMC_SWSTATE *smc_state);
2382 SISLANDS_SMC_SWSTATE *smc_state) in si_populate_power_containment_values() argument2405 if (smc_state->levelCount != state->performance_level_count) in si_populate_power_containment_values()2410 smc_state->levels[0].dpm2.MaxPS = 0; in si_populate_power_containment_values()2411 smc_state->levels[0].dpm2.NearTDPDec = 0; in si_populate_power_containment_values()2412 smc_state->levels[0].dpm2.AboveSafeInc = 0; in si_populate_power_containment_values()2413 smc_state->levels[0].dpm2.BelowSafeInc = 0; in si_populate_power_containment_values()2414 smc_state->levels[0].dpm2.PwrEfficiencyRatio = 0; in si_populate_power_containment_values()2463 …smc_state->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / ma… in si_populate_power_containment_values()2464 smc_state->levels[i].dpm2.NearTDPDec = SISLANDS_DPM2_NEAR_TDP_DEC; in si_populate_power_containment_values()2465 smc_state->levels[i].dpm2.AboveSafeInc = SISLANDS_DPM2_ABOVE_SAFE_INC; in si_populate_power_containment_values()[all …]