Lines Matching full:info
134 unsigned int blue, unsigned int transp, struct fb_info *info)
136 struct pguide_fb *fb = container_of(info, struct pguide_fb, fb);
153 static int pguide_fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
155 if((var->rotate & 1) != (info->var.rotate & 1)) {
156 if((var->xres != info->var.yres) ||
157 (var->yres != info->var.xres) ||
158 (var->xres_virtual != info->var.yres) ||
160 info->var.xres * ANDROID_NUMBER_OF_BUFFERS) ||
161 (var->yres_virtual < info->var.xres )) {
166 if((var->xres != info->var.xres) ||
167 (var->yres != info->var.yres) ||
168 (var->xres_virtual != info->var.xres) ||
170 info->var.yres * ANDROID_NUMBER_OF_BUFFERS) ||
171 (var->yres_virtual < info->var.yres )) {
175 if((var->xoffset != info->var.xoffset) ||
176 (var->bits_per_pixel != info->var.bits_per_pixel) ||
177 (var->grayscale != info->var.grayscale)) {
185 static int pguide_fb_set_par(struct fb_info *info)
187 struct pguide_fb *fb = container_of(info, struct pguide_fb, fb);
189 info->fix.line_length =
190 info->var.xres * ANDROID_BYTES_PER_PIXEL;
199 static int pguide_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
202 = container_of(info, struct pguide_fb, fb);