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

Go to the source code of this file.

Data Structures

struct  pl080_lli
 
struct  pl080s_lli
 

Macros

#define PL080_INT_STATUS   (0x00)
 
#define PL080_TC_STATUS   (0x04)
 
#define PL080_TC_CLEAR   (0x08)
 
#define PL080_ERR_STATUS   (0x0C)
 
#define PL080_ERR_CLEAR   (0x10)
 
#define PL080_RAW_TC_STATUS   (0x14)
 
#define PL080_RAW_ERR_STATUS   (0x18)
 
#define PL080_EN_CHAN   (0x1c)
 
#define PL080_SOFT_BREQ   (0x20)
 
#define PL080_SOFT_SREQ   (0x24)
 
#define PL080_SOFT_LBREQ   (0x28)
 
#define PL080_SOFT_LSREQ   (0x2C)
 
#define PL080_CONFIG   (0x30)
 
#define PL080_CONFIG_M2_BE   (1 << 2)
 
#define PL080_CONFIG_M1_BE   (1 << 1)
 
#define PL080_CONFIG_ENABLE   (1 << 0)
 
#define PL080_SYNC   (0x34)
 
#define PL080_Cx_STRIDE   (0x20)
 
#define PL080_Cx_BASE(x)   ((0x100 + (x * 0x20)))
 
#define PL080_Cx_SRC_ADDR(x)   ((0x100 + (x * 0x20)))
 
#define PL080_Cx_DST_ADDR(x)   ((0x104 + (x * 0x20)))
 
#define PL080_Cx_LLI(x)   ((0x108 + (x * 0x20)))
 
#define PL080_Cx_CONTROL(x)   ((0x10C + (x * 0x20)))
 
#define PL080_Cx_CONFIG(x)   ((0x110 + (x * 0x20)))
 
#define PL080S_Cx_CONTROL2(x)   ((0x110 + (x * 0x20)))
 
#define PL080S_Cx_CONFIG(x)   ((0x114 + (x * 0x20)))
 
#define PL080_CH_SRC_ADDR   (0x00)
 
#define PL080_CH_DST_ADDR   (0x04)
 
#define PL080_CH_LLI   (0x08)
 
#define PL080_CH_CONTROL   (0x0C)
 
#define PL080_CH_CONFIG   (0x10)
 
#define PL080S_CH_CONTROL2   (0x10)
 
#define PL080S_CH_CONFIG   (0x14)
 
#define PL080_LLI_ADDR_MASK   (0x3fffffff << 2)
 
#define PL080_LLI_ADDR_SHIFT   (2)
 
#define PL080_LLI_LM_AHB2   (1 << 0)
 
#define PL080_CONTROL_TC_IRQ_EN   (1 << 31)
 
#define PL080_CONTROL_PROT_MASK   (0x7 << 28)
 
#define PL080_CONTROL_PROT_SHIFT   (28)
 
#define PL080_CONTROL_PROT_CACHE   (1 << 30)
 
#define PL080_CONTROL_PROT_BUFF   (1 << 29)
 
#define PL080_CONTROL_PROT_SYS   (1 << 28)
 
#define PL080_CONTROL_DST_INCR   (1 << 27)
 
#define PL080_CONTROL_SRC_INCR   (1 << 26)
 
#define PL080_CONTROL_DST_AHB2   (1 << 25)
 
#define PL080_CONTROL_SRC_AHB2   (1 << 24)
 
#define PL080_CONTROL_DWIDTH_MASK   (0x7 << 21)
 
#define PL080_CONTROL_DWIDTH_SHIFT   (21)
 
#define PL080_CONTROL_SWIDTH_MASK   (0x7 << 18)
 
#define PL080_CONTROL_SWIDTH_SHIFT   (18)
 
#define PL080_CONTROL_DB_SIZE_MASK   (0x7 << 15)
 
#define PL080_CONTROL_DB_SIZE_SHIFT   (15)
 
#define PL080_CONTROL_SB_SIZE_MASK   (0x7 << 12)
 
#define PL080_CONTROL_SB_SIZE_SHIFT   (12)
 
