Lines Matching refs:pl011_read

283 static unsigned int pl011_read(const struct uart_amba_port *uap,  in pl011_read()  function
315 status = pl011_read(uap, REG_FR); in pl011_fifo_to_tty()
320 ch = pl011_read(uap, REG_DR) | UART_DUMMY_DR_RX; in pl011_fifo_to_tty()
779 if (pl011_read(uap, REG_FR) & UART01x_FR_TXFF) { in pl011_dma_tx_start()
1188 while (pl011_read(uap, REG_FR) & uap->vendor->fr_busy) in pl011_dma_shutdown()
1310 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_stop()
1426 pl011_read(uap, REG_FR) & UART01x_FR_TXFF) in pl011_tx_char()
1441 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_start()
1510 status = pl011_read(uap, REG_FR) & UART01x_FR_MODEM_ANY; in pl011_modem_status()
1544 pl011_read(uap, REG_ICR); in check_apply_cts_event_workaround()
1545 pl011_read(uap, REG_ICR); in check_apply_cts_event_workaround()
1556 status = pl011_read(uap, REG_RIS) & uap->im; in pl011_int()
1580 status = pl011_read(uap, REG_RIS) & uap->im; in pl011_int()
1596 unsigned int status = pl011_read(uap, REG_FR) ^ uap->vendor->inv_fr; in pl011_tx_empty()
1607 unsigned int status = pl011_read(uap, REG_FR); in pl011_get_mctrl()
1627 cr = pl011_read(uap, REG_CR); in pl011_set_mctrl()
1658 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_break_ctl()
1674 pl011_write(pl011_read(uap, REG_MIS), uap, REG_ICR); in pl011_quiesce_irqs()
1688 pl011_write(pl011_read(uap, REG_IMSC) & ~UART011_TXIM, uap, in pl011_quiesce_irqs()
1704 status = pl011_read(uap, REG_FR); in pl011_get_poll_char()
1708 return pl011_read(uap, REG_DR); in pl011_get_poll_char()
1717 while (pl011_read(uap, REG_FR) & UART01x_FR_TXFF) in pl011_put_poll_char()
1752 uap->im = pl011_read(uap, REG_IMSC); in pl011_hwinit()
1815 if (pl011_read(uap, REG_FR) & UART01x_FR_RXFE) in pl011_enable_interrupts()
1818 pl011_read(uap, REG_DR); in pl011_enable_interrupts()
1854 cr = pl011_read(uap, REG_CR); in pl011_startup()
1868 uap->old_status = pl011_read(uap, REG_FR) & UART01x_FR_MODEM_ANY; in pl011_startup()
1909 val = pl011_read(uap, lcrh); in pl011_shutdown_channel()
1925 cr = pl011_read(uap, REG_CR); in pl011_disable_uart()
2115 old_cr = pl011_read(uap, REG_CR); in pl011_set_termios()
2228 u32 cr = pl011_read(uap, REG_CR); in pl011_rs485_config()
2301 while (pl011_read(uap, REG_FR) & UART01x_FR_TXFF) in pl011_console_putchar()
2328 old_cr = pl011_read(uap, REG_CR); in pl011_console_write()
2341 while ((pl011_read(uap, REG_FR) ^ uap->vendor->inv_fr) in pl011_console_write()
2357 if (pl011_read(uap, REG_CR) & UART01x_CR_UARTEN) { in pl011_console_get_options()
2360 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_console_get_options()
2375 ibrd = pl011_read(uap, REG_IBRD); in pl011_console_get_options()
2376 fbrd = pl011_read(uap, REG_FBRD); in pl011_console_get_options()
2381 if (pl011_read(uap, REG_CR) in pl011_console_get_options()