Searched refs:depth2bpp (Results 1 – 2 of 2) sorted by relevance
1228 #define depth2bpp(d) ((d + 7L) & ~7L) macro1229 #define depth2ByPP(d) (depth2bpp(d) / 8)1279 if ((l_fb_info->current_par->depth == 8) || (depth2bpp(l_fb_info->current_par->depth) == 16)) \
1626 (disp[l_fb_info->board_num]).var.bits_per_pixel = depth2bpp(depth[l_fb_info->board_num]); in pm3fb_common_init()1784 ((depth2bpp(l_fb_info->current_par->depth)) in pm3fb_init_engine()2300 else if (depth2bpp(l_fb_info->current_par->depth) == 16) in pm3fb_cfbX_putc()2309 else if (depth2bpp(l_fb_info->current_par->depth) == 16) in pm3fb_cfbX_putc()2412 else if (depth2bpp(l_fb_info->current_par->depth) == 16) in pm3fb_cfbX_putcs()2421 else if (depth2bpp(l_fb_info->current_par->depth) == 16) in pm3fb_cfbX_putcs()2817 fix->xpanstep = 64 / depth2bpp(p->depth); in pm3fb_encode_fix()2842 temp_p.depth = depth2bpp(var->bits_per_pixel); in pm3fb_decode_var()3093 var->bits_per_pixel = depth2bpp(p->depth); in pm3fb_encode_var()