Searched refs:bpp (Results 276 - 300 of 467) sorted by last modified time

<<111213141516171819

/linux-master/drivers/video/fbdev/
H A Dpvr2fb.c250 static inline unsigned long get_line_length(int xres_virtual, int bpp) argument
252 return (unsigned long)((((xres_virtual*bpp)+31)&~31) >> 3);
292 * We only support the hardware palette for 16 and 32bpp. It's also
548 * Initialize the video mode. Currently, the 16bpp and 24bpp modes aren't
1027 * <xres>x<yres>[-<bpp>][@<refresh>] or,
1028 * <name>[-<bpp>][@<refresh>] Startup using this video mode
H A Dpm2fb.c118 /* "640x480, 8 bpp @ 60 Hz */
232 static u32 to3264(u32 timing, int bpp, int is64) argument
234 switch (bpp) {
1375 /* Too large of a cursor or wrong bpp :-( */
H A Dpm3fb.c183 static inline int pm3fb_shift_bpp(unsigned bpp, int v) argument
185 switch (bpp) {
193 DPRINTK("Unsupported depth %u\n", bpp);
621 /* Too large of a cursor or wrong bpp :-( */
732 const unsigned bpp = info->var.bits_per_pixel; local
741 pm3fb_shift_bpp(bpp, htotal - 1));
743 pm3fb_shift_bpp(bpp, hsend));
745 pm3fb_shift_bpp(bpp, hsstart));
747 pm3fb_shift_bpp(bpp, hbend));
749 pm3fb_shift_bpp(bpp, hben
915 unsigned bpp = var->red.length + var->green.length local
1018 const unsigned bpp = info->var.bits_per_pixel; local
[all...]
H A Datafb.c125 short bpp; member in struct:atafb_par::__anon1365::falcon_hw
583 int bpp = var->bits_per_pixel; local
588 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2)
593 bpp = 1;
595 if (bpp > 8 || xres > sttt_xres || yres > tt_yres)
597 if (bpp > 4) {
603 bpp = 8;
604 } else if (bpp > 2) {
611 bpp = 4;
616 bpp
883 int bpp = var->bits_per_pixel; local
1638 int bpp = info->var.bits_per_pixel; local
1803 int bpp = var->bits_per_pixel; local
[all...]
H A D68328fb.c111 static u_long get_line_length(int xres_virtual, int bpp) argument
115 length = xres_virtual * bpp;
/linux-master/drivers/video/fbdev/nvidia/
H A Dnvidia.c75 static int bpp = 8; variable
177 if (((par->Chipset & 0xffff) == 0x0328) && (state->bpp == 32)) {
1126 switch (bpp) {
1128 bpp = 8;
1131 bpp = 16;
1134 bpp = 32;
1143 nvidiafb_default_var.bits_per_pixel = bpp;
1150 specs->modedb_len, &modedb, bpp);
1155 specs->modedb, specs->modedb_len, &modedb, bpp);
1503 } else if (!strncmp(this_opt, "bpp
[all...]
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c431 int bpp)
437 bppshft2 = bpp;
449 int xres, int bpp)
456 switch (bpp) {
482 int bpp)
489 if (!bpp) return xres;
495 if ((*width >= xres) && (matroxfb_test_and_set_rounding(minfo, *width, bpp) == *width)) {
502 xres_new = matroxfb_test_and_set_rounding(minfo, xres, bpp);
534 unsigned char bpp; member in struct:RGBT
552 unsigned int bpp local
430 matroxfb_get_final_bppShift(const struct matrox_fb_info *minfo, int bpp) argument
448 matroxfb_test_and_set_rounding(const struct matrox_fb_info *minfo, int xres, int bpp) argument
481 matroxfb_pitch_adjust(const struct matrox_fb_info *minfo, int xres, int bpp) argument
[all...]
/linux-master/drivers/video/fbdev/i810/
H A Di810_main.c139 static int bpp = 8; variable
679 * @bpp: bits per pixel
684 static u32 get_line_length(struct i810fb_par *par, int xres_virtual, int bpp) argument
688 length = xres_virtual*bpp;
1784 if (bpp < 8)
1785 bpp = 8;
1800 vyres = (vram << 20)/(info->var.xres*bpp >> 3);
1803 info->var.bits_per_pixel = bpp;
1989 else if (!strncmp(this_opt, "bpp:", 4))
1990 bpp
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dradeon_base.c1183 if (rinfo->bpp == 16) {
1817 rinfo->bpp = mode->bits_per_pixel;
2648 MODULE_PARM_DESC(mode_option, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\" ");
H A Datyfb_base.c806 static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) argument
808 u32 line_length = vxres * bpp / 8;
822 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; local
836 bpp = var->bits_per_pixel;
837 if (bpp == 16)
838 bpp = (var->green.length == 5) ? 15 : 16;
851 if (bpp <= 8) {
852 bpp = 8;
857 } else if (bpp <= 15) {
858 bpp
1172 u32 xres, yres, bpp, left, right, upper, lower, hslen, vslen, sync; local
1578 u32 bpp = info->var.bits_per_pixel; local
[all...]
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_drv.c67 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
/linux-master/drivers/gpu/drm/tiny/
H A Dbochs.c87 u32 bpp; member in struct:bochs_device
329 bochs->bpp = 32;
330 bochs->stride = mode->hdisplay * (bochs->bpp / 8);
333 DRM_DEBUG_DRIVER("%dx%d @ %d bpp, vy %d\n",
334 bochs->xres, bochs->yres, bochs->bpp,
340 bochs_dispi_write(bochs, VBE_DISPI_INDEX_BPP, bochs->bpp);
397 x * (bochs->bpp / 8);
399 vx = (offset % bochs->stride) * 8 / bochs->bpp;
400 vwidth = stride * 8 / bochs->bpp;
/linux-master/drivers/gpu/drm/tegra/
H A Dgem.c537 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
H A Ddc.c128 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/gpu/drm/sun4i/
H A Dsun4i_drv.c38 args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2);
/linux-master/drivers/gpu/drm/stm/
H A Ddrv.c44 unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
/linux-master/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c406 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
/linux-master/drivers/gpu/drm/logicvc/
H A Dlogicvc_drm.c41 args->pitch = logicvc->config.row_stride * DIV_ROUND_UP(args->bpp, 8);
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_create.c175 int cpp = DIV_ROUND_UP(args->bpp, 8);
/linux-master/drivers/gpu/drm/
H A Ddrm_fourcc.c35 * @bpp: bits per pixels
38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
41 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) argument
45 switch (bpp) {
111 * @bpp: bits per pixels
114 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
120 uint32_t bpp, uint32_t depth)
122 uint32_t fmt = drm_mode_legacy_fb_format(bpp, depth);
119 drm_driver_legacy_fb_format(struct drm_device *dev, uint32_t bpp, uint32_t depth) argument
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c775 int bpp; local
782 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format);
783 if (bpp < 0) {
784 dev_err(dsi->dev, "failed to get bpp\n");
788 lbcc = div_u64((u64)hcomponent * mode->clock * bpp, dsi->lanes * 8);
/linux-master/drivers/gpu/drm/bridge/adv7511/
H A Dadv7533.c107 u8 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); local
114 if (mode->clock * bpp > adv->info->max_lane_freq_khz * adv->num_dsi_lanes)
/linux-master/drivers/gpu/drm/arm/
H A Dmalidp_drv.c315 int bpp = 0; local
332 bpp = malidp_format_get_bpp(info->format);
334 afbc_superblock_size = (bpp * afbc_superblock_width * afbc_superblock_height)
340 if ((mode_cmd->width * bpp) != (mode_cmd->pitches[0] * BITS_PER_BYTE)) {
342 "should be same as width (=%u) * bpp (=%u)\n",
344 mode_cmd->width, bpp);
465 args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment);
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c29 u32 pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
/linux-master/sound/usb/caiaq/
H A Ddevice.c238 int rate, int depth, int bpp)
259 tmp[2] = bpp & 0xff;
260 tmp[3] = bpp >> 8;
263 dev_dbg(dev, "setting audio params: %d Hz, %d bits, %d bpp\n",
264 rate, depth, bpp);
280 cdev->bpp = bpp;
237 snd_usb_caiaq_set_audio_params(struct snd_usb_caiaqdev *cdev, int rate, int depth, int bpp) argument

Completed in 281 milliseconds

<<111213141516171819