Searched refs:mpll_func_cntl (Results 1 – 13 of 13) sorted by relevance
126 u32 mpll_func_cntl = pi->clk_regs.rv730.mpll_func_cntl; in rv730_populate_mclk_value() local150 mpll_func_cntl |= MPLL_DIVEN; in rv730_populate_mclk_value()152 mpll_func_cntl &= ~MPLL_DIVEN; in rv730_populate_mclk_value()154 mpll_func_cntl &= ~(MPLL_REF_DIV_MASK | MPLL_HILEN_MASK | MPLL_LOLEN_MASK); in rv730_populate_mclk_value()155 mpll_func_cntl |= MPLL_REF_DIV(dividers.ref_div); in rv730_populate_mclk_value()156 mpll_func_cntl |= MPLL_HILEN((dividers.post_div >> 4) & 0xf); in rv730_populate_mclk_value()157 mpll_func_cntl |= MPLL_LOLEN(dividers.post_div & 0xf); in rv730_populate_mclk_value()189 mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_mclk_value()217 pi->clk_regs.rv730.mpll_func_cntl = in rv730_read_clock_registers()233 u32 mpll_func_cntl = 0; in rv730_populate_smc_acpi_state() local[all …]
100 u32 mpll_func_cntl; member
137 u32 mpll_func_cntl; member
52 u32 mpll_func_cntl; member
3579 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()4383 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()4500 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local4585 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()4883 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local4895 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()4896 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()4946 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
1888 pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in ci_read_clock_registers()2797 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; in ci_calculate_mclk_params() local2809 mpll_func_cntl &= ~BWCTRL_MASK; in ci_calculate_mclk_params()2810 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in ci_calculate_mclk_params()2860 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()3077 cpu_to_be32(pi->clock_registers.mpll_func_cntl); in ci_populate_smc_acpi_level()
138 u32 mpll_func_cntl; member
519 u32 mpll_func_cntl; member916 u32 mpll_func_cntl; member
4040 si_pi->clock_registers.mpll_func_cntl = RREG32(MPLL_FUNC_CNTL); in si_read_clock_registers()4849 cpu_to_be32(si_pi->clock_registers.mpll_func_cntl); in si_populate_smc_initial_state()4964 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_smc_acpi_state() local5050 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()5347 u32 mpll_func_cntl = si_pi->clock_registers.mpll_func_cntl; in si_populate_mclk_value() local5359 mpll_func_cntl &= ~BWCTRL_MASK; in si_populate_mclk_value()5360 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value()5410 mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in si_populate_mclk_value()
2022 pi->clock_registers.mpll_func_cntl = RREG32(mmMPLL_FUNC_CNTL); in ci_read_clock_registers()2935 u32 mpll_func_cntl = pi->clock_registers.mpll_func_cntl; in ci_calculate_mclk_params() local2947 mpll_func_cntl &= ~MPLL_FUNC_CNTL__BWCTRL_MASK; in ci_calculate_mclk_params()2948 mpll_func_cntl |= (mpll_param.bwcntl << MPLL_FUNC_CNTL__BWCTRL__SHIFT); in ci_calculate_mclk_params()3003 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()3223 cpu_to_be32(pi->clock_registers.mpll_func_cntl); in ci_populate_smc_acpi_level()
1058 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in iceland_calculate_mclk_params() local1073 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in iceland_calculate_mclk_params()1156 mclk->MpllFuncCntl = mpll_func_cntl; in iceland_calculate_mclk_params()
1033 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in ci_calculate_mclk_params() local1047 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in ci_calculate_mclk_params()1103 mclk->MpllFuncCntl = mpll_func_cntl; in ci_calculate_mclk_params()
791 uint32_t mpll_func_cntl = data->clock_registers.vMPLL_FUNC_CNTL; in tonga_calculate_mclk_params() local808 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, in tonga_calculate_mclk_params()897 mclk->MpllFuncCntl = mpll_func_cntl; in tonga_calculate_mclk_params()