Lines Matching defs:uart
111 struct uart_port uart; /* uart */
112 struct clk *clk; /* uart clock */
113 struct clk *gclk; /* uart generic clock */
201 to_atmel_uart_port(struct uart_port *uart)
203 return container_of(uart, struct atmel_uart_port, uart);
859 struct uart_port *port = &atmel_port->uart;
1280 struct uart_port *port = &atmel_port->uart;
1711 struct uart_port *port = &atmel_port->uart;
1723 struct uart_port *port = &atmel_port->uart;
1798 * Get ip name usart or uart
1848 dev_dbg(port->dev, "Dbgu or uart without hw timer\n");
1864 dev_dbg(port->dev, "This version is uart\n");
1867 dev_err(port->dev, "Not supported ip name nor version, set to uart\n");
2537 struct uart_port *port = &atmel_port->uart;
2592 struct uart_port *port = &atmel_ports[co->index].uart;
2664 struct uart_port *port = &atmel_ports[co->index].uart;
2914 atmel_port->uart.line = ret;
2915 atmel_port->uart.has_sysrq = IS_ENABLED(CONFIG_SERIAL_ATMEL_CONSOLE);
2940 atmel_port->gpios = mctrl_gpio_init(&atmel_port->uart, 0);
2946 if (!atmel_use_pdc_rx(&atmel_port->uart)) {
2956 rs485_enabled = atmel_port->uart.rs485.flags & SER_RS485_ENABLED;
2958 ret = uart_add_one_port(&atmel_uart, &atmel_port->uart);
2966 atmel_uart_writel(&atmel_port->uart, ATMEL_US_MR,
2968 atmel_uart_writel(&atmel_port->uart, ATMEL_US_CR,
2973 * Get port name of usart or uart
2975 atmel_get_ip_name(&atmel_port->uart);
2990 clear_bit(atmel_port->uart.line, atmel_ports_in_use);