Lines Matching refs:uart
113 struct uart_port uart; /* uart */
114 struct clk *clk; /* uart clock */
115 struct clk *gclk; /* uart generic clock */
203 to_atmel_uart_port(struct uart_port *uart)
205 return container_of(uart, struct atmel_uart_port, uart);
861 struct uart_port *port = &atmel_port->uart;
1271 struct uart_port *port = &atmel_port->uart;
1703 struct uart_port *port = &atmel_port->uart;
1715 struct uart_port *port = &atmel_port->uart;
1790 * Get ip name usart or uart
1840 dev_dbg(port->dev, "Dbgu or uart without hw timer\n");
1856 dev_dbg(port->dev, "This version is uart\n");
1859 dev_err(port->dev, "Not supported ip name nor version, set to uart\n");
2529 struct uart_port *port = &atmel_port->uart;
2584 struct uart_port *port = &atmel_ports[co->index].uart;
2656 struct uart_port *port = &atmel_ports[co->index].uart;
2906 atmel_port->uart.line = ret;
2907 atmel_port->uart.has_sysrq = IS_ENABLED(CONFIG_SERIAL_ATMEL_CONSOLE);
2932 atmel_port->gpios = mctrl_gpio_init(&atmel_port->uart, 0);
2938 if (!atmel_use_pdc_rx(&atmel_port->uart)) {
2946 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED;
2948 ret = uart_add_one_port(&atmel_uart, &atmel_port->uart);
2956 atmel_uart_writel(&atmel_port->uart, ATMEL_US_MR,
2958 atmel_uart_writel(&atmel_port->uart, ATMEL_US_CR,
2963 * Get port name of usart or uart
2965 atmel_get_ip_name(&atmel_port->uart);
2980 clear_bit(atmel_port->uart.line, atmel_ports_in_use);