Searched refs:mpll_func_cntl (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Drv730_dpm.c126 u32 mpll_func_cntl = pi->clk_regs.rv730.mpll_func_cntl; rv730_populate_mclk_value() local
150 mpll_func_cntl |= MPLL_DIVEN; rv730_populate_mclk_value()
152 mpll_func_cntl &= ~MPLL_DIVEN; rv730_populate_mclk_value()
154 mpll_func_cntl &= ~(MPLL_REF_DIV_MASK | MPLL_HILEN_MASK | MPLL_LOLEN_MASK); rv730_populate_mclk_value()
155 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div); rv730_populate_mclk_value()
156 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf); rv730_populate_mclk_value()
157 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf); rv730_populate_mclk_value()
189 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); rv730_populate_mclk_value()
217 pi->clk_regs.rv730.mpll_func_cntl = rv730_read_clock_registers()
233 u32 mpll_func_cntl = 0; rv730_populate_smc_acpi_state() local
258 mpll_func_cntl = pi->clk_regs.rv730.mpll_func_cntl; rv730_populate_smc_acpi_state()
262 mpll_func_cntl |= MPLL_RESET | MPLL_BYPASS_EN; rv730_populate_smc_acpi_state()
263 mpll_func_cntl &= ~MPLL_SLEEP; rv730_populate_smc_acpi_state()
297 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); rv730_populate_smc_acpi_state()
328 cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl); rv730_populate_smc_initial_state()
H A Dsi_dpm.h100 u32 mpll_func_cntl; member in struct:si_clock_registers
H A Drv770_dpm.h52 u32 mpll_func_cntl; member in struct:rv730_clock_registers
H A Dci_dpm.h137 u32 mpll_func_cntl; member in struct:ci_clock_registers
H A Dsi_dpm.c3594 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); si_read_clock_registers()
4398 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); si_populate_smc_initial_state()
4515 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; si_populate_smc_acpi_state() local
4600 cpu_to_be32(mpll_func_cntl); si_populate_smc_acpi_state()
4898 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; si_populate_mclk_value() local
4910 mpll_func_cntl &= ~BWCTRL_MASK; si_populate_mclk_value()
4911 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); si_populate_mclk_value()
4961 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); si_populate_mclk_value()
H A Dci_dpm.c1860 pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); ci_read_clock_registers()
2769 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; ci_calculate_mclk_params() local
2781 mpll_func_cntl &= ~BWCTRL_MASK; ci_calculate_mclk_params()
2782 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); ci_calculate_mclk_params()
2832 mclk->MpllFuncCntl = mpll_func_cntl; ci_calculate_mclk_params()
3049 cpu_to_be32(pi->clock_registers.mpll_func_cntl); ci_populate_smc_acpi_level()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Dci_dpm.h138 u32 mpll_func_cntl; member in struct:ci_clock_registers
H A Dci_dpm.c1988 pi->clock_registers.mpll_func_cntl = RREG32(mmMPLL_FUNC_CNTL); ci_read_clock_registers()
2899 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; ci_calculate_mclk_params() local
2911 mpll_func_cntl &= ~MPLL_FUNC_CNTL__BWCTRL_MASK; ci_calculate_mclk_params()
2912 mpll_func_cntl |= (mpll_param.bwcntl << MPLL_FUNC_CNTL__BWCTRL__SHIFT); ci_calculate_mclk_params()
2967 mclk->MpllFuncCntl = mpll_func_cntl; ci_calculate_mclk_params()
3187 cpu_to_be32(pi->clock_registers.mpll_func_cntl); ci_populate_smc_acpi_level()

Completed in 201 milliseconds