/linux-master/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi-rockchip.c | 550 int bpp; local 562 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); 563 if (bpp < 0) { 565 "failed to get bpp for pixel format %d\n", 567 return bpp; 573 tmp = mpclk * (bpp / lanes) * 10 / 8; 584 bpp, lanes,
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 112 * BW Equation: src_w * src_h * bpp * fps * (v_total / v_dest) 140 plane_bit_rate = plane_pixel_rate * fmt->bpp; 204 if (!fmt || !pipe || !src_width || !fmt->bpp) { 221 ((src_width + 32) * fmt->bpp); 225 ((src_width + 32) * fmt->bpp); 230 ((src_width + 32) * fmt->bpp); 233 ((src_width + 32) * fmt->bpp);
|
/linux-master/drivers/media/i2c/ |
H A D | imx290.c | 160 /* Equivalent value for 16bpp */ 568 u8 bpp; member in struct:imx290_format_info 579 .bpp = 10, 587 .bpp = 12, 661 unsigned int bpp = imx290_format_info(imx290, format->code)->bpp; local 664 black_level >> (16 - bpp), err);
|
/linux-master/drivers/video/fbdev/riva/ |
H A D | riva_hw.h | 495 U032 bpp; member in struct:_riva_hw_state 540 int bpp,
|
/linux-master/drivers/video/fbdev/savage/ |
H A D | savagefb.h | 248 #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16))
|
/linux-master/drivers/gpu/drm/hyperv/ |
H A D | hyperv_drm_proto.c | 277 int hyperv_update_situation(struct hv_device *hdev, u8 active, u32 bpp, argument 292 msg.situ.video_output[0].depth_bits = bpp;
|
/linux-master/arch/arm/mach-sa1100/ |
H A D | assabet.c | 361 .pixclock = 171521, .bpp = 16, 389 .pixclock = 67797, .bpp = 16,
|
/linux-master/drivers/video/fbdev/geode/ |
H A D | gx1fb_core.c | 84 static int gx1_line_delta(int xres, int bpp) argument 86 int line_delta = xres * (bpp >> 3); 108 /* Only 16 bpp and 8 bpp is supported by the hardware. */ 467 MODULE_PARM_DESC(mode, "video mode (<x>x<y>[-<bpp>][@<refr>])");
|
H A D | gxfb.h | 41 int gx_line_delta(int xres, int bpp);
|
/linux-master/drivers/video/fbdev/ |
H A D | 68328fb.c | 111 static u_long get_line_length(int xres_virtual, int bpp) argument 115 length = xres_virtual * bpp;
|
H A D | vfb.c | 96 static u_long get_line_length(int xres_virtual, int bpp) argument 100 length = xres_virtual * bpp;
|
/linux-master/include/uapi/drm/ |
H A D | drm_mode.h | 660 __u32 bpp; member in struct:drm_mode_fb_cmd 1056 * @bpp: bits per pixel 1062 * User-space fills @height, @width, @bpp and @flags. If the IOCTL succeeds, 1068 __u32 bpp; member in struct:drm_mode_create_dumb
|
/linux-master/drivers/media/test-drivers/vimc/ |
H A D | vimc-sensor.c | 116 tpg_s_bytesperline(&vsensor->tpg, 0, vsensor->mbus_format.width * vpix->bpp); 257 frame_size = vsensor->mbus_format.width * vpix->bpp *
|
H A D | vimc-capture.c | 103 format->bytesperline = format->width * vpix->bpp; 453 vcapture->format.bytesperline = vcapture->format.width * vpix->bpp;
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vi.c | 503 chan->vi->ops->vi_fmt_align(pix, fmtinfo->bpp); 556 chan->vi->ops->vi_fmt_align(pix, fmtinfo->bpp); 589 chan->format.bytesperline = chan->format.width * chan->fmtinfo->bpp; 592 chan->vi->ops->vi_fmt_align(&chan->format, chan->fmtinfo->bpp); 759 chan->format.bytesperline = bt->width * chan->fmtinfo->bpp; 761 chan->vi->ops->vi_fmt_align(&chan->format, chan->fmtinfo->bpp); 1128 chan->format.bytesperline = TEGRA_DEF_WIDTH * chan->fmtinfo->bpp; 1130 vi->ops->vi_fmt_align(&chan->format, chan->fmtinfo->bpp);
|
/linux-master/drivers/spi/ |
H A D | spi-bcm-qspi.c | 407 int bpp, int bpc, int flex_mode) 411 bcm_qspi_write(qspi, BSPI, BSPI_BITS_PER_PHASE, bpp); 419 int bpc = 0, bpp = 0; local 429 bpp = BSPI_BPP_ADDR_SELECT_MASK; 432 bpp |= (op->dummy.nbytes * 8) / op->dummy.buswidth; 444 bpp = BSPI_BPP_MODE_SELECT_MASK; 451 bpp |= BSPI_BPP_MODE_SELECT_MASK; 458 bcm_qspi_bspi_set_xfer_params(qspi, command, bpp, bpc, flex_mode); 406 bcm_qspi_bspi_set_xfer_params(struct bcm_qspi *qspi, u8 cmd_byte, int bpp, int bpc, int flex_mode) argument
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_vdsc_regs.h | 94 #define DSC_PPS1_BPP(bpp) REG_FIELD_PREP(DSC_PPS1_BPP_MASK, bpp)
|
H A D | icl_dsi.c | 330 int bpp; local 333 bpp = to_bpp_int(crtc_state->dsc.compressed_bpp_x16); 335 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); 337 return DIV_ROUND_CLOSEST(intel_dsi->pclk * bpp, intel_dsi->lane_count); 860 * compressed and non-compressed bpp. 884 int bpp, line_time_us, byte_clk_period_ns; local 887 bpp = to_bpp_int(crtc_state->dsc.compressed_bpp_x16); 889 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); 892 line_time_us = (htotal * (bpp / 8) * byte_clk_period_ns) / (1000 * intel_dsi->lane_count);
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 527 static inline int align_pitch(int width, int bpp) argument 529 int bytespp = (bpp + 7) / 8;
|
/linux-master/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 248 struct xfs_buf **bpp) 335 *bpp = bp; 243 xfs_dir2_leaf_readbuf( struct xfs_da_args *args, size_t bufsize, xfs_dir2_off_t *cur_off, xfs_dablk_t *ra_blk, struct xfs_buf **bpp) argument
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | dc.c | 128 unsigned int bpp) 138 switch (bpp) { 349 unsigned h_offset, v_offset, h_size, v_size, h_dda, v_dda, bpp; local 361 bpp = window->bits_per_pixel / 8; 363 bpp = (planes > 1) ? 1 : 2; 374 h_offset = window->src.x * bpp; 376 h_size = window->src.w * bpp; 380 h_offset += (window->src.w - 1) * bpp; 393 bpp = 2; 395 h_dda = compute_dda_inc(window->src.w, window->dst.w, false, bpp); 127 compute_dda_inc(unsigned int in, unsigned int out, bool v, unsigned int bpp) argument [all...] |
/linux-master/drivers/video/fbdev/nvidia/ |
H A D | nv_type.h | 54 u32 bpp; member in struct:_riva_hw_state
|
/linux-master/drivers/hid/ |
H A D | hid-picolcd.h | 118 u8 bpp; member in struct:picolcd_fb_data
|
/linux-master/include/video/ |
H A D | sstfb.h | 234 # define DACREG_ICS_CMD_16BPP 0x50 /* ics color mode 6 (16bpp bypass)*/ 235 # define DACREG_ICS_CMD_24BPP 0x70 /* ics color mode 7 (24bpp bypass)*/ 328 void (*set_vidmod) (struct fb_info *info, const int bpp);
|
/linux-master/drivers/staging/fbtft/ |
H A D | fb_ili9163.c | 234 .bpp = BPP,
|