Home
last modified time | relevance | path

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

/linux/arch/x86/boot/
H 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()
/linux/arch/x86/kernel/
H 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()
/linux/arch/arm/mach-orion5x/
H 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()
/linux/drivers/power/reset/
H A Dqnap-poweroff.c60 writel(0x83, UART1_REG(LCR)); in qnap_power_off()
63 writel(0x03, UART1_REG(LCR)); in qnap_power_off()
/linux/drivers/usb/serial/
H A Dio_16654.h35 #define LCR 3 // Line Control Register macro
H A Dio_edgeport.c2221 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE); in send_cmd_write_baud_rate()
2228 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, in send_cmd_write_baud_rate()
2302 regNum == LCR) { in send_cmd_write_uart_register()
2465 status = send_cmd_write_uart_register(edge_port, LCR, in change_port_settings()