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

Go to the source code of this file.

Macros

#define OFFSET_(x)   ((x) & 0x0000FFFF)
 
#define IMASK_IVG15   0x8000
 
#define IMASK_IVG14   0x4000
 
#define IMASK_IVG13   0x2000
 
#define IMASK_IVG12   0x1000
 
#define IMASK_IVG11   0x0800
 
#define IMASK_IVG10   0x0400
 
#define IMASK_IVG9   0x0200
 
#define IMASK_IVG8   0x0100
 
#define IMASK_IVG7   0x0080
 
#define IMASK_IVGTMR   0x0040
 
#define IMASK_IVGHW   0x0020
 
#define BFIN_DSUBBANKS   4
 
#define BFIN_DWAYS   2
 
#define BFIN_DLINES   64
 
#define BFIN_ISUBBANKS   4
 
#define BFIN_IWAYS   4
 
#define BFIN_ILINES   32
 
#define WAY0_L   0x1
 
#define WAY1_L   0x2
 
#define WAY01_L   0x3
 
#define WAY2_L   0x4
 
#define WAY02_L   0x5
 
#define WAY12_L   0x6
 
#define WAY012_L   0x7
 
#define WAY3_L   0x8
 
#define WAY03_L   0x9
 
#define WAY13_L   0xA
 
#define WAY013_L   0xB
 
#define WAY32_L   0xC
 
#define WAY320_L   0xD
 
#define WAY321_L   0xE
 
#define WAYALL_L   0xF
 
#define DMC_ENABLE   (2<<2) /*yes, 2, not 1 */
 
#define AMBCTL0VAL   ((CONFIG_BANK_1 << 16) | CONFIG_BANK_0)
 
#define AMBCTL1VAL   ((CONFIG_BANK_3 << 16) | CONFIG_BANK_2)
 
#define V_AMCKEN   0x0
 
#define V_CDPRIO   0x0
 
#define AMGCTLVAL   (V_AMBEN | V_AMCKEN | V_CDPRIO)
 

Macro Definition Documentation

#define AMBCTL0VAL   ((CONFIG_BANK_1 << 16) | CONFIG_BANK_0)

Definition at line 57 of file bf518.h.

#define AMBCTL1VAL   ((CONFIG_BANK_3 << 16) | CONFIG_BANK_2)

Definition at line 58 of file bf518.h.

#define AMGCTLVAL   (V_AMBEN | V_AMCKEN | V_CDPRIO)

Definition at line 86 of file bf518.h.

#define BFIN_DLINES   64

Definition at line 31 of file bf518.h.

#define BFIN_DSUBBANKS   4

Definition at line 29 of file bf518.h.

#define BFIN_DWAYS   2

Definition at line 30 of file bf518.h.

#define BFIN_ILINES   32

Definition at line 34 of file bf518.h.

#define BFIN_ISUBBANKS   4

Definition at line 32 of file bf518.h.

#define BFIN_IWAYS   4

Definition at line 33 of file bf518.h.

#define DMC_ENABLE   (2<<2) /*yes, 2, not 1 */

Definition at line 54 of file bf518.h.

#define IMASK_IVG10   0x0400

Definition at line 19 of file bf518.h.

#define IMASK_IVG11   0x0800

Definition at line 18 of file bf518.h.

#define IMASK_IVG12   0x1000

Definition at line 16 of file bf518.h.

#define IMASK_IVG13   0x2000

Definition at line 15 of file bf518.h.

#define IMASK_IVG14   0x4000

Definition at line 14 of file bf518.h.

#define IMASK_IVG15   0x8000

Definition at line 13 of file bf518.h.

#define IMASK_IVG7   0x0080

Definition at line 23 of file bf518.h.

#define IMASK_IVG8   0x0100

Definition at line 21 of file bf518.h.

#define IMASK_IVG9   0x0200

Definition at line 20 of file bf518.h.

#define IMASK_IVGHW   0x0020

Definition at line 25 of file bf518.h.

#define IMASK_IVGTMR   0x0040

Definition at line 24 of file bf518.h.

#define OFFSET_ (   x)    ((x) & 0x0000FFFF)

Definition at line 10 of file bf518.h.

#define V_AMCKEN   0x0

Definition at line 78 of file bf518.h.

#define V_CDPRIO   0x0

Definition at line 83 of file bf518.h.

#define WAY012_L   0x7

Definition at line 42 of file bf518.h.

#define WAY013_L   0xB

Definition at line 47 of file bf518.h.

#define WAY01_L   0x3

Definition at line 38 of file bf518.h.

#define WAY02_L   0x5

Definition at line 40 of file bf518.h.

#define WAY03_L   0x9

Definition at line 45 of file bf518.h.

#define WAY0_L   0x1

Definition at line 36 of file bf518.h.

#define WAY12_L   0x6

Definition at line 41 of file bf518.h.

#define WAY13_L   0xA

Definition at line 46 of file bf518.h.

#define WAY1_L   0x2

Definition at line 37 of file bf518.h.

#define WAY2_L   0x4

Definition at line 39 of file bf518.h.

#define WAY320_L   0xD

Definition at line 50 of file bf518.h.

#define WAY321_L   0xE

Definition at line 51 of file bf518.h.

#define WAY32_L   0xC

Definition at line 49 of file bf518.h.

#define WAY3_L   0x8

Definition at line 44 of file bf518.h.

#define WAYALL_L   0xF

Definition at line 52 of file bf518.h.