Lines Matching full:levels
291 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()
311 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()
687 &smc_state->levels[0], in rv770_convert_power_state_to_smc()
694 &smc_state->levels[1], in rv770_convert_power_state_to_smc()
701 &smc_state->levels[2], in rv770_convert_power_state_to_smc()
706 smc_state->levels[0].arbValue = MC_CG_ARB_FREQ_F1; in rv770_convert_power_state_to_smc()
707 smc_state->levels[1].arbValue = MC_CG_ARB_FREQ_F2; in rv770_convert_power_state_to_smc()
708 smc_state->levels[2].arbValue = MC_CG_ARB_FREQ_F3; in rv770_convert_power_state_to_smc()
710 smc_state->levels[0].seqValue = rv770_get_seq_value(rdev, in rv770_convert_power_state_to_smc()
712 smc_state->levels[1].seqValue = rv770_get_seq_value(rdev, in rv770_convert_power_state_to_smc()
714 smc_state->levels[2].seqValue = rv770_get_seq_value(rdev, in rv770_convert_power_state_to_smc()
944 &table->ACPIState.levels[0].vddc); in rv770_populate_smc_acpi_state()
947 table->ACPIState.levels[0].gen2PCIE = 1; in rv770_populate_smc_acpi_state()
949 table->ACPIState.levels[0].gen2PCIE = 0; in rv770_populate_smc_acpi_state()
951 table->ACPIState.levels[0].gen2PCIE = 0; in rv770_populate_smc_acpi_state()
953 table->ACPIState.levels[0].gen2XSP = 1; in rv770_populate_smc_acpi_state()
955 table->ACPIState.levels[0].gen2XSP = 0; in rv770_populate_smc_acpi_state()
958 &table->ACPIState.levels[0].vddc); in rv770_populate_smc_acpi_state()
959 table->ACPIState.levels[0].gen2PCIE = 0; in rv770_populate_smc_acpi_state()
983 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv770_populate_smc_acpi_state()
984 table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in rv770_populate_smc_acpi_state()
985 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv770_populate_smc_acpi_state()
986 table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); in rv770_populate_smc_acpi_state()
988 table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv770_populate_smc_acpi_state()
989 table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv770_populate_smc_acpi_state()
991 table->ACPIState.levels[0].mclk.mclk770.mclk_value = 0; in rv770_populate_smc_acpi_state()
993 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv770_populate_smc_acpi_state()
994 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv770_populate_smc_acpi_state()
995 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv770_populate_smc_acpi_state()
997 table->ACPIState.levels[0].sclk.sclk_value = 0; in rv770_populate_smc_acpi_state()
999 rv770_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in rv770_populate_smc_acpi_state()
1001 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv770_populate_smc_acpi_state()
1002 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv770_populate_smc_acpi_state()
1032 table->initialState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = in rv770_populate_smc_initial_state()
1034 table->initialState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = in rv770_populate_smc_initial_state()
1036 table->initialState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = in rv770_populate_smc_initial_state()
1038 table->initialState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = in rv770_populate_smc_initial_state()
1040 table->initialState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = in rv770_populate_smc_initial_state()
1042 table->initialState.levels[0].mclk.mclk770.vDLL_CNTL = in rv770_populate_smc_initial_state()
1045 table->initialState.levels[0].mclk.mclk770.vMPLL_SS = in rv770_populate_smc_initial_state()
1047 table->initialState.levels[0].mclk.mclk770.vMPLL_SS2 = in rv770_populate_smc_initial_state()
1050 table->initialState.levels[0].mclk.mclk770.mclk_value = in rv770_populate_smc_initial_state()
1053 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = in rv770_populate_smc_initial_state()
1055 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = in rv770_populate_smc_initial_state()
1057 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = in rv770_populate_smc_initial_state()
1059 table->initialState.levels[0].sclk.vCG_SPLL_SPREAD_SPECTRUM = in rv770_populate_smc_initial_state()
1061 table->initialState.levels[0].sclk.vCG_SPLL_SPREAD_SPECTRUM_2 = in rv770_populate_smc_initial_state()
1064 table->initialState.levels[0].sclk.sclk_value = in rv770_populate_smc_initial_state()
1067 table->initialState.levels[0].arbValue = MC_CG_ARB_FREQ_F0; in rv770_populate_smc_initial_state()
1069 table->initialState.levels[0].seqValue = in rv770_populate_smc_initial_state()
1074 &table->initialState.levels[0].vddc); in rv770_populate_smc_initial_state()
1076 &table->initialState.levels[0].mvdd); in rv770_populate_smc_initial_state()
1079 table->initialState.levels[0].aT = cpu_to_be32(a_t); in rv770_populate_smc_initial_state()
1081 table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); in rv770_populate_smc_initial_state()
1084 table->initialState.levels[0].gen2PCIE = 1; in rv770_populate_smc_initial_state()
1086 table->initialState.levels[0].gen2PCIE = 0; in rv770_populate_smc_initial_state()
1088 table->initialState.levels[0].gen2XSP = 1; in rv770_populate_smc_initial_state()
1090 table->initialState.levels[0].gen2XSP = 0; in rv770_populate_smc_initial_state()
1095 table->initialState.levels[0].strobeMode = in rv770_populate_smc_initial_state()
1098 table->initialState.levels[0].strobeMode = 0; in rv770_populate_smc_initial_state()
1101 table->initialState.levels[0].mcFlags = SMC_MC_EDC_RD_FLAG | SMC_MC_EDC_WR_FLAG; in rv770_populate_smc_initial_state()
1103 table->initialState.levels[0].mcFlags = 0; in rv770_populate_smc_initial_state()
1107 table->initialState.levels[1] = table->initialState.levels[0]; in rv770_populate_smc_initial_state()
1108 table->initialState.levels[2] = table->initialState.levels[0]; in rv770_populate_smc_initial_state()