#define PL080_CONTROL_TRANSFER_SIZE_MASK   (0xfff << 0)
 
#define PL080_CONTROL_TRANSFER_SIZE_SHIFT   (0)
 
#define PL080_BSIZE_1   (0x0)
 
#define PL080_BSIZE_4   (0x1)
 
#define PL080_BSIZE_8   (0x2)
 
#define PL080_BSIZE_16   (0x3)
 
#define PL080_BSIZE_32   (0x4)
 
#define PL080_BSIZE_64   (0x5)
 
#define PL080_BSIZE_128   (0x6)
 
#define PL080_BSIZE_256   (0x7)
 
#define PL080_WIDTH_8BIT   (0x0)
 
#define PL080_WIDTH_16BIT   (0x1)
 
#define PL080_WIDTH_32BIT   (0x2)
 
#define PL080N_CONFIG_ITPROT   (1 << 20)
 
#define PL080N_CONFIG_SECPROT   (1 << 19)
 
#define PL080_CONFIG_HALT   (1 << 18)
 
#define PL080_CONFIG_ACTIVE   (1 << 17) /* RO */
 
#define PL080_CONFIG_LOCK   (1 << 16)
 
#define PL080_CONFIG_TC_IRQ_MASK   (1 << 15)
 
#define PL080_CONFIG_ERR_IRQ_MASK   (1 << 14)
 
#define PL080_CONFIG_FLOW_CONTROL_MASK   (0x7 << 11)
 
#define PL080_CONFIG_FLOW_CONTROL_SHIFT   (11)
 
#define PL080_CONFIG_DST_SEL_MASK   (0xf << 6)
 
#define PL080_CONFIG_DST_SEL_SHIFT   (6)
 
#define PL080_CONFIG_SRC_SEL_MASK   (0xf << 1)
 
#define PL080_CONFIG_SRC_SEL_SHIFT   (1)
 
#define PL080_CONFIG_ENABLE   (1 << 0)
 
#define PL080_FLOW_MEM2MEM   (0x0)
 
#define PL080_FLOW_MEM2PER   (0x1)
 
#define PL080_FLOW_PER2MEM   (0x2)
 
#define PL080_FLOW_SRC2DST   (0x3)
 
#define PL080_FLOW_SRC2DST_DST   (0x4)
 
#define PL080_FLOW_MEM2PER_PER   (0x5)
 
#define PL080_FLOW_PER2MEM_PER   (0x6)
 
#define PL080_FLOW_SRC2DST_SRC   (0x7)
 

Macro Definition Documentation

#define PL080_BSIZE_1   (0x0)

Definition at line 92 of file pl080.h.

#define PL080_BSIZE_128   (0x6)

Definition at line 98 of file pl080.h.

#define PL080_BSIZE_16   (0x3)

Definition at line 95 of file pl080.h.

#define PL080_BSIZE_256   (0x7)

Definition at line 99 of file pl080.h.

#define PL080_BSIZE_32   (0x4)

Definition at line 96 of file pl080.h.

#define PL080_BSIZE_4   (0x1)

Definition at line 93 of file pl080.h.

#define PL080_BSIZE_64   (0x5)

Definition at line 97 of file pl080.h.

#define PL080_BSIZE_8   (0x2)

Definition at line 94 of file pl080.h.

#define PL080_CH_CONFIG   (0x10)

Definition at line 63 of file pl080.h.

#define PL080_CH_CONTROL   (0x0C)

Definition at line 62 of file pl080.h.

#define PL080_CH_DST_ADDR   (0x04)

Definition at line 60 of file pl080.h.

#define PL080_CH_LLI   (0x08)

Definition at line 61 of file pl080.h.

#define PL080_CH_SRC_ADDR   (0x00)

Definition at line 59 of file pl080.h.

#define PL080_CONFIG   (0x30)

Definition at line 40 of file pl080.h.

#define PL080_CONFIG_ACTIVE   (1 << 17) /* RO */

Definition at line 108 of file pl080.h.

#define PL080_CONFIG_DST_SEL_MASK   (0xf << 6)

Definition at line 114 of file pl080.h.

#define PL080_CONFIG_DST_SEL_SHIFT   (6)

