Lines Matching defs:fb_info

163 static struct fb_info fb_info = {
255 * int (*fb_open)(struct fb_info *info, int user);
256 * int (*fb_release)(struct fb_info *info, int user);
265 * int (*fb_check_var)(struct fb_var_screeninfo *var, struct fb_info *info);
268 * int (*fb_set_par)(struct fb_info *info);
272 * unsigned int blue, unsigned int transp, struct fb_info *info);
275 * int (*fb_setcmap)(struct fb_cmap *cmap, struct fb_info *info);
278 * int (*fb_blank)(int blank, struct fb_info *info);
281 * int (*fb_pan_display)(struct fb_var_screeninfo *var, struct fb_info *info);
285 * void (*fb_fillrect) (struct fb_info *info, const struct fb_fillrect *rect);
287 * void (*fb_copyarea) (struct fb_info *info, const struct fb_copyarea *region);
289 * void (*fb_imageblit) (struct fb_info *info, const struct fb_image *image);
292 * int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor);
295 * int (*fb_sync)(struct fb_info *info);
298 * int (*fb_ioctl)(struct fb_info *info, unsigned int cmd,
302 * int (*fb_compat_ioctl)(struct fb_info *info, unsigned int cmd,
306 * int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma);
372 struct fb_info *info);
783 unsigned int transp, struct fb_info *info)
1090 fb_info.monspecs.hfmin < f25.f)
1093 f32.left) * fb_info.monspecs.hfmin < f32.f)
1096 fext.left) * fb_info.monspecs.hfmin < fext.f &&
1267 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) {
1274 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin)
1305 if (vfreq > fb_info.monspecs.vfmax && !doubleline && !interlace) {
1309 } else if (vfreq < fb_info.monspecs.vfmin && !interlace && !doubleline) {
1313 } else if (vfreq < fb_info.monspecs.vfmin && doubleline) {
1319 fb_info.monspecs.vfmax;
1325 } else if (vfreq > fb_info.monspecs.vfmax && doubleline) {
1330 fb_info.monspecs.vfmax;
1336 } else if (vfreq > fb_info.monspecs.vfmax && interlace) {
1341 fb_info.monspecs.vfmax;
1347 } else if (vfreq < fb_info.monspecs.vfmin ||
1348 vfreq > fb_info.monspecs.vfmax)
1652 struct fb_info *info)
1685 unsigned int transp, struct fb_info *info)
1754 fb_info.monspecs.vfmin = 70;
1755 fb_info.monspecs.vfmax = 72;
1756 fb_info.monspecs.hfmin = 35713;
1757 fb_info.monspecs.hfmax = 35715;
1762 fb_info.monspecs.vfmin = 49; /* not 50, since TOS defaults to 49.9x Hz */
1763 fb_info.monspecs.vfmax = 60;
1764 fb_info.monspecs.hfmin = 15620;
1765 fb_info.monspecs.hfmax = 15755;
1973 unsigned int transp, struct fb_info *info)
2211 unsigned int transp, struct fb_info *info)
2272 static int pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
2378 /* fbhw->encode_fix() must be called with fb_info->mm_lock held
2381 static int atafb_get_fix(struct fb_fix_screeninfo *fix, struct fb_info *info)
2394 static int atafb_get_var(struct fb_var_screeninfo *var, struct fb_info *info)
2407 static void atafb_set_disp(struct fb_info *info)
2418 u_int transp, struct fb_info *info)
2428 atafb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
2476 static void atafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
2519 static void atafb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
2573 static void atafb_imageblit(struct fb_info *info, const struct fb_image *image)
2640 atafb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
2669 static int atafb_blank(int blank, struct fb_info *info)
2698 static int atafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
2716 static int atafb_set_par(struct fb_info *info)
2970 fb_info.monspecs.vfmin = vmin;
2971 fb_info.monspecs.vfmax = vmax;
2972 fb_info.monspecs.hfmin = hmin;
2973 fb_info.monspecs.hfmax = hmax;
3121 if (fb_info.monspecs.hfmin == 0) {
3122 fb_info.monspecs.hfmin = 31000;
3123 fb_info.monspecs.hfmax = 32000;
3124 fb_info.monspecs.vfmin = 58;
3125 fb_info.monspecs.vfmax = 62;
3169 // strcpy(fb_info.mode->name, "Atari Builtin ");
3170 fb_info.fbops = &atafb_ops;
3175 fb_info.par = &current_par;
3178 atafb_get_var(&fb_info.var, &fb_info);
3181 fb_info.pseudo_palette = current_par.hw.falcon.pseudo_palette;
3183 fb_info.flags = FBINFO_FLAG_DEFAULT;
3185 if (!fb_find_mode(&fb_info.var, &fb_info, mode_option, atafb_modedb,
3187 fb_info.var.bits_per_pixel)) {
3192 &fb_info.modelist);
3194 atafb_set_disp(&fb_info);
3196 fb_alloc_cmap(&(fb_info.cmap), 1 << fb_info.var.bits_per_pixel, 0);
3199 dev_info(&pdev->dev, "Determined %dx%d, depth %d\n", fb_info.var.xres,
3200 fb_info.var.yres, fb_info.var.bits_per_pixel);
3201 if ((fb_info.var.xres != fb_info.var.xres_virtual) ||
3202 (fb_info.var.yres != fb_info.var.yres_virtual))
3204 fb_info.var.xres_virtual, fb_info.var.yres_virtual);
3206 if (register_framebuffer(&fb_info) < 0) {
3220 fb_info(&fb_info, "frame buffer device, using %dK of video memory\n",