Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/omap2/omapfb/
H A Dvrfb.c93 static u32 get_image_width_roundup(u16 width, u8 bytespp) in get_image_width_roundup() argument
95 unsigned long stride = width * bytespp; in get_image_width_roundup()
99 return ceil_pages_per_stride * VRFB_PAGE_WIDTH / bytespp; in get_image_width_roundup()
107 static inline u32 get_extra_physical_size(u16 image_width_roundup, u8 bytespp) in get_extra_physical_size() argument
110 bytespp; in get_extra_physical_size()
127 u8 bytespp) in omap_vrfb_adjust_size() argument
129 *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp; in omap_vrfb_adjust_size()
134 u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument
137 bytespp); in omap_vrfb_min_phys_size()
142 return (width * height * bytespp) + get_extra_physical_size( in omap_vrfb_min_phys_size()
[all …]
H A Domapfb-main.c59 const unsigned bytespp = var->bits_per_pixel >> 3; in draw_pixel() local
60 const unsigned line_len = fix->line_length / bytespp; in draw_pixel()
173 offset *= vrfb->bytespp; in omapfb_get_vrfb_offset()
447 int bytespp = var->bits_per_pixel >> 3; in check_fb_size() local
448 unsigned long line_size = var->xres_virtual * bytespp; in check_fb_size()
454 max_frame_size, var->xres_virtual, bytespp) * in check_fb_size()
472 line_size = var->xres_virtual * bytespp; in check_fb_size()
497 unsigned bytespp; in setup_vrfb_rotation() local
512 bytespp = var->bits_per_pixel >> 3; in setup_vrfb_rotation()
525 else if (bytespp != vrfb->bytespp) in setup_vrfb_rotation()
[all …]
/linux/include/video/
H A Domapvrfb.h22 u8 bytespp; member
31 u8 bytespp);
32 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp);
33 extern u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp);
36 unsigned bytespp, bool yuv_mode);
45 u8 bytespp) {} in omap_vrfb_adjust_size() argument
46 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument
48 static inline u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
51 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} in omap_vrfb_setup() argument
/linux/drivers/media/platform/ti/omap/
H A Domap_vout_vrfb.c363 vout->vrfb_context[0].bytespp; in omap_vout_calculate_vrfb_offset()
376 vout->vrfb_context[0].bytespp) + in omap_vout_calculate_vrfb_offset()
378 vout->vrfb_context[0].bytespp)); in omap_vout_calculate_vrfb_offset()
391 vout->vrfb_context[0].bytespp; in omap_vout_calculate_vrfb_offset()
/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.h521 int bytespp = (bpp + 7) / 8; in align_pitch() local
523 return bytespp * ALIGN(width, 32); in align_pitch()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c3094 unsigned int bytespp; in dsi_update_screen_dispc() local
3109 bytespp = mipi_dsi_pixel_format_to_bpp(dsi->pix_fmt) / 8; in dsi_update_screen_dispc()
3110 bytespl = w * bytespp; in dsi_update_screen_dispc()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c3907 unsigned bytespp; in dsi_update_screen_dispc() local
3924 bytespp = dsi_get_pixel_size(dsi->pix_fmt) / 8; in dsi_update_screen_dispc()
3925 bytespl = w * bytespp; in dsi_update_screen_dispc()