Definition at line 115 of file pl080.h.

#define PL080_CONFIG_ENABLE   (1 << 0)

Definition at line 118 of file pl080.h.

#define PL080_CONFIG_ENABLE   (1 << 0)

Definition at line 118 of file pl080.h.

#define PL080_CONFIG_ERR_IRQ_MASK   (1 << 14)

Definition at line 111 of file pl080.h.

#define PL080_CONFIG_FLOW_CONTROL_MASK   (0x7 << 11)

Definition at line 112 of file pl080.h.

#define PL080_CONFIG_FLOW_CONTROL_SHIFT   (11)

Definition at line 113 of file pl080.h.

#define PL080_CONFIG_HALT   (1 << 18)

Definition at line 107 of file pl080.h.

#define PL080_CONFIG_LOCK   (1 << 16)

Definition at line 109 of file pl080.h.

#define PL080_CONFIG_M1_BE   (1 << 1)

Definition at line 42 of file pl080.h.

#define PL080_CONFIG_M2_BE   (1 << 2)

Definition at line 41 of file pl080.h.

#define PL080_CONFIG_SRC_SEL_MASK   (0xf << 1)

Definition at line 116 of file pl080.h.

#define PL080_CONFIG_SRC_SEL_SHIFT   (1)

Definition at line 117 of file pl080.h.

#define PL080_CONFIG_TC_IRQ_MASK   (1 << 15)

Definition at line 110 of file pl080.h.

#define PL080_CONTROL_DB_SIZE_MASK   (0x7 << 15)

Definition at line 85 of file pl080.h.

#define PL080_CONTROL_DB_SIZE_SHIFT   (15)

Definition at line 86 of file pl080.h.

#define PL080_CONTROL_DST_AHB2   (1 << 25)

Definition at line 79 of file pl080.h.

#define PL080_CONTROL_DST_INCR   (1 << 27)

Definition at line 77 of file pl080.h.

#define PL080_CONTROL_DWIDTH_MASK   (0x7 << 21)

Definition at line 81 of file pl080.h.

#define PL080_CONTROL_DWIDTH_SHIFT   (21)

Definition at line 82 of file pl080.h.

#define PL080_CONTROL_PROT_BUFF   (1 << 29)

Definition at line 75 of file pl080.h.

#define PL080_CONTROL_PROT_CACHE   (1 << 30)

Definition at line 74 of file pl080.h.

#define PL080_CONTROL_PROT_MASK   (0x7 << 28)

Definition at line 72 of file pl080.h.

#define PL080_CONTROL_PROT_SHIFT   (28)

Definition at line 73 of file pl080.h.

#define PL080_CONTROL_PROT_SYS   (1 << 28)

Definition at line 76 of file pl080.h.

#define PL080_CONTROL_SB_SIZE_MASK   (0x7 << 12)

Definition at line 87 of file pl080.h.

#define PL080_CONTROL_SB_SIZE_SHIFT   (12)

Definition at line 88 of file pl080.h.

#define PL080_CONTROL_SRC_AHB2   (1 << 24)

Definition at line 80 of file pl080.h.

#define PL080_CONTROL_SRC_INCR   (1 << 26)

Definition at line 78 of file pl080.h.

#define PL080_CONTROL_SWIDTH_MASK   (0x7 << 18)

Definition at line 83 of file pl080.h.

#define PL080_CONTROL_SWIDTH_SHIFT   (18)

Definition at line 84 of file pl080.h.

#define PL080_CONTROL_TC_IRQ_EN   (1 << 31)

Definition at line 71 of file pl080.h.

#define PL080_CONTROL_TRANSFER_SIZE_MASK   (0xfff << 0)

Definition at line 89 of file pl080.h.

#define PL080_CONTROL_TRANSFER_SIZE_SHIFT   (0)

Definition at line 90 of file pl080.h.

#define PL080_Cx_BASE (   x)    ((0x100 + (x * 0x20)))

Definition at line 50 of file pl080.h.

#define PL080_Cx_CONFIG (   x)    ((0x110 + (x * 0x20)))

Definition at line 55 of file pl080.h.

