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

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Drv730_dpm.c46 u32 spll_func_cntl = pi->clk_regs.rv730.cg_spll_func_cntl; rv730_populate_sclk_value() local
76 spll_func_cntl |= SPLL_DIVEN; rv730_populate_sclk_value()
78 spll_func_cntl &= ~SPLL_DIVEN; rv730_populate_sclk_value()
79 spll_func_cntl &= ~(SPLL_HILEN_MASK | SPLL_LOLEN_MASK | SPLL_REF_DIV_MASK); rv730_populate_sclk_value()
80 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); rv730_populate_sclk_value()
81 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf); rv730_populate_sclk_value()
82 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf); rv730_populate_sclk_value()
110 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); rv730_populate_sclk_value()
238 u32 spll_func_cntl; rv730_populate_smc_acpi_state() local
287 spll_func_cntl = pi->clk_regs.rv730.cg_spll_func_cntl; rv730_populate_smc_acpi_state()
291 spll_func_cntl |= SPLL_RESET | SPLL_BYPASS_EN; rv730_populate_smc_acpi_state()
292 spll_func_cntl &= ~SPLL_SLEEP; rv730_populate_smc_acpi_state()
305 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); rv730_populate_smc_acpi_state()
H A Drv740_dpm.c126 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; rv740_populate_sclk_value() local
148 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); rv740_populate_sclk_value()
149 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); rv740_populate_sclk_value()
150 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); rv740_populate_sclk_value()
178 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); rv740_populate_sclk_value()
323 u32 spll_func_cntl = pi->clk_regs.rv770.cg_spll_func_cntl; rv740_populate_smc_acpi_state() local
369 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; rv740_populate_smc_acpi_state()
383 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); rv740_populate_smc_acpi_state()
H A Drv770_dpm.c490 u32 spll_func_cntl = rv770_populate_sclk_value() local
523 spll_func_cntl |= SPLL_DIVEN; rv770_populate_sclk_value()
525 spll_func_cntl &= ~SPLL_DIVEN; rv770_populate_sclk_value()
526 spll_func_cntl &= ~(SPLL_HILEN_MASK | SPLL_LOLEN_MASK | SPLL_REF_DIV_MASK); rv770_populate_sclk_value()
527 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); rv770_populate_sclk_value()
528 spll_func_cntl |= SPLL_HILEN((dividers.post_div >> 4) & 0xf); rv770_populate_sclk_value()
529 spll_func_cntl |= SPLL_LOLEN(dividers.post_div & 0xf); rv770_populate_sclk_value()
557 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); rv770_populate_sclk_value()
928 u32 spll_func_cntl = rv770_populate_smc_acpi_state() local
977 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; rv770_populate_smc_acpi_state()
992 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); rv770_populate_smc_acpi_state()
H A Dcypress_dpm.c1343 u32 spll_func_cntl = cypress_populate_smc_acpi_state() local
1428 spll_func_cntl |= SPLL_RESET | SPLL_SLEEP | SPLL_BYPASS_EN; cypress_populate_smc_acpi_state()
1448 cpu_to_be32(spll_func_cntl); cypress_populate_smc_acpi_state()
H A Dni_dpm.c1802 u32 spll_func_cntl = ni_pi->clock_registers.cg_spll_func_cntl; ni_populate_smc_acpi_state() local
1914 table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); ni_populate_smc_acpi_state()
2005 u32 spll_func_cntl = ni_pi->clock_registers.cg_spll_func_cntl; ni_calculate_sclk_params() local
2029 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); ni_calculate_sclk_params()
2030 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); ni_calculate_sclk_params()
2031 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); ni_calculate_sclk_params()
2059 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; ni_calculate_sclk_params()
H A Dsi_dpm.c4507 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; si_populate_smc_acpi_state() local
4611 cpu_to_be32(spll_func_cntl); si_populate_smc_acpi_state()
4801 u32 spll_func_cntl = si_pi->clock_registers.cg_spll_func_cntl; si_calculate_sclk_params() local
4824 spll_func_cntl &= ~(SPLL_PDIV_A_MASK | SPLL_REF_DIV_MASK); si_calculate_sclk_params()
4825 spll_func_cntl |= SPLL_REF_DIV(dividers.ref_div); si_calculate_sclk_params()
4826 spll_func_cntl |= SPLL_PDIV_A(dividers.post_div); si_calculate_sclk_params()
4854 sclk->vCG_SPLL_FUNC_CNTL = spll_func_cntl; si_calculate_sclk_params()
H A Dci_dpm.c2965 u32 spll_func_cntl = pi->clock_registers.cg_spll_func_cntl; ci_populate_smc_acpi_level() local
2992 spll_func_cntl &= ~SPLL_PWRON; ci_populate_smc_acpi_level()
2993 spll_func_cntl |= SPLL_RESET; ci_populate_smc_acpi_level()
2998 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; ci_populate_smc_acpi_level()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Dci_dpm.c3101 u32 spll_func_cntl = pi->clock_registers.cg_spll_func_cntl; ci_populate_smc_acpi_level() local
3128 spll_func_cntl &= ~CG_SPLL_FUNC_CNTL__SPLL_PWRON_MASK; ci_populate_smc_acpi_level()
3129 spll_func_cntl |= CG_SPLL_FUNC_CNTL__SPLL_RESET_MASK; ci_populate_smc_acpi_level()
3134 table->ACPILevel.CgSpllFuncCntl = spll_func_cntl; ci_populate_smc_acpi_level()

Completed in 281 milliseconds