0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __GEODEFB_H__
0009 #define __GEODEFB_H__
0010
0011 struct geodefb_info;
0012
0013 struct geode_dc_ops {
0014 void (*set_mode)(struct fb_info *);
0015 void (*set_palette_reg)(struct fb_info *, unsigned, unsigned, unsigned, unsigned);
0016 };
0017
0018 struct geode_vid_ops {
0019 void (*set_dclk)(struct fb_info *);
0020 void (*configure_display)(struct fb_info *);
0021 int (*blank_display)(struct fb_info *, int blank_mode);
0022 };
0023
0024 struct geodefb_par {
0025 int enable_crt;
0026 int panel_x;
0027 int panel_y;
0028 void __iomem *dc_regs;
0029 void __iomem *vid_regs;
0030 const struct geode_dc_ops *dc_ops;
0031 const struct geode_vid_ops *vid_ops;
0032 };
0033
0034 #endif