Lines Matching defs:width
93 static u32 get_image_width_roundup(u16 width, u8 bytespp)
95 unsigned long stride = width * bytespp;
126 void omap_vrfb_adjust_size(u16 *width, u16 *height,
129 *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp;
134 u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp)
136 unsigned long image_width_roundup = get_image_width_roundup(width,
142 return (width * height * bytespp) + get_extra_physical_size(
147 u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp)
149 unsigned long image_width_roundup = get_image_width_roundup(width,
162 height = (phys_size - extra) / (width * bytespp);
170 u16 width, u16 height,
181 width, height, bytespp, yuv_mode);
187 width /= 2;
199 vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp;
220 vrfb_width - width, vrfb_height - height);
222 vrfb->xres = width;
224 vrfb->xoffset = vrfb_width - width;