Lines Matching refs:fb_info

161 static struct fb_info fb_info = {
243 * int (*fb_open)(struct fb_info *info, int user);
244 * int (*fb_release)(struct fb_info *info, int user);
253 * int (*fb_check_var)(struct fb_var_screeninfo *var, struct fb_info *info);
256 * int (*fb_set_par)(struct fb_info *info);
260 * unsigned int blue, unsigned int transp, struct fb_info *info);
263 * int (*fb_setcmap)(struct fb_cmap *cmap, struct fb_info *info);
266 * int (*fb_blank)(int blank, struct fb_info *info);
269 * int (*fb_pan_display)(struct fb_var_screeninfo *var, struct fb_info *info);
273 * void (*fb_fillrect) (struct fb_info *info, const struct fb_fillrect *rect);
275 * void (*fb_copyarea) (struct fb_info *info, const struct fb_copyarea *region);
277 * void (*fb_imageblit) (struct fb_info *info, const struct fb_image *image);
280 * int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor);
283 * int (*fb_sync)(struct fb_info *info);
286 * int (*fb_ioctl)(struct fb_info *info, unsigned int cmd,
290 * int (*fb_compat_ioctl)(struct fb_info *info, unsigned int cmd,
294 * int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma);
360 struct fb_info *info);
771 unsigned int transp, struct fb_info *info)
1072 fb_info.monspecs.hfmin < f25.f)
1075 f32.left) * fb_info.monspecs.hfmin < f32.f)
1078 fext.left) * fb_info.monspecs.hfmin < fext.f &&
1248 if (hfreq > fb_info.monspecs.hfmax && mon_type != F_MON_VGA) {
1255 if (hfreq > fb_info.monspecs.hfmax || hfreq < fb_info.monspecs.hfmin)
1286 if (vfreq > fb_info.monspecs.vfmax && !doubleline && !interlace) {
1290 } else if (vfreq < fb_info.monspecs.vfmin && !interlace && !doubleline) {
1294 } else if (vfreq < fb_info.monspecs.vfmin && doubleline) {
1300 fb_info.monspecs.vfmax;
1306 } else if (vfreq > fb_info.monspecs.vfmax && doubleline) {
1311 fb_info.monspecs.vfmax;
1317 } else if (vfreq > fb_info.monspecs.vfmax && interlace) {
1322 fb_info.monspecs.vfmax;
1328 } else if (vfreq < fb_info.monspecs.vfmin ||
1329 vfreq > fb_info.monspecs.vfmax)
1633 struct fb_info *info)
1666 unsigned int transp, struct fb_info *info)
1735 fb_info.monspecs.vfmin = 70;
1736 fb_info.monspecs.vfmax = 72;
1737 fb_info.monspecs.hfmin = 35713;
1738 fb_info.monspecs.hfmax = 35715;
1743 fb_info.monspecs.vfmin = 49; /* not 50, since TOS defaults to 49.9x Hz */
1744 fb_info.monspecs.vfmax = 60;
1745 fb_info.monspecs.hfmin = 15620;
1746 fb_info.monspecs.hfmax = 15755;
1954 unsigned int transp, struct fb_info *info)
2192 unsigned int transp, struct fb_info *info)
2257 static int pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
2363 /* fbhw->encode_fix() must be called with fb_info->mm_lock held
2366 static int atafb_get_fix(struct fb_fix_screeninfo *fix, struct fb_info *info)
2379 static int atafb_get_var(struct fb_var_screeninfo *var, struct fb_info *info)
2392 static void atafb_set_disp(struct fb_info *info)
2403 atafb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
2415 static void atafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
2458 static void atafb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
2512 static void atafb_imageblit(struct fb_info *info, const struct fb_image *image)
2573 atafb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
2602 static int atafb_blank(int blank, struct fb_info *info)
2631 static int atafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
2649 static int atafb_set_par(struct fb_info *info)
2904 fb_info.monspecs.vfmin = vmin;
2905 fb_info.monspecs.vfmax = vmax;
2906 fb_info.monspecs.hfmin = hmin;
2907 fb_info.monspecs.hfmax = hmax;
3055 if (fb_info.monspecs.hfmin == 0) {
3056 fb_info.monspecs.hfmin = 31000;
3057 fb_info.monspecs.hfmax = 32000;
3058 fb_info.monspecs.vfmin = 58;
3059 fb_info.monspecs.vfmax = 62;
3103 // strcpy(fb_info.mode->name, "Atari Builtin ");
3104 fb_info.fbops = &atafb_ops;
3109 fb_info.par = &current_par;
3112 atafb_get_var(&fb_info.var, &fb_info);
3115 fb_info.pseudo_palette = current_par.hw.falcon.pseudo_palette;
3118 if (!fb_find_mode(&fb_info.var, &fb_info, mode_option, atafb_modedb,
3120 fb_info.var.bits_per_pixel)) {
3125 &fb_info.modelist);
3127 atafb_set_disp(&fb_info);
3129 fb_alloc_cmap(&(fb_info.cmap), 1 << fb_info.var.bits_per_pixel, 0);
3132 dev_info(&pdev->dev, "Determined %dx%d, depth %d\n", fb_info.var.xres,
3133 fb_info.var.yres, fb_info.var.bits_per_pixel);
3134 if ((fb_info.var.xres != fb_info.var.xres_virtual) ||
3135 (fb_info.var.yres != fb_info.var.yres_virtual))
3137 fb_info.var.xres_virtual, fb_info.var.yres_virtual);
3139 if (register_framebuffer(&fb_info) < 0) {
3153 fb_info(&fb_info, "frame buffer device, using %dK of video memory\n",