Lines Matching refs:line
554 if (up->cons && up->line == up->cons->index) {
778 if (up->line == up->cons->index)
822 up->line = i;
935 if (port->line >= ARRAY_SIZE(serial_txx9_ports))
938 serial_txx9_ports[port->line] = *port;
939 serial_txx9_ports[port->line].ops = &serial_txx9_pops;
940 serial_txx9_ports[port->line].flags |=
956 * On success the port is ready to use and the line number is returned.
993 ret = uart->line;
1001 * @line: serial line number
1006 static void serial_txx9_unregister_port(int line)
1008 struct uart_port *uart = &serial_txx9_ports[line];
1119 int line;
1134 line = serial_txx9_register_port(&port);
1135 if (line < 0) {
1136 printk(KERN_WARNING "Couldn't register serial port %s: %d\n", pci_name(dev), line);
1138 return line;
1140 pci_set_drvdata(dev, &serial_txx9_ports[line]);
1150 serial_txx9_unregister_port(up->line);