Lines Matching +full:modem +full:- +full:control +full:- +full:line +full:- +full:ports
1 // SPDX-License-Identifier: GPL-2.0
16 #include <xen/hvc-console.h>
17 #include <asm/pci-direct.h>
20 #include <linux/usb/xhci-dbgp.h>
34 while ((c = *str++) != '\0' && n-- > 0) { in early_vga_write()
36 /* scroll 1 line up */ in early_vga_write()
45 current_ypos = max_ypos-1; in early_vga_write()
50 current_xpos--; in early_vga_write()
74 .index = -1,
89 #define FCR 2 /* FIFO control */
90 #define LCR 3 /* Line control */
91 #define MCR 4 /* Modem control */
92 #define LSR 5 /* Line Status */
93 #define MSR 6 /* Modem Status */
114 while ((serial_in(early_serial_base, LSR) & XMTRDY) == 0 && --timeout) in early_serial_putc()
117 return timeout ? 0 : -1; in early_serial_putc()
122 while (*s && n-- > 0) { in early_serial_write()
186 /* These will always be IO based ports */ in early_serial_init()
267 * Verify it is a 16550-UART type device in early_pci_serial_init()
287 /* It is memory mapped - assume 32-bit alignment */ in early_pci_serial_init()
324 .index = -1,
329 if (con->index != -1) { in early_console_register()
331 con->name); in early_console_register()
336 early_console->flags &= ~CON_BOOT; in early_console_register()
338 early_console->flags |= CON_BOOT; in early_console_register()