home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-arm / arch-imx / imxfb.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  630 b   |  37 lines

  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.  
  10.     u_char        bpp;
  11.     u_char        hsync_len;
  12.     u_char        left_margin;
  13.     u_char        right_margin;
  14.  
  15.     u_char        vsync_len;
  16.     u_char        upper_margin;
  17.     u_char        lower_margin;
  18.     u_char        sync;
  19.  
  20.     u_int        cmap_greyscale:1,
  21.             cmap_inverse:1,
  22.             cmap_static:1,
  23.             unused:29;
  24.  
  25.     u_int        pcr;
  26.     u_int        pwmr;
  27.     u_int        lscr1;
  28.     u_int        dmacr;
  29.  
  30.     u_char * fixed_screen_cpu;
  31.     dma_addr_t fixed_screen_dma;
  32.  
  33.     void (*lcd_power)(int);
  34.     void (*backlight_power)(int);
  35. };
  36. void set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info);
  37.