Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sa1100fb.h
Go to the documentation of this file.
1 /*
2  * StrongARM 1100 LCD Controller Frame Buffer Device
3  *
4  * Copyright (C) 1999 Eric A. Thomas
5  * Based on acornfb.c Copyright (C) Russell King.
6  *
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
9  * for more details.
10  */
11 #ifndef _VIDEO_SA1100FB_H
12 #define _VIDEO_SA1100FB_H
13 
14 #include <linux/fb.h>
15 #include <linux/types.h>
16 
17 #define RGB_4 0
18 #define RGB_8 1
19 #define RGB_16 2
20 #define NR_RGB 3
21 
22 /* These are the bitfields for each display depth that we support. */
23 struct sa1100fb_rgb {
24  struct fb_bitfield red;
26  struct fb_bitfield blue;
28 };
29 
30 /* This structure describes the machine which we are running on. */
33 
36 
41 
46 
48  cmap_inverse:1,
49  cmap_static:1,
50  unused:29;
51 
54 
55  /* Overrides for the default RGB maps */
56  const struct sa1100fb_rgb *rgb[NR_RGB];
57 
61 };
62 
63 #endif