Lines Matching refs:ch
136 #define ATMEL_I2SC_SR_RXORCH(ch) (1 << (((ch) & 0x7) + 8)) argument
140 #define ATMEL_I2SC_SR_TXURCH(ch) (1 << (((ch) & 0x7) + 20)) argument
212 unsigned int sr, imr, pending, ch, mask; in atmel_i2s_interrupt() local
225 for (ch = 0; ch < ATMEL_I2SC_MAX_TDM_CHANNELS; ++ch) { in atmel_i2s_interrupt()
226 if (sr & ATMEL_I2SC_SR_RXORCH(ch)) { in atmel_i2s_interrupt()
227 mask |= ATMEL_I2SC_SR_RXORCH(ch); in atmel_i2s_interrupt()
229 "RX overrun on channel %d\n", ch); in atmel_i2s_interrupt()
239 for (ch = 0; ch < ATMEL_I2SC_MAX_TDM_CHANNELS; ++ch) { in atmel_i2s_interrupt()
240 if (sr & ATMEL_I2SC_SR_TXURCH(ch)) { in atmel_i2s_interrupt()
241 mask |= ATMEL_I2SC_SR_TXURCH(ch); in atmel_i2s_interrupt()
243 "TX underrun on channel %d\n", ch); in atmel_i2s_interrupt()