Lines Matching refs:chan
207 #define A_BCM1480_DUART(chan) ((((chan)&2) == 0)? A_BCM1480_DUART0 : A_BCM1480_DUART1) argument
210 #define A_BCM1480_DUART_CHANREG(chan, reg) \ argument
211 (A_BCM1480_DUART(chan) + \
212 BCM1480_DUART_CHANREG_SPACING * (((chan) & 1) + 1) + (reg))
213 #define A_BCM1480_DUART_CTRLREG(chan, reg) \ argument
214 (A_BCM1480_DUART(chan) + \
220 #define R_BCM1480_DUART_IMRREG(chan) \ argument
221 (R_DUART_IMR_A + ((chan) & 1) * DUART_IMRISR_SPACING)
222 #define R_BCM1480_DUART_ISRREG(chan) \ argument
223 (R_DUART_ISR_A + ((chan) & 1) * DUART_IMRISR_SPACING)
224 #define R_BCM1480_DUART_INCHREG(chan) \ argument
225 (R_DUART_IN_CHNG_A + ((chan) & 1) * DUART_INCHNG_SPACING)
227 #define A_BCM1480_DUART_IMRREG(chan) \ argument
228 (A_BCM1480_DUART_CTRLREG((chan), R_BCM1480_DUART_IMRREG(chan)))
229 #define A_BCM1480_DUART_ISRREG(chan) \ argument
230 (A_BCM1480_DUART_CTRLREG((chan), R_BCM1480_DUART_ISRREG(chan)))
232 #define A_BCM1480_DUART_IN_PORT(chan) \ argument
233 (A_BCM1480_DUART_CTRLREG((chan), R_DUART_IN_PORT))