Lines Matching defs:uart
110 struct uart_port uart; /* uart */
111 struct clk *clk; /* uart clock */
200 to_atmel_uart_port(struct uart_port *uart)
202 return container_of(uart, struct atmel_uart_port, uart);
862 struct uart_port *port = &atmel_port->uart;
1292 struct uart_port *port = &atmel_port->uart;
1739 struct uart_port *port = &atmel_port->uart;
1751 struct uart_port *port = &atmel_port->uart;
1826 * Get ip name usart or uart
1874 dev_dbg(port->dev, "Dbgu or uart without hw timer\n");
1889 dev_dbg(port->dev, "This version is uart\n");
1892 dev_err(port->dev, "Not supported ip name nor version, set to uart\n");
2498 struct uart_port *port = &atmel_port->uart;
2569 struct uart_port *port = &atmel_ports[co->index].uart;
2642 struct uart_port *port = &atmel_ports[co->index].uart;
2878 atmel_port->uart.line = ret;
2879 atmel_port->uart.has_sysrq = IS_ENABLED(CONFIG_SERIAL_ATMEL_CONSOLE);
2889 atmel_port->gpios = mctrl_gpio_init(&atmel_port->uart, 0);
2895 if (!atmel_use_pdc_rx(&atmel_port->uart)) {
2905 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED;
2907 ret = uart_add_one_port(&atmel_uart, &atmel_port->uart);
2912 if (uart_console(&atmel_port->uart)
2932 atmel_uart_writel(&atmel_port->uart, ATMEL_US_MR,
2934 atmel_uart_writel(&atmel_port->uart, ATMEL_US_CR,
2939 * Get port name of usart or uart
2941 atmel_get_ip_name(&atmel_port->uart);
2955 if (!uart_console(&atmel_port->uart)) {
2960 clear_bit(atmel_port->uart.line, atmel_ports_in_use);