Searched refs:uartsr (Results 1 – 2 of 2) sorted by relevance
57 if (!(__raw_readb(&base->uartsr) & UARTSR_DRF)) in _linflex_serial_getc()60 if (!(__raw_readl(&base->uartsr) & UARTSR_RMB)) in _linflex_serial_getc()64 __raw_writeb((__raw_readb(&base->uartsr) | (UARTSR_DRF | UARTSR_RMB)), in _linflex_serial_getc()65 &base->uartsr); in _linflex_serial_getc()74 if (!(__raw_readb(&base->uartsr) & UARTSR_DTF)) in _linflex_serial_putc()77 __raw_writeb((__raw_readb(&base->uartsr) | UARTSR_DTF), &base->uartsr); in _linflex_serial_putc()155 uint32_t uartsr = __raw_readl(&priv->lfuart->uartsr); in linflex_serial_pending() local158 return ((uartsr & UARTSR_DRF) && (uartsr & UARTSR_RMB)) ? 1 : 0; in linflex_serial_pending()160 return uartsr & UARTSR_DTF ? 0 : 1; in linflex_serial_pending()
236 u32 uartsr; member
Completed in 5 milliseconds