Home
last modified time | relevance | path

Searched refs:reference_divider (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/ !
Drv730_dpm.c50 u32 reference_divider, post_divider; in rv730_populate_sclk_value() local
59 reference_divider = 1 + dividers.ref_div; in rv730_populate_sclk_value()
67 tmp = (u64) engine_clock * reference_divider * post_divider * 16384; in rv730_populate_sclk_value()
94 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in rv730_populate_sclk_value()
129 u32 post_divider, reference_divider; in rv730_populate_mclk_value() local
137 reference_divider = dividers.ref_div + 1; in rv730_populate_mclk_value()
170 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in rv730_populate_mclk_value()
Drv740_dpm.c131 u32 reference_divider; in rv740_populate_sclk_value() local
140 reference_divider = 1 + dividers.ref_div; in rv740_populate_sclk_value()
142 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; in rv740_populate_sclk_value()
163 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in rv740_populate_sclk_value()
Drv770_dpm.c326 u32 post_divider, reference_divider, feedback_divider8; in rv770_calculate_fractional_mpll_feedback_divider() local
335 reference_divider = dividers->ref_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
512 reference_divider = 1 + dividers.ref_div; in rv770_populate_sclk_value()
519 tmp = (u64) engine_clock * reference_divider * post_divider * 16384; in rv770_populate_sclk_value()
545 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in rv770_populate_sclk_value()
Dni_dpm.c2013 u32 reference_divider; in ni_calculate_sclk_params() local
2022 reference_divider = 1 + dividers.ref_div; in ni_calculate_sclk_params()
2025 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16834; in ni_calculate_sclk_params()
2046 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in ni_calculate_sclk_params()
Dsi_dpm.c4778 u32 reference_divider; in si_calculate_sclk_params() local
4787 reference_divider = 1 + dividers.ref_div; in si_calculate_sclk_params()
4789 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; in si_calculate_sclk_params()
4810 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in si_calculate_sclk_params()
Dci_dpm.c3131 u32 reference_divider; in ci_calculate_sclk_params() local
3141 reference_divider = 1 + dividers.ref_div; in ci_calculate_sclk_params()
3154 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in ci_calculate_sclk_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/include/ !
Dbios_parser_types.h209 uint32_t reference_divider; member
226 uint32_t reference_divider; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ !
Ddce_clock_source.c234 pll_settings->reference_divider = ref_divider; in calc_fb_divider_checking_tolerance()
334 if (pll_settings->reference_divider) { in calculate_pixel_clock_pll_dividers()
335 min_ref_divider = pll_settings->reference_divider; in calculate_pixel_clock_pll_dividers()
336 max_ref_divider = pll_settings->reference_divider; in calculate_pixel_clock_pll_dividers()
449 pll_settings->reference_divider = in pll_adjust_pix_clk()
450 bp_adjust_pixel_clock_params.reference_divider; in pll_adjust_pix_clk()
695 pll_settings->reference_divider * ss_data->modulation_freq_hz); in calculate_ss()
865 bp_pc_params.reference_divider = pll_settings->reference_divider; in dce110_program_pix_clk()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ !
Dclock_source.h112 uint32_t reference_divider; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/ !
Dcommand_table.c992 cpu_to_le16((uint16_t)bp_params->reference_divider); in set_pixel_clock_v3()
1063 (uint8_t)(bp_params->reference_divider); in set_pixel_clock_v5()
1152 (uint8_t) bp_params->reference_divider; in set_pixel_clock_v6()
1603 bp_params->reference_divider = params.sOutput.ucRefDiv; in adjust_display_pll_v3()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/ !
Diceland_smumgr.c806 uint32_t reference_divider; in iceland_calculate_sclk_params() local
819 reference_divider = 1 + dividers.uc_pll_ref_div; in iceland_calculate_sclk_params()
849 uint32_t clkS = reference_clock * 5 / (reference_divider * ss_info.speed_spectrum_rate); in iceland_calculate_sclk_params()
Dtonga_smumgr.c549 uint32_t reference_divider; in tonga_calculate_sclk_params() local
562 reference_divider = 1 + dividers.uc_pll_ref_div; in tonga_calculate_sclk_params()
592 uint32_t clkS = reference_clock * 5 / (reference_divider * ss_info.speed_spectrum_rate); in tonga_calculate_sclk_params()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ !
Dsi_dpm.c5280 u32 reference_divider; in si_calculate_sclk_params() local
5289 reference_divider = 1 + dividers.ref_div; in si_calculate_sclk_params()
5291 tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; in si_calculate_sclk_params()
5312 u32 clk_s = reference_clock * 5 / (reference_divider * ss.rate); in si_calculate_sclk_params()