Searched refs:bytespp (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/ |
D | vrfb.c | 93 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 …]
|
D | omapfb-main.c | 59 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-v6.1/include/video/ |
D | omapvrfb.h | 22 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-v6.1/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 356 int bytespp; in psbfb_probe() local 358 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 359 if (bytespp == 3) /* no 24bit packed */ in psbfb_probe() 360 bytespp = 4; in psbfb_probe() 365 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
|
/Linux-v6.1/drivers/media/platform/ti/omap/ |
D | omap_vout_vrfb.c | 363 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-v6.1/drivers/gpu/drm/msm/ |
D | msm_drv.h | 509 int bytespp = (bpp + 7) / 8; in align_pitch() local 511 return bytespp * ALIGN(width, 32); in align_pitch()
|
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3088 unsigned int bytespp; in dsi_update_screen_dispc() local 3103 bytespp = mipi_dsi_pixel_format_to_bpp(dsi->pix_fmt) / 8; in dsi_update_screen_dispc() 3104 bytespl = w * bytespp; in dsi_update_screen_dispc()
|
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3898 unsigned bytespp; in dsi_update_screen_dispc() local 3915 bytespp = dsi_get_pixel_size(dsi->pix_fmt) / 8; in dsi_update_screen_dispc() 3916 bytespl = w * bytespp; in dsi_update_screen_dispc()
|