rda_port 233 drivers/tty/serial/rda-uart.c static void rda_uart_change_baudrate(struct rda_uart_port *rda_port, rda_port 236 drivers/tty/serial/rda-uart.c clk_set_rate(rda_port->clk, baud * 8); rda_port 243 drivers/tty/serial/rda-uart.c struct rda_uart_port *rda_port = to_rda_uart_port(port); rda_port 252 drivers/tty/serial/rda-uart.c rda_uart_change_baudrate(rda_port, baud); rda_port 627 drivers/tty/serial/rda-uart.c struct rda_uart_port *rda_port; rda_port 629 drivers/tty/serial/rda-uart.c rda_port = rda_uart_ports[co->index]; rda_port 630 drivers/tty/serial/rda-uart.c if (!rda_port) rda_port 633 drivers/tty/serial/rda-uart.c rda_uart_port_write(&rda_port->port, s, count); rda_port 638 drivers/tty/serial/rda-uart.c struct rda_uart_port *rda_port; rda_port 647 drivers/tty/serial/rda-uart.c rda_port = rda_uart_ports[co->index]; rda_port 648 drivers/tty/serial/rda-uart.c if (!rda_port || !rda_port->port.membase) rda_port 654 drivers/tty/serial/rda-uart.c return uart_set_options(&rda_port->port, co, baud, parity, bits, flow); rda_port 720 drivers/tty/serial/rda-uart.c struct rda_uart_port *rda_port; rda_port 746 drivers/tty/serial/rda-uart.c rda_port = devm_kzalloc(&pdev->dev, sizeof(*rda_port), GFP_KERNEL); rda_port 747 drivers/tty/serial/rda-uart.c if (!rda_port) rda_port 750 drivers/tty/serial/rda-uart.c rda_port->clk = devm_clk_get(&pdev->dev, NULL); rda_port 751 drivers/tty/serial/rda-uart.c if (IS_ERR(rda_port->clk)) { rda_port 753 drivers/tty/serial/rda-uart.c return PTR_ERR(rda_port->clk); rda_port 756 drivers/tty/serial/rda-uart.c rda_port->port.dev = &pdev->dev; rda_port 757 drivers/tty/serial/rda-uart.c rda_port->port.regshift = 0; rda_port 758 drivers/tty/serial/rda-uart.c rda_port->port.line = pdev->id; rda_port 759 drivers/tty/serial/rda-uart.c rda_port->port.type = PORT_RDA; rda_port 760 drivers/tty/serial/rda-uart.c rda_port->port.iotype = UPIO_MEM; rda_port 761 drivers/tty/serial/rda-uart.c rda_port->port.mapbase = res_mem->start; rda_port 762 drivers/tty/serial/rda-uart.c rda_port->port.irq = irq; rda_port 763 drivers/tty/serial/rda-uart.c rda_port->port.uartclk = clk_get_rate(rda_port->clk); rda_port 764 drivers/tty/serial/rda-uart.c if (rda_port->port.uartclk == 0) { rda_port 768 drivers/tty/serial/rda-uart.c rda_port->port.flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP | rda_port 770 drivers/tty/serial/rda-uart.c rda_port->port.x_char = 0; rda_port 771 drivers/tty/serial/rda-uart.c rda_port->port.fifosize = RDA_UART_TX_FIFO_SIZE; rda_port 772 drivers/tty/serial/rda-uart.c rda_port->port.ops = &rda_uart_ops; rda_port 774 drivers/tty/serial/rda-uart.c rda_uart_ports[pdev->id] = rda_port; rda_port 775 drivers/tty/serial/rda-uart.c platform_set_drvdata(pdev, rda_port); rda_port 777 drivers/tty/serial/rda-uart.c ret = uart_add_one_port(&rda_uart_driver, &rda_port->port); rda_port 786 drivers/tty/serial/rda-uart.c struct rda_uart_port *rda_port = platform_get_drvdata(pdev); rda_port 788 drivers/tty/serial/rda-uart.c uart_remove_one_port(&rda_uart_driver, &rda_port->port);