Home
last modified time | relevance | path

Searched refs:bytes_per_pixel (Results 1 – 16 of 16) sorted by relevance

/drivers/video/
Dgoldfishfb.c59 u8 bytes_per_pixel; member
234 int bytes_per_pixel; in goldfish_fb_probe() local
272 bytes_per_pixel = fb_config->bytes_per_pixel; in goldfish_fb_probe()
279 fb->fb.fix.line_length = width * bytes_per_pixel; in goldfish_fb_probe()
287 fb->fb.var.bits_per_pixel = bytes_per_pixel * 8; in goldfish_fb_probe()
302 framesize = width * height * 2 * bytes_per_pixel; in goldfish_fb_probe()
Dsgivwfb.c131 static unsigned long bytes_per_pixel(int bpp) in bytes_per_pixel() function
148 return (xres_virtual * bytes_per_pixel(bpp)); in get_line_length()
418 bytesPerPixel = bytes_per_pixel(info->var.bits_per_pixel); in sgivwfb_set_par()
/drivers/gpu/host1x/drm/
Dfb.c175 unsigned int bytes_per_pixel; in tegra_fbdev_probe() local
183 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe()
187 cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; in tegra_fbdev_probe()
228 offset = info->var.xoffset * bytes_per_pixel + in tegra_fbdev_probe()
/drivers/gpu/drm/
Ddrm_fb_cma_helper.c256 unsigned int bytes_per_pixel; in drm_fbdev_cma_create() local
266 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in drm_fbdev_cma_create()
270 mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; in drm_fbdev_cma_create()
310 offset = fbi->var.xoffset * bytes_per_pixel; in drm_fbdev_cma_create()
/drivers/media/usb/usbvision/
Dusbvision-core.c498 int clipmask_index, bytes_per_pixel; in usbvision_parse_lines_422() local
514 bytes_per_pixel = frame->v4l2_format.bytes_per_pixel; in usbvision_parse_lines_422()
515 stretch_bytes = (usbvision->stretch_width - 1) * bytes_per_pixel; in usbvision_parse_lines_422()
887 int clipmask_even_index, clipmask_odd_index, bytes_per_pixel; in usbvision_parse_lines_420() local
897 bytes_per_pixel = frame->v4l2_format.bytes_per_pixel; in usbvision_parse_lines_420()
898 stretch_bytes = (usbvision->stretch_width - 1) * bytes_per_pixel; in usbvision_parse_lines_420()
1786 usbvision->palette.bytes_per_pixel); in usbvision_frames_alloc()
Dusbvision.h285 int bytes_per_pixel; member
Dusbvision-video.c780 usbvision->palette.bytes_per_pixel; in vidioc_querybuf()
903 usbvision->curwidth * usbvision->palette.bytes_per_pixel; in vidioc_g_fmt_vid_cap()
932 usbvision->palette.bytes_per_pixel; in vidioc_try_fmt_vid_cap()
/drivers/media/pci/ivtv/
Divtvfb.c176 int bytes_per_pixel; member
238 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
564 oi->bytes_per_pixel = var->bits_per_pixel / 8; in ivtvfb_set_var()
987 oi->bytes_per_pixel = oi->bits_per_pixel / 8; in ivtvfb_init_vidmode()
1015 start_window.width * oi->bytes_per_pixel; in ivtvfb_init_vidmode()
/drivers/video/vermilion/
Dvermilion.h223 u32 bytes_per_pixel; member
Dvermilion.c788 vinfo->bytes_per_pixel = var->bits_per_pixel >> 3; in vmlfb_set_par_locked()
789 vinfo->stride = ALIGN(var->xres_virtual * vinfo->bytes_per_pixel, 0x40); in vmlfb_set_par_locked()
872 var->xoffset * vinfo->bytes_per_pixel); in vmlfb_set_par_locked()
959 var->xoffset * vinfo->bytes_per_pixel); in vmlfb_pan_display()
/drivers/video/msm/
Dmdp_ppp.c65 static uint32_t bytes_per_pixel[] = { variable
679 regs.src_bpp = bytes_per_pixel[req->src.format]; in mdp_ppp_blit()
688 regs.dst_bpp = bytes_per_pixel[req->dst.format]; in mdp_ppp_blit()
/drivers/video/intelfb/
Dintelfbhw.c314 int bytes_per_pixel; in intelfbhw_validate_mode() local
321 bytes_per_pixel = var->bits_per_pixel / 8; in intelfbhw_validate_mode()
322 if (bytes_per_pixel == 3) in intelfbhw_validate_mode()
323 bytes_per_pixel = 4; in intelfbhw_validate_mode()
326 tmp = var->yres_virtual * var->xres_virtual * bytes_per_pixel; in intelfbhw_validate_mode()
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c46 #define GEOM(xshift, yshift, bytes_per_pixel) { \ argument
49 .cpp = (bytes_per_pixel), \
/drivers/dma/ipu/
Dipu_idmac.c91 static uint32_t bytes_per_pixel(enum pixel_fmt fmt) in bytes_per_pixel() function
668 stride_bytes = stride * bytes_per_pixel(pixel_fmt); in ipu_init_channel_buffer()
/drivers/gpu/drm/radeon/
Devergreen.c1818 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member
1928 bpp.full = dfixed_const(wm->bytes_per_pixel); in evergreen_average_bandwidth()
1971 c.full = dfixed_const(wm->bytes_per_pixel); in evergreen_latency_watermark()
1976 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in evergreen_latency_watermark()
2069 wm.bytes_per_pixel = 4; /* XXX: get this from fb config */ in evergreen_program_watermarks()
Dsi.c1547 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member
1674 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce6_average_bandwidth()
1727 c.full = dfixed_const(wm->bytes_per_pixel); in dce6_latency_watermark()
1732 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce6_latency_watermark()
1824 wm.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce6_program_watermarks()