Lines Matching defs:uart
435 * Console polling routines for writing and reading from the uart while
882 * Check whether an invalid uart number has been specified, and
961 struct uart_port *uart;
966 uart = &serial_txx9_ports[i];
967 if (uart_match_port(uart, port)) {
968 uart_remove_one_port(&serial_txx9_reg, uart);
975 uart = &serial_txx9_ports[i];
976 if (!(uart->iobase || uart->mapbase))
981 uart->iobase = port->iobase;
982 uart->membase = port->membase;
983 uart->irq = port->irq;
984 uart->uartclk = port->uartclk;
985 uart->iotype = port->iotype;
986 uart->flags = port->flags
988 uart->mapbase = port->mapbase;
990 uart->dev = port->dev;
991 ret = uart_add_one_port(&serial_txx9_reg, uart);
993 ret = uart->line;
1008 struct uart_port *uart = &serial_txx9_ports[line];
1011 uart_remove_one_port(&serial_txx9_reg, uart);
1012 uart->flags = 0;
1013 uart->type = PORT_UNKNOWN;
1014 uart->iobase = 0;
1015 uart->mapbase = 0;
1016 uart->membase = NULL;
1017 uart->dev = NULL;