Searched refs:LCR (Results 1 – 8 of 8) sorted by relevance
/arch/x86/boot/ |
D | early_serial_console.c | 14 #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/ |
D | debug-stub.c | 217 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()
|
D | gdb-io.c | 57 __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/ |
D | early_printk.c | 90 #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/ |
D | tsx09-common.c | 36 writel(0x83, UART1_REG(LCR)); in qnap_tsx09_power_off() 39 writel(0x03, UART1_REG(LCR)); in qnap_tsx09_power_off()
|
D | terastation_pro2-setup.c | 279 writel(0x83, UART1_REG(LCR)); in tsp2_power_off() 282 writel(0x1b, UART1_REG(LCR)); in tsp2_power_off()
|
D | kurobox_pro-setup.c | 300 writel(0x83, UART1_REG(LCR)); in kurobox_pro_power_off() 303 writel(0x1b, UART1_REG(LCR)); in kurobox_pro_power_off()
|
/arch/blackfin/kernel/ |
D | debug-mmrs.c | 550 __UART(LCR, lcr); in bfin_debug_mmrs_uart() 566 __UART(LCR, lcr); in bfin_debug_mmrs_uart()
|