Searched refs:LCR (Results 1 - 13 of 13) sorted by relevance

/linux-master/arch/x86/boot/
H A Dearly_serial_console.c17 #define LCR 3 /* Line control */ macro
31 outb(0x3, port + LCR); /* 8n1 */
37 c = inb(port + LCR);
38 outb(c | DLAB, port + LCR);
41 outb(c & ~DLAB, port + LCR);
107 lcr = inb(port + LCR);
108 outb(lcr | DLAB, port + LCR);
111 outb(lcr, port + LCR);
/linux-master/arch/arm/mach-orion5x/
H A Dtsx09-common.c32 writel(0x83, UART1_REG(LCR));
35 writel(0x03, UART1_REG(LCR));
H A Dterastation_pro2-setup.c275 writel(0x83, UART1_REG(LCR));
278 writel(0x1b, UART1_REG(LCR));
H A Dkurobox_pro-setup.c297 writel(0x83, UART1_REG(LCR));
300 writel(0x1b, UART1_REG(LCR));
/linux-master/drivers/power/reset/
H A Dqnap-poweroff.c60 writel(0x83, UART1_REG(LCR));
63 writel(0x03, UART1_REG(LCR));
/linux-master/arch/x86/kernel/
H A Dearly_printk.c90 #define LCR 3 /* Line control */ macro
134 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */
139 c = serial_in(early_serial_base, LCR);
140 serial_out(early_serial_base, LCR, c | DLAB);
143 serial_out(early_serial_base, LCR, c & ~DLAB);
/linux-master/drivers/usb/serial/
H A Dio_16654.h23 // to them via LCR bit 0x80 or LCR = 0xBF.
35 #define LCR 3 // Line Control Register macro
H A Dio_edgeport.c170 __u8 shadowLCR; /* last LCR value received */
2217 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE);
2224 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR,
2287 (regNum == MCR) ? "MCR" : "LCR", __func__, regValue);
2298 regNum == LCR) {
2299 dev_dbg(dev, "SendCmdWriteUartReg - Not writing to LCR Register\n");
2460 /* Send the updated LCR value to the EdgePort */
2461 status = send_cmd_write_uart_register(edge_port, LCR,
/linux-master/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c97 #define LCR(iobase) (iobase+3) macro
173 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */
176 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */
H A Dbaycom_ser_hdx.c83 #define LCR(iobase) (iobase+3) macro
158 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */
161 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */
H A Dyam.c154 #define LCR(iobase) (iobase+3) macro
294 outb(LCR_DLAB | LCR_BIT5, LCR(iobase));
298 outb(LCR_BIT5, LCR(iobase));
466 outb(LCR_DLAB | LCR_BIT8, LCR(dev->base_addr));
469 outb(LCR_BIT8, LCR(dev->base_addr));
/linux-master/drivers/tty/serial/8250/
H A D8250_pci.c1358 u8 LCR, val; local
1360 LCR = inb(base + UART_LCR);
1363 outb(LCR, base + UART_LCR);
1370 u8 LCR; local
1372 LCR = inb(base + UART_LCR);
1376 outb(LCR, base + UART_LCR);
1382 u8 LCR, val, qmcr; local
1384 LCR = inb(base + UART_LCR);
1390 outb(LCR, base + UART_LCR);
1398 u8 LCR, va local
1412 u8 LCR, val; local
[all...]
/linux-master/drivers/tty/serial/
H A Dmen_z135_uart.c62 #define MEN_Z135_LCR_SHIFT 8 /* LCR shift mask */
96 #define LCR(x) (((x) >> MEN_Z135_LCR_SHIFT) & 0xff) macro
657 lcr = LCR(conf_reg);

Completed in 205 milliseconds