/linux-4.1.27/arch/x86/boot/ |
D | early_serial_console.c | 12 #define LCR 3 /* Line control */ macro 26 outb(0x3, port + LCR); /* 8n1 */ in early_serial_init() 32 c = inb(port + LCR); in early_serial_init() 33 outb(c | DLAB, port + LCR); in early_serial_init() 36 outb(c & ~DLAB, port + LCR); in early_serial_init() 102 lcr = inb(port + LCR); in probe_baud() 103 outb(lcr | DLAB, port + LCR); in probe_baud() 106 outb(lcr, port + LCR); in probe_baud()
|
/linux-4.1.27/arch/frv/kernel/ |
D | debug-stub.c | 217 lcr = __UART0(LCR); in console_set_baud() 218 __UART0(LCR) |= UART_LCR_DLAB; in console_set_baud() 223 __UART0(LCR) = lcr; in console_set_baud() 237 lcr = __UART0(LCR); in console_get_baud() 238 __UART0(LCR) |= UART_LCR_DLAB; in console_get_baud() 242 __UART0(LCR) = lcr; in console_get_baud()
|
D | gdb-io.c | 57 __UART(LCR) = UART_LCR_WLEN8; /* 1N8 */ in gdbstub_io_init() 97 lcr = __UART(LCR); in gdbstub_set_baud() 98 __UART(LCR) |= UART_LCR_DLAB; in gdbstub_set_baud() 103 __UART(LCR) = lcr; in gdbstub_set_baud()
|
/linux-4.1.27/arch/x86/kernel/ |
D | early_printk.c | 91 #define LCR 3 /* Line control */ macro 135 serial_out(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init() 140 c = serial_in(early_serial_base, LCR); in early_serial_hw_init() 141 serial_out(early_serial_base, LCR, c | DLAB); in early_serial_hw_init() 144 serial_out(early_serial_base, LCR, c & ~DLAB); in early_serial_hw_init()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
D | tsx09-common.c | 36 writel(0x83, UART1_REG(LCR)); in qnap_tsx09_power_off() 39 writel(0x03, UART1_REG(LCR)); in qnap_tsx09_power_off()
|
D | terastation_pro2-setup.c | 279 writel(0x83, UART1_REG(LCR)); in tsp2_power_off() 282 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-4.1.27/drivers/power/reset/ |
D | qnap-poweroff.c | 65 writel(0x83, UART1_REG(LCR)); in qnap_power_off() 68 writel(0x03, UART1_REG(LCR)); in qnap_power_off()
|
/linux-4.1.27/drivers/usb/serial/ |
D | mos7720.c | 129 LCR, enumerator 1060 write_mos_reg(serial, port_number, LCR, mos7720_port->shadowLCR); in mos7720_open() 1069 write_mos_reg(serial, port_number, LCR, mos7720_port->shadowLCR); in mos7720_open() 1073 write_mos_reg(serial, port_number, LCR, mos7720_port->shadowLCR); in mos7720_open() 1172 write_mos_reg(serial, port->port_number, LCR, mos7720_port->shadowLCR); in mos7720_break() 1379 write_mos_reg(serial, port_number, LCR, mos7720_port->shadowLCR); in set_higher_rates() 1383 write_mos_reg(serial, port_number, LCR, mos7720_port->shadowLCR); in set_higher_rates() 1491 write_mos_reg(serial, number, LCR, mos7720_port->shadowLCR); in send_cmd_write_baud_rate() 1499 write_mos_reg(serial, number, LCR, mos7720_port->shadowLCR); in send_cmd_write_baud_rate() 1608 write_mos_reg(serial, port_number, LCR, mos7720_port->shadowLCR); in change_port_settings()
|
D | io_16654.h | 38 #define LCR 3 // Line Control Register macro
|
D | io_edgeport.c | 2266 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, LCR_DL_ENABLE); in send_cmd_write_baud_rate() 2273 MAKE_CMD_WRITE_REG(&currCmd, &cmdLen, number, LCR, in send_cmd_write_baud_rate() 2347 regNum == LCR) { in send_cmd_write_uart_register() 2513 status = send_cmd_write_uart_register(edge_port, LCR, in change_port_settings()
|
/linux-4.1.27/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 111 #define LCR(iobase) (iobase+3) macro 187 outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */ in ser12_set_divisor() 190 outb(0x01, LCR(dev->base_addr)); /* word length = 6 */ in ser12_set_divisor()
|
D | yam.c | 169 #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()
|
D | baycom_ser_hdx.c | 99 #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-4.1.27/drivers/net/irda/ |
D | nsc-ircc.h | 105 #define LCR 0x03 /* Link control register */ macro
|
D | nsc-ircc.c | 1013 outb(0x03, iobase+LCR); /* 8 bit word length */ in nsc_ircc_setup()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1131 u8 LCR, val; in pci_quatech_rqopr() local 1133 LCR = inb(base + UART_LCR); in pci_quatech_rqopr() 1136 outb(LCR, base + UART_LCR); in pci_quatech_rqopr() 1143 u8 LCR, val; in pci_quatech_wqopr() local 1145 LCR = inb(base + UART_LCR); in pci_quatech_wqopr() 1149 outb(LCR, base + UART_LCR); in pci_quatech_wqopr() 1155 u8 LCR, val, qmcr; in pci_quatech_rqmcr() local 1157 LCR = inb(base + UART_LCR); in pci_quatech_rqmcr() 1163 outb(LCR, base + UART_LCR); in pci_quatech_rqmcr() 1171 u8 LCR, val; in pci_quatech_wqmcr() local [all …]
|
/linux-4.1.27/drivers/tty/serial/ |
D | men_z135_uart.c | 101 #define LCR(x) (((x) >> MEN_Z135_LCR_SHIFT) & 0xff) macro 665 lcr = LCR(conf_reg); in men_z135_set_termios()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | hisax.h | 576 u_char LCR; member
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | debug-mmrs.c | 550 __UART(LCR, lcr); in bfin_debug_mmrs_uart() 566 __UART(LCR, lcr); in bfin_debug_mmrs_uart()
|