Russell King | 53d7ad1 | 2005-05-05 14:06:31 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This structure describes the machine which we are running on. |
| 3 | */ |
| 4 | struct imxfb_mach_info { |
| 5 | u_long pixclock; |
| 6 | |
| 7 | u_short xres; |
| 8 | u_short yres; |
| 9 | |
Pavel Pisa | 9da505d | 2007-10-16 01:29:44 -0700 | [diff] [blame] | 10 | u_int nonstd; |
Russell King | 53d7ad1 | 2005-05-05 14:06:31 +0100 | [diff] [blame] | 11 | u_char bpp; |
| 12 | u_char hsync_len; |
| 13 | u_char left_margin; |
| 14 | u_char right_margin; |
| 15 | |
| 16 | u_char vsync_len; |
| 17 | u_char upper_margin; |
| 18 | u_char lower_margin; |
| 19 | u_char sync; |
| 20 | |
| 21 | u_int cmap_greyscale:1, |
| 22 | cmap_inverse:1, |
| 23 | cmap_static:1, |
| 24 | unused:29; |
| 25 | |
| 26 | u_int pcr; |
| 27 | u_int pwmr; |
| 28 | u_int lscr1; |
Sascha Hauer | 772a9e63 | 2005-07-17 20:15:36 +0100 | [diff] [blame] | 29 | u_int dmacr; |
Russell King | 53d7ad1 | 2005-05-05 14:06:31 +0100 | [diff] [blame] | 30 | |
| 31 | u_char * fixed_screen_cpu; |
| 32 | dma_addr_t fixed_screen_dma; |
| 33 | |
| 34 | void (*lcd_power)(int); |
| 35 | void (*backlight_power)(int); |
| 36 | }; |
| 37 | void set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info); |