Home
last modified time | relevance | path

Searched refs:UART_IR_STAT (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/serial/
H A Dserial_bcm6345.c66 #define UART_IR_STAT(x) (1 << (x)) macro
181 return !!(val & UART_IR_STAT(UART_IR_RXNOTEMPTY)); in bcm6345_serial_pending()
183 return !(val & UART_IR_STAT(UART_IR_TXEMPTY)); in bcm6345_serial_pending()
199 if (!(val & UART_IR_STAT(UART_IR_TXEMPTY))) in bcm6345_serial_putc()
213 if (val & UART_IR_STAT(UART_IR_RXOVER)) in bcm6345_serial_getc()
215 if (!(val & UART_IR_STAT(UART_IR_RXNOTEMPTY))) in bcm6345_serial_getc()
280 if (val & UART_IR_STAT(UART_IR_TXEMPTY)) in wait_xfered()
/openbmc/linux/drivers/tty/serial/
H A Dbcm63xx_uart.c45 #define UART_RX_INT_STAT (UART_IR_STAT(UART_IR_RXOVER) | \
46 UART_IR_STAT(UART_IR_RXTHRESH) | \
47 UART_IR_STAT(UART_IR_RXTIMEOUT))
59 #define UART_TX_INT_STAT (UART_IR_STAT(UART_IR_TXEMPTY) | \
60 UART_IR_STAT(UART_IR_TXTRESH))
93 return (val & UART_IR_STAT(UART_IR_TXEMPTY)) ? 1 : 0; in bcm_uart_tx_empty()
244 if (unlikely(iestat & UART_IR_STAT(UART_IR_RXOVER))) { in bcm_uart_do_rx()
257 if (!(iestat & UART_IR_STAT(UART_IR_RXNOTEMPTY))) in bcm_uart_do_rx()
620 if (!(iestat & UART_IR_STAT(UART_IR_RXNOTEMPTY))) in bcm_uart_poll_get_char()
673 if (val & UART_IR_STAT(UART_IR_TXEMPTY)) in wait_for_xmitr()
/openbmc/linux/arch/mips/bcm63xx/
H A Dearly_printk.c20 if (val & UART_IR_STAT(UART_IR_TXEMPTY)) in wait_xfered()
/openbmc/linux/include/linux/
H A Dserial_bcm63xx.h88 #define UART_IR_STAT(x) (1 << (x)) macro