Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sh7760fb.h File Reference

Go to the source code of this file.

Data Structures

struct  sh7760fb_platdata
 

Macros

#define SH7760FB_PALETTE_MASK   0x00f8fcf8
 
#define SH7760FB_DMA_MASK   0x0C000000
 
#define LDPR(x)   (((x) << 2))
 
#define LDICKR   0x400
 
#define LDMTR   0x402
 
#define LDDFR   0x404
 
#define LDDFR_PABD   (1 << 8)
 
#define LDDFR_COLOR_MASK   0x7F
 
#define LDSMR   0x406
 
#define LDSMR_ROT   (1 << 13)
 
#define LDSARU   0x408
 
#define LDSARL   0x40c
 
#define LDLAOR   0x410
 
#define LDPALCR   0x412
 
#define LDPALCR_PALS   (1 << 4)
 
#define LDPALCR_PALEN   (1 << 0)
 
#define LDHCNR   0x414
 
#define LDHSYNR   0x416
 
#define LDVDLNR   0x418
 
#define LDVTLNR   0x41a
 
#define LDVSYNR   0x41c
 
#define LDACLNR   0x41e
 
#define LDINTR   0x420
 
#define LDPMMR   0x424
 
#define LDPSPR   0x426
 
#define LDCNTR   0x428
 
#define LDCNTR_DON   (1 << 0)
 
#define LDCNTR_DON2   (1 << 4)
 
#define LDINTR_VINTSEL   (1 << 12)
 
#define LDINTR_VINTE   (1 << 8)
 
#define LDINTR_VINTS   (1 << 0)
 
#define VINT_START   (LDINTR_VINTSEL)
 
#define VINT_CHECK   (LDINTR_VINTS)
 
#define LDMTR_FLMPOL   (1 << 15)
 
#define LDMTR_CL1POL   (1 << 14)
 
#define LDMTR_DISPEN_LOWACT   (1 << 13)
 
#define LDMTR_DPOL_LOWACT   (1 << 12)
 
#define LDMTR_MCNT   (1 << 10)
 
#define LDMTR_CL1CNT   (1 << 9)
 
#define LDMTR_CL2CNT   (1 << 8)
 
#define LDMTR_STN_MONO_4   0x00
 
#define LDMTR_STN_MONO_8   0x01
 
#define LDMTR_STN_COLOR_4   0x08
 
#define LDMTR_STN_COLOR_8   0x09
 
#define LDMTR_STN_COLOR_12   0x0A
 
#define LDMTR_STN_COLOR_16   0x0B
 
#define LDMTR_DSTN_MONO_8   0x11
 
#define LDMTR_DSTN_MONO_16   0x13
 
#define LDMTR_DSTN_COLOR_8   0x19
 
#define LDMTR_DSTN_COLOR_12   0x1A
 
#define LDMTR_DSTN_COLOR_16   0x1B
 
#define LDMTR_TFT_COLOR_16   0x2B
 
#define LDDFR_1BPP_MONO   0x00
 
#define LDDFR_2BPP_MONO   0x01
 
#define LDDFR_4BPP_MONO   0x02
 
#define LDDFR_6BPP_MONO   0x04
 
#define LDDFR_4BPP   0x0A
 
#define LDDFR_8BPP   0x0C
 
#define LDDFR_16BPP_RGB555   0x1D
 
#define LDDFR_16BPP_RGB565   0x2D
 
#define LCDC_CLKSRC_BUSCLOCK   0
 
#define LCDC_CLKSRC_PERIPHERAL   1
 
#define LCDC_CLKSRC_EXTERNAL   2
 
#define LDICKR_CLKSRC(x)   (((x) & 3) << 12)
 
#define LDICKR_CLKDIV(x)   ((x) & 0x1f)
 

Macro Definition Documentation

#define LCDC_CLKSRC_BUSCLOCK   0

Definition at line 120 of file sh7760fb.h.

#define LCDC_CLKSRC_EXTERNAL   2

Definition at line 122 of file sh7760fb.h.

#define LCDC_CLKSRC_PERIPHERAL   1

Definition at line 121 of file sh7760fb.h.

#define LDACLNR   0x41e

Definition at line 44 of file sh7760fb.h.

#define LDCNTR   0x428

Definition at line 48 of file sh7760fb.h.

#define LDCNTR_DON   (1 << 0)

Definition at line 49 of file sh7760fb.h.

#define LDCNTR_DON2   (1 << 4)

Definition at line 50 of file sh7760fb.h.

#define LDDFR   0x404

Definition at line 28 of file sh7760fb.h.

#define LDDFR_16BPP_RGB555   0x1D

Definition at line 116 of file sh7760fb.h.

#define LDDFR_16BPP_RGB565   0x2D

Definition at line 117 of file sh7760fb.h.

#define LDDFR_1BPP_MONO   0x00

Definition at line 110 of file sh7760fb.h.

#define LDDFR_2BPP_MONO   0x01

Definition at line 111 of file sh7760fb.h.

#define LDDFR_4BPP   0x0A

Definition at line 114 of file sh7760fb.h.

#define LDDFR_4BPP_MONO   0x02

Definition at line 112 of file sh7760fb.h.

