/Linux-v5.4/arch/x86/boot/ |
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-v5.4/arch/x86/kernel/ |
D | early_printk.c | 93 #define LCR 3 /* Line control */ macro 137 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init() 142 c = serial_in(early_serial_base, LCR); in early_serial_hw_init() 143 serial_out(early_serial_base, LCR, c | DLAB); in early_serial_hw_init() 146 serial_out(early_serial_base, LCR, c & ~DLAB); in early_serial_hw_init()
|
/Linux-v5.4/arch/arm/mach-orion5x/ |
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()
|
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()
|
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()
|
/Linux-v5.4/drivers/power/reset/ |
D | qnap-poweroff.c | 61 writel(0x83, UART1_REG(LCR)); in qnap_power_off() 64 writel(0x03, UART1_REG(LCR)); in qnap_power_off()
|
/Linux-v5.4/drivers/usb/serial/ |
D | io_16654.h | 35 #define LCR 3 // Line Control Register macro
|
D | io_edgeport.c | 2331 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE); in send_cmd_write_baud_rate() 2338 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, in send_cmd_write_baud_rate() 2412 regNum == LCR) { in send_cmd_write_uart_register() 2575 status = send_cmd_write_uart_register(edge_port, LCR, in change_port_settings()
|
/Linux-v5.4/drivers/staging/isdn/ |
D | TODO | 10 in-house installation with Asterisk or LCR, but anyone trying this in
|
/Linux-v5.4/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 97 #define LCR(iobase) (iobase+3) macro 173 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */ in ser12_set_divisor() 176 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */ in ser12_set_divisor()
|
D | yam.c | 154 #define LCR(iobase) (iobase+3) macro 294 outb(LCR_DLAB | LCR_BIT5, LCR(iobase)); in fpga_reset() 298 outb(LCR_BIT5, LCR(iobase)); in fpga_reset() 466 outb(LCR_DLAB | LCR_BIT8, LCR(dev->base_addr)); in yam_set_uart() 469 outb(LCR_BIT8, LCR(dev->base_addr)); in yam_set_uart()
|
D | baycom_ser_hdx.c | 83 #define LCR(iobase) (iobase+3) macro 158 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */ in ser12_set_divisor() 161 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */ in ser12_set_divisor()
|
/Linux-v5.4/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1247 u8 LCR, val; in pci_quatech_rqopr() local 1249 LCR = inb(base + UART_LCR); in pci_quatech_rqopr() 1252 outb(LCR, base + UART_LCR); in pci_quatech_rqopr() 1259 u8 LCR; in pci_quatech_wqopr() local 1261 LCR = inb(base + UART_LCR); in pci_quatech_wqopr() 1265 outb(LCR, base + UART_LCR); in pci_quatech_wqopr() 1271 u8 LCR, val, qmcr; in pci_quatech_rqmcr() local 1273 LCR = inb(base + UART_LCR); in pci_quatech_rqmcr() 1279 outb(LCR, base + UART_LCR); in pci_quatech_rqmcr() 1287 u8 LCR, val; in pci_quatech_wqmcr() local [all …]
|
/Linux-v5.4/drivers/tty/serial/ |
D | men_z135_uart.c | 96 #define LCR(x) (((x) >> MEN_Z135_LCR_SHIFT) & 0xff) macro 660 lcr = LCR(conf_reg); in men_z135_set_termios()
|