Searched refs:LCR (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/x86/boot/ |
| H A D | early_serial_console.c | 17 #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 D | early_printk.c | 92 #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 D | tsx09-common.c | 32 writel(0x83, UART1_REG(LCR)); in qnap_tsx09_power_off() 35 writel(0x03, UART1_REG(LCR)); in qnap_tsx09_power_off()
|
| H A D | terastation_pro2-setup.c | 275 writel(0x83, UART1_REG(LCR)); in tsp2_power_off() 278 writel(0x1b, UART1_REG(LCR)); in tsp2_power_off()
|
| H A D | kurobox_pro-setup.c | 297 writel(0x83, UART1_REG(LCR)); in kurobox_pro_power_off() 300 writel(0x1b, UART1_REG(LCR)); in kurobox_pro_power_off()
|
| /linux/drivers/power/reset/ |
| H A D | qnap-poweroff.c | 60 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 D | io_16654.h | 35 #define LCR 3 // Line Control Register macro
|
| H A D | io_edgeport.c | 2220 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE); in send_cmd_write_baud_rate() 2227 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, in send_cmd_write_baud_rate() 2301 regNum == LCR) { in send_cmd_write_uart_register() 2464 status = send_cmd_write_uart_register(edge_port, LCR, in change_port_settings()
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 1364 u8 LCR, val; in pci_quatech_rqopr() local 1366 LCR = inb(base + UART_LCR); in pci_quatech_rqopr() 1369 outb(LCR, base + UART_LCR); in pci_quatech_rqopr() 1376 u8 LCR; in pci_quatech_wqopr() local 1378 LCR = inb(base + UART_LCR); in pci_quatech_wqopr() 1382 outb(LCR, base + UART_LCR); in pci_quatech_wqopr() 1388 u8 LCR, val, qmcr; in pci_quatech_rqmcr() local 1390 LCR = inb(base + UART_LCR); in pci_quatech_rqmcr() 1396 outb(LCR, base + UART_LCR); in pci_quatech_rqmcr() 1404 u8 LCR, val; in pci_quatech_wqmcr() local [all …]
|