Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dearly_printk.c81 static unsigned long early_serial_base = 0x3f8; /* ttyS0 */ variable
118 while ((static_call(serial_in)(early_serial_base, LSR) & XMTRDY) == 0 && --timeout) in early_serial_putc()
120 static_call(serial_out)(early_serial_base, TXR, ch); in early_serial_putc()
138 static_call(serial_out)(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init()
139 static_call(serial_out)(early_serial_base, IER, 0); /* no interrupt */ in early_serial_hw_init()
140 static_call(serial_out)(early_serial_base, FCR, 0); /* no fifo */ in early_serial_hw_init()
141 static_call(serial_out)(early_serial_base, MCR, 0x3); /* DTR + RTS */ in early_serial_hw_init()
143 c = static_call(serial_in)(early_serial_base, LCR); in early_serial_hw_init()
144 static_call(serial_out)(early_serial_base, LCR, c | DLAB); in early_serial_hw_init()
145 static_call(serial_out)(early_serial_base, DLL, divisor & 0xff); in early_serial_hw_init()
[all …]
/linux/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()
/linux/arch/x86/boot/compressed/
H A Dearly_serial_console.c4 int early_serial_base __section(".data");
H A Dmisc.c112 while ((inb(early_serial_base + LSR) & XMTRDY) == 0 && --timeout) in serial_putchar()
115 outb(ch, early_serial_base + TXR); in serial_putchar()
123 if (early_serial_base) { in __putstr()