Searched refs:dclk_div (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/video/fbdev/geode/ |
D | display_gx1.c | 80 u32 gcfg, tcfg, ocfg, dclk_div, val; in gx1_set_mode() local 108 dclk_div = DC_GCFG_DCLK_DIV_1; /* FIXME: may need to divide DCLK by 2 sometimes? */ in gx1_set_mode() 109 gcfg |= dclk_div; in gx1_set_mode() 122 gcfg = DC_GCFG_VRDY | dclk_div; in gx1_set_mode()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 979 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local 996 dclk_div = radeon_uvd_calc_upll_post_div(vco_freq, dclk, in radeon_uvd_calc_upll_dividers() 998 if (dclk_div > pd_max) in radeon_uvd_calc_upll_dividers() 1002 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers() 1008 *optimal_dclk_div = dclk_div; in radeon_uvd_calc_upll_dividers()
|
D | rv770.c | 53 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in rv770_set_uvd_clocks() local 73 &fb_div, &vclk_div, &dclk_div); in rv770_set_uvd_clocks() 79 dclk_div -= 1; in rv770_set_uvd_clocks() 103 UPLL_SW_HILEN2(dclk_div >> 1) | in rv770_set_uvd_clocks() 104 UPLL_SW_LOLEN2((dclk_div >> 1) + (dclk_div & 1)), in rv770_set_uvd_clocks()
|
D | r600.c | 205 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() 263 UPLL_SW_HILEN2(dclk_div >> 1) | in r600_set_uvd_clocks() 264 UPLL_SW_LOLEN2((dclk_div >> 1) + (dclk_div & 1)) | in r600_set_uvd_clocks()
|
D | evergreen.c | 1195 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in evergreen_set_uvd_clocks() local 1214 &fb_div, &vclk_div, &dclk_div); in evergreen_set_uvd_clocks() 1253 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in evergreen_set_uvd_clocks()
|
D | si.c | 6999 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks() local 7017 &fb_div, &vclk_div, &dclk_div); in si_set_uvd_clocks() 7058 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in si_set_uvd_clocks()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | ssd1307fb.c | 69 u32 dclk_div; member 365 dclk = ((par->dclk_div - 1) & 0xf) | (par->dclk_frq & 0xf) << 4; in ssd1307fb_init() 659 if (device_property_read_u32(dev, "solomon,dclk-div", &par->dclk_div)) in ssd1307fb_probe() 660 par->dclk_div = par->device_info->default_dclk_div; in ssd1307fb_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | si.c | 1616 unsigned vclk_div, dclk_div, score; in si_calc_upll_dividers() local 1633 dclk_div = si_uvd_calc_upll_post_div(vco_freq, dclk, in si_calc_upll_dividers() 1635 if (dclk_div > pd_max) in si_calc_upll_dividers() 1639 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in si_calc_upll_dividers() 1645 *optimal_dclk_div = dclk_div; in si_calc_upll_dividers() 1661 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks() local 1679 &fb_div, &vclk_div, &dclk_div); in si_set_uvd_clocks() 1722 UPLL_PDIV_A(vclk_div) | UPLL_PDIV_B(dclk_div), in si_set_uvd_clocks()
|