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

Go to the source code of this file.

Data Structures

struct  imx_fb_videomode
 
struct  imx_fb_platform_data
 

Macros

#define PCR_TFT   (1 << 31)
 
#define PCR_COLOR   (1 << 30)
 
#define PCR_PBSIZ_1   (0 << 28)
 
#define PCR_PBSIZ_2   (1 << 28)
 
#define PCR_PBSIZ_4   (2 << 28)
 
#define PCR_PBSIZ_8   (3 << 28)
 
#define PCR_BPIX_1   (0 << 25)
 
#define PCR_BPIX_2   (1 << 25)
 
#define PCR_BPIX_4   (2 << 25)
 
#define PCR_BPIX_8   (3 << 25)
 
#define PCR_BPIX_12   (4 << 25)
 
#define PCR_BPIX_16   (5 << 25)
 
#define PCR_BPIX_18   (6 << 25)
 
#define PCR_PIXPOL   (1 << 24)
 
#define PCR_FLMPOL   (1 << 23)
 
#define PCR_LPPOL   (1 << 22)
 
#define PCR_CLKPOL   (1 << 21)
 
#define PCR_OEPOL   (1 << 20)
 
#define PCR_SCLKIDLE   (1 << 19)
 
#define PCR_END_SEL   (1 << 18)
 
#define PCR_END_BYTE_SWAP   (1 << 17)
 
#define PCR_REV_VS   (1 << 16)
 
#define PCR_ACD_SEL   (1 << 15)
 
#define PCR_ACD(x)   (((x) & 0x7f) << 8)
 
#define PCR_SCLK_SEL   (1 << 7)
 
#define PCR_SHARP   (1 << 6)
 
#define PCR_PCD(x)   ((x) & 0x3f)
 
#define PWMR_CLS(x)   (((x) & 0x1ff) << 16)
 
#define PWMR_LDMSK   (1 << 15)
 
#define PWMR_SCR1   (1 << 10)
 
#define PWMR_SCR0   (1 << 9)
 
#define PWMR_CC_EN   (1 << 8)
 
#define PWMR_PW(x)   ((x) & 0xff)
 
#define LSCR1_PS_RISE_DELAY(x)   (((x) & 0x7f) << 26)
 
#define LSCR1_CLS_RISE_DELAY(x)   (((x) & 0x3f) << 16)
 
#define LSCR1_REV_TOGGLE_DELAY(x)   (((x) & 0xf) << 8)
 
#define LSCR1_GRAY2(x)   (((x) & 0xf) << 4)
 
#define LSCR1_GRAY1(x)   (((x) & 0xf))
 
#define DMACR_BURST   (1 << 31)
 
#define DMACR_HM(x)   (((x) & 0xf) << 16)
 
#define DMACR_TM(x)   ((x) & 0xf)
 

Functions

void set_imx_fb_info (struct imx_fb_platform_data *)
 

Macro Definition Documentation

#define DMACR_BURST   (1 << 31)

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

#define DMACR_HM (   x)    (((x) & 0xf) << 16)

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

#define DMACR_TM (   x)    ((x) & 0xf)

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

#define LSCR1_CLS_RISE_DELAY (   x)    (((x) & 0x3f) << 16)

Definition at line 45 of file video-imxfb.h.

#define LSCR1_GRAY1 (   x)    (((x) & 0xf))

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

#define LSCR1_GRAY2 (   x)    (((x) & 0xf) << 4)

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

#define LSCR1_PS_RISE_DELAY (   x)    (((x) & 0x7f) << 26)

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

#define LSCR1_REV_TOGGLE_DELAY (   x)    (((x) & 0xf) << 8)

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

#define PCR_ACD (   x)    (((x) & 0x7f) << 8)

Definition at line 32 of file video-imxfb.h.

#define PCR_ACD_SEL   (1 << 15)

Definition at line 31 of file video-imxfb.h.

#define PCR_BPIX_1   (0 << 25)

Definition at line 15 of file video-imxfb.h.

#define PCR_BPIX_12   (4 << 25)

Definition at line 19 of file video-imxfb.h.

#define PCR_BPIX_16   (5 << 25)

Definition at line 20 of file video-imxfb.h.

#define PCR_BPIX_18   (6 << 25)

Definition at line 21 of file video-imxfb.h.

#define PCR_BPIX_2   (1 << 25)

Definition at line 16 of file video-imxfb.h.

#define PCR_BPIX_4   (2 << 25)

Definition at line 17 of file video-imxfb.h.

#define PCR_BPIX_8   (3 << 25)

Definition at line 18 of file video-imxfb.h.

#define PCR_CLKPOL   (1 << 21)

Definition at line 25 of file video-imxfb.h.

#define PCR_COLOR   (1 << 30)

Definition at line 10 of file video-imxfb.h.

#define PCR_END_BYTE_SWAP   (1 << 17)

Definition at line 29 of file video-imxfb.h.

#define PCR_END_SEL   (1 << 18)

Definition at line 28 of file video-imxfb.h.

#define PCR_FLMPOL   (1 << 23)

Definition at line 23 of file video-imxfb.h.

#define PCR_LPPOL   (1 << 22)

Definition at line 24 of file video-imxfb.h.

#define PCR_OEPOL   (1 << 20)

Definition at line 26 of file video-imxfb.h.

#define PCR_PBSIZ_1   (0 << 28)

Definition at line 11 of file video-imxfb.h.

#define PCR_PBSIZ_2   (1 << 28)

Definition at line 12 of file video-imxfb.h.

#define PCR_PBSIZ_4   (2 << 28)

Definition at line 13 of file video-imxfb.h.

#define PCR_PBSIZ_8   (3 << 28)

Definition at line 14 of file video-imxfb.h.

#define PCR_PCD (   x)    ((x) & 0x3f)

Definition at line 35 of file video-imxfb.h.

#define PCR_PIXPOL   (1 << 24)

Definition at line 22 of file video-imxfb.h.

#define PCR_REV_VS   (1 << 16)

Definition at line 30 of file video-imxfb.h.

#define PCR_SCLK_SEL   (1 << 7)

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

#define PCR_SCLKIDLE   (1 << 19)

Definition at line 27 of file video-imxfb.h.

#define PCR_SHARP   (1 << 6)

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

#define PCR_TFT   (1 << 31)

Definition at line 9 of file video-imxfb.h.

#define PWMR_CC_EN   (1 << 8)

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

#define PWMR_CLS (   x)    (((x) & 0x1ff) << 16)

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

#define PWMR_LDMSK   (1 << 15)

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

#define PWMR_PW (   x)    ((x) & 0xff)

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

#define PWMR_SCR0   (1 << 9)

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

#define PWMR_SCR1   (1 << 10)

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

Function Documentation

void set_imx_fb_info ( struct imx_fb_platform_data )