#define PL080_Cx_CONTROL (   x)    ((0x10C + (x * 0x20)))

Definition at line 54 of file pl080.h.

#define PL080_Cx_DST_ADDR (   x)    ((0x104 + (x * 0x20)))

Definition at line 52 of file pl080.h.

#define PL080_Cx_LLI (   x)    ((0x108 + (x * 0x20)))

Definition at line 53 of file pl080.h.

#define PL080_Cx_SRC_ADDR (   x)    ((0x100 + (x * 0x20)))

Definition at line 51 of file pl080.h.

#define PL080_Cx_STRIDE   (0x20)

Definition at line 49 of file pl080.h.

#define PL080_EN_CHAN   (0x1c)

Definition at line 34 of file pl080.h.

#define PL080_ERR_CLEAR   (0x10)

Definition at line 31 of file pl080.h.

#define PL080_ERR_STATUS   (0x0C)

Definition at line 30 of file pl080.h.

#define PL080_FLOW_MEM2MEM   (0x0)

Definition at line 120 of file pl080.h.

#define PL080_FLOW_MEM2PER   (0x1)

Definition at line 121 of file pl080.h.

#define PL080_FLOW_MEM2PER_PER   (0x5)

Definition at line 125 of file pl080.h.

#define PL080_FLOW_PER2MEM   (0x2)

Definition at line 122 of file pl080.h.

#define PL080_FLOW_PER2MEM_PER   (0x6)

Definition at line 126 of file pl080.h.

#define PL080_FLOW_SRC2DST   (0x3)

Definition at line 123 of file pl080.h.

#define PL080_FLOW_SRC2DST_DST   (0x4)

Definition at line 124 of file pl080.h.

#define PL080_FLOW_SRC2DST_SRC   (0x7)

Definition at line 127 of file pl080.h.

#define PL080_INT_STATUS   (0x00)

Definition at line 27 of file pl080.h.

#define PL080_LLI_ADDR_MASK   (0x3fffffff << 2)

Definition at line 67 of file pl080.h.

#define PL080_LLI_ADDR_SHIFT   (2)

Definition at line 68 of file pl080.h.

#define PL080_LLI_LM_AHB2   (1 << 0)

Definition at line 69 of file pl080.h.

#define PL080_RAW_ERR_STATUS   (0x18)

Definition at line 33 of file pl080.h.

#define PL080_RAW_TC_STATUS   (0x14)

Definition at line 32 of file pl080.h.

#define PL080_SOFT_BREQ   (0x20)

Definition at line 35 of file pl080.h.

#define PL080_SOFT_LBREQ   (0x28)

Definition at line 37 of file pl080.h.

#define PL080_SOFT_LSREQ   (0x2C)

Definition at line 38 of file pl080.h.

#define PL080_SOFT_SREQ   (0x24)

Definition at line 36 of file pl080.h.

#define PL080_SYNC   (0x34)

Definition at line 45 of file pl080.h.

#define PL080_TC_CLEAR   (0x08)

Definition at line 29 of file pl080.h.

#define PL080_TC_STATUS   (0x04)

Definition at line 28 of file pl080.h.

#define PL080_WIDTH_16BIT   (0x1)

Definition at line 102 of file pl080.h.

#define PL080_WIDTH_32BIT   (0x2)

Definition at line 103 of file pl080.h.

#define PL080_WIDTH_8BIT   (0x0)

Definition at line 101 of file pl080.h.

#define PL080N_CONFIG_ITPROT   (1 << 20)

Definition at line 105 of file pl080.h.

#define PL080N_CONFIG_SECPROT   (1 << 19)

Definition at line 106 of file pl080.h.

#define PL080S_CH_CONFIG   (0x14)

Definition at line 65 of file pl080.h.

#define PL080S_CH_CONTROL2   (0x10)

Definition at line 64 of file pl080.h.

#define PL080S_Cx_CONFIG (   x)    ((0x114 + (x * 0x20)))

Definition at line 57 of file pl080.h.

#define PL080S_Cx_CONTROL2 (   x)    ((0x110 + (x * 0x20)))

Definition at line 56 of file pl080.h.