Home
last modified time | relevance | path

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

/arch/x86/boot/
Dearly_serial_console.c14 #define LCR 3 /* Line control */ macro
28 outb(0x3, port + LCR); /* 8n1 */ in early_serial_init()
34 c = inb(port + LCR); in early_serial_init()
35 outb(c | DLAB, port + LCR); in early_serial_init()
38 outb(c & ~DLAB, port + LCR); in early_serial_init()
104 lcr = inb(port + LCR); in probe_baud()
105 outb(lcr | DLAB, port + LCR); in probe_baud()
108 outb(lcr, port + LCR); in probe_baud()
/arch/frv/kernel/
Ddebug-stub.c217 lcr = __UART0(LCR); in console_set_baud()
218 __UART0(LCR) |= UART_LCR_DLAB; in console_set_baud()
223 __UART0(LCR) = lcr; in console_set_baud()
237 lcr = __UART0(LCR); in console_get_baud()
238 __UART0(LCR) |= UART_LCR_DLAB; in console_get_baud()
242 __UART0(LCR) = lcr; in console_get_baud()
Dgdb-io.c57 __UART(LCR) = UART_LCR_WLEN8; /* 1N8 */ in gdbstub_io_init()
97 lcr = __UART(LCR); in gdbstub_set_baud()
98 __UART(LCR) |= UART_LCR_DLAB; in gdbstub_set_baud()
103 __UART(LCR) = lcr; in gdbstub_set_baud()
/arch/x86/kernel/
Dearly_printk.c90 #define LCR 3 /* Line control */ macro
148 outb(0x3, early_serial_base + LCR); /* 8n1 */ in early_serial_init()
160 c = inb(early_serial_base + LCR); in early_serial_init()
161 outb(c | DLAB, early_serial_base + LCR); in early_serial_init()
164 outb(c & ~DLAB, early_serial_base + LCR); in early_serial_init()
/arch/arm/mach-orion5x/
Dtsx09-common.c36 writel(0x83, UART1_REG(LCR)); in qnap_tsx09_power_off()
39 writel(0x03, UART1_REG(LCR)); in qnap_tsx09_power_off()
Dterastation_pro2-setup.c279 writel(0x83, UART1_REG(LCR)); in tsp2_power_off()
282 writel(0x1b, UART1_REG(LCR)); in tsp2_power_off()
Dkurobox_pro-setup.c300 writel(0x83, UART1_REG(LCR)); in kurobox_pro_power_off()
303 writel(0x1b, UART1_REG(LCR)); in kurobox_pro_power_off()
/arch/blackfin/kernel/
Ddebug-mmrs.c550 __UART(LCR, lcr); in bfin_debug_mmrs_uart()
566 __UART(LCR, lcr); in bfin_debug_mmrs_uart()