/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | rv730_dpm.c | 50 u32 reference_divider, post_divider; in rv730_populate_sclk_value() local 62 post_divider = ((dividers.post_div >> 4) & 0xf) + in rv730_populate_sclk_value() 65 post_divider = 1; in rv730_populate_sclk_value() 67 tmp = (u64) engine_clock * reference_divider * post_divider * 16384; in rv730_populate_sclk_value() 90 u32 vco_freq = engine_clock * post_divider; in rv730_populate_sclk_value() 129 u32 post_divider, reference_divider; in rv730_populate_mclk_value() local 140 post_divider = ((dividers.post_div >> 4) & 0xf) + in rv730_populate_mclk_value() 143 post_divider = 1; in rv730_populate_mclk_value() 165 u32 vco_freq = memory_clock * post_divider; in rv730_populate_mclk_value()
|
A D | rv6xx_dpm.c | 152 step->post_divider = 1; in rv6xx_convert_clock_to_stepping() 173 if (step->post_divider == 1) in rv6xx_output_stepping() 176 u32 lo_len = (step->post_divider - 2) / 2; in rv6xx_output_stepping() 199 next.post_divider = cur->post_divider; in rv6xx_next_vco_step() 213 return (cur->post_divider > target->post_divider) && in rv6xx_can_step_post_div() 225 next.post_divider--; in rv6xx_next_post_div_step() 255 if (target.post_divider > cur.post_divider) in rv6xx_generate_steps() 256 cur.post_divider = target.post_divider; in rv6xx_generate_steps() 269 tiny.post_divider = next.post_divider; in rv6xx_generate_steps() 274 if ((next.post_divider != target.post_divider) && in rv6xx_generate_steps() [all …]
|
A D | rv6xx_dpm.h | 34 u32 post_divider; member
|
A D | radeon_legacy_crtc.c | 742 uint32_t post_divider = 0; in radeon_set_pll() local 820 &reference_div, &post_divider); in radeon_set_pll() 823 if (post_div->divider == post_divider) in radeon_set_pll() 834 post_divider); in radeon_set_pll()
|
A D | rv770_dpm.c | 326 u32 post_divider, reference_divider, feedback_divider8; in rv770_calculate_fractional_mpll_feedback_divider() local 334 post_divider = dividers->post_div; in rv770_calculate_fractional_mpll_feedback_divider() 338 (8 * fyclk * reference_divider * post_divider) / reference_clock; in rv770_calculate_fractional_mpll_feedback_divider() 503 u32 reference_divider, post_divider; in rv770_populate_sclk_value() local 515 post_divider = (0x0f & (dividers.post_div >> 4)) + (0x0f & dividers.post_div) + 2; in rv770_populate_sclk_value() 517 post_divider = 1; in rv770_populate_sclk_value() 519 tmp = (u64) engine_clock * reference_divider * post_divider * 16384; in rv770_populate_sclk_value() 541 u32 vco_freq = engine_clock * post_divider; in rv770_populate_sclk_value()
|
A D | radeon_mode.h | 567 u32 post_divider; member
|
A D | ci_dpm.c | 2634 table->UvdLevel[count].VclkDivider = (u8)dividers.post_divider; in ci_populate_smc_uvd_level() 2642 table->UvdLevel[count].DclkDivider = (u8)dividers.post_divider; in ci_populate_smc_uvd_level() 2675 table->VceLevel[count].Divider = (u8)dividers.post_divider; in ci_populate_smc_vce_level() 2708 table->AcpLevel[count].Divider = (u8)dividers.post_divider; in ci_populate_smc_acp_level() 2740 table->SamuLevel[count].Divider = (u8)dividers.post_divider; in ci_populate_smc_samu_level() 2979 table->ACPILevel.SclkDid = (u8)dividers.post_divider; in ci_populate_smc_acpi_level() 3171 sclk->SclkDid = (u8)dividers.post_divider; in ci_calculate_sclk_params()
|
A D | radeon_atombios.c | 2924 dividers->post_divider = dividers->post_div = args.v4.ucPostDiv; in radeon_atom_get_clock_dividers() 2941 dividers->post_divider = args.v6_out.ulClock.ucPostDiv; in radeon_atom_get_clock_dividers()
|
A D | cik.c | 9421 tmp |= dividers.post_divider; in cik_set_uvd_clock() 9468 tmp |= dividers.post_divider; in cik_set_vce_clocks()
|
/linux-6.3-rc2/drivers/video/fbdev/aty/ |
A D | mach64_gx.c | 346 u32 post_divider; in aty_var_to_pll_18818() local 352 post_divider = 1; in aty_var_to_pll_18818() 361 post_divider *= 2; in aty_var_to_pll_18818() 372 switch (post_divider) { in aty_var_to_pll_18818() 392 pll->ics2595.post_divider = post_divider; in aty_var_to_pll_18818() 558 pll->ics2595.post_divider = divider; /* fuer nix */ in aty_var_to_pll_1703() 676 pll->ics2595.post_divider = 0; in aty_var_to_pll_8398() 794 pll->ics2595.post_divider = divider; /* fuer nix */ in aty_var_to_pll_408()
|
A D | radeon_monitor.c | 200 rinfo->panel_info.post_divider = BIOS_IN8(tmp + 48); in radeon_get_panel_info_BIOS() 207 pr_debug("post_divider = %x\n", rinfo->panel_info.post_divider); in radeon_get_panel_info_BIOS() 669 rinfo->panel_info.post_divider = (ppll_divn >> 16) & 0x7; in radeon_fixup_panel_info() 675 (rinfo->panel_info.post_divider << 16), in radeon_fixup_panel_info()
|
A D | atyfb.h | 79 u32 post_divider; member
|
A D | radeonfb.h | 265 int post_divider; member
|
A D | aty128fb.c | 424 u32 post_divider; member 1345 div3 |= post_conv[pll->post_divider] << 16; in aty128_set_pll() 1383 pll->post_divider = post_dividers[i]; in aty128_var_to_pll() 1399 "vclk_per: %d\n", pll->post_divider, in aty128_var_to_pll()
|
A D | radeon_base.c | 1700 (rinfo->panel_info.post_divider << 16); in radeonfb_set_par()
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/analogix/ |
A D | anx7625.c | 364 u8 *post_divider) in anx7625_calculate_m_n() argument 382 for (*post_divider = 1; in anx7625_calculate_m_n() 384 *post_divider += 1; in anx7625_calculate_m_n() 390 *post_divider += 1; in anx7625_calculate_m_n() 394 *post_divider); in anx7625_calculate_m_n() 402 *post_divider = 8; in anx7625_calculate_m_n() 405 *post_divider = 12; in anx7625_calculate_m_n() 406 } else if ((*post_divider == 13) || (*post_divider == 14)) { in anx7625_calculate_m_n() 408 *post_divider = 15; in anx7625_calculate_m_n() 441 post_divider << 4); in anx7625_odfc_config() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_clock_source.c | 136 uint32_t post_divider, in calculate_fb_and_fractional_fb_divider() argument 143 (uint64_t)target_pix_clk_100hz * ref_divider * post_divider; in calculate_fb_and_fractional_fb_divider() 195 uint32_t post_divider, in calc_fb_divider_checking_tolerance() argument 208 post_divider, in calc_fb_divider_checking_tolerance() 219 ref_divider * post_divider * in calc_fb_divider_checking_tolerance() 237 pll_settings->pix_clk_post_divider = post_divider; in calc_fb_divider_checking_tolerance() 257 uint32_t post_divider; in calc_pll_dividers_in_range() local 268 post_divider = max_post_divider; in calc_pll_dividers_in_range() 269 post_divider >= min_post_divider; in calc_pll_dividers_in_range() 270 --post_divider) { in calc_pll_dividers_in_range() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_atombios.h | 49 u32 post_divider; member
|
A D | cik.c | 1467 tmp |= dividers.post_divider; in cik_set_uvd_clock() 1516 tmp |= dividers.post_divider; in cik_set_vce_clocks()
|
A D | vi.c | 1003 tmp |= dividers.post_divider; in vi_set_uvd_clock() 1093 tmp |= dividers.post_divider; in vi_set_vce_clocks()
|
A D | amdgpu_atombios.c | 1061 dividers->post_divider = dividers->post_div = args.v4.ucPostDiv; in amdgpu_atombios_get_clock_dividers() 1078 dividers->post_divider = args.v6_out.ulClock.ucPostDiv; in amdgpu_atombios_get_clock_dividers()
|