Lines Matching +full:18 +full:bpp
116 * @valid_bpp: 1 bit per BPP setting to show valid bits-per-pixel.
118 * valid_bpp bit x is set if (x+1)BPP is supported.
225 * @bpp: The bit depth.
227 static bool s3c_fb_validate_win_bpp(struct s3c_fb_win *win, unsigned int bpp) in s3c_fb_validate_win_bpp() argument
229 return win->variant.valid_bpp & VALID_BPP(bpp); in s3c_fb_validate_win_bpp()
252 dev_dbg(sfb->dev, "win %d: unsupported bpp %d\n", in s3c_fb_check_var()
286 var->transp.offset = 18; in s3c_fb_check_var()
289 case 18: in s3c_fb_check_var()
302 /* 16 bpp, 565 format */ in s3c_fb_check_var()
318 /* our 24bpp is unpacked, so 32bpp */ in s3c_fb_check_var()
329 dev_err(sfb->dev, "invalid bpp\n"); in s3c_fb_check_var()
370 * @bpp: The number of bits per pixel
376 static int s3c_fb_align_word(unsigned int bpp, unsigned int pix) in s3c_fb_align_word() argument
380 if (bpp > 16) in s3c_fb_align_word()
383 pix_per_word = (8 * 32) / bpp; in s3c_fb_align_word()
877 /* X offset depends on the current bpp */ in s3c_fb_pan_display()
892 dev_err(sfb->dev, "invalid bpp\n"); in s3c_fb_pan_display()
1225 /* Set 8bpp or 8bpp and 1bit alpha */ in s3c_fb_probe_win()
1657 VALID_BPP(18) | VALID_BPP(24)),
1666 VALID_BPP(18) | VALID_BPP(19) |
1678 VALID_BPP(18) | VALID_BPP(19) |
1688 VALID_BPP(18) | VALID_BPP(19) |
1698 VALID_BPP(16) | VALID_BPP(18) |
1766 VALID_BPP(18) | VALID_BPP(19) |