Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kernel/
H A Dearly_printk.c80 static unsigned long early_serial_base = 0x3f8; /* ttyS0 */ variable
119 static_call(serial_out)(early_serial_base, TXR, ch); in early_serial_putc()
137 static_call(serial_out)(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init()
142 c = static_call(serial_in)(early_serial_base, LCR); in early_serial_hw_init()
143 static_call(serial_out)(early_serial_base, LCR, c | DLAB); in early_serial_hw_init()
144 static_call(serial_out)(early_serial_base, DLL, divisor & 0xff); in early_serial_hw_init()
146 static_call(serial_out)(early_serial_base, LCR, c & ~DLAB); in early_serial_hw_init()
163 early_serial_base = simple_strtoul(s, &e, 16); in early_serial_init()
172 early_serial_base = bases[port]; in early_serial_init()
320 early_serial_base = bar0 & PCI_BASE_ADDRESS_IO_MASK; in early_pci_serial_init()
[all …]
/linux-6.15/arch/x86/boot/
H A 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()
H A Dearly_serial_console.c43 early_serial_base = port; in early_serial_init()
152 if (!early_serial_base) in console_init()
H A Dboot.h277 extern int early_serial_base;
/linux-6.15/arch/x86/boot/compressed/
H A Dearly_serial_console.c4 int early_serial_base __section(".data");
H A Dmisc.h130 extern int early_serial_base;
133 static const int early_serial_base; variable
H A Dmisc.c113 while ((inb(early_serial_base + LSR) & XMTRDY) == 0 && --timeout) in serial_putchar()
116 outb(ch, early_serial_base + TXR); in serial_putchar()
124 if (early_serial_base) { in __putstr()