Go to the documentation of this file.
10 #define _MPC8610_PCM_H
38 #define CCSR_DMA_MR_BWC_DISABLED 0x0F000000
39 #define CCSR_DMA_MR_BWC_SHIFT 24
40 #define CCSR_DMA_MR_BWC_MASK 0x0F000000
41 #define CCSR_DMA_MR_BWC(x) \
42 ((ilog2(x) << CCSR_DMA_MR_BWC_SHIFT) & CCSR_DMA_MR_BWC_MASK)
43 #define CCSR_DMA_MR_EMP_EN 0x00200000
44 #define CCSR_DMA_MR_EMS_EN 0x00040000
45 #define CCSR_DMA_MR_DAHTS_MASK 0x00030000
46 #define CCSR_DMA_MR_DAHTS_1 0x00000000
47 #define CCSR_DMA_MR_DAHTS_2 0x00010000
48 #define CCSR_DMA_MR_DAHTS_4 0x00020000
49 #define CCSR_DMA_MR_DAHTS_8 0x00030000
50 #define CCSR_DMA_MR_SAHTS_MASK 0x0000C000
51 #define CCSR_DMA_MR_SAHTS_1 0x00000000
52 #define CCSR_DMA_MR_SAHTS_2 0x00004000
53 #define CCSR_DMA_MR_SAHTS_4 0x00008000
54 #define CCSR_DMA_MR_SAHTS_8 0x0000C000
55 #define CCSR_DMA_MR_DAHE 0x00002000
56 #define CCSR_DMA_MR_SAHE 0x00001000
57 #define CCSR_DMA_MR_SRW 0x00000400
58 #define CCSR_DMA_MR_EOSIE 0x00000200
59 #define CCSR_DMA_MR_EOLNIE 0x00000100
60 #define CCSR_DMA_MR_EOLSIE 0x00000080
61 #define CCSR_DMA_MR_EIE 0x00000040
62 #define CCSR_DMA_MR_XFE 0x00000020
63 #define CCSR_DMA_MR_CDSM_SWSM 0x00000010
64 #define CCSR_DMA_MR_CA 0x00000008
65 #define CCSR_DMA_MR_CTM 0x00000004
66 #define CCSR_DMA_MR_CC 0x00000002
67 #define CCSR_DMA_MR_CS 0x00000001
69 #define CCSR_DMA_SR_TE 0x00000080
70 #define CCSR_DMA_SR_CH 0x00000020
71 #define CCSR_DMA_SR_PE 0x00000010
72 #define CCSR_DMA_SR_EOLNI 0x00000008
73 #define CCSR_DMA_SR_CB 0x00000004
74 #define CCSR_DMA_SR_EOSI 0x00000002
75 #define CCSR_DMA_SR_EOLSI 0x00000001
78 static inline u32 CCSR_DMA_ECLNDAR_ADDR(
u64 x)
80 return (x >> 32) & 0xf;
83 #define CCSR_DMA_CLNDAR_ADDR(x) ((x) & 0xFFFFFFFE)
84 #define CCSR_DMA_CLNDAR_EOSIE 0x00000008
87 #define CCSR_DMA_ATR_PBATMU 0x20000000
88 #define CCSR_DMA_ATR_TFLOWLVL_0 0x00000000
89 #define CCSR_DMA_ATR_TFLOWLVL_1 0x06000000
90 #define CCSR_DMA_ATR_TFLOWLVL_2 0x08000000
91 #define CCSR_DMA_ATR_TFLOWLVL_3 0x0C000000
92 #define CCSR_DMA_ATR_PCIORDER 0x02000000
93 #define CCSR_DMA_ATR_SME 0x01000000
94 #define CCSR_DMA_ATR_NOSNOOP 0x00040000
95 #define CCSR_DMA_ATR_SNOOP 0x00050000
96 #define CCSR_DMA_ATR_ESAD_MASK 0x0000000F