Home
last modified time | relevance | path

Searched refs:clk_n (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/gma500/
Dmdfld_intel_display.c645 int clk_n = 0, clk_p2 = 0, clk_byte = 1, clk = 0, m_conv = 0, in mdfld_crtc_mode_set() local
828 clk_n = 1, clk_p2 = 8; in mdfld_crtc_mode_set()
830 clk_n = 1, clk_p2 = 10; in mdfld_crtc_mode_set()
835 clk_n = 1, clk_p2 = 8; in mdfld_crtc_mode_set()
837 clk_n = 1, clk_p2 = 10; in mdfld_crtc_mode_set()
843 clk_n = 4, clk_p2 = 8; in mdfld_crtc_mode_set()
845 clk_n = 4, clk_p2 = 10; in mdfld_crtc_mode_set()
851 clk_n = 4, clk_p2 = 8; in mdfld_crtc_mode_set()
853 clk_n = 4, clk_p2 = 10; in mdfld_crtc_mode_set()
861 clk_tmp = clk * clk_n * clk_p2 * clk_byte; in mdfld_crtc_mode_set()
[all …]
/Linux-v5.10/drivers/video/fbdev/
Dimsttfb.c425 __u32 clk_m, clk_n, clk_p; in getclkMHz() local
428 clk_n = par->init.pclk_n; in getclkMHz()
431 return 20 * (clk_m + 1) / ((clk_n + 1) * (clk_p ? 2 * clk_p : 1)); in getclkMHz()
437 __u32 clk_m, clk_n, x, stage, spilled; in setclkMHz() local
439 clk_m = clk_n = 0; in setclkMHz()
447 clk_n++; in setclkMHz()
450 x = 20 * (clk_m + 1) / (clk_n + 1); in setclkMHz()
462 par->init.pclk_n = clk_n; in setclkMHz()