Home
last modified time | relevance | path

Searched refs:bytespp (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/
Dvrfb.c105 static u32 get_image_width_roundup(u16 width, u8 bytespp) in get_image_width_roundup() argument
107 unsigned long stride = width * bytespp; in get_image_width_roundup()
111 return ceil_pages_per_stride * VRFB_PAGE_WIDTH / bytespp; in get_image_width_roundup()
119 static inline u32 get_extra_physical_size(u16 image_width_roundup, u8 bytespp) in get_extra_physical_size() argument
122 bytespp; in get_extra_physical_size()
139 u8 bytespp) in omap_vrfb_adjust_size() argument
141 *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp; in omap_vrfb_adjust_size()
146 u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument
149 bytespp); in omap_vrfb_min_phys_size()
154 return (width * height * bytespp) + get_extra_physical_size( in omap_vrfb_min_phys_size()
[all …]
Domapfb-main.c70 const unsigned bytespp = var->bits_per_pixel >> 3; in draw_pixel() local
71 const unsigned line_len = fix->line_length / bytespp; in draw_pixel()
184 offset *= vrfb->bytespp; in omapfb_get_vrfb_offset()
458 int bytespp = var->bits_per_pixel >> 3; in check_fb_size() local
459 unsigned long line_size = var->xres_virtual * bytespp; in check_fb_size()
465 max_frame_size, var->xres_virtual, bytespp) * in check_fb_size()
483 line_size = var->xres_virtual * bytespp; in check_fb_size()
508 unsigned bytespp; in setup_vrfb_rotation() local
523 bytespp = var->bits_per_pixel >> 3; in setup_vrfb_rotation()
536 else if (bytespp != vrfb->bytespp) in setup_vrfb_rotation()
[all …]
/Linux-v4.19/include/video/
Domapvrfb.h34 u8 bytespp; member
43 u8 bytespp);
44 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp);
45 extern u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp);
48 unsigned bytespp, bool yuv_mode);
57 u8 bytespp) {} in omap_vrfb_adjust_size() argument
58 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument
60 static inline u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
63 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} in omap_vrfb_setup() argument
/Linux-v4.19/drivers/media/platform/omap/
Domap_vout_vrfb.c366 vout->vrfb_context[0].bytespp; in omap_vout_calculate_vrfb_offset()
379 vout->vrfb_context[0].bytespp) + in omap_vout_calculate_vrfb_offset()
381 vout->vrfb_context[0].bytespp)); in omap_vout_calculate_vrfb_offset()
394 vout->vrfb_context[0].bytespp; in omap_vout_calculate_vrfb_offset()
/Linux-v4.19/drivers/gpu/drm/gma500/
Dframebuffer.c483 int bytespp; in psbfb_probe() local
485 bytespp = sizes->surface_bpp / 8; in psbfb_probe()
486 if (bytespp == 3) /* no 24bit packed */ in psbfb_probe()
487 bytespp = 4; in psbfb_probe()
492 if (ALIGN(sizes->fb_width * bytespp, 64) * sizes->fb_height > in psbfb_probe()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_drv.h416 int bytespp = (bpp + 7) / 8; in align_pitch() local
418 return bytespp * ALIGN(width, 32); in align_pitch()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c3912 unsigned bytespp; in dsi_update_screen_dispc() local
3929 bytespp = dsi_get_pixel_size(dsi->pix_fmt) / 8; in dsi_update_screen_dispc()
3930 bytespl = w * bytespp; in dsi_update_screen_dispc()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3922 unsigned int bytespp; in dsi_update_screen_dispc() local
3939 bytespp = dsi_get_pixel_size(dsi->pix_fmt) / 8; in dsi_update_screen_dispc()
3940 bytespl = w * bytespp; in dsi_update_screen_dispc()