Lines Matching refs:depth
427 u32 depth, bpp; member
502 static u32 depth_to_dst(u32 depth);
766 (depth_to_dst(par->crtc.depth) << 8) | in aty128_init_engine()
800 static u32 depth_to_dst(u32 depth) in depth_to_dst() argument
802 if (depth <= 8) in depth_to_dst()
804 else if (depth <= 15) in depth_to_dst()
806 else if (depth == 16) in depth_to_dst()
808 else if (depth <= 24) in depth_to_dst()
810 else if (depth <= 32) in depth_to_dst()
1052 u32 depth, bytpp; in aty128_var_to_crtc() local
1073 depth = bpp; in aty128_var_to_crtc()
1075 depth = (var->green.length == 6) ? 16 : 15; in aty128_var_to_crtc()
1093 dst = depth_to_dst(depth); in aty128_var_to_crtc()
1165 crtc->depth = depth; in aty128_var_to_crtc()
1436 u32 depth, in aty128_ddafifo() argument
1447 bpp = (depth+7) & ~7; in aty128_ddafifo()
1578 if ((err = aty128_ddafifo(&fifo_reg, &pll, crtc.depth, par))) in aty128_decode_var()
2262 || (par->crtc.depth == 16 && regno > 63) in aty128fb_setcolreg()
2263 || (par->crtc.depth == 15 && regno > 31)) in aty128fb_setcolreg()
2274 switch (par->crtc.depth) { in aty128fb_setcolreg()
2291 if (par->crtc.depth == 16 && regno > 0) { in aty128fb_setcolreg()
2367 dstval = depth_to_dst(par->current_par.crtc.depth);