Mike Frysinger | 134db0d | 2010-12-17 15:25:09 -0500 | [diff] [blame] | 1 | /* DO NOT EDIT THIS FILE |
| 2 | * Automatically generated by generate-cdef-headers.xsl |
| 3 | * DO NOT EDIT THIS FILE |
| 4 | */ |
| 5 | |
| 6 | #ifndef __BFIN_CDEF_ADSP_BF504_proc__ |
| 7 | #define __BFIN_CDEF_ADSP_BF504_proc__ |
| 8 | |
| 9 | #include "../mach-common/ADSP-EDN-core_cdef.h" |
| 10 | |
| 11 | #define bfin_read_PLL_CTL() bfin_read16(PLL_CTL) |
| 12 | #define bfin_write_PLL_CTL(val) bfin_write16(PLL_CTL, val) |
| 13 | #define bfin_read_PLL_DIV() bfin_read16(PLL_DIV) |
| 14 | #define bfin_write_PLL_DIV(val) bfin_write16(PLL_DIV, val) |
| 15 | #define bfin_read_VR_CTL() bfin_read16(VR_CTL) |
| 16 | #define bfin_write_VR_CTL(val) bfin_write16(VR_CTL, val) |
| 17 | #define bfin_read_PLL_STAT() bfin_read16(PLL_STAT) |
| 18 | #define bfin_write_PLL_STAT(val) bfin_write16(PLL_STAT, val) |
| 19 | #define bfin_read_PLL_LOCKCNT() bfin_read16(PLL_LOCKCNT) |
| 20 | #define bfin_write_PLL_LOCKCNT(val) bfin_write16(PLL_LOCKCNT, val) |
| 21 | #define bfin_read_CHIPID() bfin_read32(CHIPID) |
| 22 | #define bfin_write_CHIPID(val) bfin_write32(CHIPID, val) |
| 23 | #define bfin_read_SWRST() bfin_read16(SWRST) |
| 24 | #define bfin_write_SWRST(val) bfin_write16(SWRST, val) |
| 25 | #define bfin_read_SYSCR() bfin_read16(SYSCR) |
| 26 | #define bfin_write_SYSCR(val) bfin_write16(SYSCR, val) |
| 27 | #define bfin_read_SIC_RVECT() bfin_read16(SIC_RVECT) |
| 28 | #define bfin_write_SIC_RVECT(val) bfin_write16(SIC_RVECT, val) |
| 29 | #define bfin_read_SIC_IMASK0() bfin_read32(SIC_IMASK0) |
| 30 | #define bfin_write_SIC_IMASK0(val) bfin_write32(SIC_IMASK0, val) |
| 31 | #define bfin_read_SIC_IAR0() bfin_read32(SIC_IAR0) |
| 32 | #define bfin_write_SIC_IAR0(val) bfin_write32(SIC_IAR0, val) |
| 33 | #define bfin_read_SIC_IAR1() bfin_read32(SIC_IAR1) |
| 34 | #define bfin_write_SIC_IAR1(val) bfin_write32(SIC_IAR1, val) |
| 35 | #define bfin_read_SIC_IAR2() bfin_read32(SIC_IAR2) |
| 36 | #define bfin_write_SIC_IAR2(val) bfin_write32(SIC_IAR2, val) |
| 37 | #define bfin_read_SIC_IAR3() bfin_read32(SIC_IAR3) |
| 38 | #define bfin_write_SIC_IAR3(val) bfin_write32(SIC_IAR3, val) |
| 39 | #define bfin_read_SIC_ISR0() bfin_read32(SIC_ISR0) |
| 40 | #define bfin_write_SIC_ISR0(val) bfin_write32(SIC_ISR0, val) |
| 41 | #define bfin_read_SIC_IWR0() bfin_read32(SIC_IWR0) |
| 42 | #define bfin_write_SIC_IWR0(val) bfin_write32(SIC_IWR0, val) |
| 43 | #define bfin_read_SIC_IMASK1() bfin_read32(SIC_IMASK1) |
| 44 | #define bfin_write_SIC_IMASK1(val) bfin_write32(SIC_IMASK1, val) |
| 45 | #define bfin_read_SIC_IAR4() bfin_read32(SIC_IAR4) |
| 46 | #define bfin_write_SIC_IAR4(val) bfin_write32(SIC_IAR4, val) |
| 47 | #define bfin_read_SIC_IAR5() bfin_read32(SIC_IAR5) |
| 48 | #define bfin_write_SIC_IAR5(val) bfin_write32(SIC_IAR5, val) |
| 49 | #define bfin_read_SIC_IAR6() bfin_read32(SIC_IAR6) |
| 50 | #define bfin_write_SIC_IAR6(val) bfin_write32(SIC_IAR6, val) |
| 51 | #define bfin_read_SIC_IAR7() bfin_read32(SIC_IAR7) |
| 52 | #define bfin_write_SIC_IAR7(val) bfin_write32(SIC_IAR7, val) |
| 53 | #define bfin_read_SIC_ISR1() bfin_read32(SIC_ISR1) |
| 54 | #define bfin_write_SIC_ISR1(val) bfin_write32(SIC_ISR1, val) |
| 55 | #define bfin_read_SIC_IWR1() bfin_read32(SIC_IWR1) |
| 56 | #define bfin_write_SIC_IWR1(val) bfin_write32(SIC_IWR1, val) |
| 57 | #define bfin_read_WDOG_CTL() bfin_read16(WDOG_CTL) |
| 58 | #define bfin_write_WDOG_CTL(val) bfin_write16(WDOG_CTL, val) |
| 59 | #define bfin_read_WDOG_CNT() bfin_read32(WDOG_CNT) |
| 60 | #define bfin_write_WDOG_CNT(val) bfin_write32(WDOG_CNT, val) |
| 61 | #define bfin_read_WDOG_STAT() bfin_read32(WDOG_STAT) |
| 62 | #define bfin_write_WDOG_STAT(val) bfin_write32(WDOG_STAT, val) |
| 63 | #define bfin_read_UART0_DLL() bfin_read16(UART0_DLL) |
| 64 | #define bfin_write_UART0_DLL(val) bfin_write16(UART0_DLL, val) |
| 65 | #define bfin_read_UART0_DLH() bfin_read16(UART0_DLH) |
| 66 | #define bfin_write_UART0_DLH(val) bfin_write16(UART0_DLH, val) |
| 67 | #define bfin_read_UART0_GCTL() bfin_read16(UART0_GCTL) |
| 68 | #define bfin_write_UART0_GCTL(val) bfin_write16(UART0_GCTL, val) |
| 69 | #define bfin_read_UART0_LCR() bfin_read16(UART0_LCR) |
| 70 | #define bfin_write_UART0_LCR(val) bfin_write16(UART0_LCR, val) |
| 71 | #define bfin_read_UART0_MCR() bfin_read16(UART0_MCR) |
| 72 | #define bfin_write_UART0_MCR(val) bfin_write16(UART0_MCR, val) |
| 73 | #define bfin_read_UART0_LSR() bfin_read16(UART0_LSR) |
| 74 | #define bfin_write_UART0_LSR(val) bfin_write16(UART0_LSR, val) |
| 75 | #define bfin_read_UART0_MSR() bfin_read16(UART0_MSR) |
| 76 | #define bfin_write_UART0_MSR(val) bfin_write16(UART0_MSR, val) |
| 77 | #define bfin_read_UART0_SCR() bfin_read16(UART0_SCR) |
| 78 | #define bfin_write_UART0_SCR(val) bfin_write16(UART0_SCR, val) |
| 79 | #define bfin_read_UART0_IER_SET() bfin_read16(UART0_IER_SET) |
| 80 | #define bfin_write_UART0_IER_SET(val) bfin_write16(UART0_IER_SET, val) |
| 81 | #define bfin_read_UART0_IER_CLEAR() bfin_read16(UART0_IER_CLEAR) |
| 82 | #define bfin_write_UART0_IER_CLEAR(val) bfin_write16(UART0_IER_CLEAR, val) |
| 83 | #define bfin_read_UART0_THR() bfin_read16(UART0_THR) |
| 84 | #define bfin_write_UART0_THR(val) bfin_write16(UART0_THR, val) |
| 85 | #define bfin_read_UART0_RBR() bfin_read16(UART0_RBR) |
| 86 | #define bfin_write_UART0_RBR(val) bfin_write16(UART0_RBR, val) |
| 87 | #define bfin_read_SPI0_CTL() bfin_read16(SPI0_CTL) |
| 88 | #define bfin_write_SPI0_CTL(val) bfin_write16(SPI0_CTL, val) |
| 89 | #define bfin_read_SPI0_FLG() bfin_read16(SPI0_FLG) |
| 90 | #define bfin_write_SPI0_FLG(val) bfin_write16(SPI0_FLG, val) |
| 91 | #define bfin_read_SPI0_STAT() bfin_read16(SPI0_STAT) |
| 92 | #define bfin_write_SPI0_STAT(val) bfin_write16(SPI0_STAT, val) |
| 93 | #define bfin_read_SPI0_TDBR() bfin_read16(SPI0_TDBR) |
| 94 | #define bfin_write_SPI0_TDBR(val) bfin_write16(SPI0_TDBR, val) |
| 95 | #define bfin_read_SPI0_RDBR() bfin_read16(SPI0_RDBR) |
| 96 | #define bfin_write_SPI0_RDBR(val) bfin_write16(SPI0_RDBR, val) |
| 97 | #define bfin_read_SPI0_BAUD() bfin_read16(SPI0_BAUD) |
| 98 | #define bfin_write_SPI0_BAUD(val) bfin_write16(SPI0_BAUD, val) |
| 99 | #define bfin_read_SPI0_SHADOW() bfin_read16(SPI0_SHADOW) |
| 100 | #define bfin_write_SPI0_SHADOW(val) bfin_write16(SPI0_SHADOW, val) |
| 101 | #define bfin_read_TIMER0_CONFIG() bfin_read16(TIMER0_CONFIG) |
| 102 | #define bfin_write_TIMER0_CONFIG(val) bfin_write16(TIMER0_CONFIG, val) |
| 103 | #define bfin_read_TIMER0_COUNTER() bfin_read32(TIMER0_COUNTER) |
| 104 | #define bfin_write_TIMER0_COUNTER(val) bfin_write32(TIMER0_COUNTER, val) |
| 105 | #define bfin_read_TIMER0_PERIOD() bfin_read32(TIMER0_PERIOD) |
| 106 | #define bfin_write_TIMER0_PERIOD(val) bfin_write32(TIMER0_PERIOD, val) |
| 107 | #define bfin_read_TIMER0_WIDTH() bfin_read32(TIMER0_WIDTH) |
| 108 | #define bfin_write_TIMER0_WIDTH(val) bfin_write32(TIMER0_WIDTH, val) |
| 109 | #define bfin_read_TIMER1_CONFIG() bfin_read16(TIMER1_CONFIG) |
| 110 | #define bfin_write_TIMER1_CONFIG(val) bfin_write16(TIMER1_CONFIG, val) |
| 111 | #define bfin_read_TIMER1_COUNTER() bfin_read32(TIMER1_COUNTER) |
| 112 | #define bfin_write_TIMER1_COUNTER(val) bfin_write32(TIMER1_COUNTER, val) |
| 113 | #define bfin_read_TIMER1_PERIOD() bfin_read32(TIMER1_PERIOD) |
| 114 | #define bfin_write_TIMER1_PERIOD(val) bfin_write32(TIMER1_PERIOD, val) |
| 115 | #define bfin_read_TIMER1_WIDTH() bfin_read32(TIMER1_WIDTH) |
| 116 | #define bfin_write_TIMER1_WIDTH(val) bfin_write32(TIMER1_WIDTH, val) |
| 117 | #define bfin_read_TIMER2_CONFIG() bfin_read16(TIMER2_CONFIG) |
| 118 | #define bfin_write_TIMER2_CONFIG(val) bfin_write16(TIMER2_CONFIG, val) |
| 119 | #define bfin_read_TIMER2_COUNTER() bfin_read32(TIMER2_COUNTER) |
| 120 | #define bfin_write_TIMER2_COUNTER(val) bfin_write32(TIMER2_COUNTER, val) |
| 121 | #define bfin_read_TIMER2_PERIOD() bfin_read32(TIMER2_PERIOD) |
| 122 | #define bfin_write_TIMER2_PERIOD(val) bfin_write32(TIMER2_PERIOD, val) |
| 123 | #define bfin_read_TIMER2_WIDTH() bfin_read32(TIMER2_WIDTH) |
| 124 | #define bfin_write_TIMER2_WIDTH(val) bfin_write32(TIMER2_WIDTH, val) |
| 125 | #define bfin_read_TIMER3_CONFIG() bfin_read16(TIMER3_CONFIG) |
| 126 | #define bfin_write_TIMER3_CONFIG(val) bfin_write16(TIMER3_CONFIG, val) |
| 127 | #define bfin_read_TIMER3_COUNTER() bfin_read32(TIMER3_COUNTER) |
| 128 | #define bfin_write_TIMER3_COUNTER(val) bfin_write32(TIMER3_COUNTER, val) |
| 129 | #define bfin_read_TIMER3_PERIOD() bfin_read32(TIMER3_PERIOD) |
| 130 | #define bfin_write_TIMER3_PERIOD(val) bfin_write32(TIMER3_PERIOD, val) |
| 131 | #define bfin_read_TIMER3_WIDTH() bfin_read32(TIMER3_WIDTH) |
| 132 | #define bfin_write_TIMER3_WIDTH(val) bfin_write32(TIMER3_WIDTH, val) |
| 133 | #define bfin_read_TIMER4_CONFIG() bfin_read16(TIMER4_CONFIG) |
| 134 | #define bfin_write_TIMER4_CONFIG(val) bfin_write16(TIMER4_CONFIG, val) |
| 135 | #define bfin_read_TIMER4_COUNTER() bfin_read32(TIMER4_COUNTER) |
| 136 | #define bfin_write_TIMER4_COUNTER(val) bfin_write32(TIMER4_COUNTER, val) |
| 137 | #define bfin_read_TIMER4_PERIOD() bfin_read32(TIMER4_PERIOD) |
| 138 | #define bfin_write_TIMER4_PERIOD(val) bfin_write32(TIMER4_PERIOD, val) |
| 139 | #define bfin_read_TIMER4_WIDTH() bfin_read32(TIMER4_WIDTH) |
| 140 | #define bfin_write_TIMER4_WIDTH(val) bfin_write32(TIMER4_WIDTH, val) |
| 141 | #define bfin_read_TIMER5_CONFIG() bfin_read16(TIMER5_CONFIG) |
| 142 | #define bfin_write_TIMER5_CONFIG(val) bfin_write16(TIMER5_CONFIG, val) |
| 143 | #define bfin_read_TIMER5_COUNTER() bfin_read32(TIMER5_COUNTER) |
| 144 | #define bfin_write_TIMER5_COUNTER(val) bfin_write32(TIMER5_COUNTER, val) |
| 145 | #define bfin_read_TIMER5_PERIOD() bfin_read32(TIMER5_PERIOD) |
| 146 | #define bfin_write_TIMER5_PERIOD(val) bfin_write32(TIMER5_PERIOD, val) |
| 147 | #define bfin_read_TIMER5_WIDTH() bfin_read32(TIMER5_WIDTH) |
| 148 | #define bfin_write_TIMER5_WIDTH(val) bfin_write32(TIMER5_WIDTH, val) |
| 149 | #define bfin_read_TIMER6_CONFIG() bfin_read16(TIMER6_CONFIG) |
| 150 | #define bfin_write_TIMER6_CONFIG(val) bfin_write16(TIMER6_CONFIG, val) |
| 151 | #define bfin_read_TIMER6_COUNTER() bfin_read32(TIMER6_COUNTER) |
| 152 | #define bfin_write_TIMER6_COUNTER(val) bfin_write32(TIMER6_COUNTER, val) |
| 153 | #define bfin_read_TIMER6_PERIOD() bfin_read32(TIMER6_PERIOD) |
| 154 | #define bfin_write_TIMER6_PERIOD(val) bfin_write32(TIMER6_PERIOD, val) |
| 155 | #define bfin_read_TIMER6_WIDTH() bfin_read32(TIMER6_WIDTH) |
| 156 | #define bfin_write_TIMER6_WIDTH(val) bfin_write32(TIMER6_WIDTH, val) |
| 157 | #define bfin_read_TIMER7_CONFIG() bfin_read16(TIMER7_CONFIG) |
| 158 | #define bfin_write_TIMER7_CONFIG(val) bfin_write16(TIMER7_CONFIG, val) |
| 159 | #define bfin_read_TIMER7_COUNTER() bfin_read32(TIMER7_COUNTER) |
| 160 | #define bfin_write_TIMER7_COUNTER(val) bfin_write32(TIMER7_COUNTER, val) |
| 161 | #define bfin_read_TIMER7_PERIOD() bfin_read32(TIMER7_PERIOD) |
| 162 | #define bfin_write_TIMER7_PERIOD(val) bfin_write32(TIMER7_PERIOD, val) |
| 163 | #define bfin_read_TIMER7_WIDTH() bfin_read32(TIMER7_WIDTH) |
| 164 | #define bfin_write_TIMER7_WIDTH(val) bfin_write32(TIMER7_WIDTH, val) |
| 165 | #define bfin_read_TIMER_ENABLE() bfin_read16(TIMER_ENABLE) |
| 166 | #define bfin_write_TIMER_ENABLE(val) bfin_write16(TIMER_ENABLE, val) |
| 167 | #define bfin_read_TIMER_DISABLE() bfin_read16(TIMER_DISABLE) |
| 168 | #define bfin_write_TIMER_DISABLE(val) bfin_write16(TIMER_DISABLE, val) |
| 169 | #define bfin_read_TIMER_STATUS() bfin_read32(TIMER_STATUS) |
| 170 | #define bfin_write_TIMER_STATUS(val) bfin_write32(TIMER_STATUS, val) |
| 171 | #define bfin_read_PORTFIO() bfin_read16(PORTFIO) |
| 172 | #define bfin_write_PORTFIO(val) bfin_write16(PORTFIO, val) |
| 173 | #define bfin_read_PORTFIO_CLEAR() bfin_read16(PORTFIO_CLEAR) |
| 174 | #define bfin_write_PORTFIO_CLEAR(val) bfin_write16(PORTFIO_CLEAR, val) |
| 175 | #define bfin_read_PORTFIO_SET() bfin_read16(PORTFIO_SET) |
| 176 | #define bfin_write_PORTFIO_SET(val) bfin_write16(PORTFIO_SET, val) |
| 177 | #define bfin_read_PORTFIO_TOGGLE() bfin_read16(PORTFIO_TOGGLE) |
| 178 | #define bfin_write_PORTFIO_TOGGLE(val) bfin_write16(PORTFIO_TOGGLE, val) |
| 179 | #define bfin_read_PORTFIO_MASKA() bfin_read16(PORTFIO_MASKA) |
| 180 | #define bfin_write_PORTFIO_MASKA(val) bfin_write16(PORTFIO_MASKA, val) |
| 181 | #define bfin_read_PORTFIO_MASKA_CLEAR() bfin_read16(PORTFIO_MASKA_CLEAR) |
| 182 | #define bfin_write_PORTFIO_MASKA_CLEAR(val) bfin_write16(PORTFIO_MASKA_CLEAR, val) |
| 183 | #define bfin_read_PORTFIO_MASKA_SET() bfin_read16(PORTFIO_MASKA_SET) |
| 184 | #define bfin_write_PORTFIO_MASKA_SET(val) bfin_write16(PORTFIO_MASKA_SET, val) |
| 185 | #define bfin_read_PORTFIO_MASKA_TOGGLE() bfin_read16(PORTFIO_MASKA_TOGGLE) |
| 186 | #define bfin_write_PORTFIO_MASKA_TOGGLE(val) bfin_write16(PORTFIO_MASKA_TOGGLE, val) |
| 187 | #define bfin_read_PORTFIO_MASKB() bfin_read16(PORTFIO_MASKB) |
| 188 | #define bfin_write_PORTFIO_MASKB(val) bfin_write16(PORTFIO_MASKB, val) |
| 189 | #define bfin_read_PORTFIO_MASKB_CLEAR() bfin_read16(PORTFIO_MASKB_CLEAR) |
| 190 | #define bfin_write_PORTFIO_MASKB_CLEAR(val) bfin_write16(PORTFIO_MASKB_CLEAR, val) |
| 191 | #define bfin_read_PORTFIO_MASKB_SET() bfin_read16(PORTFIO_MASKB_SET) |
| 192 | #define bfin_write_PORTFIO_MASKB_SET(val) bfin_write16(PORTFIO_MASKB_SET, val) |
| 193 | #define bfin_read_PORTFIO_MASKB_TOGGLE() bfin_read16(PORTFIO_MASKB_TOGGLE) |
| 194 | #define bfin_write_PORTFIO_MASKB_TOGGLE(val) bfin_write16(PORTFIO_MASKB_TOGGLE, val) |
| 195 | #define bfin_read_PORTFIO_DIR() bfin_read16(PORTFIO_DIR) |
| 196 | #define bfin_write_PORTFIO_DIR(val) bfin_write16(PORTFIO_DIR, val) |
| 197 | #define bfin_read_PORTFIO_POLAR() bfin_read16(PORTFIO_POLAR) |
| 198 | #define bfin_write_PORTFIO_POLAR(val) bfin_write16(PORTFIO_POLAR, val) |
| 199 | #define bfin_read_PORTFIO_EDGE() bfin_read16(PORTFIO_EDGE) |
| 200 | #define bfin_write_PORTFIO_EDGE(val) bfin_write16(PORTFIO_EDGE, val) |
| 201 | #define bfin_read_PORTFIO_BOTH() bfin_read16(PORTFIO_BOTH) |
| 202 | #define bfin_write_PORTFIO_BOTH(val) bfin_write16(PORTFIO_BOTH, val) |
| 203 | #define bfin_read_PORTFIO_INEN() bfin_read16(PORTFIO_INEN) |
| 204 | #define bfin_write_PORTFIO_INEN(val) bfin_write16(PORTFIO_INEN, val) |
| 205 | #define bfin_read_SPORT0_TCR1() bfin_read16(SPORT0_TCR1) |
| 206 | #define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val) |
| 207 | #define bfin_read_SPORT0_TCR2() bfin_read16(SPORT0_TCR2) |
| 208 | #define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val) |
| 209 | #define bfin_read_SPORT0_TCLKDIV() bfin_read16(SPORT0_TCLKDIV) |
| 210 | #define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val) |
| 211 | #define bfin_read_SPORT0_TFSDIV() bfin_read16(SPORT0_TFSDIV) |
| 212 | #define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val) |
| 213 | #define bfin_write_SPORT0_TX(val) bfin_write32(SPORT0_TX, val) |
| 214 | #define bfin_read_SPORT0_RX() bfin_read32(SPORT0_RX) |
| 215 | #define bfin_write_SPORT0_RX(val) bfin_write32(SPORT0_RX, val) |
| 216 | #define bfin_read_SPORT0_RCR1() bfin_read16(SPORT0_RCR1) |
| 217 | #define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val) |
| 218 | #define bfin_read_SPORT0_RCR2() bfin_read16(SPORT0_RCR2) |
| 219 | #define bfin_write_SPORT0_RCR2(val) bfin_write16(SPORT0_RCR2, val) |
| 220 | #define bfin_read_SPORT0_RCLKDIV() bfin_read16(SPORT0_RCLKDIV) |
| 221 | #define bfin_write_SPORT0_RCLKDIV(val) bfin_write16(SPORT0_RCLKDIV, val) |
| 222 | #define bfin_read_SPORT0_RFSDIV() bfin_read16(SPORT0_RFSDIV) |
| 223 | #define bfin_write_SPORT0_RFSDIV(val) bfin_write16(SPORT0_RFSDIV, val) |
| 224 | #define bfin_read_SPORT0_STAT() bfin_read16(SPORT0_STAT) |
| 225 | #define bfin_write_SPORT0_STAT(val) bfin_write16(SPORT0_STAT, val) |
| 226 | #define bfin_read_SPORT0_CHNL() bfin_read16(SPORT0_CHNL) |
| 227 | #define bfin_write_SPORT0_CHNL(val) bfin_write16(SPORT0_CHNL, val) |
| 228 | #define bfin_read_SPORT0_MCMC1() bfin_read16(SPORT0_MCMC1) |
| 229 | #define bfin_write_SPORT0_MCMC1(val) bfin_write16(SPORT0_MCMC1, val) |
| 230 | #define bfin_read_SPORT0_MCMC2() bfin_read16(SPORT0_MCMC2) |
| 231 | #define bfin_write_SPORT0_MCMC2(val) bfin_write16(SPORT0_MCMC2, val) |
| 232 | #define bfin_read_SPORT0_MTCS0() bfin_read32(SPORT0_MTCS0) |
| 233 | #define bfin_write_SPORT0_MTCS0(val) bfin_write32(SPORT0_MTCS0, val) |
| 234 | #define bfin_read_SPORT0_MTCS1() bfin_read32(SPORT0_MTCS1) |
| 235 | #define bfin_write_SPORT0_MTCS1(val) bfin_write32(SPORT0_MTCS1, val) |
| 236 | #define bfin_read_SPORT0_MTCS2() bfin_read32(SPORT0_MTCS2) |
| 237 | #define bfin_write_SPORT0_MTCS2(val) bfin_write32(SPORT0_MTCS2, val) |
| 238 | #define bfin_read_SPORT0_MTCS3() bfin_read32(SPORT0_MTCS3) |
| 239 | #define bfin_write_SPORT0_MTCS3(val) bfin_write32(SPORT0_MTCS3, val) |
| 240 | #define bfin_read_SPORT0_MRCS0() bfin_read32(SPORT0_MRCS0) |
| 241 | #define bfin_write_SPORT0_MRCS0(val) bfin_write32(SPORT0_MRCS0, val) |
| 242 | #define bfin_read_SPORT0_MRCS1() bfin_read32(SPORT0_MRCS1) |
| 243 | #define bfin_write_SPORT0_MRCS1(val) bfin_write32(SPORT0_MRCS1, val) |
| 244 | #define bfin_read_SPORT0_MRCS2() bfin_read32(SPORT0_MRCS2) |
| 245 | #define bfin_write_SPORT0_MRCS2(val) bfin_write32(SPORT0_MRCS2, val) |
| 246 | #define bfin_read_SPORT0_MRCS3() bfin_read32(SPORT0_MRCS3) |
| 247 | #define bfin_write_SPORT0_MRCS3(val) bfin_write32(SPORT0_MRCS3, val) |
| 248 | #define bfin_read_SPORT1_TCR1() bfin_read16(SPORT1_TCR1) |
| 249 | #define bfin_write_SPORT1_TCR1(val) bfin_write16(SPORT1_TCR1, val) |
| 250 | #define bfin_read_SPORT1_TCR2() bfin_read16(SPORT1_TCR2) |
| 251 | #define bfin_write_SPORT1_TCR2(val) bfin_write16(SPORT1_TCR2, val) |
| 252 | #define bfin_read_SPORT1_TCLKDIV() bfin_read16(SPORT1_TCLKDIV) |
| 253 | #define bfin_write_SPORT1_TCLKDIV(val) bfin_write16(SPORT1_TCLKDIV, val) |
| 254 | #define bfin_read_SPORT1_TFSDIV() bfin_read16(SPORT1_TFSDIV) |
| 255 | #define bfin_write_SPORT1_TFSDIV(val) bfin_write16(SPORT1_TFSDIV, val) |
| 256 | #define bfin_write_SPORT1_TX(val) bfin_write32(SPORT1_TX, val) |
| 257 | #define bfin_read_SPORT1_RX() bfin_read32(SPORT1_RX) |
| 258 | #define bfin_write_SPORT1_RX(val) bfin_write32(SPORT1_RX, val) |
| 259 | #define bfin_read_SPORT1_RCR1() bfin_read16(SPORT1_RCR1) |
| 260 | #define bfin_write_SPORT1_RCR1(val) bfin_write16(SPORT1_RCR1, val) |
| 261 | #define bfin_read_SPORT1_RCR2() bfin_read16(SPORT1_RCR2) |
| 262 | #define bfin_write_SPORT1_RCR2(val) bfin_write16(SPORT1_RCR2, val) |
| 263 | #define bfin_read_SPORT1_RCLKDIV() bfin_read16(SPORT1_RCLKDIV) |
| 264 | #define bfin_write_SPORT1_RCLKDIV(val) bfin_write16(SPORT1_RCLKDIV, val) |
| 265 | #define bfin_read_SPORT1_RFSDIV() bfin_read16(SPORT1_RFSDIV) |
| 266 | #define bfin_write_SPORT1_RFSDIV(val) bfin_write16(SPORT1_RFSDIV, val) |
| 267 | #define bfin_read_SPORT1_STAT() bfin_read16(SPORT1_STAT) |
| 268 | #define bfin_write_SPORT1_STAT(val) bfin_write16(SPORT1_STAT, val) |
| 269 | #define bfin_read_SPORT1_CHNL() bfin_read16(SPORT1_CHNL) |
| 270 | #define bfin_write_SPORT1_CHNL(val) bfin_write16(SPORT1_CHNL, val) |
| 271 | #define bfin_read_SPORT1_MCMC1() bfin_read16(SPORT1_MCMC1) |
| 272 | #define bfin_write_SPORT1_MCMC1(val) bfin_write16(SPORT1_MCMC1, val) |
| 273 | #define bfin_read_SPORT1_MCMC2() bfin_read16(SPORT1_MCMC2) |
| 274 | #define bfin_write_SPORT1_MCMC2(val) bfin_write16(SPORT1_MCMC2, val) |
| 275 | #define bfin_read_SPORT1_MTCS0() bfin_read32(SPORT1_MTCS0) |
| 276 | #define bfin_write_SPORT1_MTCS0(val) bfin_write32(SPORT1_MTCS0, val) |
| 277 | #define bfin_read_SPORT1_MTCS1() bfin_read32(SPORT1_MTCS1) |
| 278 | #define bfin_write_SPORT1_MTCS1(val) bfin_write32(SPORT1_MTCS1, val) |
| 279 | #define bfin_read_SPORT1_MTCS2() bfin_read32(SPORT1_MTCS2) |
| 280 | #define bfin_write_SPORT1_MTCS2(val) bfin_write32(SPORT1_MTCS2, val) |
| 281 | #define bfin_read_SPORT1_MTCS3() bfin_read32(SPORT1_MTCS3) |
| 282 | #define bfin_write_SPORT1_MTCS3(val) bfin_write32(SPORT1_MTCS3, val) |
| 283 | #define bfin_read_SPORT1_MRCS0() bfin_read32(SPORT1_MRCS0) |
| 284 | #define bfin_write_SPORT1_MRCS0(val) bfin_write32(SPORT1_MRCS0, val) |
| 285 | #define bfin_read_SPORT1_MRCS1() bfin_read32(SPORT1_MRCS1) |
| 286 | #define bfin_write_SPORT1_MRCS1(val) bfin_write32(SPORT1_MRCS1, val) |
| 287 | #define bfin_read_SPORT1_MRCS2() bfin_read32(SPORT1_MRCS2) |
| 288 | #define bfin_write_SPORT1_MRCS2(val) bfin_write32(SPORT1_MRCS2, val) |
| 289 | #define bfin_read_SPORT1_MRCS3() bfin_read32(SPORT1_MRCS3) |
| 290 | #define bfin_write_SPORT1_MRCS3(val) bfin_write32(SPORT1_MRCS3, val) |
| 291 | #define bfin_read_EBIU_AMGCTL() bfin_read16(EBIU_AMGCTL) |
| 292 | #define bfin_write_EBIU_AMGCTL(val) bfin_write16(EBIU_AMGCTL, val) |
| 293 | #define bfin_read_EBIU_AMBCTL0() bfin_read32(EBIU_AMBCTL0) |
| 294 | #define bfin_write_EBIU_AMBCTL0(val) bfin_write32(EBIU_AMBCTL0, val) |
| 295 | #define bfin_read_EBIU_AMBCTL1() bfin_read32(EBIU_AMBCTL1) |
| 296 | #define bfin_write_EBIU_AMBCTL1(val) bfin_write32(EBIU_AMBCTL1, val) |
| 297 | #define bfin_read_EBIU_MODE() bfin_read16(EBIU_MODE) |
| 298 | #define bfin_write_EBIU_MODE(val) bfin_write16(EBIU_MODE, val) |
| 299 | #define bfin_read_EBIU_FCTL() bfin_read16(EBIU_FCTL) |
| 300 | #define bfin_write_EBIU_FCTL(val) bfin_write16(EBIU_FCTL, val) |
| 301 | #define bfin_read_DMA0_NEXT_DESC_PTR() bfin_readPTR(DMA0_NEXT_DESC_PTR) |
| 302 | #define bfin_write_DMA0_NEXT_DESC_PTR(val) bfin_writePTR(DMA0_NEXT_DESC_PTR, val) |
| 303 | #define bfin_read_DMA0_START_ADDR() bfin_readPTR(DMA0_START_ADDR) |
| 304 | #define bfin_write_DMA0_START_ADDR(val) bfin_writePTR(DMA0_START_ADDR, val) |
| 305 | #define bfin_read_DMA0_CONFIG() bfin_read16(DMA0_CONFIG) |
| 306 | #define bfin_write_DMA0_CONFIG(val) bfin_write16(DMA0_CONFIG, val) |
| 307 | #define bfin_read_DMA0_X_COUNT() bfin_read16(DMA0_X_COUNT) |
| 308 | #define bfin_write_DMA0_X_COUNT(val) bfin_write16(DMA0_X_COUNT, val) |
| 309 | #define bfin_read_DMA0_X_MODIFY() bfin_read16(DMA0_X_MODIFY) |
| 310 | #define bfin_write_DMA0_X_MODIFY(val) bfin_write16(DMA0_X_MODIFY, val) |
| 311 | #define bfin_read_DMA0_Y_COUNT() bfin_read16(DMA0_Y_COUNT) |
| 312 | #define bfin_write_DMA0_Y_COUNT(val) bfin_write16(DMA0_Y_COUNT, val) |
| 313 | #define bfin_read_DMA0_Y_MODIFY() bfin_read16(DMA0_Y_MODIFY) |
| 314 | #define bfin_write_DMA0_Y_MODIFY(val) bfin_write16(DMA0_Y_MODIFY, val) |
| 315 | #define bfin_read_DMA0_CURR_DESC_PTR() bfin_readPTR(DMA0_CURR_DESC_PTR) |
| 316 | #define bfin_write_DMA0_CURR_DESC_PTR(val) bfin_writePTR(DMA0_CURR_DESC_PTR, val) |
| 317 | #define bfin_read_DMA0_CURR_ADDR() bfin_readPTR(DMA0_CURR_ADDR) |
| 318 | #define bfin_write_DMA0_CURR_ADDR(val) bfin_writePTR(DMA0_CURR_ADDR, val) |
| 319 | #define bfin_read_DMA0_IRQ_STATUS() bfin_read16(DMA0_IRQ_STATUS) |
| 320 | #define bfin_write_DMA0_IRQ_STATUS(val) bfin_write16(DMA0_IRQ_STATUS, val) |
| 321 | #define bfin_read_DMA0_PERIPHERAL_MAP() bfin_read16(DMA0_PERIPHERAL_MAP) |
| 322 | #define bfin_write_DMA0_PERIPHERAL_MAP(val) bfin_write16(DMA0_PERIPHERAL_MAP, val) |
| 323 | #define bfin_read_DMA0_CURR_X_COUNT() bfin_read16(DMA0_CURR_X_COUNT) |
| 324 | #define bfin_write_DMA0_CURR_X_COUNT(val) bfin_write16(DMA0_CURR_X_COUNT, val) |
| 325 | #define bfin_read_DMA0_CURR_Y_COUNT() bfin_read16(DMA0_CURR_Y_COUNT) |
| 326 | #define bfin_write_DMA0_CURR_Y_COUNT(val) bfin_write16(DMA0_CURR_Y_COUNT, val) |
| 327 | #define bfin_read_DMA1_NEXT_DESC_PTR() bfin_readPTR(DMA1_NEXT_DESC_PTR) |
| 328 | #define bfin_write_DMA1_NEXT_DESC_PTR(val) bfin_writePTR(DMA1_NEXT_DESC_PTR, val) |
| 329 | #define bfin_read_DMA1_START_ADDR() bfin_readPTR(DMA1_START_ADDR) |
| 330 | #define bfin_write_DMA1_START_ADDR(val) bfin_writePTR(DMA1_START_ADDR, val) |
| 331 | #define bfin_read_DMA1_CONFIG() bfin_read16(DMA1_CONFIG) |
| 332 | #define bfin_write_DMA1_CONFIG(val) bfin_write16(DMA1_CONFIG, val) |
| 333 | #define bfin_read_DMA1_X_COUNT() bfin_read16(DMA1_X_COUNT) |
| 334 | #define bfin_write_DMA1_X_COUNT(val) bfin_write16(DMA1_X_COUNT, val) |
| 335 | #define bfin_read_DMA1_X_MODIFY() bfin_read16(DMA1_X_MODIFY) |
| 336 | #define bfin_write_DMA1_X_MODIFY(val) bfin_write16(DMA1_X_MODIFY, val) |
| 337 | #define bfin_read_DMA1_Y_COUNT() bfin_read16(DMA1_Y_COUNT) |
| 338 | #define bfin_write_DMA1_Y_COUNT(val) bfin_write16(DMA1_Y_COUNT, val) |
| 339 | #define bfin_read_DMA1_Y_MODIFY() bfin_read16(DMA1_Y_MODIFY) |
| 340 | #define bfin_write_DMA1_Y_MODIFY(val) bfin_write16(DMA1_Y_MODIFY, val) |
| 341 | #define bfin_read_DMA1_CURR_DESC_PTR() bfin_readPTR(DMA1_CURR_DESC_PTR) |
| 342 | #define bfin_write_DMA1_CURR_DESC_PTR(val) bfin_writePTR(DMA1_CURR_DESC_PTR, val) |
| 343 | #define bfin_read_DMA1_CURR_ADDR() bfin_readPTR(DMA1_CURR_ADDR) |
| 344 | #define bfin_write_DMA1_CURR_ADDR(val) bfin_writePTR(DMA1_CURR_ADDR, val) |
| 345 | #define bfin_read_DMA1_IRQ_STATUS() bfin_read16(DMA1_IRQ_STATUS) |
| 346 | #define bfin_write_DMA1_IRQ_STATUS(val) bfin_write16(DMA1_IRQ_STATUS, val) |
| 347 | #define bfin_read_DMA1_PERIPHERAL_MAP() bfin_read16(DMA1_PERIPHERAL_MAP) |
| 348 | #define bfin_write_DMA1_PERIPHERAL_MAP(val) bfin_write16(DMA1_PERIPHERAL_MAP, val) |
| 349 | #define bfin_read_DMA1_CURR_X_COUNT() bfin_read16(DMA1_CURR_X_COUNT) |
| 350 | #define bfin_write_DMA1_CURR_X_COUNT(val) bfin_write16(DMA1_CURR_X_COUNT, val) |
| 351 | #define bfin_read_DMA1_CURR_Y_COUNT() bfin_read16(DMA1_CURR_Y_COUNT) |
| 352 | #define bfin_write_DMA1_CURR_Y_COUNT(val) bfin_write16(DMA1_CURR_Y_COUNT, val) |
| 353 | #define bfin_read_DMA2_NEXT_DESC_PTR() bfin_readPTR(DMA2_NEXT_DESC_PTR) |
| 354 | #define bfin_write_DMA2_NEXT_DESC_PTR(val) bfin_writePTR(DMA2_NEXT_DESC_PTR, val) |
| 355 | #define bfin_read_DMA2_START_ADDR() bfin_readPTR(DMA2_START_ADDR) |
| 356 | #define bfin_write_DMA2_START_ADDR(val) bfin_writePTR(DMA2_START_ADDR, val) |
| 357 | #define bfin_read_DMA2_CONFIG() bfin_read16(DMA2_CONFIG) |
| 358 | #define bfin_write_DMA2_CONFIG(val) bfin_write16(DMA2_CONFIG, val) |
| 359 | #define bfin_read_DMA2_X_COUNT() bfin_read16(DMA2_X_COUNT) |
| 360 | #define bfin_write_DMA2_X_COUNT(val) bfin_write16(DMA2_X_COUNT, val) |
| 361 | #define bfin_read_DMA2_X_MODIFY() bfin_read16(DMA2_X_MODIFY) |
| 362 | #define bfin_write_DMA2_X_MODIFY(val) bfin_write16(DMA2_X_MODIFY, val) |
| 363 | #define bfin_read_DMA2_Y_COUNT() bfin_read16(DMA2_Y_COUNT) |
| 364 | #define bfin_write_DMA2_Y_COUNT(val) bfin_write16(DMA2_Y_COUNT, val) |
| 365 | #define bfin_read_DMA2_Y_MODIFY() bfin_read16(DMA2_Y_MODIFY) |
| 366 | #define bfin_write_DMA2_Y_MODIFY(val) bfin_write16(DMA2_Y_MODIFY, val) |
| 367 | #define bfin_read_DMA2_CURR_DESC_PTR() bfin_readPTR(DMA2_CURR_DESC_PTR) |
| 368 | #define bfin_write_DMA2_CURR_DESC_PTR(val) bfin_writePTR(DMA2_CURR_DESC_PTR, val) |
| 369 | #define bfin_read_DMA2_CURR_ADDR() bfin_readPTR(DMA2_CURR_ADDR) |
| 370 | #define bfin_write_DMA2_CURR_ADDR(val) bfin_writePTR(DMA2_CURR_ADDR, val) |
| 371 | #define bfin_read_DMA2_IRQ_STATUS() bfin_read16(DMA2_IRQ_STATUS) |
| 372 | #define bfin_write_DMA2_IRQ_STATUS(val) bfin_write16(DMA2_IRQ_STATUS, val) |
| 373 | #define bfin_read_DMA2_PERIPHERAL_MAP() bfin_read16(DMA2_PERIPHERAL_MAP) |
| 374 | #define bfin_write_DMA2_PERIPHERAL_MAP(val) bfin_write16(DMA2_PERIPHERAL_MAP, val) |
| 375 | #define bfin_read_DMA2_CURR_X_COUNT() bfin_read16(DMA2_CURR_X_COUNT) |
| 376 | #define bfin_write_DMA2_CURR_X_COUNT(val) bfin_write16(DMA2_CURR_X_COUNT, val) |
| 377 | #define bfin_read_DMA2_CURR_Y_COUNT() bfin_read16(DMA2_CURR_Y_COUNT) |
| 378 | #define bfin_write_DMA2_CURR_Y_COUNT(val) bfin_write16(DMA2_CURR_Y_COUNT, val) |
| 379 | #define bfin_read_DMA3_NEXT_DESC_PTR() bfin_readPTR(DMA3_NEXT_DESC_PTR) |
| 380 | #define bfin_write_DMA3_NEXT_DESC_PTR(val) bfin_writePTR(DMA3_NEXT_DESC_PTR, val) |
| 381 | #define bfin_read_DMA3_START_ADDR() bfin_readPTR(DMA3_START_ADDR) |
| 382 | #define bfin_write_DMA3_START_ADDR(val) bfin_writePTR(DMA3_START_ADDR, val) |
| 383 | #define bfin_read_DMA3_CONFIG() bfin_read16(DMA3_CONFIG) |
| 384 | #define bfin_write_DMA3_CONFIG(val) bfin_write16(DMA3_CONFIG, val) |
| 385 | #define bfin_read_DMA3_X_COUNT() bfin_read16(DMA3_X_COUNT) |
| 386 | #define bfin_write_DMA3_X_COUNT(val) bfin_write16(DMA3_X_COUNT, val) |
| 387 | #define bfin_read_DMA3_X_MODIFY() bfin_read16(DMA3_X_MODIFY) |
| 388 | #define bfin_write_DMA3_X_MODIFY(val) bfin_write16(DMA3_X_MODIFY, val) |
| 389 | #define bfin_read_DMA3_Y_COUNT() bfin_read16(DMA3_Y_COUNT) |
| 390 | #define bfin_write_DMA3_Y_COUNT(val) bfin_write16(DMA3_Y_COUNT, val) |
| 391 | #define bfin_read_DMA3_Y_MODIFY() bfin_read16(DMA3_Y_MODIFY) |
| 392 | #define bfin_write_DMA3_Y_MODIFY(val) bfin_write16(DMA3_Y_MODIFY, val) |
| 393 | #define bfin_read_DMA3_CURR_DESC_PTR() bfin_readPTR(DMA3_CURR_DESC_PTR) |
| 394 | #define bfin_write_DMA3_CURR_DESC_PTR(val) bfin_writePTR(DMA3_CURR_DESC_PTR, val) |
| 395 | #define bfin_read_DMA3_CURR_ADDR() bfin_readPTR(DMA3_CURR_ADDR) |
| 396 | #define bfin_write_DMA3_CURR_ADDR(val) bfin_writePTR(DMA3_CURR_ADDR, val) |
| 397 | #define bfin_read_DMA3_IRQ_STATUS() bfin_read16(DMA3_IRQ_STATUS) |
| 398 | #define bfin_write_DMA3_IRQ_STATUS(val) bfin_write16(DMA3_IRQ_STATUS, val) |
| 399 | #define bfin_read_DMA3_PERIPHERAL_MAP() bfin_read16(DMA3_PERIPHERAL_MAP) |
| 400 | #define bfin_write_DMA3_PERIPHERAL_MAP(val) bfin_write16(DMA3_PERIPHERAL_MAP, val) |
| 401 | #define bfin_read_DMA3_CURR_X_COUNT() bfin_read16(DMA3_CURR_X_COUNT) |
| 402 | #define bfin_write_DMA3_CURR_X_COUNT(val) bfin_write16(DMA3_CURR_X_COUNT, val) |
| 403 | #define bfin_read_DMA3_CURR_Y_COUNT() bfin_read16(DMA3_CURR_Y_COUNT) |
| 404 | #define bfin_write_DMA3_CURR_Y_COUNT(val) bfin_write16(DMA3_CURR_Y_COUNT, val) |
| 405 | #define bfin_read_DMA4_NEXT_DESC_PTR() bfin_readPTR(DMA4_NEXT_DESC_PTR) |
| 406 | #define bfin_write_DMA4_NEXT_DESC_PTR(val) bfin_writePTR(DMA4_NEXT_DESC_PTR, val) |
| 407 | #define bfin_read_DMA4_START_ADDR() bfin_readPTR(DMA4_START_ADDR) |
| 408 | #define bfin_write_DMA4_START_ADDR(val) bfin_writePTR(DMA4_START_ADDR, val) |
| 409 | #define bfin_read_DMA4_CONFIG() bfin_read16(DMA4_CONFIG) |
| 410 | #define bfin_write_DMA4_CONFIG(val) bfin_write16(DMA4_CONFIG, val) |
| 411 | #define bfin_read_DMA4_X_COUNT() bfin_read16(DMA4_X_COUNT) |
| 412 | #define bfin_write_DMA4_X_COUNT(val) bfin_write16(DMA4_X_COUNT, val) |
| 413 | #define bfin_read_DMA4_X_MODIFY() bfin_read16(DMA4_X_MODIFY) |
| 414 | #define bfin_write_DMA4_X_MODIFY(val) bfin_write16(DMA4_X_MODIFY, val) |
| 415 | #define bfin_read_DMA4_Y_COUNT() bfin_read16(DMA4_Y_COUNT) |
| 416 | #define bfin_write_DMA4_Y_COUNT(val) bfin_write16(DMA4_Y_COUNT, val) |
| 417 | #define bfin_read_DMA4_Y_MODIFY() bfin_read16(DMA4_Y_MODIFY) |
| 418 | #define bfin_write_DMA4_Y_MODIFY(val) bfin_write16(DMA4_Y_MODIFY, val) |
| 419 | #define bfin_read_DMA4_CURR_DESC_PTR() bfin_readPTR(DMA4_CURR_DESC_PTR) |
| 420 | #define bfin_write_DMA4_CURR_DESC_PTR(val) bfin_writePTR(DMA4_CURR_DESC_PTR, val) |
| 421 | #define bfin_read_DMA4_CURR_ADDR() bfin_readPTR(DMA4_CURR_ADDR) |
| 422 | #define bfin_write_DMA4_CURR_ADDR(val) bfin_writePTR(DMA4_CURR_ADDR, val) |
| 423 | #define bfin_read_DMA4_IRQ_STATUS() bfin_read16(DMA4_IRQ_STATUS) |
| 424 | #define bfin_write_DMA4_IRQ_STATUS(val) bfin_write16(DMA4_IRQ_STATUS, val) |
| 425 | #define bfin_read_DMA4_PERIPHERAL_MAP() bfin_read16(DMA4_PERIPHERAL_MAP) |
| 426 | #define bfin_write_DMA4_PERIPHERAL_MAP(val) bfin_write16(DMA4_PERIPHERAL_MAP, val) |
| 427 | #define bfin_read_DMA4_CURR_X_COUNT() bfin_read16(DMA4_CURR_X_COUNT) |
| 428 | #define bfin_write_DMA4_CURR_X_COUNT(val) bfin_write16(DMA4_CURR_X_COUNT, val) |
| 429 | #define bfin_read_DMA4_CURR_Y_COUNT() bfin_read16(DMA4_CURR_Y_COUNT) |
| 430 | #define bfin_write_DMA4_CURR_Y_COUNT(val) bfin_write16(DMA4_CURR_Y_COUNT, val) |
| 431 | #define bfin_read_DMA5_NEXT_DESC_PTR() bfin_readPTR(DMA5_NEXT_DESC_PTR) |
| 432 | #define bfin_write_DMA5_NEXT_DESC_PTR(val) bfin_writePTR(DMA5_NEXT_DESC_PTR, val) |
| 433 | #define bfin_read_DMA5_START_ADDR() bfin_readPTR(DMA5_START_ADDR) |
| 434 | #define bfin_write_DMA5_START_ADDR(val) bfin_writePTR(DMA5_START_ADDR, val) |
| 435 | #define bfin_read_DMA5_CONFIG() bfin_read16(DMA5_CONFIG) |
| 436 | #define bfin_write_DMA5_CONFIG(val) bfin_write16(DMA5_CONFIG, val) |
| 437 | #define bfin_read_DMA5_X_COUNT() bfin_read16(DMA5_X_COUNT) |
| 438 | #define bfin_write_DMA5_X_COUNT(val) bfin_write16(DMA5_X_COUNT, val) |
| 439 | #define bfin_read_DMA5_X_MODIFY() bfin_read16(DMA5_X_MODIFY) |
| 440 | #define bfin_write_DMA5_X_MODIFY(val) bfin_write16(DMA5_X_MODIFY, val) |
| 441 | #define bfin_read_DMA5_Y_COUNT() bfin_read16(DMA5_Y_COUNT) |
| 442 | #define bfin_write_DMA5_Y_COUNT(val) bfin_write16(DMA5_Y_COUNT, val) |
| 443 | #define bfin_read_DMA5_Y_MODIFY() bfin_read16(DMA5_Y_MODIFY) |
| 444 | #define bfin_write_DMA5_Y_MODIFY(val) bfin_write16(DMA5_Y_MODIFY, val) |
| 445 | #define bfin_read_DMA5_CURR_DESC_PTR() bfin_readPTR(DMA5_CURR_DESC_PTR) |
| 446 | #define bfin_write_DMA5_CURR_DESC_PTR(val) bfin_writePTR(DMA5_CURR_DESC_PTR, val) |
| 447 | #define bfin_read_DMA5_CURR_ADDR() bfin_readPTR(DMA5_CURR_ADDR) |
| 448 | #define bfin_write_DMA5_CURR_ADDR(val) bfin_writePTR(DMA5_CURR_ADDR, val) |
| 449 | #define bfin_read_DMA5_IRQ_STATUS() bfin_read16(DMA5_IRQ_STATUS) |
| 450 | #define bfin_write_DMA5_IRQ_STATUS(val) bfin_write16(DMA5_IRQ_STATUS, val) |
| 451 | #define bfin_read_DMA5_PERIPHERAL_MAP() bfin_read16(DMA5_PERIPHERAL_MAP) |
| 452 | #define bfin_write_DMA5_PERIPHERAL_MAP(val) bfin_write16(DMA5_PERIPHERAL_MAP, val) |
| 453 | #define bfin_read_DMA5_CURR_X_COUNT() bfin_read16(DMA5_CURR_X_COUNT) |
| 454 | #define bfin_write_DMA5_CURR_X_COUNT(val) bfin_write16(DMA5_CURR_X_COUNT, val) |
| 455 | #define bfin_read_DMA5_CURR_Y_COUNT() bfin_read16(DMA5_CURR_Y_COUNT) |
| 456 | #define bfin_write_DMA5_CURR_Y_COUNT(val) bfin_write16(DMA5_CURR_Y_COUNT, val) |
| 457 | #define bfin_read_DMA6_NEXT_DESC_PTR() bfin_read32(DMA6_NEXT_DESC_PTR) |
| 458 | #define bfin_write_DMA6_NEXT_DESC_PTR(val) bfin_write32(DMA6_NEXT_DESC_PTR, val) |
| 459 | #define bfin_read_DMA6_START_ADDR() bfin_readPTR(DMA6_START_ADDR) |
| 460 | #define bfin_write_DMA6_START_ADDR(val) bfin_writePTR(DMA6_START_ADDR, val) |
| 461 | #define bfin_read_DMA6_CONFIG() bfin_read16(DMA6_CONFIG) |
| 462 | #define bfin_write_DMA6_CONFIG(val) bfin_write16(DMA6_CONFIG, val) |
| 463 | #define bfin_read_DMA6_X_COUNT() bfin_read16(DMA6_X_COUNT) |
| 464 | #define bfin_write_DMA6_X_COUNT(val) bfin_write16(DMA6_X_COUNT, val) |
| 465 | #define bfin_read_DMA6_X_MODIFY() bfin_read16(DMA6_X_MODIFY) |
| 466 | #define bfin_write_DMA6_X_MODIFY(val) bfin_write16(DMA6_X_MODIFY, val) |
| 467 | #define bfin_read_DMA6_Y_COUNT() bfin_read16(DMA6_Y_COUNT) |
| 468 | #define bfin_write_DMA6_Y_COUNT(val) bfin_write16(DMA6_Y_COUNT, val) |
| 469 | #define bfin_read_DMA6_Y_MODIFY() bfin_read16(DMA6_Y_MODIFY) |
| 470 | #define bfin_write_DMA6_Y_MODIFY(val) bfin_write16(DMA6_Y_MODIFY, val) |
| 471 | #define bfin_read_DMA6_CURR_DESC_PTR() bfin_readPTR(DMA6_CURR_DESC_PTR) |
| 472 | #define bfin_write_DMA6_CURR_DESC_PTR(val) bfin_writePTR(DMA6_CURR_DESC_PTR, val) |
| 473 | #define bfin_read_DMA6_CURR_ADDR() bfin_readPTR(DMA6_CURR_ADDR) |
| 474 | #define bfin_write_DMA6_CURR_ADDR(val) bfin_writePTR(DMA6_CURR_ADDR, val) |
| 475 | #define bfin_read_DMA6_IRQ_STATUS() bfin_read16(DMA6_IRQ_STATUS) |
| 476 | #define bfin_write_DMA6_IRQ_STATUS(val) bfin_write16(DMA6_IRQ_STATUS, val) |
| 477 | #define bfin_read_DMA6_PERIPHERAL_MAP() bfin_read16(DMA6_PERIPHERAL_MAP) |
| 478 | #define bfin_write_DMA6_PERIPHERAL_MAP(val) bfin_write16(DMA6_PERIPHERAL_MAP, val) |
| 479 | #define bfin_read_DMA6_CURR_X_COUNT() bfin_read16(DMA6_CURR_X_COUNT) |
| 480 | #define bfin_write_DMA6_CURR_X_COUNT(val) bfin_write16(DMA6_CURR_X_COUNT, val) |
| 481 | #define bfin_read_DMA6_CURR_Y_COUNT() bfin_read16(DMA6_CURR_Y_COUNT) |
| 482 | #define bfin_write_DMA6_CURR_Y_COUNT(val) bfin_write16(DMA6_CURR_Y_COUNT, val) |
| 483 | #define bfin_read_DMA7_NEXT_DESC_PTR() bfin_readPTR(DMA7_NEXT_DESC_PTR) |
| 484 | #define bfin_write_DMA7_NEXT_DESC_PTR(val) bfin_writePTR(DMA7_NEXT_DESC_PTR, val) |
| 485 | #define bfin_read_DMA7_START_ADDR() bfin_readPTR(DMA7_START_ADDR) |
| 486 | #define bfin_write_DMA7_START_ADDR(val) bfin_writePTR(DMA7_START_ADDR, val) |
| 487 | #define bfin_read_DMA7_CONFIG() bfin_read16(DMA7_CONFIG) |
| 488 | #define bfin_write_DMA7_CONFIG(val) bfin_write16(DMA7_CONFIG, val) |
| 489 | #define bfin_read_DMA7_X_COUNT() bfin_read16(DMA7_X_COUNT) |
| 490 | #define bfin_write_DMA7_X_COUNT(val) bfin_write16(DMA7_X_COUNT, val) |
| 491 | #define bfin_read_DMA7_X_MODIFY() bfin_read16(DMA7_X_MODIFY) |
| 492 | #define bfin_write_DMA7_X_MODIFY(val) bfin_write16(DMA7_X_MODIFY, val) |
| 493 | #define bfin_read_DMA7_Y_COUNT() bfin_read16(DMA7_Y_COUNT) |
| 494 | #define bfin_write_DMA7_Y_COUNT(val) bfin_write16(DMA7_Y_COUNT, val) |
| 495 | #define bfin_read_DMA7_Y_MODIFY() bfin_read16(DMA7_Y_MODIFY) |
| 496 | #define bfin_write_DMA7_Y_MODIFY(val) bfin_write16(DMA7_Y_MODIFY, val) |
| 497 | #define bfin_read_DMA7_CURR_DESC_PTR() bfin_readPTR(DMA7_CURR_DESC_PTR) |
| 498 | #define bfin_write_DMA7_CURR_DESC_PTR(val) bfin_writePTR(DMA7_CURR_DESC_PTR, val) |
| 499 | #define bfin_read_DMA7_CURR_ADDR() bfin_readPTR(DMA7_CURR_ADDR) |
| 500 | #define bfin_write_DMA7_CURR_ADDR(val) bfin_writePTR(DMA7_CURR_ADDR, val) |
| 501 | #define bfin_read_DMA7_IRQ_STATUS() bfin_read16(DMA7_IRQ_STATUS) |
| 502 | #define bfin_write_DMA7_IRQ_STATUS(val) bfin_write16(DMA7_IRQ_STATUS, val) |
| 503 | #define bfin_read_DMA7_PERIPHERAL_MAP() bfin_read16(DMA7_PERIPHERAL_MAP) |
| 504 | #define bfin_write_DMA7_PERIPHERAL_MAP(val) bfin_write16(DMA7_PERIPHERAL_MAP, val) |
| 505 | #define bfin_read_DMA7_CURR_X_COUNT() bfin_read16(DMA7_CURR_X_COUNT) |
| 506 | #define bfin_write_DMA7_CURR_X_COUNT(val) bfin_write16(DMA7_CURR_X_COUNT, val) |
| 507 | #define bfin_read_DMA7_CURR_Y_COUNT() bfin_read16(DMA7_CURR_Y_COUNT) |
| 508 | #define bfin_write_DMA7_CURR_Y_COUNT(val) bfin_write16(DMA7_CURR_Y_COUNT, val) |
| 509 | #define bfin_read_DMA8_NEXT_DESC_PTR() bfin_readPTR(DMA8_NEXT_DESC_PTR) |
| 510 | #define bfin_write_DMA8_NEXT_DESC_PTR(val) bfin_writePTR(DMA8_NEXT_DESC_PTR, val) |
| 511 | #define bfin_read_DMA8_START_ADDR() bfin_readPTR(DMA8_START_ADDR) |
| 512 | #define bfin_write_DMA8_START_ADDR(val) bfin_writePTR(DMA8_START_ADDR, val) |
| 513 | #define bfin_read_DMA8_CONFIG() bfin_read16(DMA8_CONFIG) |
| 514 | #define bfin_write_DMA8_CONFIG(val) bfin_write16(DMA8_CONFIG, val) |
| 515 | #define bfin_read_DMA8_X_COUNT() bfin_read16(DMA8_X_COUNT) |
| 516 | #define bfin_write_DMA8_X_COUNT(val) bfin_write16(DMA8_X_COUNT, val) |
| 517 | #define bfin_read_DMA8_X_MODIFY() bfin_read16(DMA8_X_MODIFY) |
| 518 | #define bfin_write_DMA8_X_MODIFY(val) bfin_write16(DMA8_X_MODIFY, val) |
| 519 | #define bfin_read_DMA8_Y_COUNT() bfin_read16(DMA8_Y_COUNT) |
| 520 | #define bfin_write_DMA8_Y_COUNT(val) bfin_write16(DMA8_Y_COUNT, val) |
| 521 | #define bfin_read_DMA8_Y_MODIFY() bfin_read16(DMA8_Y_MODIFY) |
| 522 | #define bfin_write_DMA8_Y_MODIFY(val) bfin_write16(DMA8_Y_MODIFY, val) |
| 523 | #define bfin_read_DMA8_CURR_DESC_PTR() bfin_readPTR(DMA8_CURR_DESC_PTR) |
| 524 | #define bfin_write_DMA8_CURR_DESC_PTR(val) bfin_writePTR(DMA8_CURR_DESC_PTR, val) |
| 525 | #define bfin_read_DMA8_CURR_ADDR() bfin_readPTR(DMA8_CURR_ADDR) |
| 526 | #define bfin_write_DMA8_CURR_ADDR(val) bfin_writePTR(DMA8_CURR_ADDR, val) |
| 527 | #define bfin_read_DMA8_IRQ_STATUS() bfin_read16(DMA8_IRQ_STATUS) |
| 528 | #define bfin_write_DMA8_IRQ_STATUS(val) bfin_write16(DMA8_IRQ_STATUS, val) |
| 529 | #define bfin_read_DMA8_PERIPHERAL_MAP() bfin_read16(DMA8_PERIPHERAL_MAP) |
| 530 | #define bfin_write_DMA8_PERIPHERAL_MAP(val) bfin_write16(DMA8_PERIPHERAL_MAP, val) |
| 531 | #define bfin_read_DMA8_CURR_X_COUNT() bfin_read16(DMA8_CURR_X_COUNT) |
| 532 | #define bfin_write_DMA8_CURR_X_COUNT(val) bfin_write16(DMA8_CURR_X_COUNT, val) |
| 533 | #define bfin_read_DMA8_CURR_Y_COUNT() bfin_read16(DMA8_CURR_Y_COUNT) |
| 534 | #define bfin_write_DMA8_CURR_Y_COUNT(val) bfin_write16(DMA8_CURR_Y_COUNT, val) |
| 535 | #define bfin_read_DMA9_NEXT_DESC_PTR() bfin_readPTR(DMA9_NEXT_DESC_PTR) |
| 536 | #define bfin_write_DMA9_NEXT_DESC_PTR(val) bfin_writePTR(DMA9_NEXT_DESC_PTR, val) |
| 537 | #define bfin_read_DMA9_START_ADDR() bfin_readPTR(DMA9_START_ADDR) |
| 538 | #define bfin_write_DMA9_START_ADDR(val) bfin_writePTR(DMA9_START_ADDR, val) |
| 539 | #define bfin_read_DMA9_CONFIG() bfin_read16(DMA9_CONFIG) |
| 540 | #define bfin_write_DMA9_CONFIG(val) bfin_write16(DMA9_CONFIG, val) |
| 541 | #define bfin_read_DMA9_X_COUNT() bfin_read16(DMA9_X_COUNT) |
| 542 | #define bfin_write_DMA9_X_COUNT(val) bfin_write16(DMA9_X_COUNT, val) |
| 543 | #define bfin_read_DMA9_X_MODIFY() bfin_read16(DMA9_X_MODIFY) |
| 544 | #define bfin_write_DMA9_X_MODIFY(val) bfin_write16(DMA9_X_MODIFY, val) |
| 545 | #define bfin_read_DMA9_Y_COUNT() bfin_read16(DMA9_Y_COUNT) |
| 546 | #define bfin_write_DMA9_Y_COUNT(val) bfin_write16(DMA9_Y_COUNT, val) |
| 547 | #define bfin_read_DMA9_Y_MODIFY() bfin_read16(DMA9_Y_MODIFY) |
| 548 | #define bfin_write_DMA9_Y_MODIFY(val) bfin_write16(DMA9_Y_MODIFY, val) |
| 549 | #define bfin_read_DMA9_CURR_DESC_PTR() bfin_readPTR(DMA9_CURR_DESC_PTR) |
| 550 | #define bfin_write_DMA9_CURR_DESC_PTR(val) bfin_writePTR(DMA9_CURR_DESC_PTR, val) |
| 551 | #define bfin_read_DMA9_CURR_ADDR() bfin_readPTR(DMA9_CURR_ADDR) |
| 552 | #define bfin_write_DMA9_CURR_ADDR(val) bfin_writePTR(DMA9_CURR_ADDR, val) |
| 553 | #define bfin_read_DMA9_IRQ_STATUS() bfin_read16(DMA9_IRQ_STATUS) |
| 554 | #define bfin_write_DMA9_IRQ_STATUS(val) bfin_write16(DMA9_IRQ_STATUS, val) |
| 555 | #define bfin_read_DMA9_PERIPHERAL_MAP() bfin_read16(DMA9_PERIPHERAL_MAP) |
| 556 | #define bfin_write_DMA9_PERIPHERAL_MAP(val) bfin_write16(DMA9_PERIPHERAL_MAP, val) |
| 557 | #define bfin_read_DMA9_CURR_X_COUNT() bfin_read16(DMA9_CURR_X_COUNT) |
| 558 | #define bfin_write_DMA9_CURR_X_COUNT(val) bfin_write16(DMA9_CURR_X_COUNT, val) |
| 559 | #define bfin_read_DMA9_CURR_Y_COUNT() bfin_read16(DMA9_CURR_Y_COUNT) |
| 560 | #define bfin_write_DMA9_CURR_Y_COUNT(val) bfin_write16(DMA9_CURR_Y_COUNT, val) |
| 561 | #define bfin_read_DMA10_NEXT_DESC_PTR() bfin_readPTR(DMA10_NEXT_DESC_PTR) |
| 562 | #define bfin_write_DMA10_NEXT_DESC_PTR(val) bfin_writePTR(DMA10_NEXT_DESC_PTR, val) |
| 563 | #define bfin_read_DMA10_START_ADDR() bfin_readPTR(DMA10_START_ADDR) |
| 564 | #define bfin_write_DMA10_START_ADDR(val) bfin_writePTR(DMA10_START_ADDR, val) |
| 565 | #define bfin_read_DMA10_CONFIG() bfin_read16(DMA10_CONFIG) |
| 566 | #define bfin_write_DMA10_CONFIG(val) bfin_write16(DMA10_CONFIG, val) |
| 567 | #define bfin_read_DMA10_X_COUNT() bfin_read16(DMA10_X_COUNT) |
| 568 | #define bfin_write_DMA10_X_COUNT(val) bfin_write16(DMA10_X_COUNT, val) |
| 569 | #define bfin_read_DMA10_X_MODIFY() bfin_read16(DMA10_X_MODIFY) |
| 570 | #define bfin_write_DMA10_X_MODIFY(val) bfin_write16(DMA10_X_MODIFY, val) |
| 571 | #define bfin_read_DMA10_Y_COUNT() bfin_read16(DMA10_Y_COUNT) |
| 572 | #define bfin_write_DMA10_Y_COUNT(val) bfin_write16(DMA10_Y_COUNT, val) |
| 573 | #define bfin_read_DMA10_Y_MODIFY() bfin_read16(DMA10_Y_MODIFY) |
| 574 | #define bfin_write_DMA10_Y_MODIFY(val) bfin_write16(DMA10_Y_MODIFY, val) |
| 575 | #define bfin_read_DMA10_CURR_DESC_PTR() bfin_readPTR(DMA10_CURR_DESC_PTR) |
| 576 | #define bfin_write_DMA10_CURR_DESC_PTR(val) bfin_writePTR(DMA10_CURR_DESC_PTR, val) |
| 577 | #define bfin_read_DMA10_CURR_ADDR() bfin_readPTR(DMA10_CURR_ADDR) |
| 578 | #define bfin_write_DMA10_CURR_ADDR(val) bfin_writePTR(DMA10_CURR_ADDR, val) |
| 579 | #define bfin_read_DMA10_IRQ_STATUS() bfin_read16(DMA10_IRQ_STATUS) |
| 580 | #define bfin_write_DMA10_IRQ_STATUS(val) bfin_write16(DMA10_IRQ_STATUS, val) |
| 581 | #define bfin_read_DMA10_PERIPHERAL_MAP() bfin_read16(DMA10_PERIPHERAL_MAP) |
| 582 | #define bfin_write_DMA10_PERIPHERAL_MAP(val) bfin_write16(DMA10_PERIPHERAL_MAP, val) |
| 583 | #define bfin_read_DMA10_CURR_X_COUNT() bfin_read16(DMA10_CURR_X_COUNT) |
| 584 | #define bfin_write_DMA10_CURR_X_COUNT(val) bfin_write16(DMA10_CURR_X_COUNT, val) |
| 585 | #define bfin_read_DMA10_CURR_Y_COUNT() bfin_read16(DMA10_CURR_Y_COUNT) |
| 586 | #define bfin_write_DMA10_CURR_Y_COUNT(val) bfin_write16(DMA10_CURR_Y_COUNT, val) |
| 587 | #define bfin_read_DMA11_NEXT_DESC_PTR() bfin_readPTR(DMA11_NEXT_DESC_PTR) |
| 588 | #define bfin_write_DMA11_NEXT_DESC_PTR(val) bfin_writePTR(DMA11_NEXT_DESC_PTR, val) |
| 589 | #define bfin_read_DMA11_START_ADDR() bfin_readPTR(DMA11_START_ADDR) |
| 590 | #define bfin_write_DMA11_START_ADDR(val) bfin_writePTR(DMA11_START_ADDR, val) |
| 591 | #define bfin_read_DMA11_CONFIG() bfin_read16(DMA11_CONFIG) |
| 592 | #define bfin_write_DMA11_CONFIG(val) bfin_write16(DMA11_CONFIG, val) |
| 593 | #define bfin_read_DMA11_X_COUNT() bfin_read16(DMA11_X_COUNT) |
| 594 | #define bfin_write_DMA11_X_COUNT(val) bfin_write16(DMA11_X_COUNT, val) |
| 595 | #define bfin_read_DMA11_X_MODIFY() bfin_read16(DMA11_X_MODIFY) |
| 596 | #define bfin_write_DMA11_X_MODIFY(val) bfin_write16(DMA11_X_MODIFY, val) |
| 597 | #define bfin_read_DMA11_Y_COUNT() bfin_read16(DMA11_Y_COUNT) |
| 598 | #define bfin_write_DMA11_Y_COUNT(val) bfin_write16(DMA11_Y_COUNT, val) |
| 599 | #define bfin_read_DMA11_Y_MODIFY() bfin_read16(DMA11_Y_MODIFY) |
| 600 | #define bfin_write_DMA11_Y_MODIFY(val) bfin_write16(DMA11_Y_MODIFY, val) |
| 601 | #define bfin_read_DMA11_CURR_DESC_PTR() bfin_readPTR(DMA11_CURR_DESC_PTR) |
| 602 | #define bfin_write_DMA11_CURR_DESC_PTR(val) bfin_writePTR(DMA11_CURR_DESC_PTR, val) |
| 603 | #define bfin_read_DMA11_CURR_ADDR() bfin_readPTR(DMA11_CURR_ADDR) |
| 604 | #define bfin_write_DMA11_CURR_ADDR(val) bfin_writePTR(DMA11_CURR_ADDR, val) |
| 605 | #define bfin_read_DMA11_IRQ_STATUS() bfin_read16(DMA11_IRQ_STATUS) |
| 606 | #define bfin_write_DMA11_IRQ_STATUS(val) bfin_write16(DMA11_IRQ_STATUS, val) |
| 607 | #define bfin_read_DMA11_PERIPHERAL_MAP() bfin_read16(DMA11_PERIPHERAL_MAP) |
| 608 | #define bfin_write_DMA11_PERIPHERAL_MAP(val) bfin_write16(DMA11_PERIPHERAL_MAP, val) |
| 609 | #define bfin_read_DMA11_CURR_X_COUNT() bfin_read16(DMA11_CURR_X_COUNT) |
| 610 | #define bfin_write_DMA11_CURR_X_COUNT(val) bfin_write16(DMA11_CURR_X_COUNT, val) |
| 611 | #define bfin_read_DMA11_CURR_Y_COUNT() bfin_read16(DMA11_CURR_Y_COUNT) |
| 612 | #define bfin_write_DMA11_CURR_Y_COUNT(val) bfin_write16(DMA11_CURR_Y_COUNT, val) |
| 613 | #define bfin_read_MDMA_S0_NEXT_DESC_PTR() bfin_readPTR(MDMA_S0_NEXT_DESC_PTR) |
| 614 | #define bfin_write_MDMA_S0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_S0_NEXT_DESC_PTR, val) |
| 615 | #define bfin_read_MDMA_S0_START_ADDR() bfin_readPTR(MDMA_S0_START_ADDR) |
| 616 | #define bfin_write_MDMA_S0_START_ADDR(val) bfin_writePTR(MDMA_S0_START_ADDR, val) |
| 617 | #define bfin_read_MDMA_S0_CONFIG() bfin_read16(MDMA_S0_CONFIG) |
| 618 | #define bfin_write_MDMA_S0_CONFIG(val) bfin_write16(MDMA_S0_CONFIG, val) |
| 619 | #define bfin_read_MDMA_S0_X_COUNT() bfin_read16(MDMA_S0_X_COUNT) |
| 620 | #define bfin_write_MDMA_S0_X_COUNT(val) bfin_write16(MDMA_S0_X_COUNT, val) |
| 621 | #define bfin_read_MDMA_S0_X_MODIFY() bfin_read16(MDMA_S0_X_MODIFY) |
| 622 | #define bfin_write_MDMA_S0_X_MODIFY(val) bfin_write16(MDMA_S0_X_MODIFY, val) |
| 623 | #define bfin_read_MDMA_S0_Y_COUNT() bfin_read16(MDMA_S0_Y_COUNT) |
| 624 | #define bfin_write_MDMA_S0_Y_COUNT(val) bfin_write16(MDMA_S0_Y_COUNT, val) |
| 625 | #define bfin_read_MDMA_S0_Y_MODIFY() bfin_read16(MDMA_S0_Y_MODIFY) |
| 626 | #define bfin_write_MDMA_S0_Y_MODIFY(val) bfin_write16(MDMA_S0_Y_MODIFY, val) |
| 627 | #define bfin_read_MDMA_S0_CURR_DESC_PTR() bfin_readPTR(MDMA_S0_CURR_DESC_PTR) |
| 628 | #define bfin_write_MDMA_S0_CURR_DESC_PTR(val) bfin_writePTR(MDMA_S0_CURR_DESC_PTR, val) |
| 629 | #define bfin_read_MDMA_S0_CURR_ADDR() bfin_readPTR(MDMA_S0_CURR_ADDR) |
| 630 | #define bfin_write_MDMA_S0_CURR_ADDR(val) bfin_writePTR(MDMA_S0_CURR_ADDR, val) |
| 631 | #define bfin_read_MDMA_S0_IRQ_STATUS() bfin_read16(MDMA_S0_IRQ_STATUS) |
| 632 | #define bfin_write_MDMA_S0_IRQ_STATUS(val) bfin_write16(MDMA_S0_IRQ_STATUS, val) |
| 633 | #define bfin_read_MDMA_S0_PERIPHERAL_MAP() bfin_read16(MDMA_S0_PERIPHERAL_MAP) |
| 634 | #define bfin_write_MDMA_S0_PERIPHERAL_MAP(val) bfin_write16(MDMA_S0_PERIPHERAL_MAP, val) |
| 635 | #define bfin_read_MDMA_S0_CURR_X_COUNT() bfin_read16(MDMA_S0_CURR_X_COUNT) |
| 636 | #define bfin_write_MDMA_S0_CURR_X_COUNT(val) bfin_write16(MDMA_S0_CURR_X_COUNT, val) |
| 637 | #define bfin_read_MDMA_S0_CURR_Y_COUNT() bfin_read16(MDMA_S0_CURR_Y_COUNT) |
| 638 | #define bfin_write_MDMA_S0_CURR_Y_COUNT(val) bfin_write16(MDMA_S0_CURR_Y_COUNT, val) |
| 639 | #define bfin_read_MDMA_D0_NEXT_DESC_PTR() bfin_readPTR(MDMA_D0_NEXT_DESC_PTR) |
| 640 | #define bfin_write_MDMA_D0_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_D0_NEXT_DESC_PTR, val) |
| 641 | #define bfin_read_MDMA_D0_START_ADDR() bfin_readPTR(MDMA_D0_START_ADDR) |
| 642 | #define bfin_write_MDMA_D0_START_ADDR(val) bfin_writePTR(MDMA_D0_START_ADDR, val) |
| 643 | #define bfin_read_MDMA_D0_CONFIG() bfin_read16(MDMA_D0_CONFIG) |
| 644 | #define bfin_write_MDMA_D0_CONFIG(val) bfin_write16(MDMA_D0_CONFIG, val) |
| 645 | #define bfin_read_MDMA_D0_X_COUNT() bfin_read16(MDMA_D0_X_COUNT) |
| 646 | #define bfin_write_MDMA_D0_X_COUNT(val) bfin_write16(MDMA_D0_X_COUNT, val) |
| 647 | #define bfin_read_MDMA_D0_X_MODIFY() bfin_read16(MDMA_D0_X_MODIFY) |
| 648 | #define bfin_write_MDMA_D0_X_MODIFY(val) bfin_write16(MDMA_D0_X_MODIFY, val) |
| 649 | #define bfin_read_MDMA_D0_Y_COUNT() bfin_read16(MDMA_D0_Y_COUNT) |
| 650 | #define bfin_write_MDMA_D0_Y_COUNT(val) bfin_write16(MDMA_D0_Y_COUNT, val) |
| 651 | #define bfin_read_MDMA_D0_Y_MODIFY() bfin_read16(MDMA_D0_Y_MODIFY) |
| 652 | #define bfin_write_MDMA_D0_Y_MODIFY(val) bfin_write16(MDMA_D0_Y_MODIFY, val) |
| 653 | #define bfin_read_MDMA_D0_CURR_DESC_PTR() bfin_readPTR(MDMA_D0_CURR_DESC_PTR) |
| 654 | #define bfin_write_MDMA_D0_CURR_DESC_PTR(val) bfin_writePTR(MDMA_D0_CURR_DESC_PTR, val) |
| 655 | #define bfin_read_MDMA_D0_CURR_ADDR() bfin_readPTR(MDMA_D0_CURR_ADDR) |
| 656 | #define bfin_write_MDMA_D0_CURR_ADDR(val) bfin_writePTR(MDMA_D0_CURR_ADDR, val) |
| 657 | #define bfin_read_MDMA_D0_IRQ_STATUS() bfin_read16(MDMA_D0_IRQ_STATUS) |
| 658 | #define bfin_write_MDMA_D0_IRQ_STATUS(val) bfin_write16(MDMA_D0_IRQ_STATUS, val) |
| 659 | #define bfin_read_MDMA_D0_PERIPHERAL_MAP() bfin_read16(MDMA_D0_PERIPHERAL_MAP) |
| 660 | #define bfin_write_MDMA_D0_PERIPHERAL_MAP(val) bfin_write16(MDMA_D0_PERIPHERAL_MAP, val) |
| 661 | #define bfin_read_MDMA_D0_CURR_X_COUNT() bfin_read16(MDMA_D0_CURR_X_COUNT) |
| 662 | #define bfin_write_MDMA_D0_CURR_X_COUNT(val) bfin_write16(MDMA_D0_CURR_X_COUNT, val) |
| 663 | #define bfin_read_MDMA_D0_CURR_Y_COUNT() bfin_read16(MDMA_D0_CURR_Y_COUNT) |
| 664 | #define bfin_write_MDMA_D0_CURR_Y_COUNT(val) bfin_write16(MDMA_D0_CURR_Y_COUNT, val) |
| 665 | #define bfin_read_MDMA_S1_NEXT_DESC_PTR() bfin_readPTR(MDMA_S1_NEXT_DESC_PTR) |
| 666 | #define bfin_write_MDMA_S1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_S1_NEXT_DESC_PTR, val) |
| 667 | #define bfin_read_MDMA_S1_START_ADDR() bfin_readPTR(MDMA_S1_START_ADDR) |
| 668 | #define bfin_write_MDMA_S1_START_ADDR(val) bfin_writePTR(MDMA_S1_START_ADDR, val) |
| 669 | #define bfin_read_MDMA_S1_CONFIG() bfin_read16(MDMA_S1_CONFIG) |
| 670 | #define bfin_write_MDMA_S1_CONFIG(val) bfin_write16(MDMA_S1_CONFIG, val) |
| 671 | #define bfin_read_MDMA_S1_X_COUNT() bfin_read16(MDMA_S1_X_COUNT) |
| 672 | #define bfin_write_MDMA_S1_X_COUNT(val) bfin_write16(MDMA_S1_X_COUNT, val) |
| 673 | #define bfin_read_MDMA_S1_X_MODIFY() bfin_read16(MDMA_S1_X_MODIFY) |
| 674 | #define bfin_write_MDMA_S1_X_MODIFY(val) bfin_write16(MDMA_S1_X_MODIFY, val) |
| 675 | #define bfin_read_MDMA_S1_Y_COUNT() bfin_read16(MDMA_S1_Y_COUNT) |
| 676 | #define bfin_write_MDMA_S1_Y_COUNT(val) bfin_write16(MDMA_S1_Y_COUNT, val) |
| 677 | #define bfin_read_MDMA_S1_Y_MODIFY() bfin_read16(MDMA_S1_Y_MODIFY) |
| 678 | #define bfin_write_MDMA_S1_Y_MODIFY(val) bfin_write16(MDMA_S1_Y_MODIFY, val) |
| 679 | #define bfin_read_MDMA_S1_CURR_DESC_PTR() bfin_readPTR(MDMA_S1_CURR_DESC_PTR) |
| 680 | #define bfin_write_MDMA_S1_CURR_DESC_PTR(val) bfin_writePTR(MDMA_S1_CURR_DESC_PTR, val) |
| 681 | #define bfin_read_MDMA_S1_CURR_ADDR() bfin_readPTR(MDMA_S1_CURR_ADDR) |
| 682 | #define bfin_write_MDMA_S1_CURR_ADDR(val) bfin_writePTR(MDMA_S1_CURR_ADDR, val) |
| 683 | #define bfin_read_MDMA_S1_IRQ_STATUS() bfin_read16(MDMA_S1_IRQ_STATUS) |
| 684 | #define bfin_write_MDMA_S1_IRQ_STATUS(val) bfin_write16(MDMA_S1_IRQ_STATUS, val) |
| 685 | #define bfin_read_MDMA_S1_PERIPHERAL_MAP() bfin_read16(MDMA_S1_PERIPHERAL_MAP) |
| 686 | #define bfin_write_MDMA_S1_PERIPHERAL_MAP(val) bfin_write16(MDMA_S1_PERIPHERAL_MAP, val) |
| 687 | #define bfin_read_MDMA_S1_CURR_X_COUNT() bfin_read16(MDMA_S1_CURR_X_COUNT) |
| 688 | #define bfin_write_MDMA_S1_CURR_X_COUNT(val) bfin_write16(MDMA_S1_CURR_X_COUNT, val) |
| 689 | #define bfin_read_MDMA_S1_CURR_Y_COUNT() bfin_read16(MDMA_S1_CURR_Y_COUNT) |
| 690 | #define bfin_write_MDMA_S1_CURR_Y_COUNT(val) bfin_write16(MDMA_S1_CURR_Y_COUNT, val) |
| 691 | #define bfin_read_MDMA_D1_NEXT_DESC_PTR() bfin_readPTR(MDMA_D1_NEXT_DESC_PTR) |
| 692 | #define bfin_write_MDMA_D1_NEXT_DESC_PTR(val) bfin_writePTR(MDMA_D1_NEXT_DESC_PTR, val) |
| 693 | #define bfin_read_MDMA_D1_START_ADDR() bfin_readPTR(MDMA_D1_START_ADDR) |
| 694 | #define bfin_write_MDMA_D1_START_ADDR(val) bfin_writePTR(MDMA_D1_START_ADDR, val) |
| 695 | #define bfin_read_MDMA_D1_CONFIG() bfin_read16(MDMA_D1_CONFIG) |
| 696 | #define bfin_write_MDMA_D1_CONFIG(val) bfin_write16(MDMA_D1_CONFIG, val) |
| 697 | #define bfin_read_MDMA_D1_X_COUNT() bfin_read16(MDMA_D1_X_COUNT) |
| 698 | #define bfin_write_MDMA_D1_X_COUNT(val) bfin_write16(MDMA_D1_X_COUNT, val) |
| 699 | #define bfin_read_MDMA_D1_X_MODIFY() bfin_read16(MDMA_D1_X_MODIFY) |
| 700 | #define bfin_write_MDMA_D1_X_MODIFY(val) bfin_write16(MDMA_D1_X_MODIFY, val) |
| 701 | #define bfin_read_MDMA_D1_Y_COUNT() bfin_read16(MDMA_D1_Y_COUNT) |
| 702 | #define bfin_write_MDMA_D1_Y_COUNT(val) bfin_write16(MDMA_D1_Y_COUNT, val) |
| 703 | #define bfin_read_MDMA_D1_Y_MODIFY() bfin_read16(MDMA_D1_Y_MODIFY) |
| 704 | #define bfin_write_MDMA_D1_Y_MODIFY(val) bfin_write16(MDMA_D1_Y_MODIFY, val) |
| 705 | #define bfin_read_MDMA_D1_CURR_DESC_PTR() bfin_readPTR(MDMA_D1_CURR_DESC_PTR) |
| 706 | #define bfin_write_MDMA_D1_CURR_DESC_PTR(val) bfin_writePTR(MDMA_D1_CURR_DESC_PTR, val) |
| 707 | #define bfin_read_MDMA_D1_CURR_ADDR() bfin_readPTR(MDMA_D1_CURR_ADDR) |
| 708 | #define bfin_write_MDMA_D1_CURR_ADDR(val) bfin_writePTR(MDMA_D1_CURR_ADDR, val) |
| 709 | #define bfin_read_MDMA_D1_IRQ_STATUS() bfin_read16(MDMA_D1_IRQ_STATUS) |
| 710 | #define bfin_write_MDMA_D1_IRQ_STATUS(val) bfin_write16(MDMA_D1_IRQ_STATUS, val) |
| 711 | #define bfin_read_MDMA_D1_PERIPHERAL_MAP() bfin_read16(MDMA_D1_PERIPHERAL_MAP) |
| 712 | #define bfin_write_MDMA_D1_PERIPHERAL_MAP(val) bfin_write16(MDMA_D1_PERIPHERAL_MAP, val) |
| 713 | #define bfin_read_MDMA_D1_CURR_X_COUNT() bfin_read16(MDMA_D1_CURR_X_COUNT) |
| 714 | #define bfin_write_MDMA_D1_CURR_X_COUNT(val) bfin_write16(MDMA_D1_CURR_X_COUNT, val) |
| 715 | #define bfin_read_MDMA_D1_CURR_Y_COUNT() bfin_read16(MDMA_D1_CURR_Y_COUNT) |
| 716 | #define bfin_write_MDMA_D1_CURR_Y_COUNT(val) bfin_write16(MDMA_D1_CURR_Y_COUNT, val) |
| 717 | #define bfin_read_PPI_CONTROL() bfin_read16(PPI_CONTROL) |
| 718 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) |
| 719 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) |
| 720 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) |
| 721 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) |
| 722 | #define bfin_write_PPI_COUNT(val) bfin_write16(PPI_COUNT, val) |
| 723 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) |
| 724 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) |
| 725 | #define bfin_read_PPI_FRAME() bfin_read16(PPI_FRAME) |
| 726 | #define bfin_write_PPI_FRAME(val) bfin_write16(PPI_FRAME, val) |
| 727 | #define bfin_read_TWI_CLKDIV() bfin_read16(TWI_CLKDIV) |
| 728 | #define bfin_write_TWI_CLKDIV(val) bfin_write16(TWI_CLKDIV, val) |
| 729 | #define bfin_read_TWI_CONTROL() bfin_read16(TWI_CONTROL) |
| 730 | #define bfin_write_TWI_CONTROL(val) bfin_write16(TWI_CONTROL, val) |
| 731 | #define bfin_read_TWI_SLAVE_CTL() bfin_read16(TWI_SLAVE_CTL) |
| 732 | #define bfin_write_TWI_SLAVE_CTL(val) bfin_write16(TWI_SLAVE_CTL, val) |
| 733 | #define bfin_read_TWI_SLAVE_STAT() bfin_read16(TWI_SLAVE_STAT) |
| 734 | #define bfin_write_TWI_SLAVE_STAT(val) bfin_write16(TWI_SLAVE_STAT, val) |
| 735 | #define bfin_read_TWI_SLAVE_ADDR() bfin_read16(TWI_SLAVE_ADDR) |
| 736 | #define bfin_write_TWI_SLAVE_ADDR(val) bfin_write16(TWI_SLAVE_ADDR, val) |
| 737 | #define bfin_read_TWI_MASTER_CTL() bfin_read16(TWI_MASTER_CTL) |
| 738 | #define bfin_write_TWI_MASTER_CTL(val) bfin_write16(TWI_MASTER_CTL, val) |
| 739 | #define bfin_read_TWI_MASTER_STAT() bfin_read16(TWI_MASTER_STAT) |
| 740 | #define bfin_write_TWI_MASTER_STAT(val) bfin_write16(TWI_MASTER_STAT, val) |
| 741 | #define bfin_read_TWI_MASTER_ADDR() bfin_read16(TWI_MASTER_ADDR) |
| 742 | #define bfin_write_TWI_MASTER_ADDR(val) bfin_write16(TWI_MASTER_ADDR, val) |
| 743 | #define bfin_read_TWI_INT_STAT() bfin_read16(TWI_INT_STAT) |
| 744 | #define bfin_write_TWI_INT_STAT(val) bfin_write16(TWI_INT_STAT, val) |
| 745 | #define bfin_read_TWI_INT_MASK() bfin_read16(TWI_INT_MASK) |
| 746 | #define bfin_write_TWI_INT_MASK(val) bfin_write16(TWI_INT_MASK, val) |
| 747 | #define bfin_read_TWI_FIFO_CTL() bfin_read16(TWI_FIFO_CTL) |
| 748 | #define bfin_write_TWI_FIFO_CTL(val) bfin_write16(TWI_FIFO_CTL, val) |
| 749 | #define bfin_read_TWI_FIFO_STAT() bfin_read16(TWI_FIFO_STAT) |
| 750 | #define bfin_write_TWI_FIFO_STAT(val) bfin_write16(TWI_FIFO_STAT, val) |
| 751 | #define bfin_read_TWI_XMT_DATA8() bfin_read16(TWI_XMT_DATA8) |
| 752 | #define bfin_write_TWI_XMT_DATA8(val) bfin_write16(TWI_XMT_DATA8, val) |
| 753 | #define bfin_read_TWI_XMT_DATA16() bfin_read16(TWI_XMT_DATA16) |
| 754 | #define bfin_write_TWI_XMT_DATA16(val) bfin_write16(TWI_XMT_DATA16, val) |
| 755 | #define bfin_read_TWI_RCV_DATA8() bfin_read16(TWI_RCV_DATA8) |
| 756 | #define bfin_write_TWI_RCV_DATA8(val) bfin_write16(TWI_RCV_DATA8, val) |
| 757 | #define bfin_read_TWI_RCV_DATA16() bfin_read16(TWI_RCV_DATA16) |
| 758 | #define bfin_write_TWI_RCV_DATA16(val) bfin_write16(TWI_RCV_DATA16, val) |
| 759 | #define bfin_read_PORTGIO() bfin_read16(PORTGIO) |
| 760 | #define bfin_write_PORTGIO(val) bfin_write16(PORTGIO, val) |
| 761 | #define bfin_read_PORTGIO_CLEAR() bfin_read16(PORTGIO_CLEAR) |
| 762 | #define bfin_write_PORTGIO_CLEAR(val) bfin_write16(PORTGIO_CLEAR, val) |
| 763 | #define bfin_read_PORTGIO_SET() bfin_read16(PORTGIO_SET) |
| 764 | #define bfin_write_PORTGIO_SET(val) bfin_write16(PORTGIO_SET, val) |
| 765 | #define bfin_read_PORTGIO_TOGGLE() bfin_read16(PORTGIO_TOGGLE) |
| 766 | #define bfin_write_PORTGIO_TOGGLE(val) bfin_write16(PORTGIO_TOGGLE, val) |
| 767 | #define bfin_read_PORTGIO_MASKA() bfin_read16(PORTGIO_MASKA) |
| 768 | #define bfin_write_PORTGIO_MASKA(val) bfin_write16(PORTGIO_MASKA, val) |
| 769 | #define bfin_read_PORTGIO_MASKA_CLEAR() bfin_read16(PORTGIO_MASKA_CLEAR) |
| 770 | #define bfin_write_PORTGIO_MASKA_CLEAR(val) bfin_write16(PORTGIO_MASKA_CLEAR, val) |
| 771 | #define bfin_read_PORTGIO_MASKA_SET() bfin_read16(PORTGIO_MASKA_SET) |
| 772 | #define bfin_write_PORTGIO_MASKA_SET(val) bfin_write16(PORTGIO_MASKA_SET, val) |
| 773 | #define bfin_read_PORTGIO_MASKA_TOGGLE() bfin_read16(PORTGIO_MASKA_TOGGLE) |
| 774 | #define bfin_write_PORTGIO_MASKA_TOGGLE(val) bfin_write16(PORTGIO_MASKA_TOGGLE, val) |
| 775 | #define bfin_read_PORTGIO_MASKB() bfin_read16(PORTGIO_MASKB) |
| 776 | #define bfin_write_PORTGIO_MASKB(val) bfin_write16(PORTGIO_MASKB, val) |
| 777 | #define bfin_read_PORTGIO_MASKB_CLEAR() bfin_read16(PORTGIO_MASKB_CLEAR) |
| 778 | #define bfin_write_PORTGIO_MASKB_CLEAR(val) bfin_write16(PORTGIO_MASKB_CLEAR, val) |
| 779 | #define bfin_read_PORTGIO_MASKB_SET() bfin_read16(PORTGIO_MASKB_SET) |
| 780 | #define bfin_write_PORTGIO_MASKB_SET(val) bfin_write16(PORTGIO_MASKB_SET, val) |
| 781 | #define bfin_read_PORTGIO_MASKB_TOGGLE() bfin_read16(PORTGIO_MASKB_TOGGLE) |
| 782 | #define bfin_write_PORTGIO_MASKB_TOGGLE(val) bfin_write16(PORTGIO_MASKB_TOGGLE, val) |
| 783 | #define bfin_read_PORTGIO_DIR() bfin_read16(PORTGIO_DIR) |
| 784 | #define bfin_write_PORTGIO_DIR(val) bfin_write16(PORTGIO_DIR, val) |
| 785 | #define bfin_read_PORTGIO_POLAR() bfin_read16(PORTGIO_POLAR) |
| 786 | #define bfin_write_PORTGIO_POLAR(val) bfin_write16(PORTGIO_POLAR, val) |
| 787 | #define bfin_read_PORTGIO_EDGE() bfin_read16(PORTGIO_EDGE) |
| 788 | #define bfin_write_PORTGIO_EDGE(val) bfin_write16(PORTGIO_EDGE, val) |
| 789 | #define bfin_read_PORTGIO_BOTH() bfin_read16(PORTGIO_BOTH) |
| 790 | #define bfin_write_PORTGIO_BOTH(val) bfin_write16(PORTGIO_BOTH, val) |
| 791 | #define bfin_read_PORTGIO_INEN() bfin_read16(PORTGIO_INEN) |
| 792 | #define bfin_write_PORTGIO_INEN(val) bfin_write16(PORTGIO_INEN, val) |
| 793 | #define bfin_read_PORTHIO() bfin_read16(PORTHIO) |
| 794 | #define bfin_write_PORTHIO(val) bfin_write16(PORTHIO, val) |
| 795 | #define bfin_read_PORTHIO_CLEAR() bfin_read16(PORTHIO_CLEAR) |
| 796 | #define bfin_write_PORTHIO_CLEAR(val) bfin_write16(PORTHIO_CLEAR, val) |
| 797 | #define bfin_read_PORTHIO_SET() bfin_read16(PORTHIO_SET) |
| 798 | #define bfin_write_PORTHIO_SET(val) bfin_write16(PORTHIO_SET, val) |
| 799 | #define bfin_read_PORTHIO_TOGGLE() bfin_read16(PORTHIO_TOGGLE) |
| 800 | #define bfin_write_PORTHIO_TOGGLE(val) bfin_write16(PORTHIO_TOGGLE, val) |
| 801 | #define bfin_read_PORTHIO_MASKA() bfin_read16(PORTHIO_MASKA) |
| 802 | #define bfin_write_PORTHIO_MASKA(val) bfin_write16(PORTHIO_MASKA, val) |
| 803 | #define bfin_read_PORTHIO_MASKA_CLEAR() bfin_read16(PORTHIO_MASKA_CLEAR) |
| 804 | #define bfin_write_PORTHIO_MASKA_CLEAR(val) bfin_write16(PORTHIO_MASKA_CLEAR, val) |
| 805 | #define bfin_read_PORTHIO_MASKA_SET() bfin_read16(PORTHIO_MASKA_SET) |
| 806 | #define bfin_write_PORTHIO_MASKA_SET(val) bfin_write16(PORTHIO_MASKA_SET, val) |
| 807 | #define bfin_read_PORTHIO_MASKA_TOGGLE() bfin_read16(PORTHIO_MASKA_TOGGLE) |
| 808 | #define bfin_write_PORTHIO_MASKA_TOGGLE(val) bfin_write16(PORTHIO_MASKA_TOGGLE, val) |
| 809 | #define bfin_read_PORTHIO_MASKB() bfin_read16(PORTHIO_MASKB) |
| 810 | #define bfin_write_PORTHIO_MASKB(val) bfin_write16(PORTHIO_MASKB, val) |
| 811 | #define bfin_read_PORTHIO_MASKB_CLEAR() bfin_read16(PORTHIO_MASKB_CLEAR) |
| 812 | #define bfin_write_PORTHIO_MASKB_CLEAR(val) bfin_write16(PORTHIO_MASKB_CLEAR, val) |
| 813 | #define bfin_read_PORTHIO_MASKB_SET() bfin_read16(PORTHIO_MASKB_SET) |
| 814 | #define bfin_write_PORTHIO_MASKB_SET(val) bfin_write16(PORTHIO_MASKB_SET, val) |
| 815 | #define bfin_read_PORTHIO_MASKB_TOGGLE() bfin_read16(PORTHIO_MASKB_TOGGLE) |
| 816 | #define bfin_write_PORTHIO_MASKB_TOGGLE(val) bfin_write16(PORTHIO_MASKB_TOGGLE, val) |
| 817 | #define bfin_read_PORTHIO_DIR() bfin_read16(PORTHIO_DIR) |
| 818 | #define bfin_write_PORTHIO_DIR(val) bfin_write16(PORTHIO_DIR, val) |
| 819 | #define bfin_read_PORTHIO_POLAR() bfin_read16(PORTHIO_POLAR) |
| 820 | #define bfin_write_PORTHIO_POLAR(val) bfin_write16(PORTHIO_POLAR, val) |
| 821 | #define bfin_read_PORTHIO_EDGE() bfin_read16(PORTHIO_EDGE) |
| 822 | #define bfin_write_PORTHIO_EDGE(val) bfin_write16(PORTHIO_EDGE, val) |
| 823 | #define bfin_read_PORTHIO_BOTH() bfin_read16(PORTHIO_BOTH) |
| 824 | #define bfin_write_PORTHIO_BOTH(val) bfin_write16(PORTHIO_BOTH, val) |
| 825 | #define bfin_read_PORTHIO_INEN() bfin_read16(PORTHIO_INEN) |
| 826 | #define bfin_write_PORTHIO_INEN(val) bfin_write16(PORTHIO_INEN, val) |
| 827 | #define bfin_read_UART1_DLL() bfin_read16(UART1_DLL) |
| 828 | #define bfin_write_UART1_DLL(val) bfin_write16(UART1_DLL, val) |
| 829 | #define bfin_read_UART1_DLH() bfin_read16(UART1_DLH) |
| 830 | #define bfin_write_UART1_DLH(val) bfin_write16(UART1_DLH, val) |
| 831 | #define bfin_read_UART1_GCTL() bfin_read16(UART1_GCTL) |
| 832 | #define bfin_write_UART1_GCTL(val) bfin_write16(UART1_GCTL, val) |
| 833 | #define bfin_read_UART1_LCR() bfin_read16(UART1_LCR) |
| 834 | #define bfin_write_UART1_LCR(val) bfin_write16(UART1_LCR, val) |
| 835 | #define bfin_read_UART1_MCR() bfin_read16(UART1_MCR) |
| 836 | #define bfin_write_UART1_MCR(val) bfin_write16(UART1_MCR, val) |
| 837 | #define bfin_read_UART1_LSR() bfin_read16(UART1_LSR) |
| 838 | #define bfin_write_UART1_LSR(val) bfin_write16(UART1_LSR, val) |
| 839 | #define bfin_read_UART1_MSR() bfin_read16(UART1_MSR) |
| 840 | #define bfin_write_UART1_MSR(val) bfin_write16(UART1_MSR, val) |
| 841 | #define bfin_read_UART1_SCR() bfin_read16(UART1_SCR) |
| 842 | #define bfin_write_UART1_SCR(val) bfin_write16(UART1_SCR, val) |
| 843 | #define bfin_read_UART1_IER_SET() bfin_read16(UART1_IER_SET) |
| 844 | #define bfin_write_UART1_IER_SET(val) bfin_write16(UART1_IER_SET, val) |
| 845 | #define bfin_read_UART1_IER_CLEAR() bfin_read16(UART1_IER_CLEAR) |
| 846 | #define bfin_write_UART1_IER_CLEAR(val) bfin_write16(UART1_IER_CLEAR, val) |
| 847 | #define bfin_read_UART1_THR() bfin_read16(UART1_THR) |
| 848 | #define bfin_write_UART1_THR(val) bfin_write16(UART1_THR, val) |
| 849 | #define bfin_read_UART1_RBR() bfin_read16(UART1_RBR) |
| 850 | #define bfin_write_UART1_RBR(val) bfin_write16(UART1_RBR, val) |
| 851 | #define bfin_read_CAN_MC1() bfin_read16(CAN_MC1) |
| 852 | #define bfin_write_CAN_MC1(val) bfin_write16(CAN_MC1, val) |
| 853 | #define bfin_read_CAN_MD1() bfin_read16(CAN_MD1) |
| 854 | #define bfin_write_CAN_MD1(val) bfin_write16(CAN_MD1, val) |
| 855 | #define bfin_read_CAN_TRS1() bfin_read16(CAN_TRS1) |
| 856 | #define bfin_write_CAN_TRS1(val) bfin_write16(CAN_TRS1, val) |
| 857 | #define bfin_read_CAN_TRR1() bfin_read16(CAN_TRR1) |
| 858 | #define bfin_write_CAN_TRR1(val) bfin_write16(CAN_TRR1, val) |
| 859 | #define bfin_read_CAN_TA1() bfin_read16(CAN_TA1) |
| 860 | #define bfin_write_CAN_TA1(val) bfin_write16(CAN_TA1, val) |
| 861 | #define bfin_read_CAN_AA1() bfin_read16(CAN_AA1) |
| 862 | #define bfin_write_CAN_AA1(val) bfin_write16(CAN_AA1, val) |
| 863 | #define bfin_read_CAN_RMP1() bfin_read16(CAN_RMP1) |
| 864 | #define bfin_write_CAN_RMP1(val) bfin_write16(CAN_RMP1, val) |
| 865 | #define bfin_read_CAN_RML1() bfin_read16(CAN_RML1) |
| 866 | #define bfin_write_CAN_RML1(val) bfin_write16(CAN_RML1, val) |
| 867 | #define bfin_read_CAN_MBTIF1() bfin_read16(CAN_MBTIF1) |
| 868 | #define bfin_write_CAN_MBTIF1(val) bfin_write16(CAN_MBTIF1, val) |
| 869 | #define bfin_read_CAN_MBRIF1() bfin_read16(CAN_MBRIF1) |
| 870 | #define bfin_write_CAN_MBRIF1(val) bfin_write16(CAN_MBRIF1, val) |
| 871 | #define bfin_read_CAN_MBIM1() bfin_read16(CAN_MBIM1) |
| 872 | #define bfin_write_CAN_MBIM1(val) bfin_write16(CAN_MBIM1, val) |
| 873 | #define bfin_read_CAN_RFH1() bfin_read16(CAN_RFH1) |
| 874 | #define bfin_write_CAN_RFH1(val) bfin_write16(CAN_RFH1, val) |
| 875 | #define bfin_read_CAN_OPSS1() bfin_read16(CAN_OPSS1) |
| 876 | #define bfin_write_CAN_OPSS1(val) bfin_write16(CAN_OPSS1, val) |
| 877 | #define bfin_read_CAN_MC2() bfin_read16(CAN_MC2) |
| 878 | #define bfin_write_CAN_MC2(val) bfin_write16(CAN_MC2, val) |
| 879 | #define bfin_read_CAN_MD2() bfin_read16(CAN_MD2) |
| 880 | #define bfin_write_CAN_MD2(val) bfin_write16(CAN_MD2, val) |
| 881 | #define bfin_read_CAN_TRS2() bfin_read16(CAN_TRS2) |
| 882 | #define bfin_write_CAN_TRS2(val) bfin_write16(CAN_TRS2, val) |
| 883 | #define bfin_read_CAN_TRR2() bfin_read16(CAN_TRR2) |
| 884 | #define bfin_write_CAN_TRR2(val) bfin_write16(CAN_TRR2, val) |
| 885 | #define bfin_read_CAN_TA2() bfin_read16(CAN_TA2) |
| 886 | #define bfin_write_CAN_TA2(val) bfin_write16(CAN_TA2, val) |
| 887 | #define bfin_read_CAN_AA2() bfin_read16(CAN_AA2) |
| 888 | #define bfin_write_CAN_AA2(val) bfin_write16(CAN_AA2, val) |
| 889 | #define bfin_read_CAN_RMP2() bfin_read16(CAN_RMP2) |
| 890 | #define bfin_write_CAN_RMP2(val) bfin_write16(CAN_RMP2, val) |
| 891 | #define bfin_read_CAN_RML2() bfin_read16(CAN_RML2) |
| 892 | #define bfin_write_CAN_RML2(val) bfin_write16(CAN_RML2, val) |
| 893 | #define bfin_read_CAN_MBTIF2() bfin_read16(CAN_MBTIF2) |
| 894 | #define bfin_write_CAN_MBTIF2(val) bfin_write16(CAN_MBTIF2, val) |
| 895 | #define bfin_read_CAN_MBRIF2() bfin_read16(CAN_MBRIF2) |
| 896 | #define bfin_write_CAN_MBRIF2(val) bfin_write16(CAN_MBRIF2, val) |
| 897 | #define bfin_read_CAN_MBIM2() bfin_read16(CAN_MBIM2) |
| 898 | #define bfin_write_CAN_MBIM2(val) bfin_write16(CAN_MBIM2, val) |
| 899 | #define bfin_read_CAN_RFH2() bfin_read16(CAN_RFH2) |
| 900 | #define bfin_write_CAN_RFH2(val) bfin_write16(CAN_RFH2, val) |
| 901 | #define bfin_read_CAN_OPSS2() bfin_read16(CAN_OPSS2) |
| 902 | #define bfin_write_CAN_OPSS2(val) bfin_write16(CAN_OPSS2, val) |
| 903 | #define bfin_read_CAN_CLOCK() bfin_read16(CAN_CLOCK) |
| 904 | #define bfin_write_CAN_CLOCK(val) bfin_write16(CAN_CLOCK, val) |
| 905 | #define bfin_read_CAN_TIMING() bfin_read16(CAN_TIMING) |
| 906 | #define bfin_write_CAN_TIMING(val) bfin_write16(CAN_TIMING, val) |
| 907 | #define bfin_read_CAN_DEBUG() bfin_read16(CAN_DEBUG) |
| 908 | #define bfin_write_CAN_DEBUG(val) bfin_write16(CAN_DEBUG, val) |
| 909 | #define bfin_read_CAN_STATUS() bfin_read16(CAN_STATUS) |
| 910 | #define bfin_write_CAN_STATUS(val) bfin_write16(CAN_STATUS, val) |
| 911 | #define bfin_read_CAN_CEC() bfin_read16(CAN_CEC) |
| 912 | #define bfin_write_CAN_CEC(val) bfin_write16(CAN_CEC, val) |
| 913 | #define bfin_read_CAN_GIS() bfin_read16(CAN_GIS) |
| 914 | #define bfin_write_CAN_GIS(val) bfin_write16(CAN_GIS, val) |
| 915 | #define bfin_read_CAN_GIM() bfin_read16(CAN_GIM) |
| 916 | #define bfin_write_CAN_GIM(val) bfin_write16(CAN_GIM, val) |
| 917 | #define bfin_read_CAN_GIF() bfin_read16(CAN_GIF) |
| 918 | #define bfin_write_CAN_GIF(val) bfin_write16(CAN_GIF, val) |
| 919 | #define bfin_read_CAN_CONTROL() bfin_read16(CAN_CONTROL) |
| 920 | #define bfin_write_CAN_CONTROL(val) bfin_write16(CAN_CONTROL, val) |
| 921 | #define bfin_read_CAN_INTR() bfin_read16(CAN_INTR) |
| 922 | #define bfin_write_CAN_INTR(val) bfin_write16(CAN_INTR, val) |
| 923 | #define bfin_read_CAN_VERSION() bfin_read16(CAN_VERSION) |
| 924 | #define bfin_write_CAN_VERSION(val) bfin_write16(CAN_VERSION, val) |
| 925 | #define bfin_read_CAN_MBTD() bfin_read16(CAN_MBTD) |
| 926 | #define bfin_write_CAN_MBTD(val) bfin_write16(CAN_MBTD, val) |
| 927 | #define bfin_read_CAN_EWR() bfin_read16(CAN_EWR) |
| 928 | #define bfin_write_CAN_EWR(val) bfin_write16(CAN_EWR, val) |
| 929 | #define bfin_read_CAN_ESR() bfin_read16(CAN_ESR) |
| 930 | #define bfin_write_CAN_ESR(val) bfin_write16(CAN_ESR, val) |
| 931 | #define bfin_read_CAN_UCREG() bfin_read16(CAN_UCREG) |
| 932 | #define bfin_write_CAN_UCREG(val) bfin_write16(CAN_UCREG, val) |
| 933 | #define bfin_read_CAN_UCCNT() bfin_read16(CAN_UCCNT) |
| 934 | #define bfin_write_CAN_UCCNT(val) bfin_write16(CAN_UCCNT, val) |
| 935 | #define bfin_read_CAN_UCRC() bfin_read16(CAN_UCRC) |
| 936 | #define bfin_write_CAN_UCRC(val) bfin_write16(CAN_UCRC, val) |
| 937 | #define bfin_read_CAN_UCCNF() bfin_read16(CAN_UCCNF) |
| 938 | #define bfin_write_CAN_UCCNF(val) bfin_write16(CAN_UCCNF, val) |
| 939 | #define bfin_read_CAN_VERSION2() bfin_read16(CAN_VERSION2) |
| 940 | #define bfin_write_CAN_VERSION2(val) bfin_write16(CAN_VERSION2, val) |
| 941 | #define bfin_read_CAN_AM00L() bfin_read16(CAN_AM00L) |
| 942 | #define bfin_write_CAN_AM00L(val) bfin_write16(CAN_AM00L, val) |
| 943 | #define bfin_read_CAN_AM00H() bfin_read16(CAN_AM00H) |
| 944 | #define bfin_write_CAN_AM00H(val) bfin_write16(CAN_AM00H, val) |
| 945 | #define bfin_read_CAN_AM01L() bfin_read16(CAN_AM01L) |
| 946 | #define bfin_write_CAN_AM01L(val) bfin_write16(CAN_AM01L, val) |
| 947 | #define bfin_read_CAN_AM01H() bfin_read16(CAN_AM01H) |
| 948 | #define bfin_write_CAN_AM01H(val) bfin_write16(CAN_AM01H, val) |
| 949 | #define bfin_read_CAN_AM02L() bfin_read16(CAN_AM02L) |
| 950 | #define bfin_write_CAN_AM02L(val) bfin_write16(CAN_AM02L, val) |
| 951 | #define bfin_read_CAN_AM02H() bfin_read16(CAN_AM02H) |
| 952 | #define bfin_write_CAN_AM02H(val) bfin_write16(CAN_AM02H, val) |
| 953 | #define bfin_read_CAN_AM03L() bfin_read16(CAN_AM03L) |
| 954 | #define bfin_write_CAN_AM03L(val) bfin_write16(CAN_AM03L, val) |
| 955 | #define bfin_read_CAN_AM03H() bfin_read16(CAN_AM03H) |
| 956 | #define bfin_write_CAN_AM03H(val) bfin_write16(CAN_AM03H, val) |
| 957 | #define bfin_read_CAN_AM04L() bfin_read16(CAN_AM04L) |
| 958 | #define bfin_write_CAN_AM04L(val) bfin_write16(CAN_AM04L, val) |
| 959 | #define bfin_read_CAN_AM04H() bfin_read16(CAN_AM04H) |
| 960 | #define bfin_write_CAN_AM04H(val) bfin_write16(CAN_AM04H, val) |
| 961 | #define bfin_read_CAN_AM05L() bfin_read16(CAN_AM05L) |
| 962 | #define bfin_write_CAN_AM05L(val) bfin_write16(CAN_AM05L, val) |
| 963 | #define bfin_read_CAN_AM05H() bfin_read16(CAN_AM05H) |
| 964 | #define bfin_write_CAN_AM05H(val) bfin_write16(CAN_AM05H, val) |
| 965 | #define bfin_read_CAN_AM06L() bfin_read16(CAN_AM06L) |
| 966 | #define bfin_write_CAN_AM06L(val) bfin_write16(CAN_AM06L, val) |
| 967 | #define bfin_read_CAN_AM06H() bfin_read16(CAN_AM06H) |
| 968 | #define bfin_write_CAN_AM06H(val) bfin_write16(CAN_AM06H, val) |
| 969 | #define bfin_read_CAN_AM07L() bfin_read16(CAN_AM07L) |
| 970 | #define bfin_write_CAN_AM07L(val) bfin_write16(CAN_AM07L, val) |
| 971 | #define bfin_read_CAN_AM07H() bfin_read16(CAN_AM07H) |
| 972 | #define bfin_write_CAN_AM07H(val) bfin_write16(CAN_AM07H, val) |
| 973 | #define bfin_read_CAN_AM08L() bfin_read16(CAN_AM08L) |
| 974 | #define bfin_write_CAN_AM08L(val) bfin_write16(CAN_AM08L, val) |
| 975 | #define bfin_read_CAN_AM08H() bfin_read16(CAN_AM08H) |
| 976 | #define bfin_write_CAN_AM08H(val) bfin_write16(CAN_AM08H, val) |
| 977 | #define bfin_read_CAN_AM09L() bfin_read16(CAN_AM09L) |
| 978 | #define bfin_write_CAN_AM09L(val) bfin_write16(CAN_AM09L, val) |
| 979 | #define bfin_read_CAN_AM09H() bfin_read16(CAN_AM09H) |
| 980 | #define bfin_write_CAN_AM09H(val) bfin_write16(CAN_AM09H, val) |
| 981 | #define bfin_read_CAN_AM10L() bfin_read16(CAN_AM10L) |
| 982 | #define bfin_write_CAN_AM10L(val) bfin_write16(CAN_AM10L, val) |
| 983 | #define bfin_read_CAN_AM10H() bfin_read16(CAN_AM10H) |
| 984 | #define bfin_write_CAN_AM10H(val) bfin_write16(CAN_AM10H, val) |
| 985 | #define bfin_read_CAN_AM11L() bfin_read16(CAN_AM11L) |
| 986 | #define bfin_write_CAN_AM11L(val) bfin_write16(CAN_AM11L, val) |
| 987 | #define bfin_read_CAN_AM11H() bfin_read16(CAN_AM11H) |
| 988 | #define bfin_write_CAN_AM11H(val) bfin_write16(CAN_AM11H, val) |
| 989 | #define bfin_read_CAN_AM12L() bfin_read16(CAN_AM12L) |
| 990 | #define bfin_write_CAN_AM12L(val) bfin_write16(CAN_AM12L, val) |
| 991 | #define bfin_read_CAN_AM12H() bfin_read16(CAN_AM12H) |
| 992 | #define bfin_write_CAN_AM12H(val) bfin_write16(CAN_AM12H, val) |
| 993 | #define bfin_read_CAN_AM13L() bfin_read16(CAN_AM13L) |
| 994 | #define bfin_write_CAN_AM13L(val) bfin_write16(CAN_AM13L, val) |
| 995 | #define bfin_read_CAN_AM13H() bfin_read16(CAN_AM13H) |
| 996 | #define bfin_write_CAN_AM13H(val) bfin_write16(CAN_AM13H, val) |
| 997 | #define bfin_read_CAN_AM14L() bfin_read16(CAN_AM14L) |
| 998 | #define bfin_write_CAN_AM14L(val) bfin_write16(CAN_AM14L, val) |
| 999 | #define bfin_read_CAN_AM14H() bfin_read16(CAN_AM14H) |
| 1000 | #define bfin_write_CAN_AM14H(val) bfin_write16(CAN_AM14H, val) |
| 1001 | #define bfin_read_CAN_AM15L() bfin_read16(CAN_AM15L) |
| 1002 | #define bfin_write_CAN_AM15L(val) bfin_write16(CAN_AM15L, val) |
| 1003 | #define bfin_read_CAN_AM15H() bfin_read16(CAN_AM15H) |
| 1004 | #define bfin_write_CAN_AM15H(val) bfin_write16(CAN_AM15H, val) |
| 1005 | #define bfin_read_CAN_AM16L() bfin_read16(CAN_AM16L) |
| 1006 | #define bfin_write_CAN_AM16L(val) bfin_write16(CAN_AM16L, val) |
| 1007 | #define bfin_read_CAN_AM16H() bfin_read16(CAN_AM16H) |
| 1008 | #define bfin_write_CAN_AM16H(val) bfin_write16(CAN_AM16H, val) |
| 1009 | #define bfin_read_CAN_AM17L() bfin_read16(CAN_AM17L) |
| 1010 | #define bfin_write_CAN_AM17L(val) bfin_write16(CAN_AM17L, val) |
| 1011 | #define bfin_read_CAN_AM17H() bfin_read16(CAN_AM17H) |
| 1012 | #define bfin_write_CAN_AM17H(val) bfin_write16(CAN_AM17H, val) |
| 1013 | #define bfin_read_CAN_AM18L() bfin_read16(CAN_AM18L) |
| 1014 | #define bfin_write_CAN_AM18L(val) bfin_write16(CAN_AM18L, val) |
| 1015 | #define bfin_read_CAN_AM18H() bfin_read16(CAN_AM18H) |
| 1016 | #define bfin_write_CAN_AM18H(val) bfin_write16(CAN_AM18H, val) |
| 1017 | #define bfin_read_CAN_AM19L() bfin_read16(CAN_AM19L) |
| 1018 | #define bfin_write_CAN_AM19L(val) bfin_write16(CAN_AM19L, val) |
| 1019 | #define bfin_read_CAN_AM19H() bfin_read16(CAN_AM19H) |
| 1020 | #define bfin_write_CAN_AM19H(val) bfin_write16(CAN_AM19H, val) |
| 1021 | #define bfin_read_CAN_AM20L() bfin_read16(CAN_AM20L) |
| 1022 | #define bfin_write_CAN_AM20L(val) bfin_write16(CAN_AM20L, val) |
| 1023 | #define bfin_read_CAN_AM20H() bfin_read16(CAN_AM20H) |
| 1024 | #define bfin_write_CAN_AM20H(val) bfin_write16(CAN_AM20H, val) |
| 1025 | #define bfin_read_CAN_AM21L() bfin_read16(CAN_AM21L) |
| 1026 | #define bfin_write_CAN_AM21L(val) bfin_write16(CAN_AM21L, val) |
| 1027 | #define bfin_read_CAN_AM21H() bfin_read16(CAN_AM21H) |
| 1028 | #define bfin_write_CAN_AM21H(val) bfin_write16(CAN_AM21H, val) |
| 1029 | #define bfin_read_CAN_AM22L() bfin_read16(CAN_AM22L) |
| 1030 | #define bfin_write_CAN_AM22L(val) bfin_write16(CAN_AM22L, val) |
| 1031 | #define bfin_read_CAN_AM22H() bfin_read16(CAN_AM22H) |
| 1032 | #define bfin_write_CAN_AM22H(val) bfin_write16(CAN_AM22H, val) |
| 1033 | #define bfin_read_CAN_AM23L() bfin_read16(CAN_AM23L) |
| 1034 | #define bfin_write_CAN_AM23L(val) bfin_write16(CAN_AM23L, val) |
| 1035 | #define bfin_read_CAN_AM23H() bfin_read16(CAN_AM23H) |
| 1036 | #define bfin_write_CAN_AM23H(val) bfin_write16(CAN_AM23H, val) |
| 1037 | #define bfin_read_CAN_AM24L() bfin_read16(CAN_AM24L) |
| 1038 | #define bfin_write_CAN_AM24L(val) bfin_write16(CAN_AM24L, val) |
| 1039 | #define bfin_read_CAN_AM24H() bfin_read16(CAN_AM24H) |
| 1040 | #define bfin_write_CAN_AM24H(val) bfin_write16(CAN_AM24H, val) |
| 1041 | #define bfin_read_CAN_AM25L() bfin_read16(CAN_AM25L) |
| 1042 | #define bfin_write_CAN_AM25L(val) bfin_write16(CAN_AM25L, val) |
| 1043 | #define bfin_read_CAN_AM25H() bfin_read16(CAN_AM25H) |
| 1044 | #define bfin_write_CAN_AM25H(val) bfin_write16(CAN_AM25H, val) |
| 1045 | #define bfin_read_CAN_AM26L() bfin_read16(CAN_AM26L) |
| 1046 | #define bfin_write_CAN_AM26L(val) bfin_write16(CAN_AM26L, val) |
| 1047 | #define bfin_read_CAN_AM26H() bfin_read16(CAN_AM26H) |
| 1048 | #define bfin_write_CAN_AM26H(val) bfin_write16(CAN_AM26H, val) |
| 1049 | #define bfin_read_CAN_AM27L() bfin_read16(CAN_AM27L) |
| 1050 | #define bfin_write_CAN_AM27L(val) bfin_write16(CAN_AM27L, val) |
| 1051 | #define bfin_read_CAN_AM27H() bfin_read16(CAN_AM27H) |
| 1052 | #define bfin_write_CAN_AM27H(val) bfin_write16(CAN_AM27H, val) |
| 1053 | #define bfin_read_CAN_AM28L() bfin_read16(CAN_AM28L) |
| 1054 | #define bfin_write_CAN_AM28L(val) bfin_write16(CAN_AM28L, val) |
| 1055 | #define bfin_read_CAN_AM28H() bfin_read16(CAN_AM28H) |
| 1056 | #define bfin_write_CAN_AM28H(val) bfin_write16(CAN_AM28H, val) |
| 1057 | #define bfin_read_CAN_AM29L() bfin_read16(CAN_AM29L) |
| 1058 | #define bfin_write_CAN_AM29L(val) bfin_write16(CAN_AM29L, val) |
| 1059 | #define bfin_read_CAN_AM29H() bfin_read16(CAN_AM29H) |
| 1060 | #define bfin_write_CAN_AM29H(val) bfin_write16(CAN_AM29H, val) |
| 1061 | #define bfin_read_CAN_AM30L() bfin_read16(CAN_AM30L) |
| 1062 | #define bfin_write_CAN_AM30L(val) bfin_write16(CAN_AM30L, val) |
| 1063 | #define bfin_read_CAN_AM30H() bfin_read16(CAN_AM30H) |
| 1064 | #define bfin_write_CAN_AM30H(val) bfin_write16(CAN_AM30H, val) |
| 1065 | #define bfin_read_CAN_AM31L() bfin_read16(CAN_AM31L) |
| 1066 | #define bfin_write_CAN_AM31L(val) bfin_write16(CAN_AM31L, val) |
| 1067 | #define bfin_read_CAN_AM31H() bfin_read16(CAN_AM31H) |
| 1068 | #define bfin_write_CAN_AM31H(val) bfin_write16(CAN_AM31H, val) |
| 1069 | #define bfin_read_CAN_MB00_DATA0() bfin_read16(CAN_MB00_DATA0) |
| 1070 | #define bfin_write_CAN_MB00_DATA0(val) bfin_write16(CAN_MB00_DATA0, val) |
| 1071 | #define bfin_read_CAN_MB00_DATA1() bfin_read16(CAN_MB00_DATA1) |
| 1072 | #define bfin_write_CAN_MB00_DATA1(val) bfin_write16(CAN_MB00_DATA1, val) |
| 1073 | #define bfin_read_CAN_MB00_DATA2() bfin_read16(CAN_MB00_DATA2) |
| 1074 | #define bfin_write_CAN_MB00_DATA2(val) bfin_write16(CAN_MB00_DATA2, val) |
| 1075 | #define bfin_read_CAN_MB00_DATA3() bfin_read16(CAN_MB00_DATA3) |
| 1076 | #define bfin_write_CAN_MB00_DATA3(val) bfin_write16(CAN_MB00_DATA3, val) |
| 1077 | #define bfin_read_CAN_MB00_LENGTH() bfin_read16(CAN_MB00_LENGTH) |
| 1078 | #define bfin_write_CAN_MB00_LENGTH(val) bfin_write16(CAN_MB00_LENGTH, val) |
| 1079 | #define bfin_read_CAN_MB00_TIMESTAMP() bfin_read16(CAN_MB00_TIMESTAMP) |
| 1080 | #define bfin_write_CAN_MB00_TIMESTAMP(val) bfin_write16(CAN_MB00_TIMESTAMP, val) |
| 1081 | #define bfin_read_CAN_MB00_ID0() bfin_read16(CAN_MB00_ID0) |
| 1082 | #define bfin_write_CAN_MB00_ID0(val) bfin_write16(CAN_MB00_ID0, val) |
| 1083 | #define bfin_read_CAN_MB00_ID1() bfin_read16(CAN_MB00_ID1) |
| 1084 | #define bfin_write_CAN_MB00_ID1(val) bfin_write16(CAN_MB00_ID1, val) |
| 1085 | #define bfin_read_CAN_MB01_DATA0() bfin_read16(CAN_MB01_DATA0) |
| 1086 | #define bfin_write_CAN_MB01_DATA0(val) bfin_write16(CAN_MB01_DATA0, val) |
| 1087 | #define bfin_read_CAN_MB01_DATA1() bfin_read16(CAN_MB01_DATA1) |
| 1088 | #define bfin_write_CAN_MB01_DATA1(val) bfin_write16(CAN_MB01_DATA1, val) |
| 1089 | #define bfin_read_CAN_MB01_DATA2() bfin_read16(CAN_MB01_DATA2) |
| 1090 | #define bfin_write_CAN_MB01_DATA2(val) bfin_write16(CAN_MB01_DATA2, val) |
| 1091 | #define bfin_read_CAN_MB01_DATA3() bfin_read16(CAN_MB01_DATA3) |
| 1092 | #define bfin_write_CAN_MB01_DATA3(val) bfin_write16(CAN_MB01_DATA3, val) |
| 1093 | #define bfin_read_CAN_MB01_LENGTH() bfin_read16(CAN_MB01_LENGTH) |
| 1094 | #define bfin_write_CAN_MB01_LENGTH(val) bfin_write16(CAN_MB01_LENGTH, val) |
| 1095 | #define bfin_read_CAN_MB01_TIMESTAMP() bfin_read16(CAN_MB01_TIMESTAMP) |
| 1096 | #define bfin_write_CAN_MB01_TIMESTAMP(val) bfin_write16(CAN_MB01_TIMESTAMP, val) |
| 1097 | #define bfin_read_CAN_MB01_ID0() bfin_read16(CAN_MB01_ID0) |
| 1098 | #define bfin_write_CAN_MB01_ID0(val) bfin_write16(CAN_MB01_ID0, val) |
| 1099 | #define bfin_read_CAN_MB01_ID1() bfin_read16(CAN_MB01_ID1) |
| 1100 | #define bfin_write_CAN_MB01_ID1(val) bfin_write16(CAN_MB01_ID1, val) |
| 1101 | #define bfin_read_CAN_MB02_DATA0() bfin_read16(CAN_MB02_DATA0) |
| 1102 | #define bfin_write_CAN_MB02_DATA0(val) bfin_write16(CAN_MB02_DATA0, val) |
| 1103 | #define bfin_read_CAN_MB02_DATA1() bfin_read16(CAN_MB02_DATA1) |
| 1104 | #define bfin_write_CAN_MB02_DATA1(val) bfin_write16(CAN_MB02_DATA1, val) |
| 1105 | #define bfin_read_CAN_MB02_DATA2() bfin_read16(CAN_MB02_DATA2) |
| 1106 | #define bfin_write_CAN_MB02_DATA2(val) bfin_write16(CAN_MB02_DATA2, val) |
| 1107 | #define bfin_read_CAN_MB02_DATA3() bfin_read16(CAN_MB02_DATA3) |
| 1108 | #define bfin_write_CAN_MB02_DATA3(val) bfin_write16(CAN_MB02_DATA3, val) |
| 1109 | #define bfin_read_CAN_MB02_LENGTH() bfin_read16(CAN_MB02_LENGTH) |
| 1110 | #define bfin_write_CAN_MB02_LENGTH(val) bfin_write16(CAN_MB02_LENGTH, val) |
| 1111 | #define bfin_read_CAN_MB02_TIMESTAMP() bfin_read16(CAN_MB02_TIMESTAMP) |
| 1112 | #define bfin_write_CAN_MB02_TIMESTAMP(val) bfin_write16(CAN_MB02_TIMESTAMP, val) |
| 1113 | #define bfin_read_CAN_MB02_ID0() bfin_read16(CAN_MB02_ID0) |
| 1114 | #define bfin_write_CAN_MB02_ID0(val) bfin_write16(CAN_MB02_ID0, val) |
| 1115 | #define bfin_read_CAN_MB02_ID1() bfin_read16(CAN_MB02_ID1) |
| 1116 | #define bfin_write_CAN_MB02_ID1(val) bfin_write16(CAN_MB02_ID1, val) |
| 1117 | #define bfin_read_CAN_MB03_DATA0() bfin_read16(CAN_MB03_DATA0) |
| 1118 | #define bfin_write_CAN_MB03_DATA0(val) bfin_write16(CAN_MB03_DATA0, val) |
| 1119 | #define bfin_read_CAN_MB03_DATA1() bfin_read16(CAN_MB03_DATA1) |
| 1120 | #define bfin_write_CAN_MB03_DATA1(val) bfin_write16(CAN_MB03_DATA1, val) |
| 1121 | #define bfin_read_CAN_MB03_DATA2() bfin_read16(CAN_MB03_DATA2) |
| 1122 | #define bfin_write_CAN_MB03_DATA2(val) bfin_write16(CAN_MB03_DATA2, val) |
| 1123 | #define bfin_read_CAN_MB03_DATA3() bfin_read16(CAN_MB03_DATA3) |
| 1124 | #define bfin_write_CAN_MB03_DATA3(val) bfin_write16(CAN_MB03_DATA3, val) |
| 1125 | #define bfin_read_CAN_MB03_LENGTH() bfin_read16(CAN_MB03_LENGTH) |
| 1126 | #define bfin_write_CAN_MB03_LENGTH(val) bfin_write16(CAN_MB03_LENGTH, val) |
| 1127 | #define bfin_read_CAN_MB03_TIMESTAMP() bfin_read16(CAN_MB03_TIMESTAMP) |
| 1128 | #define bfin_write_CAN_MB03_TIMESTAMP(val) bfin_write16(CAN_MB03_TIMESTAMP, val) |
| 1129 | #define bfin_read_CAN_MB03_ID0() bfin_read16(CAN_MB03_ID0) |
| 1130 | #define bfin_write_CAN_MB03_ID0(val) bfin_write16(CAN_MB03_ID0, val) |
| 1131 | #define bfin_read_CAN_MB03_ID1() bfin_read16(CAN_MB03_ID1) |
| 1132 | #define bfin_write_CAN_MB03_ID1(val) bfin_write16(CAN_MB03_ID1, val) |
| 1133 | #define bfin_read_CAN_MB04_DATA0() bfin_read16(CAN_MB04_DATA0) |
| 1134 | #define bfin_write_CAN_MB04_DATA0(val) bfin_write16(CAN_MB04_DATA0, val) |
| 1135 | #define bfin_read_CAN_MB04_DATA1() bfin_read16(CAN_MB04_DATA1) |
| 1136 | #define bfin_write_CAN_MB04_DATA1(val) bfin_write16(CAN_MB04_DATA1, val) |
| 1137 | #define bfin_read_CAN_MB04_DATA2() bfin_read16(CAN_MB04_DATA2) |
| 1138 | #define bfin_write_CAN_MB04_DATA2(val) bfin_write16(CAN_MB04_DATA2, val) |
| 1139 | #define bfin_read_CAN_MB04_DATA3() bfin_read16(CAN_MB04_DATA3) |
| 1140 | #define bfin_write_CAN_MB04_DATA3(val) bfin_write16(CAN_MB04_DATA3, val) |
| 1141 | #define bfin_read_CAN_MB04_LENGTH() bfin_read16(CAN_MB04_LENGTH) |
| 1142 | #define bfin_write_CAN_MB04_LENGTH(val) bfin_write16(CAN_MB04_LENGTH, val) |
| 1143 | #define bfin_read_CAN_MB04_TIMESTAMP() bfin_read16(CAN_MB04_TIMESTAMP) |
| 1144 | #define bfin_write_CAN_MB04_TIMESTAMP(val) bfin_write16(CAN_MB04_TIMESTAMP, val) |
| 1145 | #define bfin_read_CAN_MB04_ID0() bfin_read16(CAN_MB04_ID0) |
| 1146 | #define bfin_write_CAN_MB04_ID0(val) bfin_write16(CAN_MB04_ID0, val) |
| 1147 | #define bfin_read_CAN_MB04_ID1() bfin_read16(CAN_MB04_ID1) |
| 1148 | #define bfin_write_CAN_MB04_ID1(val) bfin_write16(CAN_MB04_ID1, val) |
| 1149 | #define bfin_read_CAN_MB05_DATA0() bfin_read16(CAN_MB05_DATA0) |
| 1150 | #define bfin_write_CAN_MB05_DATA0(val) bfin_write16(CAN_MB05_DATA0, val) |
| 1151 | #define bfin_read_CAN_MB05_DATA1() bfin_read16(CAN_MB05_DATA1) |
| 1152 | #define bfin_write_CAN_MB05_DATA1(val) bfin_write16(CAN_MB05_DATA1, val) |
| 1153 | #define bfin_read_CAN_MB05_DATA2() bfin_read16(CAN_MB05_DATA2) |
| 1154 | #define bfin_write_CAN_MB05_DATA2(val) bfin_write16(CAN_MB05_DATA2, val) |
| 1155 | #define bfin_read_CAN_MB05_DATA3() bfin_read16(CAN_MB05_DATA3) |
| 1156 | #define bfin_write_CAN_MB05_DATA3(val) bfin_write16(CAN_MB05_DATA3, val) |
| 1157 | #define bfin_read_CAN_MB05_LENGTH() bfin_read16(CAN_MB05_LENGTH) |
| 1158 | #define bfin_write_CAN_MB05_LENGTH(val) bfin_write16(CAN_MB05_LENGTH, val) |
| 1159 | #define bfin_read_CAN_MB05_TIMESTAMP() bfin_read16(CAN_MB05_TIMESTAMP) |
| 1160 | #define bfin_write_CAN_MB05_TIMESTAMP(val) bfin_write16(CAN_MB05_TIMESTAMP, val) |
| 1161 | #define bfin_read_CAN_MB05_ID0() bfin_read16(CAN_MB05_ID0) |
| 1162 | #define bfin_write_CAN_MB05_ID0(val) bfin_write16(CAN_MB05_ID0, val) |
| 1163 | #define bfin_read_CAN_MB05_ID1() bfin_read16(CAN_MB05_ID1) |
| 1164 | #define bfin_write_CAN_MB05_ID1(val) bfin_write16(CAN_MB05_ID1, val) |
| 1165 | #define bfin_read_CAN_MB06_DATA0() bfin_read16(CAN_MB06_DATA0) |
| 1166 | #define bfin_write_CAN_MB06_DATA0(val) bfin_write16(CAN_MB06_DATA0, val) |
| 1167 | #define bfin_read_CAN_MB06_DATA1() bfin_read16(CAN_MB06_DATA1) |
| 1168 | #define bfin_write_CAN_MB06_DATA1(val) bfin_write16(CAN_MB06_DATA1, val) |
| 1169 | #define bfin_read_CAN_MB06_DATA2() bfin_read16(CAN_MB06_DATA2) |
| 1170 | #define bfin_write_CAN_MB06_DATA2(val) bfin_write16(CAN_MB06_DATA2, val) |
| 1171 | #define bfin_read_CAN_MB06_DATA3() bfin_read16(CAN_MB06_DATA3) |
| 1172 | #define bfin_write_CAN_MB06_DATA3(val) bfin_write16(CAN_MB06_DATA3, val) |
| 1173 | #define bfin_read_CAN_MB06_LENGTH() bfin_read16(CAN_MB06_LENGTH) |
| 1174 | #define bfin_write_CAN_MB06_LENGTH(val) bfin_write16(CAN_MB06_LENGTH, val) |
| 1175 | #define bfin_read_CAN_MB06_TIMESTAMP() bfin_read16(CAN_MB06_TIMESTAMP) |
| 1176 | #define bfin_write_CAN_MB06_TIMESTAMP(val) bfin_write16(CAN_MB06_TIMESTAMP, val) |
| 1177 | #define bfin_read_CAN_MB06_ID0() bfin_read16(CAN_MB06_ID0) |
| 1178 | #define bfin_write_CAN_MB06_ID0(val) bfin_write16(CAN_MB06_ID0, val) |
| 1179 | #define bfin_read_CAN_MB06_ID1() bfin_read16(CAN_MB06_ID1) |
| 1180 | #define bfin_write_CAN_MB06_ID1(val) bfin_write16(CAN_MB06_ID1, val) |
| 1181 | #define bfin_read_CAN_MB07_DATA0() bfin_read16(CAN_MB07_DATA0) |
| 1182 | #define bfin_write_CAN_MB07_DATA0(val) bfin_write16(CAN_MB07_DATA0, val) |
| 1183 | #define bfin_read_CAN_MB07_DATA1() bfin_read16(CAN_MB07_DATA1) |
| 1184 | #define bfin_write_CAN_MB07_DATA1(val) bfin_write16(CAN_MB07_DATA1, val) |
| 1185 | #define bfin_read_CAN_MB07_DATA2() bfin_read16(CAN_MB07_DATA2) |
| 1186 | #define bfin_write_CAN_MB07_DATA2(val) bfin_write16(CAN_MB07_DATA2, val) |
| 1187 | #define bfin_read_CAN_MB07_DATA3() bfin_read16(CAN_MB07_DATA3) |
| 1188 | #define bfin_write_CAN_MB07_DATA3(val) bfin_write16(CAN_MB07_DATA3, val) |
| 1189 | #define bfin_read_CAN_MB07_LENGTH() bfin_read16(CAN_MB07_LENGTH) |
| 1190 | #define bfin_write_CAN_MB07_LENGTH(val) bfin_write16(CAN_MB07_LENGTH, val) |
| 1191 | #define bfin_read_CAN_MB07_TIMESTAMP() bfin_read16(CAN_MB07_TIMESTAMP) |
| 1192 | #define bfin_write_CAN_MB07_TIMESTAMP(val) bfin_write16(CAN_MB07_TIMESTAMP, val) |
| 1193 | #define bfin_read_CAN_MB07_ID0() bfin_read16(CAN_MB07_ID0) |
| 1194 | #define bfin_write_CAN_MB07_ID0(val) bfin_write16(CAN_MB07_ID0, val) |
| 1195 | #define bfin_read_CAN_MB07_ID1() bfin_read16(CAN_MB07_ID1) |
| 1196 | #define bfin_write_CAN_MB07_ID1(val) bfin_write16(CAN_MB07_ID1, val) |
| 1197 | #define bfin_read_CAN_MB08_DATA0() bfin_read16(CAN_MB08_DATA0) |
| 1198 | #define bfin_write_CAN_MB08_DATA0(val) bfin_write16(CAN_MB08_DATA0, val) |
| 1199 | #define bfin_read_CAN_MB08_DATA1() bfin_read16(CAN_MB08_DATA1) |
| 1200 | #define bfin_write_CAN_MB08_DATA1(val) bfin_write16(CAN_MB08_DATA1, val) |
| 1201 | #define bfin_read_CAN_MB08_DATA2() bfin_read16(CAN_MB08_DATA2) |
| 1202 | #define bfin_write_CAN_MB08_DATA2(val) bfin_write16(CAN_MB08_DATA2, val) |
| 1203 | #define bfin_read_CAN_MB08_DATA3() bfin_read16(CAN_MB08_DATA3) |
| 1204 | #define bfin_write_CAN_MB08_DATA3(val) bfin_write16(CAN_MB08_DATA3, val) |
| 1205 | #define bfin_read_CAN_MB08_LENGTH() bfin_read16(CAN_MB08_LENGTH) |
| 1206 | #define bfin_write_CAN_MB08_LENGTH(val) bfin_write16(CAN_MB08_LENGTH, val) |
| 1207 | #define bfin_read_CAN_MB08_TIMESTAMP() bfin_read16(CAN_MB08_TIMESTAMP) |
| 1208 | #define bfin_write_CAN_MB08_TIMESTAMP(val) bfin_write16(CAN_MB08_TIMESTAMP, val) |
| 1209 | #define bfin_read_CAN_MB08_ID0() bfin_read16(CAN_MB08_ID0) |
| 1210 | #define bfin_write_CAN_MB08_ID0(val) bfin_write16(CAN_MB08_ID0, val) |
| 1211 | #define bfin_read_CAN_MB08_ID1() bfin_read16(CAN_MB08_ID1) |
| 1212 | #define bfin_write_CAN_MB08_ID1(val) bfin_write16(CAN_MB08_ID1, val) |
| 1213 | #define bfin_read_CAN_MB09_DATA0() bfin_read16(CAN_MB09_DATA0) |
| 1214 | #define bfin_write_CAN_MB09_DATA0(val) bfin_write16(CAN_MB09_DATA0, val) |
| 1215 | #define bfin_read_CAN_MB09_DATA1() bfin_read16(CAN_MB09_DATA1) |
| 1216 | #define bfin_write_CAN_MB09_DATA1(val) bfin_write16(CAN_MB09_DATA1, val) |
| 1217 | #define bfin_read_CAN_MB09_DATA2() bfin_read16(CAN_MB09_DATA2) |
| 1218 | #define bfin_write_CAN_MB09_DATA2(val) bfin_write16(CAN_MB09_DATA2, val) |
| 1219 | #define bfin_read_CAN_MB09_DATA3() bfin_read16(CAN_MB09_DATA3) |
| 1220 | #define bfin_write_CAN_MB09_DATA3(val) bfin_write16(CAN_MB09_DATA3, val) |
| 1221 | #define bfin_read_CAN_MB09_LENGTH() bfin_read16(CAN_MB09_LENGTH) |
| 1222 | #define bfin_write_CAN_MB09_LENGTH(val) bfin_write16(CAN_MB09_LENGTH, val) |
| 1223 | #define bfin_read_CAN_MB09_TIMESTAMP() bfin_read16(CAN_MB09_TIMESTAMP) |
| 1224 | #define bfin_write_CAN_MB09_TIMESTAMP(val) bfin_write16(CAN_MB09_TIMESTAMP, val) |
| 1225 | #define bfin_read_CAN_MB09_ID0() bfin_read16(CAN_MB09_ID0) |
| 1226 | #define bfin_write_CAN_MB09_ID0(val) bfin_write16(CAN_MB09_ID0, val) |
| 1227 | #define bfin_read_CAN_MB09_ID1() bfin_read16(CAN_MB09_ID1) |
| 1228 | #define bfin_write_CAN_MB09_ID1(val) bfin_write16(CAN_MB09_ID1, val) |
| 1229 | #define bfin_read_CAN_MB10_DATA0() bfin_read16(CAN_MB10_DATA0) |
| 1230 | #define bfin_write_CAN_MB10_DATA0(val) bfin_write16(CAN_MB10_DATA0, val) |
| 1231 | #define bfin_read_CAN_MB10_DATA1() bfin_read16(CAN_MB10_DATA1) |
| 1232 | #define bfin_write_CAN_MB10_DATA1(val) bfin_write16(CAN_MB10_DATA1, val) |
| 1233 | #define bfin_read_CAN_MB10_DATA2() bfin_read16(CAN_MB10_DATA2) |
| 1234 | #define bfin_write_CAN_MB10_DATA2(val) bfin_write16(CAN_MB10_DATA2, val) |
| 1235 | #define bfin_read_CAN_MB10_DATA3() bfin_read16(CAN_MB10_DATA3) |
| 1236 | #define bfin_write_CAN_MB10_DATA3(val) bfin_write16(CAN_MB10_DATA3, val) |
| 1237 | #define bfin_read_CAN_MB10_LENGTH() bfin_read16(CAN_MB10_LENGTH) |
| 1238 | #define bfin_write_CAN_MB10_LENGTH(val) bfin_write16(CAN_MB10_LENGTH, val) |
| 1239 | #define bfin_read_CAN_MB10_TIMESTAMP() bfin_read16(CAN_MB10_TIMESTAMP) |
| 1240 | #define bfin_write_CAN_MB10_TIMESTAMP(val) bfin_write16(CAN_MB10_TIMESTAMP, val) |
| 1241 | #define bfin_read_CAN_MB10_ID0() bfin_read16(CAN_MB10_ID0) |
| 1242 | #define bfin_write_CAN_MB10_ID0(val) bfin_write16(CAN_MB10_ID0, val) |
| 1243 | #define bfin_read_CAN_MB10_ID1() bfin_read16(CAN_MB10_ID1) |
| 1244 | #define bfin_write_CAN_MB10_ID1(val) bfin_write16(CAN_MB10_ID1, val) |
| 1245 | #define bfin_read_CAN_MB11_DATA0() bfin_read16(CAN_MB11_DATA0) |
| 1246 | #define bfin_write_CAN_MB11_DATA0(val) bfin_write16(CAN_MB11_DATA0, val) |
| 1247 | #define bfin_read_CAN_MB11_DATA1() bfin_read16(CAN_MB11_DATA1) |
| 1248 | #define bfin_write_CAN_MB11_DATA1(val) bfin_write16(CAN_MB11_DATA1, val) |
| 1249 | #define bfin_read_CAN_MB11_DATA2() bfin_read16(CAN_MB11_DATA2) |
| 1250 | #define bfin_write_CAN_MB11_DATA2(val) bfin_write16(CAN_MB11_DATA2, val) |
| 1251 | #define bfin_read_CAN_MB11_DATA3() bfin_read16(CAN_MB11_DATA3) |
| 1252 | #define bfin_write_CAN_MB11_DATA3(val) bfin_write16(CAN_MB11_DATA3, val) |
| 1253 | #define bfin_read_CAN_MB11_LENGTH() bfin_read16(CAN_MB11_LENGTH) |
| 1254 | #define bfin_write_CAN_MB11_LENGTH(val) bfin_write16(CAN_MB11_LENGTH, val) |
| 1255 | #define bfin_read_CAN_MB11_TIMESTAMP() bfin_read16(CAN_MB11_TIMESTAMP) |
| 1256 | #define bfin_write_CAN_MB11_TIMESTAMP(val) bfin_write16(CAN_MB11_TIMESTAMP, val) |
| 1257 | #define bfin_read_CAN_MB11_ID0() bfin_read16(CAN_MB11_ID0) |
| 1258 | #define bfin_write_CAN_MB11_ID0(val) bfin_write16(CAN_MB11_ID0, val) |
| 1259 | #define bfin_read_CAN_MB11_ID1() bfin_read16(CAN_MB11_ID1) |
| 1260 | #define bfin_write_CAN_MB11_ID1(val) bfin_write16(CAN_MB11_ID1, val) |
| 1261 | #define bfin_read_CAN_MB12_DATA0() bfin_read16(CAN_MB12_DATA0) |
| 1262 | #define bfin_write_CAN_MB12_DATA0(val) bfin_write16(CAN_MB12_DATA0, val) |
| 1263 | #define bfin_read_CAN_MB12_DATA1() bfin_read16(CAN_MB12_DATA1) |
| 1264 | #define bfin_write_CAN_MB12_DATA1(val) bfin_write16(CAN_MB12_DATA1, val) |
| 1265 | #define bfin_read_CAN_MB12_DATA2() bfin_read16(CAN_MB12_DATA2) |
| 1266 | #define bfin_write_CAN_MB12_DATA2(val) bfin_write16(CAN_MB12_DATA2, val) |
| 1267 | #define bfin_read_CAN_MB12_DATA3() bfin_read16(CAN_MB12_DATA3) |
| 1268 | #define bfin_write_CAN_MB12_DATA3(val) bfin_write16(CAN_MB12_DATA3, val) |
| 1269 | #define bfin_read_CAN_MB12_LENGTH() bfin_read16(CAN_MB12_LENGTH) |
| 1270 | #define bfin_write_CAN_MB12_LENGTH(val) bfin_write16(CAN_MB12_LENGTH, val) |
| 1271 | #define bfin_read_CAN_MB12_TIMESTAMP() bfin_read16(CAN_MB12_TIMESTAMP) |
| 1272 | #define bfin_write_CAN_MB12_TIMESTAMP(val) bfin_write16(CAN_MB12_TIMESTAMP, val) |
| 1273 | #define bfin_read_CAN_MB12_ID0() bfin_read16(CAN_MB12_ID0) |
| 1274 | #define bfin_write_CAN_MB12_ID0(val) bfin_write16(CAN_MB12_ID0, val) |
| 1275 | #define bfin_read_CAN_MB12_ID1() bfin_read16(CAN_MB12_ID1) |
| 1276 | #define bfin_write_CAN_MB12_ID1(val) bfin_write16(CAN_MB12_ID1, val) |
| 1277 | #define bfin_read_CAN_MB13_DATA0() bfin_read16(CAN_MB13_DATA0) |
| 1278 | #define bfin_write_CAN_MB13_DATA0(val) bfin_write16(CAN_MB13_DATA0, val) |
| 1279 | #define bfin_read_CAN_MB13_DATA1() bfin_read16(CAN_MB13_DATA1) |
| 1280 | #define bfin_write_CAN_MB13_DATA1(val) bfin_write16(CAN_MB13_DATA1, val) |
| 1281 | #define bfin_read_CAN_MB13_DATA2() bfin_read16(CAN_MB13_DATA2) |
| 1282 | #define bfin_write_CAN_MB13_DATA2(val) bfin_write16(CAN_MB13_DATA2, val) |
| 1283 | #define bfin_read_CAN_MB13_DATA3() bfin_read16(CAN_MB13_DATA3) |
| 1284 | #define bfin_write_CAN_MB13_DATA3(val) bfin_write16(CAN_MB13_DATA3, val) |
| 1285 | #define bfin_read_CAN_MB13_LENGTH() bfin_read16(CAN_MB13_LENGTH) |
| 1286 | #define bfin_write_CAN_MB13_LENGTH(val) bfin_write16(CAN_MB13_LENGTH, val) |
| 1287 | #define bfin_read_CAN_MB13_TIMESTAMP() bfin_read16(CAN_MB13_TIMESTAMP) |
| 1288 | #define bfin_write_CAN_MB13_TIMESTAMP(val) bfin_write16(CAN_MB13_TIMESTAMP, val) |
| 1289 | #define bfin_read_CAN_MB13_ID0() bfin_read16(CAN_MB13_ID0) |
| 1290 | #define bfin_write_CAN_MB13_ID0(val) bfin_write16(CAN_MB13_ID0, val) |
| 1291 | #define bfin_read_CAN_MB13_ID1() bfin_read16(CAN_MB13_ID1) |
| 1292 | #define bfin_write_CAN_MB13_ID1(val) bfin_write16(CAN_MB13_ID1, val) |
| 1293 | #define bfin_read_CAN_MB14_DATA0() bfin_read16(CAN_MB14_DATA0) |
| 1294 | #define bfin_write_CAN_MB14_DATA0(val) bfin_write16(CAN_MB14_DATA0, val) |
| 1295 | #define bfin_read_CAN_MB14_DATA1() bfin_read16(CAN_MB14_DATA1) |
| 1296 | #define bfin_write_CAN_MB14_DATA1(val) bfin_write16(CAN_MB14_DATA1, val) |
| 1297 | #define bfin_read_CAN_MB14_DATA2() bfin_read16(CAN_MB14_DATA2) |
| 1298 | #define bfin_write_CAN_MB14_DATA2(val) bfin_write16(CAN_MB14_DATA2, val) |
| 1299 | #define bfin_read_CAN_MB14_DATA3() bfin_read16(CAN_MB14_DATA3) |
| 1300 | #define bfin_write_CAN_MB14_DATA3(val) bfin_write16(CAN_MB14_DATA3, val) |
| 1301 | #define bfin_read_CAN_MB14_LENGTH() bfin_read16(CAN_MB14_LENGTH) |
| 1302 | #define bfin_write_CAN_MB14_LENGTH(val) bfin_write16(CAN_MB14_LENGTH, val) |
| 1303 | #define bfin_read_CAN_MB14_TIMESTAMP() bfin_read16(CAN_MB14_TIMESTAMP) |
| 1304 | #define bfin_write_CAN_MB14_TIMESTAMP(val) bfin_write16(CAN_MB14_TIMESTAMP, val) |
| 1305 | #define bfin_read_CAN_MB14_ID0() bfin_read16(CAN_MB14_ID0) |
| 1306 | #define bfin_write_CAN_MB14_ID0(val) bfin_write16(CAN_MB14_ID0, val) |
| 1307 | #define bfin_read_CAN_MB14_ID1() bfin_read16(CAN_MB14_ID1) |
| 1308 | #define bfin_write_CAN_MB14_ID1(val) bfin_write16(CAN_MB14_ID1, val) |
| 1309 | #define bfin_read_CAN_MB15_DATA0() bfin_read16(CAN_MB15_DATA0) |
| 1310 | #define bfin_write_CAN_MB15_DATA0(val) bfin_write16(CAN_MB15_DATA0, val) |
| 1311 | #define bfin_read_CAN_MB15_DATA1() bfin_read16(CAN_MB15_DATA1) |
| 1312 | #define bfin_write_CAN_MB15_DATA1(val) bfin_write16(CAN_MB15_DATA1, val) |
| 1313 | #define bfin_read_CAN_MB15_DATA2() bfin_read16(CAN_MB15_DATA2) |
| 1314 | #define bfin_write_CAN_MB15_DATA2(val) bfin_write16(CAN_MB15_DATA2, val) |
| 1315 | #define bfin_read_CAN_MB15_DATA3() bfin_read16(CAN_MB15_DATA3) |
| 1316 | #define bfin_write_CAN_MB15_DATA3(val) bfin_write16(CAN_MB15_DATA3, val) |
| 1317 | #define bfin_read_CAN_MB15_LENGTH() bfin_read16(CAN_MB15_LENGTH) |
| 1318 | #define bfin_write_CAN_MB15_LENGTH(val) bfin_write16(CAN_MB15_LENGTH, val) |
| 1319 | #define bfin_read_CAN_MB15_TIMESTAMP() bfin_read16(CAN_MB15_TIMESTAMP) |
| 1320 | #define bfin_write_CAN_MB15_TIMESTAMP(val) bfin_write16(CAN_MB15_TIMESTAMP, val) |
| 1321 | #define bfin_read_CAN_MB15_ID0() bfin_read16(CAN_MB15_ID0) |
| 1322 | #define bfin_write_CAN_MB15_ID0(val) bfin_write16(CAN_MB15_ID0, val) |
| 1323 | #define bfin_read_CAN_MB15_ID1() bfin_read16(CAN_MB15_ID1) |
| 1324 | #define bfin_write_CAN_MB15_ID1(val) bfin_write16(CAN_MB15_ID1, val) |
| 1325 | #define bfin_read_CAN_MB16_DATA0() bfin_read16(CAN_MB16_DATA0) |
| 1326 | #define bfin_write_CAN_MB16_DATA0(val) bfin_write16(CAN_MB16_DATA0, val) |
| 1327 | #define bfin_read_CAN_MB16_DATA1() bfin_read16(CAN_MB16_DATA1) |
| 1328 | #define bfin_write_CAN_MB16_DATA1(val) bfin_write16(CAN_MB16_DATA1, val) |
| 1329 | #define bfin_read_CAN_MB16_DATA2() bfin_read16(CAN_MB16_DATA2) |
| 1330 | #define bfin_write_CAN_MB16_DATA2(val) bfin_write16(CAN_MB16_DATA2, val) |
| 1331 | #define bfin_read_CAN_MB16_DATA3() bfin_read16(CAN_MB16_DATA3) |
| 1332 | #define bfin_write_CAN_MB16_DATA3(val) bfin_write16(CAN_MB16_DATA3, val) |
| 1333 | #define bfin_read_CAN_MB16_LENGTH() bfin_read16(CAN_MB16_LENGTH) |
| 1334 | #define bfin_write_CAN_MB16_LENGTH(val) bfin_write16(CAN_MB16_LENGTH, val) |
| 1335 | #define bfin_read_CAN_MB16_TIMESTAMP() bfin_read16(CAN_MB16_TIMESTAMP) |
| 1336 | #define bfin_write_CAN_MB16_TIMESTAMP(val) bfin_write16(CAN_MB16_TIMESTAMP, val) |
| 1337 | #define bfin_read_CAN_MB16_ID0() bfin_read16(CAN_MB16_ID0) |
| 1338 | #define bfin_write_CAN_MB16_ID0(val) bfin_write16(CAN_MB16_ID0, val) |
| 1339 | #define bfin_read_CAN_MB16_ID1() bfin_read16(CAN_MB16_ID1) |
| 1340 | #define bfin_write_CAN_MB16_ID1(val) bfin_write16(CAN_MB16_ID1, val) |
| 1341 | #define bfin_read_CAN_MB17_DATA0() bfin_read16(CAN_MB17_DATA0) |
| 1342 | #define bfin_write_CAN_MB17_DATA0(val) bfin_write16(CAN_MB17_DATA0, val) |
| 1343 | #define bfin_read_CAN_MB17_DATA1() bfin_read16(CAN_MB17_DATA1) |
| 1344 | #define bfin_write_CAN_MB17_DATA1(val) bfin_write16(CAN_MB17_DATA1, val) |
| 1345 | #define bfin_read_CAN_MB17_DATA2() bfin_read16(CAN_MB17_DATA2) |
| 1346 | #define bfin_write_CAN_MB17_DATA2(val) bfin_write16(CAN_MB17_DATA2, val) |
| 1347 | #define bfin_read_CAN_MB17_DATA3() bfin_read16(CAN_MB17_DATA3) |
| 1348 | #define bfin_write_CAN_MB17_DATA3(val) bfin_write16(CAN_MB17_DATA3, val) |
| 1349 | #define bfin_read_CAN_MB17_LENGTH() bfin_read16(CAN_MB17_LENGTH) |
| 1350 | #define bfin_write_CAN_MB17_LENGTH(val) bfin_write16(CAN_MB17_LENGTH, val) |
| 1351 | #define bfin_read_CAN_MB17_TIMESTAMP() bfin_read16(CAN_MB17_TIMESTAMP) |
| 1352 | #define bfin_write_CAN_MB17_TIMESTAMP(val) bfin_write16(CAN_MB17_TIMESTAMP, val) |
| 1353 | #define bfin_read_CAN_MB17_ID0() bfin_read16(CAN_MB17_ID0) |
| 1354 | #define bfin_write_CAN_MB17_ID0(val) bfin_write16(CAN_MB17_ID0, val) |
| 1355 | #define bfin_read_CAN_MB17_ID1() bfin_read16(CAN_MB17_ID1) |
| 1356 | #define bfin_write_CAN_MB17_ID1(val) bfin_write16(CAN_MB17_ID1, val) |
| 1357 | #define bfin_read_CAN_MB18_DATA0() bfin_read16(CAN_MB18_DATA0) |
| 1358 | #define bfin_write_CAN_MB18_DATA0(val) bfin_write16(CAN_MB18_DATA0, val) |
| 1359 | #define bfin_read_CAN_MB18_DATA1() bfin_read16(CAN_MB18_DATA1) |
| 1360 | #define bfin_write_CAN_MB18_DATA1(val) bfin_write16(CAN_MB18_DATA1, val) |
| 1361 | #define bfin_read_CAN_MB18_DATA2() bfin_read16(CAN_MB18_DATA2) |
| 1362 | #define bfin_write_CAN_MB18_DATA2(val) bfin_write16(CAN_MB18_DATA2, val) |
| 1363 | #define bfin_read_CAN_MB18_DATA3() bfin_read16(CAN_MB18_DATA3) |
| 1364 | #define bfin_write_CAN_MB18_DATA3(val) bfin_write16(CAN_MB18_DATA3, val) |
| 1365 | #define bfin_read_CAN_MB18_LENGTH() bfin_read16(CAN_MB18_LENGTH) |
| 1366 | #define bfin_write_CAN_MB18_LENGTH(val) bfin_write16(CAN_MB18_LENGTH, val) |
| 1367 | #define bfin_read_CAN_MB18_TIMESTAMP() bfin_read16(CAN_MB18_TIMESTAMP) |
| 1368 | #define bfin_write_CAN_MB18_TIMESTAMP(val) bfin_write16(CAN_MB18_TIMESTAMP, val) |
| 1369 | #define bfin_read_CAN_MB18_ID0() bfin_read16(CAN_MB18_ID0) |
| 1370 | #define bfin_write_CAN_MB18_ID0(val) bfin_write16(CAN_MB18_ID0, val) |
| 1371 | #define bfin_read_CAN_MB18_ID1() bfin_read16(CAN_MB18_ID1) |
| 1372 | #define bfin_write_CAN_MB18_ID1(val) bfin_write16(CAN_MB18_ID1, val) |
| 1373 | #define bfin_read_CAN_MB19_DATA0() bfin_read16(CAN_MB19_DATA0) |
| 1374 | #define bfin_write_CAN_MB19_DATA0(val) bfin_write16(CAN_MB19_DATA0, val) |
| 1375 | #define bfin_read_CAN_MB19_DATA1() bfin_read16(CAN_MB19_DATA1) |
| 1376 | #define bfin_write_CAN_MB19_DATA1(val) bfin_write16(CAN_MB19_DATA1, val) |
| 1377 | #define bfin_read_CAN_MB19_DATA2() bfin_read16(CAN_MB19_DATA2) |
| 1378 | #define bfin_write_CAN_MB19_DATA2(val) bfin_write16(CAN_MB19_DATA2, val) |
| 1379 | #define bfin_read_CAN_MB19_DATA3() bfin_read16(CAN_MB19_DATA3) |
| 1380 | #define bfin_write_CAN_MB19_DATA3(val) bfin_write16(CAN_MB19_DATA3, val) |
| 1381 | #define bfin_read_CAN_MB19_LENGTH() bfin_read16(CAN_MB19_LENGTH) |
| 1382 | #define bfin_write_CAN_MB19_LENGTH(val) bfin_write16(CAN_MB19_LENGTH, val) |
| 1383 | #define bfin_read_CAN_MB19_TIMESTAMP() bfin_read16(CAN_MB19_TIMESTAMP) |
| 1384 | #define bfin_write_CAN_MB19_TIMESTAMP(val) bfin_write16(CAN_MB19_TIMESTAMP, val) |
| 1385 | #define bfin_read_CAN_MB19_ID0() bfin_read16(CAN_MB19_ID0) |
| 1386 | #define bfin_write_CAN_MB19_ID0(val) bfin_write16(CAN_MB19_ID0, val) |
| 1387 | #define bfin_read_CAN_MB19_ID1() bfin_read16(CAN_MB19_ID1) |
| 1388 | #define bfin_write_CAN_MB19_ID1(val) bfin_write16(CAN_MB19_ID1, val) |
| 1389 | #define bfin_read_CAN_MB20_DATA0() bfin_read16(CAN_MB20_DATA0) |
| 1390 | #define bfin_write_CAN_MB20_DATA0(val) bfin_write16(CAN_MB20_DATA0, val) |
| 1391 | #define bfin_read_CAN_MB20_DATA1() bfin_read16(CAN_MB20_DATA1) |
| 1392 | #define bfin_write_CAN_MB20_DATA1(val) bfin_write16(CAN_MB20_DATA1, val) |
| 1393 | #define bfin_read_CAN_MB20_DATA2() bfin_read16(CAN_MB20_DATA2) |
| 1394 | #define bfin_write_CAN_MB20_DATA2(val) bfin_write16(CAN_MB20_DATA2, val) |
| 1395 | #define bfin_read_CAN_MB20_DATA3() bfin_read16(CAN_MB20_DATA3) |
| 1396 | #define bfin_write_CAN_MB20_DATA3(val) bfin_write16(CAN_MB20_DATA3, val) |
| 1397 | #define bfin_read_CAN_MB20_LENGTH() bfin_read16(CAN_MB20_LENGTH) |
| 1398 | #define bfin_write_CAN_MB20_LENGTH(val) bfin_write16(CAN_MB20_LENGTH, val) |
| 1399 | #define bfin_read_CAN_MB20_TIMESTAMP() bfin_read16(CAN_MB20_TIMESTAMP) |
| 1400 | #define bfin_write_CAN_MB20_TIMESTAMP(val) bfin_write16(CAN_MB20_TIMESTAMP, val) |
| 1401 | #define bfin_read_CAN_MB20_ID0() bfin_read16(CAN_MB20_ID0) |
| 1402 | #define bfin_write_CAN_MB20_ID0(val) bfin_write16(CAN_MB20_ID0, val) |
| 1403 | #define bfin_read_CAN_MB20_ID1() bfin_read16(CAN_MB20_ID1) |
| 1404 | #define bfin_write_CAN_MB20_ID1(val) bfin_write16(CAN_MB20_ID1, val) |
| 1405 | #define bfin_read_CAN_MB21_DATA0() bfin_read16(CAN_MB21_DATA0) |
| 1406 | #define bfin_write_CAN_MB21_DATA0(val) bfin_write16(CAN_MB21_DATA0, val) |
| 1407 | #define bfin_read_CAN_MB21_DATA1() bfin_read16(CAN_MB21_DATA1) |
| 1408 | #define bfin_write_CAN_MB21_DATA1(val) bfin_write16(CAN_MB21_DATA1, val) |
| 1409 | #define bfin_read_CAN_MB21_DATA2() bfin_read16(CAN_MB21_DATA2) |
| 1410 | #define bfin_write_CAN_MB21_DATA2(val) bfin_write16(CAN_MB21_DATA2, val) |
| 1411 | #define bfin_read_CAN_MB21_DATA3() bfin_read16(CAN_MB21_DATA3) |
| 1412 | #define bfin_write_CAN_MB21_DATA3(val) bfin_write16(CAN_MB21_DATA3, val) |
| 1413 | #define bfin_read_CAN_MB21_LENGTH() bfin_read16(CAN_MB21_LENGTH) |
| 1414 | #define bfin_write_CAN_MB21_LENGTH(val) bfin_write16(CAN_MB21_LENGTH, val) |
| 1415 | #define bfin_read_CAN_MB21_TIMESTAMP() bfin_read16(CAN_MB21_TIMESTAMP) |
| 1416 | #define bfin_write_CAN_MB21_TIMESTAMP(val) bfin_write16(CAN_MB21_TIMESTAMP, val) |
| 1417 | #define bfin_read_CAN_MB21_ID0() bfin_read16(CAN_MB21_ID0) |
| 1418 | #define bfin_write_CAN_MB21_ID0(val) bfin_write16(CAN_MB21_ID0, val) |
| 1419 | #define bfin_read_CAN_MB21_ID1() bfin_read16(CAN_MB21_ID1) |
| 1420 | #define bfin_write_CAN_MB21_ID1(val) bfin_write16(CAN_MB21_ID1, val) |
| 1421 | #define bfin_read_CAN_MB22_DATA0() bfin_read16(CAN_MB22_DATA0) |
| 1422 | #define bfin_write_CAN_MB22_DATA0(val) bfin_write16(CAN_MB22_DATA0, val) |
| 1423 | #define bfin_read_CAN_MB22_DATA1() bfin_read16(CAN_MB22_DATA1) |
| 1424 | #define bfin_write_CAN_MB22_DATA1(val) bfin_write16(CAN_MB22_DATA1, val) |
| 1425 | #define bfin_read_CAN_MB22_DATA2() bfin_read16(CAN_MB22_DATA2) |
| 1426 | #define bfin_write_CAN_MB22_DATA2(val) bfin_write16(CAN_MB22_DATA2, val) |
| 1427 | #define bfin_read_CAN_MB22_DATA3() bfin_read16(CAN_MB22_DATA3) |
| 1428 | #define bfin_write_CAN_MB22_DATA3(val) bfin_write16(CAN_MB22_DATA3, val) |
| 1429 | #define bfin_read_CAN_MB22_LENGTH() bfin_read16(CAN_MB22_LENGTH) |
| 1430 | #define bfin_write_CAN_MB22_LENGTH(val) bfin_write16(CAN_MB22_LENGTH, val) |
| 1431 | #define bfin_read_CAN_MB22_TIMESTAMP() bfin_read16(CAN_MB22_TIMESTAMP) |
| 1432 | #define bfin_write_CAN_MB22_TIMESTAMP(val) bfin_write16(CAN_MB22_TIMESTAMP, val) |
| 1433 | #define bfin_read_CAN_MB22_ID0() bfin_read16(CAN_MB22_ID0) |
| 1434 | #define bfin_write_CAN_MB22_ID0(val) bfin_write16(CAN_MB22_ID0, val) |
| 1435 | #define bfin_read_CAN_MB22_ID1() bfin_read16(CAN_MB22_ID1) |
| 1436 | #define bfin_write_CAN_MB22_ID1(val) bfin_write16(CAN_MB22_ID1, val) |
| 1437 | #define bfin_read_CAN_MB23_DATA0() bfin_read16(CAN_MB23_DATA0) |
| 1438 | #define bfin_write_CAN_MB23_DATA0(val) bfin_write16(CAN_MB23_DATA0, val) |
| 1439 | #define bfin_read_CAN_MB23_DATA1() bfin_read16(CAN_MB23_DATA1) |
| 1440 | #define bfin_write_CAN_MB23_DATA1(val) bfin_write16(CAN_MB23_DATA1, val) |
| 1441 | #define bfin_read_CAN_MB23_DATA2() bfin_read16(CAN_MB23_DATA2) |
| 1442 | #define bfin_write_CAN_MB23_DATA2(val) bfin_write16(CAN_MB23_DATA2, val) |
| 1443 | #define bfin_read_CAN_MB23_DATA3() bfin_read16(CAN_MB23_DATA3) |
| 1444 | #define bfin_write_CAN_MB23_DATA3(val) bfin_write16(CAN_MB23_DATA3, val) |
| 1445 | #define bfin_read_CAN_MB23_LENGTH() bfin_read16(CAN_MB23_LENGTH) |
| 1446 | #define bfin_write_CAN_MB23_LENGTH(val) bfin_write16(CAN_MB23_LENGTH, val) |
| 1447 | #define bfin_read_CAN_MB23_TIMESTAMP() bfin_read16(CAN_MB23_TIMESTAMP) |
| 1448 | #define bfin_write_CAN_MB23_TIMESTAMP(val) bfin_write16(CAN_MB23_TIMESTAMP, val) |
| 1449 | #define bfin_read_CAN_MB23_ID0() bfin_read16(CAN_MB23_ID0) |
| 1450 | #define bfin_write_CAN_MB23_ID0(val) bfin_write16(CAN_MB23_ID0, val) |
| 1451 | #define bfin_read_CAN_MB23_ID1() bfin_read16(CAN_MB23_ID1) |
| 1452 | #define bfin_write_CAN_MB23_ID1(val) bfin_write16(CAN_MB23_ID1, val) |
| 1453 | #define bfin_read_CAN_MB24_DATA0() bfin_read16(CAN_MB24_DATA0) |
| 1454 | #define bfin_write_CAN_MB24_DATA0(val) bfin_write16(CAN_MB24_DATA0, val) |
| 1455 | #define bfin_read_CAN_MB24_DATA1() bfin_read16(CAN_MB24_DATA1) |
| 1456 | #define bfin_write_CAN_MB24_DATA1(val) bfin_write16(CAN_MB24_DATA1, val) |
| 1457 | #define bfin_read_CAN_MB24_DATA2() bfin_read16(CAN_MB24_DATA2) |
| 1458 | #define bfin_write_CAN_MB24_DATA2(val) bfin_write16(CAN_MB24_DATA2, val) |
| 1459 | #define bfin_read_CAN_MB24_DATA3() bfin_read16(CAN_MB24_DATA3) |
| 1460 | #define bfin_write_CAN_MB24_DATA3(val) bfin_write16(CAN_MB24_DATA3, val) |
| 1461 | #define bfin_read_CAN_MB24_LENGTH() bfin_read16(CAN_MB24_LENGTH) |
| 1462 | #define bfin_write_CAN_MB24_LENGTH(val) bfin_write16(CAN_MB24_LENGTH, val) |
| 1463 | #define bfin_read_CAN_MB24_TIMESTAMP() bfin_read16(CAN_MB24_TIMESTAMP) |
| 1464 | #define bfin_write_CAN_MB24_TIMESTAMP(val) bfin_write16(CAN_MB24_TIMESTAMP, val) |
| 1465 | #define bfin_read_CAN_MB24_ID0() bfin_read16(CAN_MB24_ID0) |
| 1466 | #define bfin_write_CAN_MB24_ID0(val) bfin_write16(CAN_MB24_ID0, val) |
| 1467 | #define bfin_read_CAN_MB24_ID1() bfin_read16(CAN_MB24_ID1) |
| 1468 | #define bfin_write_CAN_MB24_ID1(val) bfin_write16(CAN_MB24_ID1, val) |
| 1469 | #define bfin_read_CAN_MB25_DATA0() bfin_read16(CAN_MB25_DATA0) |
| 1470 | #define bfin_write_CAN_MB25_DATA0(val) bfin_write16(CAN_MB25_DATA0, val) |
| 1471 | #define bfin_read_CAN_MB25_DATA1() bfin_read16(CAN_MB25_DATA1) |
| 1472 | #define bfin_write_CAN_MB25_DATA1(val) bfin_write16(CAN_MB25_DATA1, val) |
| 1473 | #define bfin_read_CAN_MB25_DATA2() bfin_read16(CAN_MB25_DATA2) |
| 1474 | #define bfin_write_CAN_MB25_DATA2(val) bfin_write16(CAN_MB25_DATA2, val) |
| 1475 | #define bfin_read_CAN_MB25_DATA3() bfin_read16(CAN_MB25_DATA3) |
| 1476 | #define bfin_write_CAN_MB25_DATA3(val) bfin_write16(CAN_MB25_DATA3, val) |
| 1477 | #define bfin_read_CAN_MB25_LENGTH() bfin_read16(CAN_MB25_LENGTH) |
| 1478 | #define bfin_write_CAN_MB25_LENGTH(val) bfin_write16(CAN_MB25_LENGTH, val) |
| 1479 | #define bfin_read_CAN_MB25_TIMESTAMP() bfin_read16(CAN_MB25_TIMESTAMP) |
| 1480 | #define bfin_write_CAN_MB25_TIMESTAMP(val) bfin_write16(CAN_MB25_TIMESTAMP, val) |
| 1481 | #define bfin_read_CAN_MB25_ID0() bfin_read16(CAN_MB25_ID0) |
| 1482 | #define bfin_write_CAN_MB25_ID0(val) bfin_write16(CAN_MB25_ID0, val) |
| 1483 | #define bfin_read_CAN_MB25_ID1() bfin_read16(CAN_MB25_ID1) |
| 1484 | #define bfin_write_CAN_MB25_ID1(val) bfin_write16(CAN_MB25_ID1, val) |
| 1485 | #define bfin_read_CAN_MB26_DATA0() bfin_read16(CAN_MB26_DATA0) |
| 1486 | #define bfin_write_CAN_MB26_DATA0(val) bfin_write16(CAN_MB26_DATA0, val) |
| 1487 | #define bfin_read_CAN_MB26_DATA1() bfin_read16(CAN_MB26_DATA1) |
| 1488 | #define bfin_write_CAN_MB26_DATA1(val) bfin_write16(CAN_MB26_DATA1, val) |
| 1489 | #define bfin_read_CAN_MB26_DATA2() bfin_read16(CAN_MB26_DATA2) |
| 1490 | #define bfin_write_CAN_MB26_DATA2(val) bfin_write16(CAN_MB26_DATA2, val) |
| 1491 | #define bfin_read_CAN_MB26_DATA3() bfin_read16(CAN_MB26_DATA3) |
| 1492 | #define bfin_write_CAN_MB26_DATA3(val) bfin_write16(CAN_MB26_DATA3, val) |
| 1493 | #define bfin_read_CAN_MB26_LENGTH() bfin_read16(CAN_MB26_LENGTH) |
| 1494 | #define bfin_write_CAN_MB26_LENGTH(val) bfin_write16(CAN_MB26_LENGTH, val) |
| 1495 | #define bfin_read_CAN_MB26_TIMESTAMP() bfin_read16(CAN_MB26_TIMESTAMP) |
| 1496 | #define bfin_write_CAN_MB26_TIMESTAMP(val) bfin_write16(CAN_MB26_TIMESTAMP, val) |
| 1497 | #define bfin_read_CAN_MB26_ID0() bfin_read16(CAN_MB26_ID0) |
| 1498 | #define bfin_write_CAN_MB26_ID0(val) bfin_write16(CAN_MB26_ID0, val) |
| 1499 | #define bfin_read_CAN_MB26_ID1() bfin_read16(CAN_MB26_ID1) |
| 1500 | #define bfin_write_CAN_MB26_ID1(val) bfin_write16(CAN_MB26_ID1, val) |
| 1501 | #define bfin_read_CAN_MB27_DATA0() bfin_read16(CAN_MB27_DATA0) |
| 1502 | #define bfin_write_CAN_MB27_DATA0(val) bfin_write16(CAN_MB27_DATA0, val) |
| 1503 | #define bfin_read_CAN_MB27_DATA1() bfin_read16(CAN_MB27_DATA1) |
| 1504 | #define bfin_write_CAN_MB27_DATA1(val) bfin_write16(CAN_MB27_DATA1, val) |
| 1505 | #define bfin_read_CAN_MB27_DATA2() bfin_read16(CAN_MB27_DATA2) |
| 1506 | #define bfin_write_CAN_MB27_DATA2(val) bfin_write16(CAN_MB27_DATA2, val) |
| 1507 | #define bfin_read_CAN_MB27_DATA3() bfin_read16(CAN_MB27_DATA3) |
| 1508 | #define bfin_write_CAN_MB27_DATA3(val) bfin_write16(CAN_MB27_DATA3, val) |
| 1509 | #define bfin_read_CAN_MB27_LENGTH() bfin_read16(CAN_MB27_LENGTH) |
| 1510 | #define bfin_write_CAN_MB27_LENGTH(val) bfin_write16(CAN_MB27_LENGTH, val) |
| 1511 | #define bfin_read_CAN_MB27_TIMESTAMP() bfin_read16(CAN_MB27_TIMESTAMP) |
| 1512 | #define bfin_write_CAN_MB27_TIMESTAMP(val) bfin_write16(CAN_MB27_TIMESTAMP, val) |
| 1513 | #define bfin_read_CAN_MB27_ID0() bfin_read16(CAN_MB27_ID0) |
| 1514 | #define bfin_write_CAN_MB27_ID0(val) bfin_write16(CAN_MB27_ID0, val) |
| 1515 | #define bfin_read_CAN_MB27_ID1() bfin_read16(CAN_MB27_ID1) |
| 1516 | #define bfin_write_CAN_MB27_ID1(val) bfin_write16(CAN_MB27_ID1, val) |
| 1517 | #define bfin_read_CAN_MB28_DATA0() bfin_read16(CAN_MB28_DATA0) |
| 1518 | #define bfin_write_CAN_MB28_DATA0(val) bfin_write16(CAN_MB28_DATA0, val) |
| 1519 | #define bfin_read_CAN_MB28_DATA1() bfin_read16(CAN_MB28_DATA1) |
| 1520 | #define bfin_write_CAN_MB28_DATA1(val) bfin_write16(CAN_MB28_DATA1, val) |
| 1521 | #define bfin_read_CAN_MB28_DATA2() bfin_read16(CAN_MB28_DATA2) |
| 1522 | #define bfin_write_CAN_MB28_DATA2(val) bfin_write16(CAN_MB28_DATA2, val) |
| 1523 | #define bfin_read_CAN_MB28_DATA3() bfin_read16(CAN_MB28_DATA3) |
| 1524 | #define bfin_write_CAN_MB28_DATA3(val) bfin_write16(CAN_MB28_DATA3, val) |
| 1525 | #define bfin_read_CAN_MB28_LENGTH() bfin_read16(CAN_MB28_LENGTH) |
| 1526 | #define bfin_write_CAN_MB28_LENGTH(val) bfin_write16(CAN_MB28_LENGTH, val) |
| 1527 | #define bfin_read_CAN_MB28_TIMESTAMP() bfin_read16(CAN_MB28_TIMESTAMP) |
| 1528 | #define bfin_write_CAN_MB28_TIMESTAMP(val) bfin_write16(CAN_MB28_TIMESTAMP, val) |
| 1529 | #define bfin_read_CAN_MB28_ID0() bfin_read16(CAN_MB28_ID0) |
| 1530 | #define bfin_write_CAN_MB28_ID0(val) bfin_write16(CAN_MB28_ID0, val) |
| 1531 | #define bfin_read_CAN_MB28_ID1() bfin_read16(CAN_MB28_ID1) |
| 1532 | #define bfin_write_CAN_MB28_ID1(val) bfin_write16(CAN_MB28_ID1, val) |
| 1533 | #define bfin_read_CAN_MB29_DATA0() bfin_read16(CAN_MB29_DATA0) |
| 1534 | #define bfin_write_CAN_MB29_DATA0(val) bfin_write16(CAN_MB29_DATA0, val) |
| 1535 | #define bfin_read_CAN_MB29_DATA1() bfin_read16(CAN_MB29_DATA1) |
| 1536 | #define bfin_write_CAN_MB29_DATA1(val) bfin_write16(CAN_MB29_DATA1, val) |
| 1537 | #define bfin_read_CAN_MB29_DATA2() bfin_read16(CAN_MB29_DATA2) |
| 1538 | #define bfin_write_CAN_MB29_DATA2(val) bfin_write16(CAN_MB29_DATA2, val) |
| 1539 | #define bfin_read_CAN_MB29_DATA3() bfin_read16(CAN_MB29_DATA3) |
| 1540 | #define bfin_write_CAN_MB29_DATA3(val) bfin_write16(CAN_MB29_DATA3, val) |
| 1541 | #define bfin_read_CAN_MB29_LENGTH() bfin_read16(CAN_MB29_LENGTH) |
| 1542 | #define bfin_write_CAN_MB29_LENGTH(val) bfin_write16(CAN_MB29_LENGTH, val) |
| 1543 | #define bfin_read_CAN_MB29_TIMESTAMP() bfin_read16(CAN_MB29_TIMESTAMP) |
| 1544 | #define bfin_write_CAN_MB29_TIMESTAMP(val) bfin_write16(CAN_MB29_TIMESTAMP, val) |
| 1545 | #define bfin_read_CAN_MB29_ID0() bfin_read16(CAN_MB29_ID0) |
| 1546 | #define bfin_write_CAN_MB29_ID0(val) bfin_write16(CAN_MB29_ID0, val) |
| 1547 | #define bfin_read_CAN_MB29_ID1() bfin_read16(CAN_MB29_ID1) |
| 1548 | #define bfin_write_CAN_MB29_ID1(val) bfin_write16(CAN_MB29_ID1, val) |
| 1549 | #define bfin_read_CAN_MB30_DATA0() bfin_read16(CAN_MB30_DATA0) |
| 1550 | #define bfin_write_CAN_MB30_DATA0(val) bfin_write16(CAN_MB30_DATA0, val) |
| 1551 | #define bfin_read_CAN_MB30_DATA1() bfin_read16(CAN_MB30_DATA1) |
| 1552 | #define bfin_write_CAN_MB30_DATA1(val) bfin_write16(CAN_MB30_DATA1, val) |
| 1553 | #define bfin_read_CAN_MB30_DATA2() bfin_read16(CAN_MB30_DATA2) |
| 1554 | #define bfin_write_CAN_MB30_DATA2(val) bfin_write16(CAN_MB30_DATA2, val) |
| 1555 | #define bfin_read_CAN_MB30_DATA3() bfin_read16(CAN_MB30_DATA3) |
| 1556 | #define bfin_write_CAN_MB30_DATA3(val) bfin_write16(CAN_MB30_DATA3, val) |
| 1557 | #define bfin_read_CAN_MB30_LENGTH() bfin_read16(CAN_MB30_LENGTH) |
| 1558 | #define bfin_write_CAN_MB30_LENGTH(val) bfin_write16(CAN_MB30_LENGTH, val) |
| 1559 | #define bfin_read_CAN_MB30_TIMESTAMP() bfin_read16(CAN_MB30_TIMESTAMP) |
| 1560 | #define bfin_write_CAN_MB30_TIMESTAMP(val) bfin_write16(CAN_MB30_TIMESTAMP, val) |
| 1561 | #define bfin_read_CAN_MB30_ID0() bfin_read16(CAN_MB30_ID0) |
| 1562 | #define bfin_write_CAN_MB30_ID0(val) bfin_write16(CAN_MB30_ID0, val) |
| 1563 | #define bfin_read_CAN_MB30_ID1() bfin_read16(CAN_MB30_ID1) |
| 1564 | #define bfin_write_CAN_MB30_ID1(val) bfin_write16(CAN_MB30_ID1, val) |
| 1565 | #define bfin_read_CAN_MB31_DATA0() bfin_read16(CAN_MB31_DATA0) |
| 1566 | #define bfin_write_CAN_MB31_DATA0(val) bfin_write16(CAN_MB31_DATA0, val) |
| 1567 | #define bfin_read_CAN_MB31_DATA1() bfin_read16(CAN_MB31_DATA1) |
| 1568 | #define bfin_write_CAN_MB31_DATA1(val) bfin_write16(CAN_MB31_DATA1, val) |
| 1569 | #define bfin_read_CAN_MB31_DATA2() bfin_read16(CAN_MB31_DATA2) |
| 1570 | #define bfin_write_CAN_MB31_DATA2(val) bfin_write16(CAN_MB31_DATA2, val) |
| 1571 | #define bfin_read_CAN_MB31_DATA3() bfin_read16(CAN_MB31_DATA3) |
| 1572 | #define bfin_write_CAN_MB31_DATA3(val) bfin_write16(CAN_MB31_DATA3, val) |
| 1573 | #define bfin_read_CAN_MB31_LENGTH() bfin_read16(CAN_MB31_LENGTH) |
| 1574 | #define bfin_write_CAN_MB31_LENGTH(val) bfin_write16(CAN_MB31_LENGTH, val) |
| 1575 | #define bfin_read_CAN_MB31_TIMESTAMP() bfin_read16(CAN_MB31_TIMESTAMP) |
| 1576 | #define bfin_write_CAN_MB31_TIMESTAMP(val) bfin_write16(CAN_MB31_TIMESTAMP, val) |
| 1577 | #define bfin_read_CAN_MB31_ID0() bfin_read16(CAN_MB31_ID0) |
| 1578 | #define bfin_write_CAN_MB31_ID0(val) bfin_write16(CAN_MB31_ID0, val) |
| 1579 | #define bfin_read_CAN_MB31_ID1() bfin_read16(CAN_MB31_ID1) |
| 1580 | #define bfin_write_CAN_MB31_ID1(val) bfin_write16(CAN_MB31_ID1, val) |
| 1581 | #define bfin_read_PWM1_CTRL() bfin_read16(PWM1_CTRL) |
| 1582 | #define bfin_write_PWM1_CTRL(val) bfin_write16(PWM1_CTRL, val) |
| 1583 | #define bfin_read_PWM1_STAT() bfin_read16(PWM1_STAT) |
| 1584 | #define bfin_write_PWM1_STAT(val) bfin_write16(PWM1_STAT, val) |
| 1585 | #define bfin_read_PWM1_TM() bfin_read16(PWM1_TM) |
| 1586 | #define bfin_write_PWM1_TM(val) bfin_write16(PWM1_TM, val) |
| 1587 | #define bfin_read_PWM1_DT() bfin_read16(PWM1_DT) |
| 1588 | #define bfin_write_PWM1_DT(val) bfin_write16(PWM1_DT, val) |
| 1589 | #define bfin_read_PWM1_GATE() bfin_read16(PWM1_GATE) |
| 1590 | #define bfin_write_PWM1_GATE(val) bfin_write16(PWM1_GATE, val) |
| 1591 | #define bfin_read_PWM1_CHA() bfin_read16(PWM1_CHA) |
| 1592 | #define bfin_write_PWM1_CHA(val) bfin_write16(PWM1_CHA, val) |
| 1593 | #define bfin_read_PWM1_CHB() bfin_read16(PWM1_CHB) |
| 1594 | #define bfin_write_PWM1_CHB(val) bfin_write16(PWM1_CHB, val) |
| 1595 | #define bfin_read_PWM1_CHC() bfin_read16(PWM1_CHC) |
| 1596 | #define bfin_write_PWM1_CHC(val) bfin_write16(PWM1_CHC, val) |
| 1597 | #define bfin_read_PWM1_SEG() bfin_read16(PWM1_SEG) |
| 1598 | #define bfin_write_PWM1_SEG(val) bfin_write16(PWM1_SEG, val) |
| 1599 | #define bfin_read_PWM1_SYNCWT() bfin_read16(PWM1_SYNCWT) |
| 1600 | #define bfin_write_PWM1_SYNCWT(val) bfin_write16(PWM1_SYNCWT, val) |
| 1601 | #define bfin_read_PWM1_CHAL() bfin_read16(PWM1_CHAL) |
| 1602 | #define bfin_write_PWM1_CHAL(val) bfin_write16(PWM1_CHAL, val) |
| 1603 | #define bfin_read_PWM1_CHBL() bfin_read16(PWM1_CHBL) |
| 1604 | #define bfin_write_PWM1_CHBL(val) bfin_write16(PWM1_CHBL, val) |
| 1605 | #define bfin_read_PWM1_CHCL() bfin_read16(PWM1_CHCL) |
| 1606 | #define bfin_write_PWM1_CHCL(val) bfin_write16(PWM1_CHCL, val) |
| 1607 | #define bfin_read_PWM1_LSI() bfin_read16(PWM1_LSI) |
| 1608 | #define bfin_write_PWM1_LSI(val) bfin_write16(PWM1_LSI, val) |
| 1609 | #define bfin_read_PWM1_STAT2() bfin_read16(PWM1_STAT2) |
| 1610 | #define bfin_write_PWM1_STAT2(val) bfin_write16(PWM1_STAT2, val) |
| 1611 | #define bfin_read_PORTF_FER() bfin_read16(PORTF_FER) |
| 1612 | #define bfin_write_PORTF_FER(val) bfin_write16(PORTF_FER, val) |
| 1613 | #define bfin_read_PORTG_FER() bfin_read16(PORTG_FER) |
| 1614 | #define bfin_write_PORTG_FER(val) bfin_write16(PORTG_FER, val) |
| 1615 | #define bfin_read_PORTH_FER() bfin_read16(PORTH_FER) |
| 1616 | #define bfin_write_PORTH_FER(val) bfin_write16(PORTH_FER, val) |
| 1617 | #define bfin_read_PORTF_MUX() bfin_read16(PORTF_MUX) |
| 1618 | #define bfin_write_PORTF_MUX(val) bfin_write16(PORTF_MUX, val) |
| 1619 | #define bfin_read_PORTG_MUX() bfin_read16(PORTG_MUX) |
| 1620 | #define bfin_write_PORTG_MUX(val) bfin_write16(PORTG_MUX, val) |
| 1621 | #define bfin_read_PORTH_MUX() bfin_read16(PORTH_MUX) |
| 1622 | #define bfin_write_PORTH_MUX(val) bfin_write16(PORTH_MUX, val) |
| 1623 | #define bfin_read_PORTF_DRIVE() bfin_read16(PORTF_DRIVE) |
| 1624 | #define bfin_write_PORTF_DRIVE(val) bfin_write16(PORTF_DRIVE, val) |
| 1625 | #define bfin_read_PORTG_DRIVE() bfin_read16(PORTG_DRIVE) |
| 1626 | #define bfin_write_PORTG_DRIVE(val) bfin_write16(PORTG_DRIVE, val) |
| 1627 | #define bfin_read_PORTH_DRIVE() bfin_read16(PORTH_DRIVE) |
| 1628 | #define bfin_write_PORTH_DRIVE(val) bfin_write16(PORTH_DRIVE, val) |
| 1629 | #define bfin_read_PORTF_HYSTERESIS() bfin_read16(PORTF_HYSTERESIS) |
| 1630 | #define bfin_write_PORTF_HYSTERESIS(val) bfin_write16(PORTF_HYSTERESIS, val) |
| 1631 | #define bfin_read_PORTG_HYSTERESIS() bfin_read16(PORTG_HYSTERESIS) |
| 1632 | #define bfin_write_PORTG_HYSTERESIS(val) bfin_write16(PORTG_HYSTERESIS, val) |
| 1633 | #define bfin_read_PORTH_HYSTERESIS() bfin_read16(PORTH_HYSTERESIS) |
| 1634 | #define bfin_write_PORTH_HYSTERESIS(val) bfin_write16(PORTH_HYSTERESIS, val) |
| 1635 | #define bfin_read_NONGPIO_DRIVE() bfin_read16(NONGPIO_DRIVE) |
| 1636 | #define bfin_write_NONGPIO_DRIVE(val) bfin_write16(NONGPIO_DRIVE, val) |
| 1637 | #define bfin_read_NONGPIO_HYSTERESIS() bfin_read16(NONGPIO_HYSTERESIS) |
| 1638 | #define bfin_write_NONGPIO_HYSTERESIS(val) bfin_write16(NONGPIO_HYSTERESIS, val) |
| 1639 | #define bfin_read_FLASH_CONTROL() bfin_read16(FLASH_CONTROL) |
| 1640 | #define bfin_write_FLASH_CONTROL(val) bfin_write16(FLASH_CONTROL, val) |
| 1641 | #define bfin_read_FLASH_CONTROL_SET() bfin_read16(FLASH_CONTROL_SET) |
| 1642 | #define bfin_write_FLASH_CONTROL_SET(val) bfin_write16(FLASH_CONTROL_SET, val) |
| 1643 | #define bfin_read_FLASH_CONTROL_CLEAR() bfin_read16(FLASH_CONTROL_CLEAR) |
| 1644 | #define bfin_write_FLASH_CONTROL_CLEAR(val) bfin_write16(FLASH_CONTROL_CLEAR, val) |
| 1645 | #define bfin_read_CNT1_CONFIG() bfin_read16(CNT1_CONFIG) |
| 1646 | #define bfin_write_CNT1_CONFIG(val) bfin_write16(CNT1_CONFIG, val) |
| 1647 | #define bfin_read_CNT1_IMASK() bfin_read16(CNT1_IMASK) |
| 1648 | #define bfin_write_CNT1_IMASK(val) bfin_write16(CNT1_IMASK, val) |
| 1649 | #define bfin_read_CNT1_STATUS() bfin_read16(CNT1_STATUS) |
| 1650 | #define bfin_write_CNT1_STATUS(val) bfin_write16(CNT1_STATUS, val) |
| 1651 | #define bfin_read_CNT1_COMMAND() bfin_read16(CNT1_COMMAND) |
| 1652 | #define bfin_write_CNT1_COMMAND(val) bfin_write16(CNT1_COMMAND, val) |
| 1653 | #define bfin_read_CNT1_DEBOUNCE() bfin_read16(CNT1_DEBOUNCE) |
| 1654 | #define bfin_write_CNT1_DEBOUNCE(val) bfin_write16(CNT1_DEBOUNCE, val) |
| 1655 | #define bfin_read_CNT1_COUNTER() bfin_read32(CNT1_COUNTER) |
| 1656 | #define bfin_write_CNT1_COUNTER(val) bfin_write32(CNT1_COUNTER, val) |
| 1657 | #define bfin_read_CNT1_MAX() bfin_read32(CNT1_MAX) |
| 1658 | #define bfin_write_CNT1_MAX(val) bfin_write32(CNT1_MAX, val) |
| 1659 | #define bfin_read_CNT1_MIN() bfin_read32(CNT1_MIN) |
| 1660 | #define bfin_write_CNT1_MIN(val) bfin_write32(CNT1_MIN, val) |
| 1661 | #define bfin_read_SPI1_CTL() bfin_read16(SPI1_CTL) |
| 1662 | #define bfin_write_SPI1_CTL(val) bfin_write16(SPI1_CTL, val) |
| 1663 | #define bfin_read_SPI1_FLG() bfin_read16(SPI1_FLG) |
| 1664 | #define bfin_write_SPI1_FLG(val) bfin_write16(SPI1_FLG, val) |
| 1665 | #define bfin_read_SPI1_STAT() bfin_read16(SPI1_STAT) |
| 1666 | #define bfin_write_SPI1_STAT(val) bfin_write16(SPI1_STAT, val) |
| 1667 | #define bfin_read_SPI1_TDBR() bfin_read16(SPI1_TDBR) |
| 1668 | #define bfin_write_SPI1_TDBR(val) bfin_write16(SPI1_TDBR, val) |
| 1669 | #define bfin_read_SPI1_RDBR() bfin_read16(SPI1_RDBR) |
| 1670 | #define bfin_write_SPI1_RDBR(val) bfin_write16(SPI1_RDBR, val) |
| 1671 | #define bfin_read_SPI1_BAUD() bfin_read16(SPI1_BAUD) |
| 1672 | #define bfin_write_SPI1_BAUD(val) bfin_write16(SPI1_BAUD, val) |
| 1673 | #define bfin_read_SPI1_SHADOW() bfin_read16(SPI1_SHADOW) |
| 1674 | #define bfin_write_SPI1_SHADOW(val) bfin_write16(SPI1_SHADOW, val) |
| 1675 | #define bfin_read_CNT0_CONFIG() bfin_read16(CNT0_CONFIG) |
| 1676 | #define bfin_write_CNT0_CONFIG(val) bfin_write16(CNT0_CONFIG, val) |
| 1677 | #define bfin_read_CNT0_IMASK() bfin_read16(CNT0_IMASK) |
| 1678 | #define bfin_write_CNT0_IMASK(val) bfin_write16(CNT0_IMASK, val) |
| 1679 | #define bfin_read_CNT0_STATUS() bfin_read16(CNT0_STATUS) |
| 1680 | #define bfin_write_CNT0_STATUS(val) bfin_write16(CNT0_STATUS, val) |
| 1681 | #define bfin_read_CNT0_COMMAND() bfin_read16(CNT0_COMMAND) |
| 1682 | #define bfin_write_CNT0_COMMAND(val) bfin_write16(CNT0_COMMAND, val) |
| 1683 | #define bfin_read_CNT0_DEBOUNCE() bfin_read16(CNT0_DEBOUNCE) |
| 1684 | #define bfin_write_CNT0_DEBOUNCE(val) bfin_write16(CNT0_DEBOUNCE, val) |
| 1685 | #define bfin_read_CNT0_COUNTER() bfin_read32(CNT0_COUNTER) |
| 1686 | #define bfin_write_CNT0_COUNTER(val) bfin_write32(CNT0_COUNTER, val) |
| 1687 | #define bfin_read_CNT0_MAX() bfin_read32(CNT0_MAX) |
| 1688 | #define bfin_write_CNT0_MAX(val) bfin_write32(CNT0_MAX, val) |
| 1689 | #define bfin_read_CNT0_MIN() bfin_read32(CNT0_MIN) |
| 1690 | #define bfin_write_CNT0_MIN(val) bfin_write32(CNT0_MIN, val) |
| 1691 | #define bfin_read_PWM0_CTRL() bfin_read16(PWM0_CTRL) |
| 1692 | #define bfin_write_PWM0_CTRL(val) bfin_write16(PWM0_CTRL, val) |
| 1693 | #define bfin_read_PWM0_STAT() bfin_read16(PWM0_STAT) |
| 1694 | #define bfin_write_PWM0_STAT(val) bfin_write16(PWM0_STAT, val) |
| 1695 | #define bfin_read_PWM0_TM() bfin_read16(PWM0_TM) |
| 1696 | #define bfin_write_PWM0_TM(val) bfin_write16(PWM0_TM, val) |
| 1697 | #define bfin_read_PWM0_DT() bfin_read16(PWM0_DT) |
| 1698 | #define bfin_write_PWM0_DT(val) bfin_write16(PWM0_DT, val) |
| 1699 | #define bfin_read_PWM0_GATE() bfin_read16(PWM0_GATE) |
| 1700 | #define bfin_write_PWM0_GATE(val) bfin_write16(PWM0_GATE, val) |
| 1701 | #define bfin_read_PWM0_CHA() bfin_read16(PWM0_CHA) |
| 1702 | #define bfin_write_PWM0_CHA(val) bfin_write16(PWM0_CHA, val) |
| 1703 | #define bfin_read_PWM0_CHB() bfin_read16(PWM0_CHB) |
| 1704 | #define bfin_write_PWM0_CHB(val) bfin_write16(PWM0_CHB, val) |
| 1705 | #define bfin_read_PWM0_CHC() bfin_read16(PWM0_CHC) |
| 1706 | #define bfin_write_PWM0_CHC(val) bfin_write16(PWM0_CHC, val) |
| 1707 | #define bfin_read_PWM0_SEG() bfin_read16(PWM0_SEG) |
| 1708 | #define bfin_write_PWM0_SEG(val) bfin_write16(PWM0_SEG, val) |
| 1709 | #define bfin_read_PWM0_SYNCWT() bfin_read16(PWM0_SYNCWT) |
| 1710 | #define bfin_write_PWM0_SYNCWT(val) bfin_write16(PWM0_SYNCWT, val) |
| 1711 | #define bfin_read_PWM0_CHAL() bfin_read16(PWM0_CHAL) |
| 1712 | #define bfin_write_PWM0_CHAL(val) bfin_write16(PWM0_CHAL, val) |
| 1713 | #define bfin_read_PWM0_CHBL() bfin_read16(PWM0_CHBL) |
| 1714 | #define bfin_write_PWM0_CHBL(val) bfin_write16(PWM0_CHBL, val) |
| 1715 | #define bfin_read_PWM0_CHCL() bfin_read16(PWM0_CHCL) |
| 1716 | #define bfin_write_PWM0_CHCL(val) bfin_write16(PWM0_CHCL, val) |
| 1717 | #define bfin_read_PWM0_LSI() bfin_read16(PWM0_LSI) |
| 1718 | #define bfin_write_PWM0_LSI(val) bfin_write16(PWM0_LSI, val) |
| 1719 | #define bfin_read_PWM0_STAT2() bfin_read16(PWM0_STAT2) |
| 1720 | #define bfin_write_PWM0_STAT2(val) bfin_write16(PWM0_STAT2, val) |
| 1721 | #define bfin_read_RSI_PWR_CONTROL() bfin_read16(RSI_PWR_CONTROL) |
| 1722 | #define bfin_write_RSI_PWR_CONTROL(val) bfin_write16(RSI_PWR_CONTROL, val) |
| 1723 | #define bfin_read_RSI_CLK_CONTROL() bfin_read16(RSI_CLK_CONTROL) |
| 1724 | #define bfin_write_RSI_CLK_CONTROL(val) bfin_write16(RSI_CLK_CONTROL, val) |
| 1725 | #define bfin_read_RSI_ARGUMENT() bfin_read32(RSI_ARGUMENT) |
| 1726 | #define bfin_write_RSI_ARGUMENT(val) bfin_write32(RSI_ARGUMENT, val) |
| 1727 | #define bfin_read_RSI_COMMAND() bfin_read16(RSI_COMMAND) |
| 1728 | #define bfin_write_RSI_COMMAND(val) bfin_write16(RSI_COMMAND, val) |
| 1729 | #define bfin_read_RSI_RESP_CMD() bfin_read16(RSI_RESP_CMD) |
| 1730 | #define bfin_write_RSI_RESP_CMD(val) bfin_write16(RSI_RESP_CMD, val) |
| 1731 | #define bfin_read_RSI_RESPONSE0() bfin_read32(RSI_RESPONSE0) |
| 1732 | #define bfin_write_RSI_RESPONSE0(val) bfin_write32(RSI_RESPONSE0, val) |
| 1733 | #define bfin_read_RSI_RESPONSE1() bfin_read32(RSI_RESPONSE1) |
| 1734 | #define bfin_write_RSI_RESPONSE1(val) bfin_write32(RSI_RESPONSE1, val) |
| 1735 | #define bfin_read_RSI_RESPONSE2() bfin_read32(RSI_RESPONSE2) |
| 1736 | #define bfin_write_RSI_RESPONSE2(val) bfin_write32(RSI_RESPONSE2, val) |
| 1737 | #define bfin_read_RSI_RESPONSE3() bfin_read32(RSI_RESPONSE3) |
| 1738 | #define bfin_write_RSI_RESPONSE3(val) bfin_write32(RSI_RESPONSE3, val) |
| 1739 | #define bfin_read_RSI_DATA_TIMER() bfin_read32(RSI_DATA_TIMER) |
| 1740 | #define bfin_write_RSI_DATA_TIMER(val) bfin_write32(RSI_DATA_TIMER, val) |
| 1741 | #define bfin_read_RSI_DATA_LGTH() bfin_read16(RSI_DATA_LGTH) |
| 1742 | #define bfin_write_RSI_DATA_LGTH(val) bfin_write16(RSI_DATA_LGTH, val) |
| 1743 | #define bfin_read_RSI_DATA_CONTROL() bfin_read16(RSI_DATA_CONTROL) |
| 1744 | #define bfin_write_RSI_DATA_CONTROL(val) bfin_write16(RSI_DATA_CONTROL, val) |
| 1745 | #define bfin_read_RSI_DATA_CNT() bfin_read16(RSI_DATA_CNT) |
| 1746 | #define bfin_write_RSI_DATA_CNT(val) bfin_write16(RSI_DATA_CNT, val) |
| 1747 | #define bfin_read_RSI_STATUS() bfin_read32(RSI_STATUS) |
| 1748 | #define bfin_write_RSI_STATUS(val) bfin_write32(RSI_STATUS, val) |
| 1749 | #define bfin_read_RSI_STATUSCL() bfin_read16(RSI_STATUSCL) |
| 1750 | #define bfin_write_RSI_STATUSCL(val) bfin_write16(RSI_STATUSCL, val) |
| 1751 | #define bfin_read_RSI_MASK0() bfin_read32(RSI_MASK0) |
| 1752 | #define bfin_write_RSI_MASK0(val) bfin_write32(RSI_MASK0, val) |
| 1753 | #define bfin_read_RSI_MASK1() bfin_read32(RSI_MASK1) |
| 1754 | #define bfin_write_RSI_MASK1(val) bfin_write32(RSI_MASK1, val) |
| 1755 | #define bfin_read_RSI_FIFO_CNT() bfin_read16(RSI_FIFO_CNT) |
| 1756 | #define bfin_write_RSI_FIFO_CNT(val) bfin_write16(RSI_FIFO_CNT, val) |
| 1757 | #define bfin_read_RSI_CEATA_CONTROL() bfin_read16(RSI_CEATA_CONTROL) |
| 1758 | #define bfin_write_RSI_CEATA_CONTROL(val) bfin_write16(RSI_CEATA_CONTROL, val) |
| 1759 | #define bfin_read_RSI_FIFO() bfin_read32(RSI_FIFO) |
| 1760 | #define bfin_write_RSI_FIFO(val) bfin_write32(RSI_FIFO, val) |
| 1761 | #define bfin_read_RSI_ESTAT() bfin_read16(RSI_ESTAT) |
| 1762 | #define bfin_write_RSI_ESTAT(val) bfin_write16(RSI_ESTAT, val) |
| 1763 | #define bfin_read_RSI_EMASK() bfin_read16(RSI_EMASK) |
| 1764 | #define bfin_write_RSI_EMASK(val) bfin_write16(RSI_EMASK, val) |
| 1765 | #define bfin_read_RSI_CONFIG() bfin_read16(RSI_CONFIG) |
| 1766 | #define bfin_write_RSI_CONFIG(val) bfin_write16(RSI_CONFIG, val) |
| 1767 | #define bfin_read_RSI_RD_WAIT_EN() bfin_read16(RSI_RD_WAIT_EN) |
| 1768 | #define bfin_write_RSI_RD_WAIT_EN(val) bfin_write16(RSI_RD_WAIT_EN, val) |
| 1769 | #define bfin_read_RSI_PID0() bfin_read16(RSI_PID0) |
| 1770 | #define bfin_write_RSI_PID0(val) bfin_write16(RSI_PID0, val) |
| 1771 | #define bfin_read_RSI_PID1() bfin_read16(RSI_PID1) |
| 1772 | #define bfin_write_RSI_PID1(val) bfin_write16(RSI_PID1, val) |
| 1773 | #define bfin_read_RSI_PID2() bfin_read16(RSI_PID2) |
| 1774 | #define bfin_write_RSI_PID2(val) bfin_write16(RSI_PID2, val) |
| 1775 | #define bfin_read_RSI_PID3() bfin_read16(RSI_PID3) |
| 1776 | #define bfin_write_RSI_PID3(val) bfin_write16(RSI_PID3, val) |
| 1777 | #define bfin_read_DMA_TC_CNT() bfin_read16(DMA_TC_CNT) |
| 1778 | #define bfin_write_DMA_TC_CNT(val) bfin_write16(DMA_TC_CNT, val) |
| 1779 | #define bfin_read_DMA_TC_PER() bfin_read16(DMA_TC_PER) |
| 1780 | #define bfin_write_DMA_TC_PER(val) bfin_write16(DMA_TC_PER, val) |
| 1781 | |
| 1782 | #endif /* __BFIN_CDEF_ADSP_BF504_proc__ */ |