• Home
  • Raw
  • Download

Lines Matching refs:uart

1036 	struct uart_txx9_port *uart;  in serial_txx9_register_port()  local
1041 uart = &serial_txx9_ports[i]; in serial_txx9_register_port()
1042 if (uart_match_port(&uart->port, port)) { in serial_txx9_register_port()
1043 uart_remove_one_port(&serial_txx9_reg, &uart->port); in serial_txx9_register_port()
1050 uart = &serial_txx9_ports[i]; in serial_txx9_register_port()
1051 if (!(uart->port.iobase || uart->port.mapbase)) in serial_txx9_register_port()
1056 uart->port.iobase = port->iobase; in serial_txx9_register_port()
1057 uart->port.membase = port->membase; in serial_txx9_register_port()
1058 uart->port.irq = port->irq; in serial_txx9_register_port()
1059 uart->port.uartclk = port->uartclk; in serial_txx9_register_port()
1060 uart->port.iotype = port->iotype; in serial_txx9_register_port()
1061 uart->port.flags = port->flags in serial_txx9_register_port()
1063 uart->port.mapbase = port->mapbase; in serial_txx9_register_port()
1065 uart->port.dev = port->dev; in serial_txx9_register_port()
1066 ret = uart_add_one_port(&serial_txx9_reg, &uart->port); in serial_txx9_register_port()
1068 ret = uart->port.line; in serial_txx9_register_port()
1083 struct uart_txx9_port *uart = &serial_txx9_ports[line]; in serial_txx9_unregister_port() local
1086 uart_remove_one_port(&serial_txx9_reg, &uart->port); in serial_txx9_unregister_port()
1087 uart->port.flags = 0; in serial_txx9_unregister_port()
1088 uart->port.type = PORT_UNKNOWN; in serial_txx9_unregister_port()
1089 uart->port.iobase = 0; in serial_txx9_unregister_port()
1090 uart->port.mapbase = 0; in serial_txx9_unregister_port()
1091 uart->port.membase = NULL; in serial_txx9_unregister_port()
1092 uart->port.dev = NULL; in serial_txx9_unregister_port()