Lines Matching full:mclk

422 u8 cypress_get_strobe_mode_settings(struct radeon_device *rdev, u32 mclk)  in cypress_get_strobe_mode_settings()  argument
429 if (mclk <= pi->mclk_strobe_mode_threshold) in cypress_get_strobe_mode_settings()
431 result = cypress_get_mclk_frequency_ratio(rdev, mclk, strobe_mode); in cypress_get_strobe_mode_settings()
474 RV7XX_SMC_MCLK_VALUE *mclk, in cypress_populate_mclk_value() argument
596 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); in cypress_populate_mclk_value()
597 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in cypress_populate_mclk_value()
598 mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in cypress_populate_mclk_value()
599 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in cypress_populate_mclk_value()
600 mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); in cypress_populate_mclk_value()
601 mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in cypress_populate_mclk_value()
602 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_mclk_value()
603 mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1); in cypress_populate_mclk_value()
604 mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2); in cypress_populate_mclk_value()
651 u32 mclk, in cypress_populate_mvdd_value() argument
663 if (mclk <= pi->mvdd_split_frequency) { in cypress_populate_mvdd_value()
696 (pl->mclk <= pi->mclk_stutter_mode_threshold) && in cypress_convert_power_level_to_smc()
706 if (pl->mclk > pi->mclk_edc_enable_threshold) in cypress_convert_power_level_to_smc()
709 if (pl->mclk > eg_pi->mclk_edc_wr_enable_threshold) in cypress_convert_power_level_to_smc()
712 level->strobeMode = cypress_get_strobe_mode_settings(rdev, pl->mclk); in cypress_convert_power_level_to_smc()
715 if (cypress_get_mclk_frequency_ratio(rdev, pl->mclk, true) >= in cypress_convert_power_level_to_smc()
725 pl->mclk, in cypress_convert_power_level_to_smc()
726 &level->mclk, in cypress_convert_power_level_to_smc()
732 pl->mclk, in cypress_convert_power_level_to_smc()
733 &level->mclk, in cypress_convert_power_level_to_smc()
756 ret = cypress_populate_mvdd_value(rdev, pl->mclk, &level->mvdd); in cypress_convert_power_level_to_smc()
834 if (pl->mclk <= in cypress_convert_mc_reg_table_entry_to_smc()
933 new_state->low.mclk)); in cypress_program_memory_timing_parameters()
936 new_state->medium.mclk)); in cypress_program_memory_timing_parameters()
939 new_state->high.mclk)); in cypress_program_memory_timing_parameters()
1049 range_table->mclk[i]; in cypress_retrieve_ac_timing_for_all_ranges()
1050 radeon_atom_set_ac_timing(rdev, range_table->mclk[i]); in cypress_retrieve_ac_timing_for_all_ranges()
1126 radeon_atom_set_ac_timing(rdev, boot_state->low.mclk); in cypress_force_mc_use_s1()
1145 boot_state->low.mclk); in cypress_force_mc_use_s1()
1203 boot_state->low.mclk); in cypress_force_mc_use_s0()
1242 table->initialState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = in cypress_populate_smc_initial_state()
1244 table->initialState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = in cypress_populate_smc_initial_state()
1246 table->initialState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = in cypress_populate_smc_initial_state()
1248 table->initialState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = in cypress_populate_smc_initial_state()
1250 table->initialState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = in cypress_populate_smc_initial_state()
1252 table->initialState.levels[0].mclk.mclk770.vDLL_CNTL = in cypress_populate_smc_initial_state()
1255 table->initialState.levels[0].mclk.mclk770.vMPLL_SS = in cypress_populate_smc_initial_state()
1257 table->initialState.levels[0].mclk.mclk770.vMPLL_SS2 = in cypress_populate_smc_initial_state()
1260 table->initialState.levels[0].mclk.mclk770.mclk_value = in cypress_populate_smc_initial_state()
1261 cpu_to_be32(initial_state->low.mclk); in cypress_populate_smc_initial_state()
1313 initial_state->low.mclk); in cypress_populate_smc_initial_state()
1315 if (initial_state->low.mclk > pi->mclk_edc_enable_threshold) in cypress_populate_smc_initial_state()
1432 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = in cypress_populate_smc_acpi_state()
1434 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = in cypress_populate_smc_acpi_state()
1436 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = in cypress_populate_smc_acpi_state()
1438 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = in cypress_populate_smc_acpi_state()
1440 table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = in cypress_populate_smc_acpi_state()
1442 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in cypress_populate_smc_acpi_state()
1444 table->ACPIState.levels[0].mclk.mclk770.mclk_value = 0; in cypress_populate_smc_acpi_state()