Lines Matching refs:levels
1690 table->initialState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = in ni_populate_smc_initial_state()
1692 table->initialState.levels[0].mclk.vMPLL_AD_FUNC_CNTL_2 = in ni_populate_smc_initial_state()
1694 table->initialState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = in ni_populate_smc_initial_state()
1696 table->initialState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL_2 = in ni_populate_smc_initial_state()
1698 table->initialState.levels[0].mclk.vMCLK_PWRMGT_CNTL = in ni_populate_smc_initial_state()
1700 table->initialState.levels[0].mclk.vDLL_CNTL = in ni_populate_smc_initial_state()
1702 table->initialState.levels[0].mclk.vMPLL_SS = in ni_populate_smc_initial_state()
1704 table->initialState.levels[0].mclk.vMPLL_SS2 = in ni_populate_smc_initial_state()
1706 table->initialState.levels[0].mclk.mclk_value = in ni_populate_smc_initial_state()
1709 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = in ni_populate_smc_initial_state()
1711 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = in ni_populate_smc_initial_state()
1713 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = in ni_populate_smc_initial_state()
1715 table->initialState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_4 = in ni_populate_smc_initial_state()
1717 table->initialState.levels[0].sclk.vCG_SPLL_SPREAD_SPECTRUM = in ni_populate_smc_initial_state()
1719 table->initialState.levels[0].sclk.vCG_SPLL_SPREAD_SPECTRUM_2 = in ni_populate_smc_initial_state()
1721 table->initialState.levels[0].sclk.sclk_value = in ni_populate_smc_initial_state()
1723 table->initialState.levels[0].arbRefreshState = in ni_populate_smc_initial_state()
1726 table->initialState.levels[0].ACIndex = 0; in ni_populate_smc_initial_state()
1730 &table->initialState.levels[0].vddc); in ni_populate_smc_initial_state()
1735 &table->initialState.levels[0].vddc, in ni_populate_smc_initial_state()
1739 table->initialState.levels[0].vddc.index, in ni_populate_smc_initial_state()
1740 &table->initialState.levels[0].std_vddc); in ni_populate_smc_initial_state()
1747 &table->initialState.levels[0].vddci); in ni_populate_smc_initial_state()
1749 ni_populate_initial_mvdd_value(rdev, &table->initialState.levels[0].mvdd); in ni_populate_smc_initial_state()
1752 table->initialState.levels[0].aT = cpu_to_be32(reg); in ni_populate_smc_initial_state()
1754 table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp); in ni_populate_smc_initial_state()
1757 table->initialState.levels[0].gen2PCIE = 1; in ni_populate_smc_initial_state()
1759 table->initialState.levels[0].gen2PCIE = 0; in ni_populate_smc_initial_state()
1762 table->initialState.levels[0].strobeMode = in ni_populate_smc_initial_state()
1767 … table->initialState.levels[0].mcFlags = NISLANDS_SMC_MC_EDC_RD_FLAG | NISLANDS_SMC_MC_EDC_WR_FLAG; in ni_populate_smc_initial_state()
1769 table->initialState.levels[0].mcFlags = 0; in ni_populate_smc_initial_state()
1776 table->initialState.levels[0].dpm2.MaxPS = 0; in ni_populate_smc_initial_state()
1777 table->initialState.levels[0].dpm2.NearTDPDec = 0; in ni_populate_smc_initial_state()
1778 table->initialState.levels[0].dpm2.AboveSafeInc = 0; in ni_populate_smc_initial_state()
1779 table->initialState.levels[0].dpm2.BelowSafeInc = 0; in ni_populate_smc_initial_state()
1782 table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg); in ni_populate_smc_initial_state()
1785 table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); in ni_populate_smc_initial_state()
1816 pi->acpi_vddc, &table->ACPIState.levels[0].vddc); in ni_populate_smc_acpi_state()
1821 &table->ACPIState.levels[0].vddc, &std_vddc); in ni_populate_smc_acpi_state()
1824 table->ACPIState.levels[0].vddc.index, in ni_populate_smc_acpi_state()
1825 &table->ACPIState.levels[0].std_vddc); in ni_populate_smc_acpi_state()
1830 table->ACPIState.levels[0].gen2PCIE = 1; in ni_populate_smc_acpi_state()
1832 table->ACPIState.levels[0].gen2PCIE = 0; in ni_populate_smc_acpi_state()
1834 table->ACPIState.levels[0].gen2PCIE = 0; in ni_populate_smc_acpi_state()
1840 &table->ACPIState.levels[0].vddc); in ni_populate_smc_acpi_state()
1845 &table->ACPIState.levels[0].vddc, in ni_populate_smc_acpi_state()
1849 table->ACPIState.levels[0].vddc.index, in ni_populate_smc_acpi_state()
1850 &table->ACPIState.levels[0].std_vddc); in ni_populate_smc_acpi_state()
1852 table->ACPIState.levels[0].gen2PCIE = 0; in ni_populate_smc_acpi_state()
1860 &table->ACPIState.levels[0].vddci); in ni_populate_smc_acpi_state()
1903 table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in ni_populate_smc_acpi_state()
1904 table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2); in ni_populate_smc_acpi_state()
1905 table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in ni_populate_smc_acpi_state()
1906 table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2); in ni_populate_smc_acpi_state()
1907 table->ACPIState.levels[0].mclk.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in ni_populate_smc_acpi_state()
1908 table->ACPIState.levels[0].mclk.vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_smc_acpi_state()
1910 table->ACPIState.levels[0].mclk.mclk_value = 0; in ni_populate_smc_acpi_state()
1912 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in ni_populate_smc_acpi_state()
1913 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in ni_populate_smc_acpi_state()
1914 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in ni_populate_smc_acpi_state()
1915 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(spll_func_cntl_4); in ni_populate_smc_acpi_state()
1917 table->ACPIState.levels[0].sclk.sclk_value = 0; in ni_populate_smc_acpi_state()
1919 ni_populate_mvdd_value(rdev, 0, &table->ACPIState.levels[0].mvdd); in ni_populate_smc_acpi_state()
1922 table->ACPIState.levels[0].ACIndex = 1; in ni_populate_smc_acpi_state()
1924 table->ACPIState.levels[0].dpm2.MaxPS = 0; in ni_populate_smc_acpi_state()
1925 table->ACPIState.levels[0].dpm2.NearTDPDec = 0; in ni_populate_smc_acpi_state()
1926 table->ACPIState.levels[0].dpm2.AboveSafeInc = 0; in ni_populate_smc_acpi_state()
1927 table->ACPIState.levels[0].dpm2.BelowSafeInc = 0; in ni_populate_smc_acpi_state()
1930 table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg); in ni_populate_smc_acpi_state()
1933 table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg); in ni_populate_smc_acpi_state()
2301 smc_state->levels[i].bSP = cpu_to_be32(pi->dsp); in ni_populate_smc_sp()
2303 smc_state->levels[ps->performance_level_count - 1].bSP = in ni_populate_smc_sp()
2405 smc_state->levels[0].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2409 smc_state->levels[0].aT = cpu_to_be32(0); in ni_populate_smc_t()
2434 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in ni_populate_smc_t()
2436 smc_state->levels[i].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2442 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2493 smc_state->levels[0].dpm2.MaxPS = 0; in ni_populate_power_containment_values()
2494 smc_state->levels[0].dpm2.NearTDPDec = 0; in ni_populate_power_containment_values()
2495 smc_state->levels[0].dpm2.AboveSafeInc = 0; in ni_populate_power_containment_values()
2496 smc_state->levels[0].dpm2.BelowSafeInc = 0; in ni_populate_power_containment_values()
2497 smc_state->levels[0].stateFlags |= power_boost_limit ? PPSMC_STATEFLAG_POWERBOOST : 0; in ni_populate_power_containment_values()
2521 smc_state->levels[i].dpm2.MaxPS = in ni_populate_power_containment_values()
2523 smc_state->levels[i].dpm2.NearTDPDec = NISLANDS_DPM2_NEAR_TDP_DEC; in ni_populate_power_containment_values()
2524 smc_state->levels[i].dpm2.AboveSafeInc = NISLANDS_DPM2_ABOVE_SAFE_INC; in ni_populate_power_containment_values()
2525 smc_state->levels[i].dpm2.BelowSafeInc = NISLANDS_DPM2_BELOW_SAFE_INC; in ni_populate_power_containment_values()
2526 smc_state->levels[i].stateFlags |= in ni_populate_power_containment_values()
2585 smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle); in ni_populate_sq_ramping_values()
2586 smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2); in ni_populate_sq_ramping_values()
2642 &smc_state->levels[i]); in ni_convert_power_state_to_smc()
2643 smc_state->levels[i].arbRefreshState = in ni_convert_power_state_to_smc()
2650 smc_state->levels[i].displayWatermark = in ni_convert_power_state_to_smc()
2654 smc_state->levels[i].displayWatermark = (i < 2) ? in ni_convert_power_state_to_smc()
2658 smc_state->levels[i].ACIndex = NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT + i; in ni_convert_power_state_to_smc()
2660 smc_state->levels[i].ACIndex = 0; in ni_convert_power_state_to_smc()