Go to the documentation of this file.
72 #define CCINT0_INTERRUPT 16
73 #define CCERRINT_INTERRUPT 17
74 #define TCERRINT0_INTERRUPT 18
75 #define TCERRINT1_INTERRUPT 19
80 #define SYNCDIM BIT(2)
82 #define EDMA_FWID (0x07 << 8)
83 #define TCCMODE BIT(11)
84 #define EDMA_TCC(t) ((t) << 12)
85 #define TCINTEN BIT(20)
86 #define ITCINTEN BIT(21)
87 #define TCCHEN BIT(22)
88 #define ITCCHEN BIT(23)
90 #define TRWORD (0x7<<2)
91 #define PAENTRY (0x1ff<<5)
98 #define DAVINCI_DMA_MCBSP_TX 2
99 #define DAVINCI_DMA_MCBSP_RX 3
100 #define DAVINCI_DMA_VPSS_HIST 4
101 #define DAVINCI_DMA_VPSS_H3A 5
102 #define DAVINCI_DMA_VPSS_PRVU 6
103 #define DAVINCI_DMA_VPSS_RSZ 7
104 #define DAVINCI_DMA_IMCOP_IMXINT 8
105 #define DAVINCI_DMA_IMCOP_VLCDINT 9
106 #define DAVINCI_DMA_IMCO_PASQINT 10
107 #define DAVINCI_DMA_IMCOP_DSQINT 11
108 #define DAVINCI_DMA_SPI_SPIX 16
109 #define DAVINCI_DMA_SPI_SPIR 17
110 #define DAVINCI_DMA_UART0_URXEVT0 18
111 #define DAVINCI_DMA_UART0_UTXEVT0 19
112 #define DAVINCI_DMA_UART1_URXEVT1 20
113 #define DAVINCI_DMA_UART1_UTXEVT1 21
114 #define DAVINCI_DMA_UART2_URXEVT2 22
115 #define DAVINCI_DMA_UART2_UTXEVT2 23
116 #define DAVINCI_DMA_MEMSTK_MSEVT 24
117 #define DAVINCI_DMA_MMCRXEVT 26
118 #define DAVINCI_DMA_MMCTXEVT 27
119 #define DAVINCI_DMA_I2C_ICREVT 28
120 #define DAVINCI_DMA_I2C_ICXEVT 29
121 #define DAVINCI_DMA_GPIO_GPINT0 32
122 #define DAVINCI_DMA_GPIO_GPINT1 33
123 #define DAVINCI_DMA_GPIO_GPINT2 34
124 #define DAVINCI_DMA_GPIO_GPINT3 35
125 #define DAVINCI_DMA_GPIO_GPINT4 36
126 #define DAVINCI_DMA_GPIO_GPINT5 37
127 #define DAVINCI_DMA_GPIO_GPINT6 38
128 #define DAVINCI_DMA_GPIO_GPINT7 39
129 #define DAVINCI_DMA_GPIO_GPBNKINT0 40
130 #define DAVINCI_DMA_GPIO_GPBNKINT1 41
131 #define DAVINCI_DMA_GPIO_GPBNKINT2 42
132 #define DAVINCI_DMA_GPIO_GPBNKINT3 43
133 #define DAVINCI_DMA_GPIO_GPBNKINT4 44
134 #define DAVINCI_DMA_TIMER0_TINT0 48
135 #define DAVINCI_DMA_TIMER1_TINT1 49
136 #define DAVINCI_DMA_TIMER2_TINT2 50
137 #define DAVINCI_DMA_TIMER3_TINT3 51
138 #define DAVINCI_DMA_PWM0 52
139 #define DAVINCI_DMA_PWM1 53
140 #define DAVINCI_DMA_PWM2 54
143 #define EDMA_DA830_NUM_DMACH 32
144 #define EDMA_DA830_NUM_TCC 32
145 #define EDMA_DA830_NUM_PARAMENTRY 128
146 #define EDMA_DA830_NUM_EVQUE 2
147 #define EDMA_DA830_NUM_TC 2
148 #define EDMA_DA830_CHMAP_EXIST 0
149 #define EDMA_DA830_NUM_REGIONS 4
150 #define DA830_DMACH2EVENT_MAP0 0x000FC03Fu
151 #define DA830_DMACH2EVENT_MAP1 0x00000000u
152 #define DA830_EDMA_ARM_OWN 0x30FFCCFFu
155 #define DMA_COMPLETE 1
156 #define DMA_CC_ERROR 2
157 #define DMA_TC1_ERROR 3
158 #define DMA_TC2_ERROR 4
187 #define EDMA_CTLR_CHAN(ctlr, chan) (((ctlr) << 16) | (chan))
188 #define EDMA_CTLR(i) ((i) >> 16)
189 #define EDMA_CHAN_SLOT(i) ((i) & 0xffff)
191 #define EDMA_CHANNEL_ANY -1
192 #define EDMA_SLOT_ANY -1
193 #define EDMA_CONT_PARAMS_ANY 1001
194 #define EDMA_CONT_PARAMS_FIXED_EXACT 1002
195 #define EDMA_CONT_PARAMS_FIXED_NOT_EXACT 1003
197 #define EDMA_MAX_CC 2