Searched refs:bytes_per_pixel (Results 1 – 16 of 16) sorted by relevance
59 u8 bytes_per_pixel; member234 int bytes_per_pixel; in goldfish_fb_probe() local272 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()
131 static unsigned long bytes_per_pixel(int bpp) in bytes_per_pixel() function148 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()
175 unsigned int bytes_per_pixel; in tegra_fbdev_probe() local183 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()
256 unsigned int bytes_per_pixel; in drm_fbdev_cma_create() local266 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()
498 int clipmask_index, bytes_per_pixel; in usbvision_parse_lines_422() local514 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() local897 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()
285 int bytes_per_pixel; member
780 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()
176 int bytes_per_pixel; member238 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()
223 u32 bytes_per_pixel; member
788 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()
65 static uint32_t bytes_per_pixel[] = { variable679 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()
314 int bytes_per_pixel; in intelfbhw_validate_mode() local321 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()
46 #define GEOM(xshift, yshift, bytes_per_pixel) { \ argument49 .cpp = (bytes_per_pixel), \
91 static uint32_t bytes_per_pixel(enum pixel_fmt fmt) in bytes_per_pixel() function668 stride_bytes = stride * bytes_per_pixel(pixel_fmt); in ipu_init_channel_buffer()
1818 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member1928 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()
1547 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member1674 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()