Lines Matching refs:depth

110 	u32 depth;		/* screen depth (8, 16, 24 or 32) */  member
671 switch (p->depth) { in set_aperture()
705 pm2_RDAC_WR(i, PM2I_RD_COLOR_KEY_CONTROL, p->depth==8?0: in set_screen()
707 switch (p->depth) { in set_screen()
787 s32 scale=i->current_par.depth==8?2:1; in pm2fb_pp_copy()
1203 var->xoffset, i->current_par.depth, 1); in pm2fb_pan_display()
1476 fix->visual=p->depth==8?FB_VISUAL_PSEUDOCOLOR:FB_VISUAL_TRUECOLOR; in pm2fb_encode_fix()
1478 fix->line_length=i->current_par.width*(i->current_par.depth/8); in pm2fb_encode_fix()
1481 fix->xpanstep=p->depth==24?8:64/p->depth; in pm2fb_encode_fix()
1531 p.depth=(var->bits_per_pixel+7)&~7; in pm2fb_decode_var()
1532 p.depth=p.depth>32?32:p.depth; in pm2fb_decode_var()
1533 data64=p.depth>8 || i->type == PM2_TYPE_PERMEDIA2V; in pm2fb_decode_var()
1556 if (p.depth>32) { in pm2fb_decode_var()
1557 DPRINTK("depth not supported: %u\n", p.depth); in pm2fb_decode_var()
1560 if (p.width*p.height*p.depth/8>i->regions.fb_size) { in pm2fb_decode_var()
1562 p.width, p.height, p.depth); in pm2fb_decode_var()
1570 p.hsstart=to3264(var->right_margin, p.depth, data64); in pm2fb_decode_var()
1571 p.hsend=p.hsstart+to3264(var->hsync_len, p.depth, data64); in pm2fb_decode_var()
1572 p.hbend=p.hsend+to3264(var->left_margin, p.depth, data64); in pm2fb_decode_var()
1573 p.htotal=to3264(xres, p.depth, data64)+p.hbend-1; in pm2fb_decode_var()
1578 p.stride=to3264(p.width, p.depth, 1); in pm2fb_decode_var()
1579 p.base=to3264(var->yoffset*xres+var->xoffset, p.depth, 1); in pm2fb_decode_var()
1632 v.bits_per_pixel=p->depth; in pm2fb_encode_var()
1639 switch (p->depth) { in pm2fb_encode_var()
1675 base=from3264(p->base, p->depth, 1); in pm2fb_encode_var()
1695 (i->current_par.width*i->current_par.depth/8); in set_user_mode()
1757 switch (i->current_par.depth) { in pm2fb_setcolreg()
1789 i->current_par.depth); in pm2fb_setcolreg()
1798 if (i->current_par.depth==8) in pm2fb_setcolreg()
1808 unsigned long depth; in pm2fb_set_disp() local
1813 switch (depth=((struct pm2fb_par* )par)->depth) { in pm2fb_set_disp()