Home
last modified time | relevance | path

Searched refs:early_serial_base (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/
Dearly_printk.c79 static unsigned long early_serial_base = 0x3f8; /* ttyS0 */ variable
114 while ((serial_in(early_serial_base, LSR) & XMTRDY) == 0 && --timeout) in early_serial_putc()
116 serial_out(early_serial_base, TXR, ch); in early_serial_putc()
134 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init()
135 serial_out(early_serial_base, IER, 0); /* no interrupt */ in early_serial_hw_init()
136 serial_out(early_serial_base, FCR, 0); /* no fifo */ in early_serial_hw_init()
137 serial_out(early_serial_base, MCR, 0x3); /* DTR + RTS */ in early_serial_hw_init()
139 c = serial_in(early_serial_base, LCR); in early_serial_hw_init()
140 serial_out(early_serial_base, LCR, c | DLAB); in early_serial_hw_init()
141 serial_out(early_serial_base, DLL, divisor & 0xff); in early_serial_hw_init()
[all …]
/kernel/linux/linux-5.10/arch/x86/boot/
Dtty.c16 int early_serial_base; variable
32 while ((inb(early_serial_base + LSR) & XMTRDY) == 0 && --timeout) in serial_putchar()
35 outb(ch, early_serial_base + TXR); in serial_putchar()
57 if (early_serial_base != 0) in putchar()
Dearly_serial_console.c43 early_serial_base = port; in early_serial_init()
152 if (!early_serial_base) in console_init()
Dboot.h298 extern int early_serial_base;
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dmisc.h110 extern int early_serial_base;
113 static const int early_serial_base; variable
Dearly_serial_console.c3 int early_serial_base; variable
Dmisc.c103 while ((inb(early_serial_base + LSR) & XMTRDY) == 0 && --timeout) in serial_putchar()
106 outb(ch, early_serial_base + TXR); in serial_putchar()
114 if (early_serial_base) { in __putstr()