Home
last modified time | relevance | path

Searched +full:18 +full:bpp (Results 1 – 25 of 92) sorted by relevance

1234

/linux/include/video/
H A Dsh_mobile_lcdc.h75 #define LDDFR_CF1 (1 << 18)
105 RGB8 = LDMT1R_MIFTYP_RGB8, /* 24bpp, 8:8:8 */
106 RGB9 = LDMT1R_MIFTYP_RGB9, /* 18bpp, 9:9 */
107 RGB12A = LDMT1R_MIFTYP_RGB12A, /* 24bpp, 12:12 */
108 RGB12B = LDMT1R_MIFTYP_RGB12B, /* 12bpp */
109 RGB16 = LDMT1R_MIFTYP_RGB16, /* 16bpp */
110 RGB18 = LDMT1R_MIFTYP_RGB18, /* 18bpp */
111 RGB24 = LDMT1R_MIFTYP_RGB24, /* 24bpp */
112 YUV422 = LDMT1R_MIFTYP_YCBCR, /* 16bpp */
113 SYS8A = LDMT1R_IFM | LDMT1R_MIFTYP_SYS8A, /* 24bpp, 8:8:8 */
[all …]
/linux/Documentation/fb/
H A Darkfb.rst19 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
20 * 8 bpp pseudocolor mode (with 18bit palette)
21 * 16 bpp truecolor modes (RGB 555 and RGB 565)
22 * 24 bpp truecolor mode (RGB 888)
23 * 32 bpp truecolor mode (RGB 888)
24 * text mode (activated by bpp = 0)
36 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
54 * support for fontwidths != 8 in 4 bpp modes
H A Ds3fb.rst26 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
27 * 8 bpp pseudocolor mode (with 18bit palette)
28 * 16 bpp truecolor modes (RGB 555 and RGB 565)
29 * 24 bpp truecolor mode (RGB 888) on (only on Virge VX)
30 * 32 bpp truecolor mode (RGB 888) on (not on Virge VX)
31 * text mode (activated by bpp = 0)
45 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
62 * 24 bpp mode support on more cards
63 * support for fontwidths != 8 in 4 bpp modes
H A Dvt8623fb.rst18 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
19 * 8 bpp pseudocolor mode (with 18bit palette)
20 * 16 bpp truecolor mode (RGB 565)
21 * 32 bpp truecolor mode (RGB 888)
22 * text mode (activated by bpp = 0)
33 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
49 * support for fontwidths != 8 in 4 bpp modes
H A Dviafb.rst29 color depth: 8 bpp, 16 bpp, 32 bpp supports.
85 - 18: Resolution: 1280x768, Channel: dual, Dithering: Enable
194 and bpp, need to call VIAFB specified ioctl interface VIAFB_SET_DEVICE
/linux/drivers/gpu/drm/gma500/
H A Doaktrail.h76 struct oaktrail_timing_info DTD;/*18 bytes, Standard definition */
89 /* Bit0: 16bpp (not supported in LNC), */
90 /* Bit1: 18bpp loosely packed, */
91 /* Bit2: 18bpp packed, */
92 /* Bit3: 24bpp */
105 struct oaktrail_timing_info DTD;/*18 bytes, Standard definition */
119 /* Bit0: 16bpp (not supported in LNC), */
120 /* Bit1: 18bpp loosely packed, */
121 /* Bit2: 18bpp packed, */
122 /* Bit3: 24bpp */
H A Dintel_bios.c55 dev_priv->edp.bpp = 18; in parse_edp()
59 dev_priv->edp.bpp); in parse_edp()
67 dev_priv->edp.bpp = 18; in parse_edp()
70 dev_priv->edp.bpp = 24; in parse_edp()
73 dev_priv->edp.bpp = 30; in parse_edp()
102 DRM_DEBUG_KMS("VBT reports EDP: Lane_count %d, Lane_rate %d, Bpp %d\n", in parse_edp()
103 dev_priv->edp.lanes, dev_priv->edp.rate, dev_priv->edp.bpp); in parse_edp()
/linux/drivers/video/fbdev/
H A Dpxafb.c242 /* calculate pixel depth, transparency bit included, >=16bpp formats _only_ */
249 /* calculate 4-bit BPP value for LCCR3 and OVLxC1 */
252 int bpp = -EINVAL; in pxafb_var_to_bpp() local
255 case 1: bpp = 0; break; in pxafb_var_to_bpp()
256 case 2: bpp = 1; break; in pxafb_var_to_bpp()
257 case 4: bpp = 2; break; in pxafb_var_to_bpp()
258 case 8: bpp = 3; break; in pxafb_var_to_bpp()
259 case 16: bpp = 4; break; in pxafb_var_to_bpp()
262 case 18: bpp = 6; break; /* 18-bits/pixel packed */ in pxafb_var_to_bpp()
263 case 19: bpp = 8; break; /* 19-bits/pixel packed */ in pxafb_var_to_bpp()
[all …]
H A Datafb.c125 short bpp; member
221 2, 130, 66, 194, 34, 162, 98, 226, 18, 146, 82, 210, 50, 178, 114, 242,
497 "vga", 60, 640, 480, 39721, 42, 18, 31, 11, 100, 3,
501 "vga70", 70, 640, 400, 39721, 42, 18, 31, 11, 100, 3,
511 "falh", 60, 896, 608, 32000, 18, 42, 31, 1, 96,3,
583 int bpp = var->bits_per_pixel; in tt_decode_var() local
588 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) in tt_decode_var()
593 bpp = 1; in tt_decode_var()
595 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) in tt_decode_var()
597 if (bpp > 4) { in tt_decode_var()
[all …]
H A Dau1100fb.h78 u32 bpp; /* Maximum depth supported */ member
125 #define LCD_CONTROL_SBPPF_BIT 18
202 #define LCD_CLKCONTROL_IB (1<<18)
277 .bpp = 16,
290 .bpp = 16,
301 .bpp = 16,
328 .bpp = 4,
350 .bpp = 16,
362 .bpp = 16,
H A Ds3c-fb.c116 * @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()
[all …]
H A Dvt8500lcdfb.c42 int reg_bpp = 5; /* 16bpp */ in vt8500lcd_set_par()
117 | ((info->var.left_margin & 0xff) << 18) in vt8500lcd_set_par()
121 | ((info->var.upper_margin & 0xff) << 18) in vt8500lcd_set_par()
277 u32 bpp; in vt8500lcd_probe() local
346 ret = of_property_read_u32(pdev->dev.of_node, "bits-per-pixel", &bpp); in vt8500lcd_probe()
351 fb_mem_len = of_mode.xres * of_mode.yres * 2 * (bpp / 8); in vt8500lcd_probe()
400 fbi->fb.var.bits_per_pixel = bpp; in vt8500lcd_probe()
H A Ds1d13xxxfb.c204 dbg("s1d13xxxfb_set_par: bpp=%d\n", info->var.bits_per_pixel); in s1d13xxxfb_set_par()
231 dbg("bpp not supported!\n"); in s1d13xxxfb_set_par()
441 u16 bpp; in s1d13xxxfb_bitblt_copyarea() local
446 bpp = (info->var.bits_per_pixel >> 3); in s1d13xxxfb_bitblt_copyarea()
447 stride = bpp * info->var.xres; in s1d13xxxfb_bitblt_copyarea()
451 dst = (((dy + height - 1) * stride) + (bpp * (dx + width - 1))); in s1d13xxxfb_bitblt_copyarea()
452 src = (((sy + height - 1) * stride) + (bpp * (sx + width - 1))); in s1d13xxxfb_bitblt_copyarea()
455 } else { /* (y * xres) + (bpp * x) */ in s1d13xxxfb_bitblt_copyarea()
456 dst = (dy * stride) + (bpp * dx); in s1d13xxxfb_bitblt_copyarea()
457 src = (sy * stride) + (bpp * sx); in s1d13xxxfb_bitblt_copyarea()
[all …]
H A Dimxfb.c46 unsigned char bpp; member
235 /* Actually this really is 18bit support, the lowest 2 bits of each colour
237 * like X work, which does not support 18bit.
390 var->bits_per_pixel = imxfb_mode->bpp; in imxfb_check_var()
748 u32 bpp; in imxfb_of_read_mode() local
761 ret = of_property_read_u32(np, "bits-per-pixel", &bpp); in imxfb_of_read_mode()
765 dev_err(dev, "Failed to read bpp and pcr from DT\n"); in imxfb_of_read_mode()
769 if (bpp < 1 || bpp > 255) { in imxfb_of_read_mode()
774 imxfb_mode->bpp = bpp; in imxfb_of_read_mode()
940 * be the same as m->bpp/8 in imxfb_probe()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dsi_reg.h50 /* 8 BPP */
52 /* 16 BPP */
59 /* 32 BPP */
81 # define SI_GRPH_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 18)
H A Dcik_reg.h52 /* 8 BPP */
54 /* 16 BPP */
61 /* 32 BPP */
83 # define CIK_GRPH_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 18)
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_opp.c100 * 1) set truncation depth: 0 for 18 bpp or 1 for 24 bpp
145 * 1) set truncation depth: 0 for 18 bpp or 1 for 24 bpp
187 * 2) set spatial dithering depth: 0 for 18bpp or 1 for 24bpp
/linux/fs/xfs/
H A Dxfs_buf.h36 #define _XBF_LOGRECOVERY (1u << 18)/* log recovery buffer */
216 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
218 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
230 struct xfs_buf **bpp) in xfs_buf_incore() argument
234 return xfs_buf_get_map(target, &map, 1, XBF_INCORE | flags, bpp); in xfs_buf_incore()
242 struct xfs_buf **bpp) in xfs_buf_get() argument
246 return xfs_buf_get_map(target, &map, 1, 0, bpp); in xfs_buf_get()
255 struct xfs_buf **bpp, in xfs_buf_read() argument
260 return xfs_buf_read_map(target, &map, 1, flags, bpp, ops, in xfs_buf_read()
276 struct xfs_buf **bpp);
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c46 #define SUN6I_DSI_BASIC_CTL0_HS_EOTP_EN BIT(18)
215 BIT(12) | BIT(15) | BIT(18) | BIT(20) | BIT(21) | BIT(22)),
219 BIT(17) | BIT(18) | BIT(19) | BIT(20) | BIT(22) | BIT(23)),
221 BIT(16) | BIT(17) | BIT(18) | BIT(19) | BIT(21) | BIT(22) |
380 unsigned int Bpp = mipi_dsi_pixel_format_to_bpp(device->format) / 8; in sun6i_dsi_get_line_num() local
382 return mode->htotal * Bpp / device->lanes; in sun6i_dsi_get_line_num()
404 unsigned int Bpp = mipi_dsi_pixel_format_to_bpp(device->format) / 8; in sun6i_dsi_get_drq_edge1() local
409 edge1 += (mode->hdisplay + hbp + 20) * Bpp / device->lanes; in sun6i_dsi_get_drq_edge1()
534 int Bpp = mipi_dsi_pixel_format_to_bpp(device->format) / 8; in sun6i_dsi_setup_timings() local
543 hblk = mode->hdisplay * Bpp; in sun6i_dsi_setup_timings()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.h56 extern void nouveau_calc_arb(struct drm_device *, int vclk, int bpp,
367 (cre_heb & ~0x40) | ((offset >> 18) & 0x40)); in nv_set_crtc_base()
389 nv_pitch_align(struct drm_device *dev, uint32_t width, int bpp) in nv_pitch_align() argument
394 if (bpp == 15) in nv_pitch_align()
395 bpp = 16; in nv_pitch_align()
396 if (bpp == 24) in nv_pitch_align()
397 bpp = 8; in nv_pitch_align()
401 mask = 128 / bpp - 1; in nv_pitch_align()
403 mask = 512 / bpp - 1; in nv_pitch_align()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_qp_tables.c11 /* from BPP 6 to 24 in steps of 0.5 */
14 /* from BPP 6 to 30 in steps of 0.5 */
17 /* from BPP 6 to 36 in steps of 0.5 */
21 * is double the target bpp. The below values represent
22 * the target bpp.
24 /* from BPP 4 to 12 in steps of 0.5 */
27 /* from BPP 4 to 15 in steps of 0.5 */
30 /* from BPP 4 to 18 in steps of 0.5 */
147 { 18, 18, 17, 17, 16, 16, 16, 16, 15, 15, 14, 14, 14, 14, 13, 13, 13,
195 { 19, 19, 18, 18, 17, 17, 17, 17, 16, 16, 15, 15, 15, 15, 14, 14, 14,
[all …]
/linux/arch/sparc/include/uapi/asm/
H A Dfbio.h33 #define FBTYPE_SUNGT 18
176 int mdi_mode; /* 8bpp, 16bpp or 32bpp */
/linux/drivers/staging/sm750fb/
H A Dsm750.c44 {NULL, 60, 1024, 600, 20423, 144, 40, 18, 1, 104, 3,
163 unsigned int base, pitch, bpp, rop; in lynxfb_ops_fillrect() local
178 bpp = info->var.bits_per_pixel >> 3; in lynxfb_ops_fillrect()
180 color = (bpp == 1) ? region->color : in lynxfb_ops_fillrect()
193 base, pitch, bpp, in lynxfb_ops_fillrect()
205 unsigned int base, pitch, bpp; in lynxfb_ops_copyarea() local
216 bpp = info->var.bits_per_pixel >> 3; in lynxfb_ops_copyarea()
228 base, pitch, bpp, region->dx, region->dy, in lynxfb_ops_copyarea()
237 unsigned int base, pitch, bpp; in lynxfb_ops_imageblit() local
250 bpp = info->var.bits_per_pixel >> 3; in lynxfb_ops_imageblit()
[all …]
/linux/arch/x86/boot/
H A Dvesa.h22 u16 total_memory; /* 18 */
38 u16 h_res; /* 18 */
43 u8 bpp; /* 25 */ member
/linux/drivers/staging/media/av7110/
H A Dav7110_hw.c505 u16 cmd[18] = { ((COMTYPE_COMMON_IF << 8) + subcom),
517 ret = av7110_send_fw_cmd(av7110, cmd, 18);
652 u16 buf[18] = { ((COMTYPE_AUDIODAC << 8) + SendDiSEqC), in av7110_diseqc_send()
671 ret = av7110_send_fw_cmd(av7110, buf, 18); in av7110_diseqc_send()
842 int bpp; in LoadBitmap() local
854 bpp = 8; delta = 1; in LoadBitmap()
856 bpp = 4; delta = 2; in LoadBitmap()
858 bpp = 2; delta = 4; in LoadBitmap()
860 bpp = 1; delta = 8; in LoadBitmap()
865 av7110->bmplen = ((dx * dy * bpp + 7) & ~7) / 8; in LoadBitmap()
[all …]

1234