Lines Matching refs:line
602 if (up->port.cons && up->port.line == up->port.cons->index) {
830 if (up->port.line == up->port.cons->index)
874 up->port.line = i;
991 if (port->line >= ARRAY_SIZE(serial_txx9_ports))
994 serial_txx9_ports[port->line].port = *port;
995 serial_txx9_ports[port->line].port.ops = &serial_txx9_pops;
996 serial_txx9_ports[port->line].port.flags |=
1012 * On success the port is ready to use and the line number is returned.
1049 ret = uart->port.line;
1057 * @line: serial line number
1062 static void serial_txx9_unregister_port(int line)
1064 struct uart_txx9_port *uart = &serial_txx9_ports[line];
1175 int line;
1190 line = serial_txx9_register_port(&port);
1191 if (line < 0) {
1192 printk(KERN_WARNING "Couldn't register serial port %s: %d\n", pci_name(dev), line);
1194 return line;
1196 pci_set_drvdata(dev, &serial_txx9_ports[line]);
1206 serial_txx9_unregister_port(up->port.line);