| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | shmob_drm.h | 24 SHMOB_DRM_IFACE_RGB8, /* 24bpp, 8:8:8 */ 25 SHMOB_DRM_IFACE_RGB9, /* 18bpp, 9:9 */ 26 SHMOB_DRM_IFACE_RGB12A, /* 24bpp, 12:12 */ 27 SHMOB_DRM_IFACE_RGB12B, /* 12bpp */ 28 SHMOB_DRM_IFACE_RGB16, /* 16bpp */ 29 SHMOB_DRM_IFACE_RGB18, /* 18bpp */ 30 SHMOB_DRM_IFACE_RGB24, /* 24bpp */ 31 SHMOB_DRM_IFACE_YUV422, /* 16bpp */ 32 SHMOB_DRM_IFACE_SYS8A, /* 24bpp, 8:8:8 */ 33 SHMOB_DRM_IFACE_SYS8B, /* 18bpp, 8:8:2 */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | shmob_drm.h | 22 SHMOB_DRM_IFACE_RGB8, /* 24bpp, 8:8:8 */ 23 SHMOB_DRM_IFACE_RGB9, /* 18bpp, 9:9 */ 24 SHMOB_DRM_IFACE_RGB12A, /* 24bpp, 12:12 */ 25 SHMOB_DRM_IFACE_RGB12B, /* 12bpp */ 26 SHMOB_DRM_IFACE_RGB16, /* 16bpp */ 27 SHMOB_DRM_IFACE_RGB18, /* 18bpp */ 28 SHMOB_DRM_IFACE_RGB24, /* 24bpp */ 29 SHMOB_DRM_IFACE_YUV422, /* 16bpp */ 30 SHMOB_DRM_IFACE_SYS8A, /* 24bpp, 8:8:8 */ 31 SHMOB_DRM_IFACE_SYS8B, /* 18bpp, 8:8:2 */ [all …]
|
| /kernel/linux/linux-5.10/include/video/ |
| D | sh_mobile_lcdc.h | 75 #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 …]
|
| /kernel/linux/linux-6.6/include/video/ |
| D | sh_mobile_lcdc.h | 75 #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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/display/ |
| D | drm_dsc_helper.c | 165 /* PPS 18, 19 */ in drm_dsc_pps_payload_pack() 320 * For 6bpp, RC Buffer threshold 12 and 13 need a different value in drm_dsc_set_rc_buf_thresh() 342 u8 bpp; member 347 #define DSC_BPP(bpp) ((bpp) << 4) argument 351 * to DSC 1.1 fractional bpp underflow SCR (DSC_v1.1_E1.pdf) 357 .bpp = DSC_BPP(6), .bpc = 8, 367 .bpp = DSC_BPP(8), .bpc = 8, 377 .bpp = DSC_BPP(8), .bpc = 10, 391 .bpp = DSC_BPP(8), .bpc = 12, 395 { 11, 17, -8 }, { 11, 18, -10 }, { 13, 19, -10 }, [all …]
|
| /kernel/linux/linux-6.6/Documentation/fb/ |
| D | arkfb.rst | 19 * 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
|
| D | s3fb.rst | 26 * 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
|
| D | vt8623fb.rst | 18 * 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
|
| /kernel/linux/linux-5.10/Documentation/fb/ |
| D | arkfb.rst | 19 * 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
|
| D | s3fb.rst | 26 * 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
|
| D | vt8623fb.rst | 18 * 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
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
| D | oaktrail.h | 76 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 */
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
| D | oaktrail.h | 76 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 */
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_vdsc.c | 55 /* 6BPP/8BPC */ 63 /* 6BPP/10BPC */ 69 { 17, 18, -12 } 72 /* 6BPP/12BPC */ 75 { 13, 17, -6 }, { 13, 17, -6 }, { 14, 17, -6 }, { 14, 18, -8 }, 77 { 18, 20, -12 }, { 18, 20, -12 }, { 19, 20, -12 }, 81 /* 6BPP/14BPC */ 83 { 0, 16, 0 }, { 7, 18, -2 }, { 15, 20, -2 }, { 16, 20, -4 }, 84 { 17, 21, -6 }, { 17, 21, -6 }, { 18, 21, -6 }, { 18, 22, -8 }, 90 /* 6BPP/16BPC */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
| D | dp_panel.c | 115 const u32 max_supported_bpp = 30, min_supported_bpp = 18; in dp_panel_get_supported_bpp() 116 u32 bpp = 0, data_rate_khz = 0; in dp_panel_get_supported_bpp() local 118 bpp = min_t(u32, mode_edid_bpp, max_supported_bpp); in dp_panel_get_supported_bpp() 123 while (bpp > min_supported_bpp) { in dp_panel_get_supported_bpp() 124 if (mode_pclk_khz * bpp <= data_rate_khz) in dp_panel_get_supported_bpp() 126 bpp -= 6; in dp_panel_get_supported_bpp() 129 return bpp; in dp_panel_get_supported_bpp() 232 u32 bpp = mode_edid_bpp; in dp_panel_get_mode_bpp() local 242 bpp = dp_link_bit_depth_to_bpp( in dp_panel_get_mode_bpp() 245 bpp = dp_panel_get_supported_bpp(dp_panel, mode_edid_bpp, in dp_panel_get_mode_bpp() [all …]
|
| D | dp_link.h | 87 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp 90 * Returns the bits per pixel (bpp) to be used corresponding to the 104 return 18; in dp_link_bit_depth_to_bpp() 139 u32 dp_link_get_test_bits_depth(struct dp_link *dp_link, u32 bpp);
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
| D | mdp4_lcdc_encoder.c | 64 int bpp, nchan, swap; in setup_phy() local 69 bpp = 3 * connector->display_info.bpc; in setup_phy() 71 if (!bpp) in setup_phy() 72 bpp = 18; in setup_phy() 78 switch (bpp) { in setup_phy() 133 case 18: in setup_phy() 177 DRM_DEV_ERROR(dev->dev, "unknown bpp: %d\n", bpp); in setup_phy() 327 /* TODO: hard-coded for 18bpp: */ in mdp4_lcdc_encoder_enable()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp4/ |
| D | mdp4_lcdc_encoder.c | 64 int bpp, nchan, swap; in setup_phy() local 69 bpp = 3 * connector->display_info.bpc; in setup_phy() 71 if (!bpp) in setup_phy() 72 bpp = 18; in setup_phy() 78 switch (bpp) { in setup_phy() 133 case 18: in setup_phy() 177 DRM_DEV_ERROR(dev->dev, "unknown bpp: %d\n", bpp); in setup_phy() 327 /* TODO: hard-coded for 18bpp: */ in mdp4_lcdc_encoder_enable()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_dsc_1_2.c | 95 u32 bpp; in dpu_hw_dsc_config_1_2() local 123 data |= (_dsc_calc_output_buf_max_addr(hw_dsc, num_active_slice_per_enc) << 18); in dpu_hw_dsc_config_1_2() 135 bpp = dsc->bits_per_pixel; in dpu_hw_dsc_config_1_2() 136 /* as per hw requirement bpp should be programmed in dpu_hw_dsc_config_1_2() 140 bpp = 2 * bpp; in dpu_hw_dsc_config_1_2() 142 data |= bpp << 10; in dpu_hw_dsc_config_1_2() 302 (rc[3].range_bpg_offset << 18) | in dpu_hw_dsc_config_thresh_1_2() 321 (rc[8].range_bpg_offset << 18) | in dpu_hw_dsc_config_thresh_1_2() 340 (rc[13].range_bpg_offset << 18) | in dpu_hw_dsc_config_thresh_1_2()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
| D | dp_link.h | 75 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp 78 * Returns the bits per pixel (bpp) to be used corresponding to the 92 return 18; in dp_link_bit_depth_to_bpp() 127 u32 dp_link_get_test_bits_depth(struct dp_link *dp_link, u32 bpp);
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | si_reg.h | 50 /* 8 BPP */ 52 /* 16 BPP */ 59 /* 32 BPP */ 81 # define SI_GRPH_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 18)
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | si_reg.h | 50 /* 8 BPP */ 52 /* 16 BPP */ 59 /* 32 BPP */ 81 # define SI_GRPH_MACRO_TILE_ASPECT(x) (((x) & 0x3) << 18)
|
| /kernel/linux/linux-6.6/drivers/media/platform/nxp/ |
| D | imx7-media-csi.c | 49 #define BIT_RXFF_INTEN BIT(18) 101 #define BIT_RXFF_INT BIT(18) 115 /* csi control reg 18 */ 126 #define BIT_MASK_OPTION_FIRST_FRAME (0 << 18) 127 #define BIT_MASK_OPTION_CSI_EN (1 << 18) 128 #define BIT_MASK_OPTION_SECOND_FRAME (2 << 18) 129 #define BIT_MASK_OPTION_ON_DATA (3 << 18) 185 int bpp; /* total bpp */ member 820 * in single (8bpp) or double (16bpp) component modes. Image format variants 850 .bpp = 16, [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | pxafb.c | 241 /* calculate pixel depth, transparency bit included, >=16bpp formats _only_ */ 248 /* calculate 4-bit BPP value for LCCR3 and OVLxC1 */ 251 int bpp = -EINVAL; in pxafb_var_to_bpp() local 254 case 1: bpp = 0; break; in pxafb_var_to_bpp() 255 case 2: bpp = 1; break; in pxafb_var_to_bpp() 256 case 4: bpp = 2; break; in pxafb_var_to_bpp() 257 case 8: bpp = 3; break; in pxafb_var_to_bpp() 258 case 16: bpp = 4; break; in pxafb_var_to_bpp() 261 case 18: bpp = 6; break; /* 18-bits/pixel packed */ in pxafb_var_to_bpp() 262 case 19: bpp = 8; break; /* 19-bits/pixel packed */ in pxafb_var_to_bpp() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | pxafb.c | 241 /* calculate pixel depth, transparency bit included, >=16bpp formats _only_ */ 248 /* calculate 4-bit BPP value for LCCR3 and OVLxC1 */ 251 int bpp = -EINVAL; in pxafb_var_to_bpp() local 254 case 1: bpp = 0; break; in pxafb_var_to_bpp() 255 case 2: bpp = 1; break; in pxafb_var_to_bpp() 256 case 4: bpp = 2; break; in pxafb_var_to_bpp() 257 case 8: bpp = 3; break; in pxafb_var_to_bpp() 258 case 16: bpp = 4; break; in pxafb_var_to_bpp() 261 case 18: bpp = 6; break; /* 18-bits/pixel packed */ in pxafb_var_to_bpp() 262 case 19: bpp = 8; break; /* 19-bits/pixel packed */ in pxafb_var_to_bpp() [all …]
|