/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dsc/ |
D | rc_calc_fpu.c | 65 enum max_min max_min, float bpp) in get_qp_set() argument 99 index = (bpp - table[0].bpp) * 2; in get_qp_set() 110 static void get_ofs_set(qp_set ofs, enum colour_mode mode, float bpp) in get_ofs_set() argument 115 …bpp <= 6) ? (0) : ((((bpp >= 8) && (bpp <= 12))) ? (2) : ((bpp >= 15) ? (10) : ((((bpp > 6) && (… in get_ofs_set() 116 …bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (8) : ((((bpp > 6) && (… in get_ofs_set() 117 …bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (6) : ((((bpp > 6) && (… in get_ofs_set() 118 …bpp <= 6) ? (-4) : ((((bpp >= 8) && (bpp <= 12))) ? (-2) : ((bpp >= 15) ? (4) : ((((bpp > 6) && … in get_ofs_set() 119 …bpp <= 6) ? (-6) : ((((bpp >= 8) && (bpp <= 12))) ? (-4) : ((bpp >= 15) ? (2) : ((((bpp > 6) && … in get_ofs_set() 120 *p++ = (bpp <= 12) ? (-6) : ((bpp >= 15) ? (0) : (-6 + dsc_roundf((bpp - 12) * (6 / 3.0)))); in get_ofs_set() 121 *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-2) : (-8 + dsc_roundf((bpp - 12) * (6 / 3.0)))); in get_ofs_set() [all …]
|
/Linux-v6.1/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_formats.c | 18 .bpp = { 4, 0, 0 }, 26 .bpp = { 4, 0, 0 }, 34 .bpp = { 4, 0, 0 }, 42 .bpp = { 4, 0, 0 }, 50 .bpp = { 4, 0, 0 }, 58 .bpp = { 4, 0, 0 }, 66 .bpp = { 4, 0, 0 }, 74 .bpp = { 4, 0, 0 }, 82 .bpp = { 3, 0, 0 }, 90 .bpp = { 3, 0, 0 }, [all …]
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | v4l2-common.c | 238 …24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .… in v4l2_format_info() 239 …24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .… in v4l2_format_info() 240 …24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .… in v4l2_format_info() 241 …32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() 242 …R32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() 243 …X32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() 244 …32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() 245 …B32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() 246 …X32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() 247 …32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info() [all …]
|
/Linux-v6.1/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 43 .bpp = 16, 51 .bpp = 16, 59 .bpp = 16, 66 .bpp = 32, 74 .bpp = 32, 82 .bpp = 16, 90 .bpp = 16, 98 .bpp = 12, 106 .bpp = 12, 114 .bpp = 16, [all …]
|
/Linux-v6.1/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 27 .bpp = 3, 42 .bpp = 3, 48 .bpp = 4, 56 .bpp = 1, 62 .bpp = 1, 68 .bpp = 1, 74 .bpp = 1, 80 .bpp = 2, 86 .bpp = 2, 92 .bpp = 2, [all …]
|
/Linux-v6.1/drivers/video/fbdev/ |
D | c2p_iplan2.c | 48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) in store_iplan2() argument 52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2() 61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) in store_iplan2_masked() argument 65 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2_masked() 86 u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp) in c2p_iplan2() argument 96 dst += dy*dst_nextline+(dx & ~15)*bpp; in c2p_iplan2() 113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2() 114 p += bpp*2; in c2p_iplan2() 125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2() 126 p += bpp*2; in c2p_iplan2() [all …]
|
D | c2p_planar.c | 48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) in store_planar() argument 52 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar() 61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, in store_planar_masked() argument 66 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar_masked() 88 u32 src_nextline, u32 bpp) in c2p_planar() argument 113 store_planar_masked(p, dst_nextplane, bpp, d.words, in c2p_planar() 126 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar() 136 store_planar(p, dst_nextplane, bpp, d.words); in c2p_planar() 146 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar()
|
D | sh7760fb.c | 122 u16 lddfr, int *bpp, int *gray) in sh7760fb_get_color_info() argument 157 if (bpp) in sh7760fb_get_color_info() 158 *bpp = lbpp; in sh7760fb_get_color_info() 170 int ret, bpp; in sh7760fb_check_var() local 173 ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, NULL); in sh7760fb_check_var() 177 var->bits_per_pixel = bpp; in sh7760fb_check_var() 204 int ret, bpp, gray; in sh7760fb_set_par() local 225 ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, &gray); in sh7760fb_set_par() 230 vdln, bpp, gray ? "grayscale" : "color", in sh7760fb_set_par() 270 stride *= (bpp + 7) >> 3; in sh7760fb_set_par() [all …]
|
D | tridentfb.c | 65 static int bpp = 8; variable 83 module_param(bpp, int, 0); 306 static void blade_init_accel(struct tridentfb_par *par, int pitch, int bpp) in blade_init_accel() argument 309 int tmp = bpp == 24 ? 2 : (bpp >> 4); in blade_init_accel() 380 static void xp_init_accel(struct tridentfb_par *par, int pitch, int bpp) in xp_init_accel() argument 382 unsigned char x = bpp == 24 ? 3 : (bpp >> 4); in xp_init_accel() 383 int v1 = pitch << (bpp == 24 ? 20 : (18 + x)); in xp_init_accel() 385 switch (pitch << (bpp >> 3)) { in xp_init_accel() 478 static void image_init_accel(struct tridentfb_par *par, int pitch, int bpp) in image_init_accel() argument 480 int tmp = bpp == 24 ? 2: (bpp >> 4); in image_init_accel() [all …]
|
/Linux-v6.1/drivers/video/fbdev/core/ |
D | sysimgblt.c | 58 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() local 59 u32 null_bits = 32 - bpp; in color_imageblit() 82 color <<= FB_LEFT_POS(p, bpp); in color_imageblit() 90 shift += bpp; in color_imageblit() 115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local 118 u32 null_bits = 32 - bpp; in slow_imageblit() 124 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit() 125 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit() 153 shift += bpp; in slow_imageblit() 189 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local [all …]
|
D | cfbimgblt.c | 83 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() local 84 u32 null_bits = 32 - bpp; in color_imageblit() 108 color <<= FB_LEFT_POS(p, bpp); in color_imageblit() 116 shift += bpp; in color_imageblit() 143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local 146 u32 null_bits = 32 - bpp; in slow_imageblit() 153 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit() 154 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit() 182 shift += bpp; in slow_imageblit() 219 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local [all …]
|
D | fb_draw.h | 26 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument 28 switch (bpp) { in pixel_to_pat() 46 WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp); in pixel_to_pat() 52 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument 54 switch (bpp) { in pixel_to_pat() 72 WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp); in pixel_to_pat() 148 unsigned bpp = info->var.bits_per_pixel; in fb_compute_bswapmask() local 150 if ((bpp < 8) && (info->var.nonstd & FB_NONSTD_REV_PIX_IN_B)) { in fb_compute_bswapmask() 155 bswapmask = 7 - bpp + 1; in fb_compute_bswapmask()
|
/Linux-v6.1/drivers/gpu/drm/shmobile/ |
D | shmob_drm_kms.c | 29 .bpp = 16, 34 .bpp = 24, 39 .bpp = 32, 44 .bpp = 12, 49 .bpp = 12, 54 .bpp = 16, 59 .bpp = 16, 64 .bpp = 24, 69 .bpp = 24, 111 unsigned int chroma_cpp = format->bpp == 24 ? 2 : 1; in shmob_drm_fb_create()
|
/Linux-v6.1/drivers/gpu/drm/i915/gvt/ |
D | fb_decoder.c | 45 int bpp; /* Bits per pixel, 0 indicates invalid */ member 148 u32 tiled, int stride_mask, int bpp) in intel_vgpu_get_stride() argument 167 if (bpp == 8) in intel_vgpu_get_stride() 169 else if (bpp == 16 || bpp == 32 || bpp == 64) in intel_vgpu_get_stride() 172 gvt_dbg_core("skl: unsupported bpp:%d\n", bpp); in intel_vgpu_get_stride() 232 plane->bpp = skl_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane() 237 plane->bpp = bdw_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane() 241 if (!plane->bpp) { in intel_vgpu_decode_primary_plane() 262 _PRI_PLANE_STRIDE_MASK, plane->bpp); in intel_vgpu_decode_primary_plane() 283 u8 bpp; /* Bits per pixel; 0 indicates invalid */ member [all …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 45 int bpp; member 56 int pagemiss, cas, bpp; in nv04_calc_arb() local 68 bpp = arb->bpp; in nv04_calc_arb() 84 crtc_drain_rate = pclk_freq * bpp / 8; in nv04_calc_arb() 94 p1 = p1 * bpp / 8; in nv04_calc_arb() 124 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ in nv10_calc_arb() 161 + (arb->bpp == 32 ? 8 : 4); /* Margin of error. */ in nv10_calc_arb() 193 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, in nv04_update_arb() argument 208 sim_data.bpp = bpp; in nv04_update_arb() 252 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) in nouveau_calc_arb() argument [all …]
|
/Linux-v6.1/include/linux/sunrpc/ |
D | cache.h | 80 char **bpp, int *blen); 245 extern void qword_add(char **bpp, int *lp, char *str); 246 extern void qword_addhex(char **bpp, int *lp, char *buf, int blen); 247 extern int qword_get(char **bpp, char *dest, int bufsize); 249 static inline int get_int(char **bpp, int *anint) in get_int() argument 254 int len = qword_get(bpp, buf, sizeof(buf)); in get_int() 269 static inline int get_uint(char **bpp, unsigned int *anint) in get_uint() argument 272 int len = qword_get(bpp, buf, sizeof(buf)); in get_uint() 285 static inline int get_time(char **bpp, time64_t *time) in get_time() argument 289 int len = qword_get(bpp, buf, sizeof(buf)); in get_time() [all …]
|
/Linux-v6.1/drivers/staging/media/imx/ |
D | imx-media-utils.c | 24 .bpp = 16, 32 .bpp = 16, 36 .bpp = 12, 41 .bpp = 12, 46 .bpp = 16, 51 .bpp = 12, 56 .bpp = 16, 62 .bpp = 32, 70 .bpp = 16, 79 .bpp = 24, [all …]
|
/Linux-v6.1/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
|
/Linux-v6.1/drivers/video/fbdev/omap/ |
D | lcdc.c | 51 int bpp; member 188 xelem = lcdc.xres * lcdc.bpp / 8 / esize; in setup_lcd_dma() 198 xelem = lcdc.yres * lcdc.bpp / 16; in setup_lcd_dma() 212 int bpp = lcdc.bpp; in setup_lcd_dma() local 219 bpp = 16; in setup_lcd_dma() 222 lcdc.screen_width * bpp / 8 / esize); in setup_lcd_dma() 314 lcdc.bpp = 8; in omap_lcdc_setup_plane() 319 lcdc.bpp = 16; in omap_lcdc_setup_plane() 324 lcdc.bpp = 16; in omap_lcdc_setup_plane() 330 lcdc.bpp = 12; in omap_lcdc_setup_plane() [all …]
|
/Linux-v6.1/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_plane.c | 88 unsigned int alpha = DCU_LAYER_AB_NONE, bpp; in fsl_dcu_drm_plane_atomic_update() local 102 bpp = FSL_DCU_RGB565; in fsl_dcu_drm_plane_atomic_update() 105 bpp = FSL_DCU_RGB888; in fsl_dcu_drm_plane_atomic_update() 111 bpp = FSL_DCU_ARGB8888; in fsl_dcu_drm_plane_atomic_update() 117 bpp = FSL_DCU_ARGB4444; in fsl_dcu_drm_plane_atomic_update() 123 bpp = FSL_DCU_ARGB1555; in fsl_dcu_drm_plane_atomic_update() 126 bpp = FSL_DCU_YUV422; in fsl_dcu_drm_plane_atomic_update() 143 DCU_LAYER_BPP(bpp) | in fsl_dcu_drm_plane_atomic_update()
|
/Linux-v6.1/arch/m68k/include/asm/ |
D | mac_via.h | 270 static inline int rbv_set_video_bpp(int bpp) in rbv_set_video_bpp() argument 272 char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1; in rbv_set_video_bpp()
|
/Linux-v6.1/fs/xfs/ |
D | xfs_buf.h | 206 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp); 208 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp, 220 struct xfs_buf **bpp) in xfs_buf_incore() argument 224 return xfs_buf_get_map(target, &map, 1, XBF_INCORE | flags, bpp); in xfs_buf_incore() 232 struct xfs_buf **bpp) in xfs_buf_get() argument 236 return xfs_buf_get_map(target, &map, 1, 0, bpp); in xfs_buf_get() 245 struct xfs_buf **bpp, in xfs_buf_read() argument 250 return xfs_buf_read_map(target, &map, 1, flags, bpp, ops, in xfs_buf_read() 266 xfs_buf_flags_t flags, struct xfs_buf **bpp); 268 size_t numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp,
|
/Linux-v6.1/drivers/gpu/drm/msm/dp/ |
D | dp_panel.c | 118 u32 bpp = 0, data_rate_khz = 0; in dp_panel_get_supported_bpp() local 120 bpp = min_t(u32, mode_edid_bpp, max_supported_bpp); in dp_panel_get_supported_bpp() 125 while (bpp > min_supported_bpp) { in dp_panel_get_supported_bpp() 126 if (mode_pclk_khz * bpp <= data_rate_khz) in dp_panel_get_supported_bpp() 128 bpp -= 6; in dp_panel_get_supported_bpp() 131 return bpp; in dp_panel_get_supported_bpp() 234 u32 bpp; in dp_panel_get_mode_bpp() local 244 bpp = dp_link_bit_depth_to_bpp( in dp_panel_get_mode_bpp() 247 bpp = dp_panel_get_supported_bpp(dp_panel, mode_edid_bpp, in dp_panel_get_mode_bpp() 250 return bpp; in dp_panel_get_mode_bpp() [all …]
|