Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
video-pxafb.h File Reference
#include <linux/fb.h>
#include <mach/regs-lcd.h>

Go to the source code of this file.

Data Structures

struct  pxafb_mode_info
 
struct  pxafb_mach_info
 

Macros

#define LCD_CONN_TYPE(_x)   ((_x) & 0x0f)
 
#define LCD_CONN_WIDTH(_x)   (((_x) >> 4) & 0x1f)
 
#define LCD_TYPE_MASK   0xf
 
#define LCD_TYPE_UNKNOWN   0
 
#define LCD_TYPE_MONO_STN   1
 
#define LCD_TYPE_MONO_DSTN   2
 
#define LCD_TYPE_COLOR_STN   3
 
#define LCD_TYPE_COLOR_DSTN   4
 
#define LCD_TYPE_COLOR_TFT   5
 
#define LCD_TYPE_SMART_PANEL   6
 
#define LCD_TYPE_MAX   7
 
#define LCD_MONO_STN_4BPP   ((4 << 4) | LCD_TYPE_MONO_STN)
 
#define LCD_MONO_STN_8BPP   ((8 << 4) | LCD_TYPE_MONO_STN)
 
#define LCD_MONO_DSTN_8BPP   ((8 << 4) | LCD_TYPE_MONO_DSTN)
 
#define LCD_COLOR_STN_8BPP   ((8 << 4) | LCD_TYPE_COLOR_STN)
 
#define LCD_COLOR_DSTN_16BPP   ((16 << 4) | LCD_TYPE_COLOR_DSTN)
 
#define LCD_COLOR_TFT_8BPP   ((8 << 4) | LCD_TYPE_COLOR_TFT)
 
#define LCD_COLOR_TFT_16BPP   ((16 << 4) | LCD_TYPE_COLOR_TFT)
 
#define LCD_COLOR_TFT_18BPP   ((18 << 4) | LCD_TYPE_COLOR_TFT)
 
#define LCD_SMART_PANEL_8BPP   ((8 << 4) | LCD_TYPE_SMART_PANEL)
 
#define LCD_SMART_PANEL_16BPP   ((16 << 4) | LCD_TYPE_SMART_PANEL)
 
#define LCD_SMART_PANEL_18BPP   ((18 << 4) | LCD_TYPE_SMART_PANEL)
 
#define LCD_AC_BIAS_FREQ(x)   (((x) & 0xff) << 10)
 
#define LCD_BIAS_ACTIVE_HIGH   (0 << 18)
 
#define LCD_BIAS_ACTIVE_LOW   (1 << 18)
 
#define LCD_PCLK_EDGE_RISE   (0 << 19)
 
#define LCD_PCLK_EDGE_FALL   (1 << 19)
 
#define LCD_ALTERNATE_MAPPING   (1 << 20)
 

Functions

void pxa_set_fb_info (struct device *, struct pxafb_mach_info *)
 
unsigned long pxafb_get_hsync_time (struct device *dev)
 

Macro Definition Documentation

#define LCD_AC_BIAS_FREQ (   x)    (((x) & 0xff) << 10)

Definition at line 58 of file video-pxafb.h.

#define LCD_ALTERNATE_MAPPING   (1 << 20)

Definition at line 63 of file video-pxafb.h.

#define LCD_BIAS_ACTIVE_HIGH   (0 << 18)

Definition at line 59 of file video-pxafb.h.

#define LCD_BIAS_ACTIVE_LOW   (1 << 18)

Definition at line 60 of file video-pxafb.h.

#define LCD_COLOR_DSTN_16BPP   ((16 << 4) | LCD_TYPE_COLOR_DSTN)

Definition at line 50 of file video-pxafb.h.

#define LCD_COLOR_STN_8BPP   ((8 << 4) | LCD_TYPE_COLOR_STN)

Definition at line 49 of file video-pxafb.h.

#define LCD_COLOR_TFT_16BPP   ((16 << 4) | LCD_TYPE_COLOR_TFT)

Definition at line 52 of file video-pxafb.h.

#define LCD_COLOR_TFT_18BPP   ((18 << 4) | LCD_TYPE_COLOR_TFT)

Definition at line 53 of file video-pxafb.h.

#define LCD_COLOR_TFT_8BPP   ((8 << 4) | LCD_TYPE_COLOR_TFT)

Definition at line 51 of file video-pxafb.h.

#define LCD_CONN_TYPE (   _x)    ((_x) & 0x0f)

Definition at line 33 of file video-pxafb.h.

#define LCD_CONN_WIDTH (   _x)    (((_x) >> 4) & 0x1f)

Definition at line 34 of file video-pxafb.h.

#define LCD_MONO_DSTN_8BPP   ((8 << 4) | LCD_TYPE_MONO_DSTN)

Definition at line 48 of file video-pxafb.h.

#define LCD_MONO_STN_4BPP   ((4 << 4) | LCD_TYPE_MONO_STN)

Definition at line 46 of file video-pxafb.h.

#define LCD_MONO_STN_8BPP   ((8 << 4) | LCD_TYPE_MONO_STN)

Definition at line 47 of file video-pxafb.h.

#define LCD_PCLK_EDGE_FALL   (1 << 19)

Definition at line 62 of file video-pxafb.h.

#define LCD_PCLK_EDGE_RISE   (0 << 19)

Definition at line 61 of file video-pxafb.h.

#define LCD_SMART_PANEL_16BPP   ((16 << 4) | LCD_TYPE_SMART_PANEL)

Definition at line 55 of file video-pxafb.h.

#define LCD_SMART_PANEL_18BPP   ((18 << 4) | LCD_TYPE_SMART_PANEL)

Definition at line 56 of file video-pxafb.h.

#define LCD_SMART_PANEL_8BPP   ((8 << 4) | LCD_TYPE_SMART_PANEL)

Definition at line 54 of file video-pxafb.h.

#define LCD_TYPE_COLOR_DSTN   4

Definition at line 41 of file video-pxafb.h.

#define LCD_TYPE_COLOR_STN   3

Definition at line 40 of file video-pxafb.h.

#define LCD_TYPE_COLOR_TFT   5

Definition at line 42 of file video-pxafb.h.

#define LCD_TYPE_MASK   0xf

Definition at line 36 of file video-pxafb.h.

#define LCD_TYPE_MAX   7

Definition at line 44 of file video-pxafb.h.

#define LCD_TYPE_MONO_DSTN   2

Definition at line 39 of file video-pxafb.h.

#define LCD_TYPE_MONO_STN   1

Definition at line 38 of file video-pxafb.h.

#define LCD_TYPE_SMART_PANEL   6

Definition at line 43 of file video-pxafb.h.

#define LCD_TYPE_UNKNOWN   0

Definition at line 37 of file video-pxafb.h.

Function Documentation

void pxa_set_fb_info ( struct device ,
struct pxafb_mach_info  
)

Definition at line 190 of file devices.c.

unsigned long pxafb_get_hsync_time ( struct device dev)

Definition at line 1050 of file pxafb.c.