Lines Matching +full:0 +full:x3f8

8 #define DEFAULT_SERIAL_PORT 0x3f8 /* ttyS0 */
10 #define DLAB 0x80
12 #define TXR 0 /* Transmit register (WRITE) */
13 #define RXR 0 /* Receive register (READ) */
21 #define DLL 0 /* Divisor Latch Low */
31 outb(0x3, port + LCR); /* 8n1 */ in early_serial_init()
32 outb(0, port + IER); /* no interrupt */ in early_serial_init()
33 outb(0, port + FCR); /* no fifo */ in early_serial_init()
34 outb(0x3, port + MCR); /* DTR + RTS */ in early_serial_init()
39 outb(divisor & 0xff, port + DLL); in early_serial_init()
40 outb((divisor >> 8) & 0xff, port + DLH); in early_serial_init()
50 int pos = 0; in parse_earlyprintk()
51 int port = 0; in parse_earlyprintk()
53 if (cmdline_find_option("earlyprintk", arg, sizeof(arg)) > 0) { in parse_earlyprintk()
66 * "serial,0x3f8,115200" in parse_earlyprintk()
70 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) { in parse_earlyprintk()
72 if (port == 0 || arg + pos == e) in parse_earlyprintk()
77 static const int bases[] = { 0x3f8, 0x2f8 }; in parse_earlyprintk()
78 int idx = 0; in parse_earlyprintk()
92 baud = simple_strtoull(arg + pos, &e, 0); in parse_earlyprintk()
93 if (baud == 0 || arg + pos == e) in parse_earlyprintk()
121 int port = 0; in parse_console_uart8250()
124 * console=uart8250,io,0x3f8,115200n8 in parse_console_uart8250()
127 if (cmdline_find_option("console", optstr, sizeof(optstr)) <= 0) in parse_console_uart8250()
133 port = simple_strtoull(options + 12, &options, 0); in parse_console_uart8250()
135 port = simple_strtoull(options + 8, &options, 0); in parse_console_uart8250()
139 if (options && (options[0] == ',')) in parse_console_uart8250()
140 baud = simple_strtoull(options + 1, &options, 0); in parse_console_uart8250()