2005-05-05 21:06:31 +08:00
|
|
|
/*
|
|
|
|
* This structure describes the machine which we are running on.
|
|
|
|
*/
|
|
|
|
struct imxfb_mach_info {
|
|
|
|
u_long pixclock;
|
|
|
|
|
|
|
|
u_short xres;
|
|
|
|
u_short yres;
|
|
|
|
|
2007-10-16 16:29:44 +08:00
|
|
|
u_int nonstd;
|
2005-05-05 21:06:31 +08:00
|
|
|
u_char bpp;
|
|
|
|
u_char hsync_len;
|
|
|
|
u_char left_margin;
|
|
|
|
u_char right_margin;
|
|
|
|
|
|
|
|
u_char vsync_len;
|
|
|
|
u_char upper_margin;
|
|
|
|
u_char lower_margin;
|
|
|
|
u_char sync;
|
|
|
|
|
|
|
|
u_int cmap_greyscale:1,
|
|
|
|
cmap_inverse:1,
|
|
|
|
cmap_static:1,
|
|
|
|
unused:29;
|
|
|
|
|
|
|
|
u_int pcr;
|
|
|
|
u_int pwmr;
|
|
|
|
u_int lscr1;
|
2005-07-18 03:15:36 +08:00
|
|
|
u_int dmacr;
|
2005-05-05 21:06:31 +08:00
|
|
|
|
|
|
|
u_char * fixed_screen_cpu;
|
|
|
|
dma_addr_t fixed_screen_dma;
|
|
|
|
|
|
|
|
void (*lcd_power)(int);
|
|
|
|
void (*backlight_power)(int);
|
|
|
|
};
|
|
|
|
void set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info);
|