Lines Matching refs:mxs_read

493 static unsigned int mxs_read(const struct mxs_auart_port *uap,  in mxs_read()  function
621 while (!(mxs_read(s, REG_STAT) & AUART_STAT_TXFF)) { in mxs_auart_tx_chars()
653 c = mxs_read(s, REG_DATA); in mxs_auart_rx_char()
654 stat = mxs_read(s, REG_STAT); in mxs_auart_rx_char()
697 stat = mxs_read(s, REG_STAT); in mxs_auart_rx_chars()
739 u32 ctrl = mxs_read(s, REG_CTRL2); in mxs_auart_set_mctrl()
780 u32 stat = mxs_read(s, REG_STAT); in mxs_auart_get_mctrl()
857 stat = mxs_read(s, REG_STAT); in dma_rx_callback()
985 ctrl2 = mxs_read(s, REG_CTRL2); in mxs_auart_settermios()
1132 u32 stat = mxs_read(s, REG_STAT); in mxs_auart_irq_handle()
1134 istat = mxs_read(s, REG_INTR); in mxs_auart_irq_handle()
1180 reg = mxs_read(s, REG_CTRL0); in mxs_auart_reset_deassert()
1193 reg = mxs_read(s, REG_CTRL0); in mxs_auart_reset_assert()
1202 reg = mxs_read(s, REG_CTRL0); in mxs_auart_reset_assert()
1276 if ((mxs_read(s, REG_STAT) & in mxs_auart_tx_empty()
1345 while (mxs_read(s, REG_STAT) & AUART_STAT_TXFF) { in mxs_auart_console_putchar()
1371 old_ctrl2 = mxs_read(s, REG_CTRL2); in auart_console_write()
1372 old_ctrl0 = mxs_read(s, REG_CTRL0); in auart_console_write()
1380 while (mxs_read(s, REG_STAT) & AUART_STAT_BUSY) { in auart_console_write()
1392 if (!(mxs_read(s, REG_STAT) & AUART_STAT_BUSY)) { in auart_console_write()
1407 if (!(mxs_read(s, REG_CTRL2) & AUART_CTRL2_UARTEN)) in auart_console_get_options()
1410 lcr_h = mxs_read(s, REG_LINECTRL); in auart_console_get_options()
1425 quot = ((mxs_read(s, REG_LINECTRL) & AUART_LINECTRL_BAUD_DIVINT_MASK)) in auart_console_get_options()
1427 quot |= ((mxs_read(s, REG_LINECTRL) & AUART_LINECTRL_BAUD_DIVFRAC_MASK)) in auart_console_get_options()
1740 version = mxs_read(s, REG_VERSION); in mxs_auart_probe()