Lines Matching full:pi
123 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv740_populate_sclk_value() local
125 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_sclk_value()
126 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_sclk_value()
127 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_sclk_value()
128 u32 cg_spll_spread_spectrum = pi->clk_regs.rv770.cg_spll_spread_spectrum; in rv740_populate_sclk_value()
129 u32 cg_spll_spread_spectrum_2 = pi->clk_regs.rv770.cg_spll_spread_spectrum_2; in rv740_populate_sclk_value()
158 if (pi->sclk_ss) { in rv740_populate_sclk_value()
190 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv740_populate_mclk_value() local
191 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_mclk_value()
192 u32 mpll_ad_func_cntl_2 = pi->clk_regs.rv770.mpll_ad_func_cntl_2; in rv740_populate_mclk_value()
193 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_mclk_value()
194 u32 mpll_dq_func_cntl_2 = pi->clk_regs.rv770.mpll_dq_func_cntl_2; in rv740_populate_mclk_value()
195 u32 mclk_pwrmgt_cntl = pi->clk_regs.rv770.mclk_pwrmgt_cntl; in rv740_populate_mclk_value()
196 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_mclk_value()
197 u32 mpll_ss1 = pi->clk_regs.rv770.mpll_ss1; in rv740_populate_mclk_value()
198 u32 mpll_ss2 = pi->clk_regs.rv770.mpll_ss2; in rv740_populate_mclk_value()
227 if (pi->mem_gddr5) { in rv740_populate_mclk_value()
245 if (pi->mclk_ss) { in rv740_populate_mclk_value()
265 dll_speed = rv740_get_dll_speed(pi->mem_gddr5, in rv740_populate_mclk_value()
286 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv740_read_clock_registers() local
288 pi->clk_regs.rv770.cg_spll_func_cntl = in rv740_read_clock_registers()
290 pi->clk_regs.rv770.cg_spll_func_cntl_2 = in rv740_read_clock_registers()
292 pi->clk_regs.rv770.cg_spll_func_cntl_3 = in rv740_read_clock_registers()
294 pi->clk_regs.rv770.cg_spll_spread_spectrum = in rv740_read_clock_registers()
296 pi->clk_regs.rv770.cg_spll_spread_spectrum_2 = in rv740_read_clock_registers()
299 pi->clk_regs.rv770.mpll_ad_func_cntl = in rv740_read_clock_registers()
301 pi->clk_regs.rv770.mpll_ad_func_cntl_2 = in rv740_read_clock_registers()
303 pi->clk_regs.rv770.mpll_dq_func_cntl = in rv740_read_clock_registers()
305 pi->clk_regs.rv770.mpll_dq_func_cntl_2 = in rv740_read_clock_registers()
307 pi->clk_regs.rv770.mclk_pwrmgt_cntl = in rv740_read_clock_registers()
309 pi->clk_regs.rv770.dll_cntl = RREG32(DLL_CNTL); in rv740_read_clock_registers()
310 pi->clk_regs.rv770.mpll_ss1 = RREG32(MPLL_SS1); in rv740_read_clock_registers()
311 pi->clk_regs.rv770.mpll_ss2 = RREG32(MPLL_SS2); in rv740_read_clock_registers()
317 struct rv7xx_power_info *pi = rv770_get_pi(rdev); in rv740_populate_smc_acpi_state() local
318 u32 mpll_ad_func_cntl = pi->clk_regs.rv770.mpll_ad_func_cntl; in rv740_populate_smc_acpi_state()
319 u32 mpll_ad_func_cntl_2 = pi->clk_regs.rv770.mpll_ad_func_cntl_2; in rv740_populate_smc_acpi_state()
320 u32 mpll_dq_func_cntl = pi->clk_regs.rv770.mpll_dq_func_cntl; in rv740_populate_smc_acpi_state()
321 u32 mpll_dq_func_cntl_2 = pi->clk_regs.rv770.mpll_dq_func_cntl_2; in rv740_populate_smc_acpi_state()
322 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; in rv740_populate_smc_acpi_state()
323 u32 spll_func_cntl_2 = pi->clk_regs.rv770.cg_spll_func_cntl_2; in rv740_populate_smc_acpi_state()
324 u32 spll_func_cntl_3 = pi->clk_regs.rv770.cg_spll_func_cntl_3; in rv740_populate_smc_acpi_state()
325 u32 mclk_pwrmgt_cntl = pi->clk_regs.rv770.mclk_pwrmgt_cntl; in rv740_populate_smc_acpi_state()
326 u32 dll_cntl = pi->clk_regs.rv770.dll_cntl; in rv740_populate_smc_acpi_state()
332 if (pi->acpi_vddc) { in rv740_populate_smc_acpi_state()
333 rv770_populate_vddc_value(rdev, pi->acpi_vddc, in rv740_populate_smc_acpi_state()
336 pi->pcie_gen2 ? in rv740_populate_smc_acpi_state()
337 pi->acpi_pcie_gen2 : 0; in rv740_populate_smc_acpi_state()
339 pi->acpi_pcie_gen2; in rv740_populate_smc_acpi_state()
341 rv770_populate_vddc_value(rdev, pi->min_vddc_in_table, in rv740_populate_smc_acpi_state()