Home
last modified time | relevance | path

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

/arch/x86/boot/
A Dearly_serial_console.c17 #define LCR 3 /* Line control */ macro
31 outb(0x3, port + LCR); /* 8n1 */ in early_serial_init()
37 c = inb(port + LCR); in early_serial_init()
38 outb(c | DLAB, port + LCR); in early_serial_init()
41 outb(c & ~DLAB, port + LCR); in early_serial_init()
107 lcr = inb(port + LCR); in probe_baud()
108 outb(lcr | DLAB, port + LCR); in probe_baud()
111 outb(lcr, port + LCR); in probe_baud()
/arch/arm/mach-orion5x/
A Dtsx09-common.c32 writel(0x83, UART1_REG(LCR)); in qnap_tsx09_power_off()
35 writel(0x03, UART1_REG(LCR)); in qnap_tsx09_power_off()
A Dterastation_pro2-setup.c275 writel(0x83, UART1_REG(LCR)); in tsp2_power_off()
278 writel(0x1b, UART1_REG(LCR)); in tsp2_power_off()
A Dkurobox_pro-setup.c297 writel(0x83, UART1_REG(LCR)); in kurobox_pro_power_off()
300 writel(0x1b, UART1_REG(LCR)); in kurobox_pro_power_off()
/arch/x86/kernel/
A Dearly_printk.c92 #define LCR 3 /* Line control */ macro
138 static_call(serial_out)(early_serial_base, LCR, 0x3); /* 8n1 */ 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()
147 static_call(serial_out)(early_serial_base, LCR, c & ~DLAB); in early_serial_hw_init()

Completed in 9 milliseconds