owl_port 321 drivers/tty/serial/owl-uart.c static void owl_uart_change_baudrate(struct owl_uart_port *owl_port, owl_port 324 drivers/tty/serial/owl-uart.c clk_set_rate(owl_port->clk, baud * 8); owl_port 331 drivers/tty/serial/owl-uart.c struct owl_uart_port *owl_port = to_owl_uart_port(port); owl_port 384 drivers/tty/serial/owl-uart.c owl_uart_change_baudrate(owl_port, baud); owl_port 540 drivers/tty/serial/owl-uart.c struct owl_uart_port *owl_port; owl_port 542 drivers/tty/serial/owl-uart.c owl_port = owl_uart_ports[co->index]; owl_port 543 drivers/tty/serial/owl-uart.c if (!owl_port) owl_port 546 drivers/tty/serial/owl-uart.c owl_uart_port_write(&owl_port->port, s, count); owl_port 551 drivers/tty/serial/owl-uart.c struct owl_uart_port *owl_port; owl_port 560 drivers/tty/serial/owl-uart.c owl_port = owl_uart_ports[co->index]; owl_port 561 drivers/tty/serial/owl-uart.c if (!owl_port || !owl_port->port.membase) owl_port 567 drivers/tty/serial/owl-uart.c return uart_set_options(&owl_port->port, co, baud, parity, bits, flow); owl_port 643 drivers/tty/serial/owl-uart.c struct owl_uart_port *owl_port; owl_port 673 drivers/tty/serial/owl-uart.c owl_port = devm_kzalloc(&pdev->dev, sizeof(*owl_port), GFP_KERNEL); owl_port 674 drivers/tty/serial/owl-uart.c if (!owl_port) owl_port 677 drivers/tty/serial/owl-uart.c owl_port->clk = devm_clk_get(&pdev->dev, NULL); owl_port 678 drivers/tty/serial/owl-uart.c if (IS_ERR(owl_port->clk)) { owl_port 680 drivers/tty/serial/owl-uart.c return PTR_ERR(owl_port->clk); owl_port 683 drivers/tty/serial/owl-uart.c ret = clk_prepare_enable(owl_port->clk); owl_port 689 drivers/tty/serial/owl-uart.c owl_port->port.dev = &pdev->dev; owl_port 690 drivers/tty/serial/owl-uart.c owl_port->port.line = pdev->id; owl_port 691 drivers/tty/serial/owl-uart.c owl_port->port.type = PORT_OWL; owl_port 692 drivers/tty/serial/owl-uart.c owl_port->port.iotype = UPIO_MEM; owl_port 693 drivers/tty/serial/owl-uart.c owl_port->port.mapbase = res_mem->start; owl_port 694 drivers/tty/serial/owl-uart.c owl_port->port.irq = irq; owl_port 695 drivers/tty/serial/owl-uart.c owl_port->port.uartclk = clk_get_rate(owl_port->clk); owl_port 696 drivers/tty/serial/owl-uart.c if (owl_port->port.uartclk == 0) { owl_port 700 drivers/tty/serial/owl-uart.c owl_port->port.flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP | UPF_LOW_LATENCY; owl_port 701 drivers/tty/serial/owl-uart.c owl_port->port.x_char = 0; owl_port 702 drivers/tty/serial/owl-uart.c owl_port->port.fifosize = (info) ? info->tx_fifosize : 16; owl_port 703 drivers/tty/serial/owl-uart.c owl_port->port.ops = &owl_uart_ops; owl_port 705 drivers/tty/serial/owl-uart.c owl_uart_ports[pdev->id] = owl_port; owl_port 706 drivers/tty/serial/owl-uart.c platform_set_drvdata(pdev, owl_port); owl_port 708 drivers/tty/serial/owl-uart.c ret = uart_add_one_port(&owl_uart_driver, &owl_port->port); owl_port 717 drivers/tty/serial/owl-uart.c struct owl_uart_port *owl_port = platform_get_drvdata(pdev); owl_port 719 drivers/tty/serial/owl-uart.c uart_remove_one_port(&owl_uart_driver, &owl_port->port); owl_port 721 drivers/tty/serial/owl-uart.c clk_disable_unprepare(owl_port->clk);