Lines Matching defs:uart
479 * Console polling routines for writing and reading from the uart while
937 * Check whether an invalid uart number has been specified, and
1017 struct uart_txx9_port *uart;
1022 uart = &serial_txx9_ports[i];
1023 if (uart_match_port(&uart->port, port)) {
1024 uart_remove_one_port(&serial_txx9_reg, &uart->port);
1031 uart = &serial_txx9_ports[i];
1032 if (!(uart->port.iobase || uart->port.mapbase))
1037 uart->port.iobase = port->iobase;
1038 uart->port.membase = port->membase;
1039 uart->port.irq = port->irq;
1040 uart->port.uartclk = port->uartclk;
1041 uart->port.iotype = port->iotype;
1042 uart->port.flags = port->flags
1044 uart->port.mapbase = port->mapbase;
1046 uart->port.dev = port->dev;
1047 ret = uart_add_one_port(&serial_txx9_reg, &uart->port);
1049 ret = uart->port.line;
1064 struct uart_txx9_port *uart = &serial_txx9_ports[line];
1067 uart_remove_one_port(&serial_txx9_reg, &uart->port);
1068 uart->port.flags = 0;
1069 uart->port.type = PORT_UNKNOWN;
1070 uart->port.iobase = 0;
1071 uart->port.mapbase = 0;
1072 uart->port.membase = NULL;
1073 uart->port.dev = NULL;