Lines Matching refs:mxs_read

489 static unsigned int mxs_read(const struct mxs_auart_port *uap,  in mxs_read()  function
617 while (!(mxs_read(s, REG_STAT) & AUART_STAT_TXFF)) { in mxs_auart_tx_chars()
649 c = mxs_read(s, REG_DATA); in mxs_auart_rx_char()
650 stat = mxs_read(s, REG_STAT); in mxs_auart_rx_char()
693 stat = mxs_read(s, REG_STAT); in mxs_auart_rx_chars()
735 u32 ctrl = mxs_read(s, REG_CTRL2); in mxs_auart_set_mctrl()
776 u32 stat = mxs_read(s, REG_STAT); in mxs_auart_get_mctrl()
853 stat = mxs_read(s, REG_STAT); in dma_rx_callback()
981 ctrl2 = mxs_read(s, REG_CTRL2); in mxs_auart_settermios()
1128 u32 stat = mxs_read(s, REG_STAT); in mxs_auart_irq_handle()
1130 istat = mxs_read(s, REG_INTR); in mxs_auart_irq_handle()
1176 reg = mxs_read(s, REG_CTRL0); in mxs_auart_reset_deassert()
1189 reg = mxs_read(s, REG_CTRL0); in mxs_auart_reset_assert()
1198 reg = mxs_read(s, REG_CTRL0); in mxs_auart_reset_assert()
1272 if ((mxs_read(s, REG_STAT) & in mxs_auart_tx_empty()
1341 while (mxs_read(s, REG_STAT) & AUART_STAT_TXFF) { in mxs_auart_console_putchar()
1367 old_ctrl2 = mxs_read(s, REG_CTRL2); in auart_console_write()
1368 old_ctrl0 = mxs_read(s, REG_CTRL0); in auart_console_write()
1376 while (mxs_read(s, REG_STAT) & AUART_STAT_BUSY) { in auart_console_write()
1388 if (!(mxs_read(s, REG_STAT) & AUART_STAT_BUSY)) { in auart_console_write()
1403 if (!(mxs_read(s, REG_CTRL2) & AUART_CTRL2_UARTEN)) in auart_console_get_options()
1406 lcr_h = mxs_read(s, REG_LINECTRL); in auart_console_get_options()
1421 quot = ((mxs_read(s, REG_LINECTRL) & AUART_LINECTRL_BAUD_DIVINT_MASK)) in auart_console_get_options()
1423 quot |= ((mxs_read(s, REG_LINECTRL) & AUART_LINECTRL_BAUD_DIVFRAC_MASK)) in auart_console_get_options()
1737 version = mxs_read(s, REG_VERSION); in mxs_auart_probe()