Home
last modified time | relevance | path

Searched refs:vclk_div (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/video/meson/
H A Dmeson_vclk.c313 unsigned int vclk_div; member
321 .vclk_div = 1,
329 .vclk_div = 1,
337 .vclk_div = 1,
345 .vclk_div = 1,
353 .vclk_div = 1,
361 .vclk_div = 2,
369 .vclk_div = 1,
596 unsigned int vid_pll_div, unsigned int vclk_div, in meson_vclk_set() argument
651 VCLK_DIV_MASK, vclk_div - 1); in meson_vclk_set()
[all …]
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_vclk.c372 unsigned int vclk_div; member
384 .vclk_div = 1,
396 .vclk_div = 1,
408 .vclk_div = 1,
420 .vclk_div = 1,
432 .vclk_div = 1,
444 .vclk_div = 2,
456 .vclk_div = 1,
468 .vclk_div = 1,
810 unsigned int vid_pll_div, unsigned int vclk_div, in meson_vclk_set() argument
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c969 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local
980 vclk_div = radeon_uvd_calc_upll_post_div(vco_freq, vclk, in radeon_uvd_calc_upll_dividers()
982 if (vclk_div > pd_max) in radeon_uvd_calc_upll_dividers()
992 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers()
997 *optimal_vclk_div = vclk_div; in radeon_uvd_calc_upll_dividers()
H A Drv770.c56 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in rv770_set_uvd_clocks() local
76 &fb_div, &vclk_div, &dclk_div); in rv770_set_uvd_clocks()
81 vclk_div -= 1; in rv770_set_uvd_clocks()
104 UPLL_SW_HILEN(vclk_div >> 1) | in rv770_set_uvd_clocks()
105 UPLL_SW_LOLEN((vclk_div >> 1) + (vclk_div & 1)) | in rv770_set_uvd_clocks()
H A Dr600.c205 unsigned fb_div = 0, ref_div, vclk_div = 0, dclk_div = 0; in r600_set_uvd_clocks() local
234 &fb_div, &vclk_div, &dclk_div); in r600_set_uvd_clocks()
261 UPLL_SW_HILEN(vclk_div >> 1) | in r600_set_uvd_clocks()
262 UPLL_SW_LOLEN((vclk_div >> 1) + (vclk_div & 1)) | in r600_set_uvd_clocks()
H A Devergreen.c1191 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in evergreen_set_uvd_clocks() local
1210 &fb_div, &vclk_div, &dclk_div); in evergreen_set_uvd_clocks()
1249 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in evergreen_set_uvd_clocks()
H A Dsi.c6996 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks() local
7014 &fb_div, &vclk_div, &dclk_div); in si_set_uvd_clocks()
7055 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in si_set_uvd_clocks()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsi.c1732 unsigned vclk_div, dclk_div, score; in si_calc_upll_dividers() local
1743 vclk_div = si_uvd_calc_upll_post_div(vco_freq, vclk, in si_calc_upll_dividers()
1745 if (vclk_div > pd_max) in si_calc_upll_dividers()
1755 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in si_calc_upll_dividers()
1760 *optimal_vclk_div = vclk_div; in si_calc_upll_dividers()
1777 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks() local
1795 &fb_div, &vclk_div, &dclk_div); in si_set_uvd_clocks()
1838 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in si_set_uvd_clocks()