Lines Matching full:console
3 * USB Serial Console driver
17 #include <linux/console.h>
29 static struct console usbcons;
33 * USB Serial console driver
36 * and implements a phony serial console in the same way that
43 * console speeds based on the command line arguments.
55 static int usb_console_setup(struct console *co, char *options) in usb_console_setup()
109 * no need to check the index here: if the index is wrong, console in usb_console_setup()
158 dev_err(&port->dev, "could not open USB console port\n"); in usb_console_setup()
177 /* The console is special in terms of closing the device so in usb_console_setup()
178 * indicate this port is now acting as a system console. */ in usb_console_setup()
179 port->port.console = 1; in usb_console_setup()
197 static void usb_console_write(struct console *co, in usb_console_write()
214 if (!port->port.console) { in usb_console_write()
246 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device()
257 static struct console usbcons = {
285 * Register console. in usb_serial_console_init()
291 pr_debug("registering the USB serial console.\n"); in usb_serial_console_init()
300 usbcons_info.port->port.console = 0; in usb_serial_console_exit()