Lines Matching defs:atmel_port
206 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
216 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
226 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
346 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
384 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
431 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
457 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
465 clk_enable(atmel_port->clk);
472 clk_disable(atmel_port->clk);
692 static void __devinit atmel_init_port(struct atmel_uart_port *atmel_port, struct platform_device *pdev)
694 struct uart_port *port = &atmel_port->uart;
715 if (!atmel_port->clk) { /* for console, the clock could already be configured */
716 atmel_port->clk = clk_get(&pdev->dev, "usart");
717 clk_enable(atmel_port->clk);
718 port->uartclk = clk_get_rate(atmel_port->clk);
894 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
900 atmel_port->suspended = 1;
909 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
911 if (atmel_port->suspended) {
913 atmel_port->suspended = 0;
945 struct atmel_uart_port *atmel_port = (struct atmel_uart_port *) port;
948 clk_disable(atmel_port->clk);
949 clk_put(atmel_port->clk);