Lines Matching refs:atmel_uart_readl
206 static inline u32 atmel_uart_readl(struct uart_port *port, u32 reg) in atmel_uart_readl() function
302 mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_config_rs485()
369 mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_config_iso7816()
415 atmel_port->backup_mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_config_iso7816()
416 atmel_port->backup_brgr = atmel_uart_readl(port, ATMEL_US_BRGR); in atmel_config_iso7816()
461 return (atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_TXEMPTY) ? in atmel_tx_empty()
472 unsigned int mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_set_mctrl()
531 status = atmel_uart_readl(port, ATMEL_US_CSR); in atmel_get_mctrl()
589 if (is_pdc && (atmel_uart_readl(port, ATMEL_PDC_PTSR) in atmel_start_tx()
785 status = atmel_uart_readl(port, ATMEL_US_CSR); in atmel_rx_chars()
821 status = atmel_uart_readl(port, ATMEL_US_CSR); in atmel_rx_chars()
838 atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_TXRDY, in atmel_tx_chars()
1354 if (!(atmel_uart_readl(port, ATMEL_US_CSR) in atmel_handle_transmit()
1413 status = atmel_uart_readl(port, ATMEL_US_CSR); in atmel_interrupt()
1414 mask = atmel_uart_readl(port, ATMEL_US_IMR); in atmel_interrupt()
1459 if (atmel_uart_readl(port, ATMEL_PDC_TCR)) in atmel_tx_pdc()
1607 head = atmel_uart_readl(port, ATMEL_PDC_RPR) - pdc->dma_addr; in atmel_rx_from_pdc()
1803 int name = atmel_uart_readl(port, ATMEL_US_NAME); in atmel_get_ip_name()
1831 version = atmel_uart_readl(port, ATMEL_US_VERSION); in atmel_get_ip_name()
1851 version = atmel_uart_readl(port, ATMEL_US_VERSION); in atmel_get_ip_name()
1949 atmel_port->irq_status_prev = atmel_uart_readl(port, ATMEL_US_CSR); in atmel_startup()
2102 atmel_port->backup_imr = atmel_uart_readl(port, ATMEL_US_IMR); in atmel_serial_pm()
2132 mode = old_mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_set_termios()
2215 imr = atmel_uart_readl(port, ATMEL_US_IMR); in atmel_set_termios()
2483 while (!(atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_RXRDY)) in atmel_poll_get_char()
2491 while (!(atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_TXRDY)) in atmel_poll_put_char()
2582 while (!(atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_TXRDY)) in atmel_console_putchar()
2600 imr = atmel_uart_readl(port, ATMEL_US_IMR); in atmel_console_write()
2605 pdc_tx = atmel_uart_readl(port, ATMEL_PDC_PTSR) & ATMEL_PDC_TXTEN; in atmel_console_write()
2619 status = atmel_uart_readl(port, ATMEL_US_CSR); in atmel_console_write()
2643 quot = atmel_uart_readl(port, ATMEL_US_BRGR) & ATMEL_US_CD; in atmel_console_get_options()
2647 mr = atmel_uart_readl(port, ATMEL_US_MR) & ATMEL_US_CHRL; in atmel_console_get_options()
2653 mr = atmel_uart_readl(port, ATMEL_US_MR) & ATMEL_US_PAR; in atmel_console_get_options()
2757 while (!(atmel_uart_readl(port, ATMEL_US_CSR) & in atmel_serial_suspend()
2766 atmel_port->cache.mr = atmel_uart_readl(port, ATMEL_US_MR); in atmel_serial_suspend()
2767 atmel_port->cache.imr = atmel_uart_readl(port, ATMEL_US_IMR); in atmel_serial_suspend()
2768 atmel_port->cache.brgr = atmel_uart_readl(port, ATMEL_US_BRGR); in atmel_serial_suspend()
2769 atmel_port->cache.rtor = atmel_uart_readl(port, in atmel_serial_suspend()
2771 atmel_port->cache.ttgr = atmel_uart_readl(port, ATMEL_US_TTGR); in atmel_serial_suspend()
2772 atmel_port->cache.fmr = atmel_uart_readl(port, ATMEL_US_FMR); in atmel_serial_suspend()
2773 atmel_port->cache.fimr = atmel_uart_readl(port, ATMEL_US_FIMR); in atmel_serial_suspend()