Searched refs:bytes_per_pixel (Results 1 – 3 of 3) sorted by relevance
248 static int bytes_per_pixel(struct vino_device *v) in bytes_per_pixel() function307 lsize = (bytes_per_pixel(v) * w / d) & ~7; in set_clipping()308 w = lsize * d / bytes_per_pixel(v); in set_clipping()341 lsize = (bytes_per_pixel(v) * w) & ~7; in set_scaling()342 w = lsize * d / bytes_per_pixel(v); in set_scaling()
129 static unsigned long bytes_per_pixel(int bpp);141 return(xres_virtual * bytes_per_pixel(bpp)); in get_line_length()144 static unsigned long bytes_per_pixel(int bpp) in bytes_per_pixel() function249 bytesPerPixel = bytes_per_pixel(par->var.bits_per_pixel); in activate_par()
207 int bytes_per_pixel; in intelfbhw_validate_mode() local212 bytes_per_pixel = var->bits_per_pixel / 8; in intelfbhw_validate_mode()213 if (bytes_per_pixel == 3) in intelfbhw_validate_mode()214 bytes_per_pixel = 4; in intelfbhw_validate_mode()217 tmp = var->yres_virtual * var->xres_virtual * bytes_per_pixel; in intelfbhw_validate_mode()