Lines Matching refs:asc_in
152 static inline u32 asc_in(struct uart_port *port, u32 offset) in asc_in() function
176 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_THE; in asc_disable_tx_interrupts()
178 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_tx_interrupts()
183 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_THE; in asc_enable_tx_interrupts()
189 u32 intenable = asc_in(port, ASC_INTEN) & ~ASC_INTEN_RBE; in asc_disable_rx_interrupts()
191 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_disable_rx_interrupts()
196 u32 intenable = asc_in(port, ASC_INTEN) | ASC_INTEN_RBE; in asc_enable_rx_interrupts()
202 return asc_in(port, ASC_STA) & ASC_STA_TE; in asc_txfifo_is_empty()
207 return asc_in(port, ASC_STA) & ASC_STA_THE; in asc_txfifo_is_half_empty()
224 u32 status = asc_in(port, ASC_STA); in asc_hw_txroom()
297 while ((status = asc_in(port, ASC_STA)) & ASC_STA_RBF) { in asc_receive_chars()
298 c = asc_in(port, ASC_RXBUF) | ASC_RXBUF_DUMMY_RX; in asc_receive_chars()
353 status = asc_in(port, ASC_STA); in asc_interrupt()
361 (asc_in(port, ASC_INTEN) & ASC_INTEN_THE)) { in asc_interrupt()
470 ctl = asc_in(port, ASC_CTL) & ~ASC_CTL_RUN; in asc_pm()
499 ctrl_val = asc_in(port, ASC_CTL); in asc_set_termios()
625 if (!(asc_in(port, ASC_STA) & ASC_STA_RBF)) in asc_get_poll_char()
628 return asc_in(port, ASC_RXBUF); in asc_get_poll_char()
818 intenable = asc_in(port, ASC_INTEN); in asc_console_write()
820 (void)asc_in(port, ASC_INTEN); /* Defeat bus write posting */ in asc_console_write()