Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/boot/
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-v4.19/arch/x86/kernel/
Dearly_printk.c93 #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-v4.19/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()
/Linux-v4.19/drivers/power/reset/
Dqnap-poweroff.c65 writel(0x83, UART1_REG(LCR)); in qnap_power_off()
68 writel(0x03, UART1_REG(LCR)); in qnap_power_off()
/Linux-v4.19/drivers/usb/serial/
Dio_16654.h35 #define LCR 3 // Line Control Register macro
Dio_edgeport.c2349 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE); in send_cmd_write_baud_rate()
2356 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, in send_cmd_write_baud_rate()
2430 regNum == LCR) { in send_cmd_write_uart_register()
2593 status = send_cmd_write_uart_register(edge_port, LCR, in change_port_settings()
/Linux-v4.19/drivers/net/hamradio/
Dbaycom_ser_fdx.c112 #define LCR(iobase) (iobase+3) macro
188 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */ in ser12_set_divisor()
191 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */ in ser12_set_divisor()
Dyam.c169 #define LCR(iobase) (iobase+3) macro
309 outb(LCR_DLAB | LCR_BIT5, LCR(iobase)); in fpga_reset()
313 outb(LCR_BIT5, LCR(iobase)); in fpga_reset()
481 outb(LCR_DLAB | LCR_BIT8, LCR(dev->base_addr)); in yam_set_uart()
484 outb(LCR_BIT8, LCR(dev->base_addr)); in yam_set_uart()
Dbaycom_ser_hdx.c99 #define LCR(iobase) (iobase+3) macro
174 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */ in ser12_set_divisor()
177 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */ in ser12_set_divisor()
/Linux-v4.19/drivers/tty/serial/8250/
D8250_pci.c1121 u8 LCR, val; in pci_quatech_rqopr() local
1123 LCR = inb(base + UART_LCR); in pci_quatech_rqopr()
1126 outb(LCR, base + UART_LCR); in pci_quatech_rqopr()
1133 u8 LCR; in pci_quatech_wqopr() local
1135 LCR = inb(base + UART_LCR); in pci_quatech_wqopr()
1139 outb(LCR, base + UART_LCR); in pci_quatech_wqopr()
1145 u8 LCR, val, qmcr; in pci_quatech_rqmcr() local
1147 LCR = inb(base + UART_LCR); in pci_quatech_rqmcr()
1153 outb(LCR, base + UART_LCR); in pci_quatech_rqmcr()
1161 u8 LCR, val; in pci_quatech_wqmcr() local
[all …]
/Linux-v4.19/drivers/tty/serial/
Dmen_z135_uart.c96 #define LCR(x) (((x) >> MEN_Z135_LCR_SHIFT) & 0xff) macro
661 lcr = LCR(conf_reg); in men_z135_set_termios()
/Linux-v4.19/drivers/isdn/hisax/
Dhisax.h576 u_char LCR; member