#define LDDFR_6BPP_MONO   0x04

Definition at line 113 of file sh7760fb.h.

#define LDDFR_8BPP   0x0C

Definition at line 115 of file sh7760fb.h.

#define LDDFR_COLOR_MASK   0x7F

Definition at line 30 of file sh7760fb.h.

#define LDDFR_PABD   (1 << 8)

Definition at line 29 of file sh7760fb.h.

#define LDHCNR   0x414

Definition at line 39 of file sh7760fb.h.

#define LDHSYNR   0x416

Definition at line 40 of file sh7760fb.h.

#define LDICKR   0x400

Definition at line 25 of file sh7760fb.h.

#define LDICKR_CLKDIV (   x)    ((x) & 0x1f)

Definition at line 128 of file sh7760fb.h.

#define LDICKR_CLKSRC (   x)    (((x) & 3) << 12)

Definition at line 124 of file sh7760fb.h.

#define LDINTR   0x420

Definition at line 45 of file sh7760fb.h.

#define LDINTR_VINTE   (1 << 8)

Definition at line 68 of file sh7760fb.h.

#define LDINTR_VINTS   (1 << 0)

Definition at line 69 of file sh7760fb.h.

#define LDINTR_VINTSEL   (1 << 12)

Definition at line 67 of file sh7760fb.h.

#define LDLAOR   0x410

Definition at line 35 of file sh7760fb.h.

#define LDMTR   0x402

Definition at line 26 of file sh7760fb.h.

#define LDMTR_CL1CNT   (1 << 9)

Definition at line 90 of file sh7760fb.h.

#define LDMTR_CL1POL   (1 << 14)

Definition at line 78 of file sh7760fb.h.

#define LDMTR_CL2CNT   (1 << 8)

Definition at line 93 of file sh7760fb.h.

#define LDMTR_DISPEN_LOWACT   (1 << 13)

Definition at line 81 of file sh7760fb.h.

#define LDMTR_DPOL_LOWACT   (1 << 12)

Definition at line 84 of file sh7760fb.h.

#define LDMTR_DSTN_COLOR_12   0x1A

Definition at line 105 of file sh7760fb.h.

#define LDMTR_DSTN_COLOR_16   0x1B

Definition at line 106 of file sh7760fb.h.

#define LDMTR_DSTN_COLOR_8   0x19

Definition at line 104 of file sh7760fb.h.

#define LDMTR_DSTN_MONO_16   0x13

Definition at line 103 of file sh7760fb.h.

#define LDMTR_DSTN_MONO_8   0x11

Definition at line 102 of file sh7760fb.h.

#define LDMTR_FLMPOL   (1 << 15)

Definition at line 75 of file sh7760fb.h.

#define LDMTR_MCNT   (1 << 10)

Definition at line 87 of file sh7760fb.h.

#define LDMTR_STN_COLOR_12   0x0A

Definition at line 100 of file sh7760fb.h.

#define LDMTR_STN_COLOR_16   0x0B

Definition at line 101 of file sh7760fb.h.

#define LDMTR_STN_COLOR_4   0x08

Definition at line 98 of file sh7760fb.h.

#define LDMTR_STN_COLOR_8   0x09

Definition at line 99 of file sh7760fb.h.

#define LDMTR_STN_MONO_4   0x00

Definition at line 96 of file sh7760fb.h.

#define LDMTR_STN_MONO_8   0x01

Definition at line 97 of file sh7760fb.h.

#define LDMTR_TFT_COLOR_16   0x2B

Definition at line 107 of file sh7760fb.h.

#define LDPALCR   0x412

Definition at line 36 of file sh7760fb.h.

#define LDPALCR_PALEN   (1 << 0)

Definition at line 38 of file sh7760fb.h.

#define LDPALCR_PALS   (1 << 4)

Definition at line 37 of file sh7760fb.h.

#define LDPMMR   0x424

Definition at line 46 of file sh7760fb.h.

#define LDPR (   x)    (((x) << 2))

Definition at line 22 of file sh7760fb.h.

#define LDPSPR   0x426

Definition at line 47 of file sh7760fb.h.

#define LDSARL   0x40c

Definition at line 34 of file sh7760fb.h.

#define LDSARU   0x408

Definition at line 33 of file sh7760fb.h.

#define LDSMR   0x406

Definition at line 31 of file sh7760fb.h.

#define LDSMR_ROT   (1 << 13)

Definition at line 32 of file sh7760fb.h.

#define LDVDLNR   0x418

Definition at line 41 of file sh7760fb.h.

#define LDVSYNR   0x41c

Definition at line 43 of file sh7760fb.h.

#define LDVTLNR   0x41a

Definition at line 42 of file sh7760fb.h.

#define SH7760FB_DMA_MASK   0x0C000000

Definition at line 19 of file sh7760fb.h.

#define SH7760FB_PALETTE_MASK   0x00f8fcf8

Definition at line 16 of file sh7760fb.h.

#define VINT_CHECK   (LDINTR_VINTS)

Definition at line 71 of file sh7760fb.h.

#define VINT_START   (LDINTR_VINTSEL)

Definition at line 70 of file sh7760fb.h.