Lines Matching refs:width
105 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()
138 void omap_vrfb_adjust_size(u16 *width, u16 *height, 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
148 unsigned long image_width_roundup = get_image_width_roundup(width, in omap_vrfb_min_phys_size()
154 return (width * height * bytespp) + get_extra_physical_size( in omap_vrfb_min_phys_size()
159 u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
161 unsigned long image_width_roundup = get_image_width_roundup(width, in omap_vrfb_max_height()
174 height = (phys_size - extra) / (width * bytespp); in omap_vrfb_max_height()
182 u16 width, u16 height, in omap_vrfb_setup() argument
193 width, height, bytespp, yuv_mode); in omap_vrfb_setup()
199 width /= 2; in omap_vrfb_setup()
211 vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp; in omap_vrfb_setup()
232 vrfb_width - width, vrfb_height - height); in omap_vrfb_setup()
234 vrfb->xres = width; in omap_vrfb_setup()
236 vrfb->xoffset = vrfb_width - width; in omap_vrfb_setup()