Lines Matching refs:port
3 * Serial port driver for NXP LPC18xx/43xx UART
35 static int lpc18xx_rs485_config(struct uart_port *port,
38 struct uart_8250_port *up = up_to_u8250p(port);
64 baud_clk = port->uartclk / up->dl_read(up);
82 port->rs485 = *rs485;
120 uart.port.membase = devm_ioremap(&pdev->dev, res->start,
122 if (!uart.port.membase)
155 uart.port.line = ret;
160 spin_lock_init(&uart.port.lock);
161 uart.port.dev = &pdev->dev;
162 uart.port.irq = irq;
163 uart.port.iotype = UPIO_MEM32;
164 uart.port.mapbase = res->start;
165 uart.port.regshift = 2;
166 uart.port.type = PORT_16550A;
167 uart.port.flags = UPF_FIXED_PORT | UPF_FIXED_TYPE | UPF_SKIP_TEST;
168 uart.port.uartclk = clk_get_rate(data->clk_uart);
169 uart.port.private_data = data;
170 uart.port.rs485_config = lpc18xx_rs485_config;
171 uart.port.serial_out = lpc18xx_uart_serial_out;
179 dev_err(&pdev->dev, "unable to register 8250 port\n");
223 MODULE_DESCRIPTION("Serial port driver NXP LPC18xx/43xx devices");