Lines Matching refs:asc_in
151 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in() function
175 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_THE; in asc_disable_tx_interrupts()
177 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_tx_interrupts()
182 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_THE; in asc_enable_tx_interrupts()
188 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_RBE; in asc_disable_rx_interrupts()
190 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_rx_interrupts()
195 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_RBE; in asc_enable_rx_interrupts()
201 return asc_in(port, ASC_STA) & ASC_STA_TE; in asc_txfifo_is_empty()
206 return asc_in(port, ASC_STA) & ASC_STA_THE; in asc_txfifo_is_half_empty()
223 u32 status = asc_in(port, ASC_STA); in asc_hw_txroom()
261 mode = asc_in(port, ASC_CTL) & ASC_CTL_MODE_MSK; in asc_receive_chars()
268 while ((status = asc_in(port, ASC_STA)) & ASC_STA_RBF) { in asc_receive_chars()
269 c = asc_in(port, ASC_RXBUF) | ASC_RXBUF_DUMMY_RX; in asc_receive_chars()
324 status = asc_in(port, ASC_STA); in asc_interrupt()
332 (asc_in(port, ASC_INTEN) & ASC_INTEN_THE)) { in asc_interrupt()
372 if (asc_in(port, ASC_CTL) & ASC_CTL_CTSENABLE) in asc_set_mctrl()
456 ctl = asc_in(port, ASC_CTL) & ~ASC_CTL_RUN; in asc_pm()
486 ctrl_val = asc_in(port, ASC_CTL); in asc_set_termios()
639 if (!(asc_in(port, ASC_STA) & ASC_STA_RBF)) in asc_get_poll_char()
642 return asc_in(port, ASC_RXBUF); in asc_get_poll_char()
860 intenable = asc_in(port, ASC_INTEN); in asc_console_write()
862 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_console_write()