2 * StrongARM 1100 LCD Controller Frame Buffer Device
4 * Copyright (C) 1999 Eric A. Thomas
5 * Based on acornfb.c Copyright (C) Russell King.
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file COPYING in the main directory of this archive
11 #ifndef _VIDEO_SA1100FB_H
12 #define _VIDEO_SA1100FB_H
15 #include <linux/types.h>
22 /* These are the bitfields for each display depth that we support. */
24 struct fb_bitfield red;
25 struct fb_bitfield green;
26 struct fb_bitfield blue;
27 struct fb_bitfield transp;
30 /* This structure describes the machine which we are running on. */
31 struct sa1100fb_mach_info {
47 u_int cmap_greyscale:1,
55 /* Overrides for the default RGB maps */
56 const struct sa1100fb_rgb *rgb[NR_RGB];
58 void (*backlight_power)(int);
59 void (*lcd_power)(int);
60 void (*set_visual)(u32);