Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Damifb.c729 u_short clk_shift; /* vmode */ member
1131 u_short clk_shift, line_shift; in ami_decode_var() local
1139 for (clk_shift = TAG_SHRES; clk_shift <= TAG_LORES; clk_shift++) in ami_decode_var()
1140 if (var->pixclock <= pixclock[clk_shift]) in ami_decode_var()
1142 if (clk_shift > TAG_LORES) { in ami_decode_var()
1146 par->clk_shift = clk_shift; in ami_decode_var()
1165 if (par->bpp > maxdepth[clk_shift]) { in ami_decode_var()
1166 if (round_down_bpp && maxdepth[clk_shift]) in ami_decode_var()
1167 par->bpp = maxdepth[clk_shift]; in ami_decode_var()
1220 xres_n = par->xres << clk_shift; in ami_decode_var()
[all …]
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c815 const struct clk_mgr_shift *clk_shift, in dce_clk_mgr_construct() argument
825 clk_mgr_dce->clk_mgr_shift = clk_shift; in dce_clk_mgr_construct()
848 const struct clk_mgr_shift *clk_shift, in dce_clk_mgr_create() argument
863 clk_mgr_dce, ctx, regs, clk_shift, clk_mask); in dce_clk_mgr_create()
871 const struct clk_mgr_shift *clk_shift, in dce110_clk_mgr_create() argument
886 clk_mgr_dce, ctx, regs, clk_shift, clk_mask); in dce110_clk_mgr_create()
896 const struct clk_mgr_shift *clk_shift, in dce112_clk_mgr_create() argument
911 clk_mgr_dce, ctx, regs, clk_shift, clk_mask); in dce112_clk_mgr_create()