Home
last modified time | relevance | path

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

/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 …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c968 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local
979 vclk_div = radeon_uvd_calc_upll_post_div(vco_freq, vclk, in radeon_uvd_calc_upll_dividers()
981 if (vclk_div > pd_max) in radeon_uvd_calc_upll_dividers()
991 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers()
996 *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.c1192 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in evergreen_set_uvd_clocks() local
1211 &fb_div, &vclk_div, &dclk_div); in evergreen_set_uvd_clocks()
1250 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in evergreen_set_uvd_clocks()
H A Dsi.c6977 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks() local
6995 &fb_div, &vclk_div, &dclk_div); in si_set_uvd_clocks()
7036 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in si_set_uvd_clocks()