Lines Matching refs:fsr
236 u32 fsr; in receive_chars() local
238 fsr = serial_in(up, MA35_FSR_REG); in receive_chars()
243 if (unlikely(fsr & (MA35_FSR_BIF | MA35_FSR_FEF | in receive_chars()
245 if (fsr & MA35_FSR_BIF) { in receive_chars()
250 if (fsr & MA35_FSR_FEF) in receive_chars()
252 if (fsr & MA35_FSR_PEF) in receive_chars()
254 if (fsr & MA35_FSR_RX_OVER_IF) in receive_chars()
258 fsr & (MA35_FSR_BIF | MA35_FSR_FEF | in receive_chars()
260 if (fsr & MA35_FSR_BIF) in receive_chars()
262 else if (fsr & MA35_FSR_PEF) in receive_chars()
264 else if (fsr & MA35_FSR_FEF) in receive_chars()
273 uart_insert_char(&up->port, fsr, MA35_FSR_RX_OVER_IF, ch, flag); in receive_chars()
276 fsr = serial_in(up, MA35_FSR_REG); in receive_chars()
277 } while (!(fsr & MA35_FSR_RX_EMPTY) && (max_count-- > 0)); in receive_chars()
288 u32 isr, fsr; in ma35d1serial_interrupt() local
291 fsr = serial_in(up, MA35_FSR_REG); in ma35d1serial_interrupt()
300 if (fsr & MA35_FSR_TX_OVER_IF) in ma35d1serial_interrupt()
309 u32 fsr; in ma35d1serial_tx_empty() local
311 fsr = serial_in(up, MA35_FSR_REG); in ma35d1serial_tx_empty()
312 if ((fsr & MA35_FSR_TX_BOTH_EMPTY) == MA35_FSR_TX_BOTH_EMPTY) in ma35d1serial_tx_empty()