| /NextBSD/sys/mips/nlm/hal/ |
| HD | uart.h | 101 uint32_t lcr; in nlm_uart_set_baudrate() local 103 lcr = nlm_read_uart_reg(base, UART_LINE_CTL); in nlm_uart_set_baudrate() 106 nlm_write_uart_reg(base, UART_LINE_CTL, lcr | (1 << 7)); in nlm_uart_set_baudrate() 113 nlm_write_uart_reg(base, UART_LINE_CTL, lcr); in nlm_uart_set_baudrate() 154 uint32_t lcr; in nlm_uart_init() local 156 lcr = 0; in nlm_uart_init() 158 lcr |= LCR_8BITS; in nlm_uart_init() 160 lcr |= LCR_7BITS; in nlm_uart_init() 162 lcr |= LCR_6BITS; in nlm_uart_init() 164 lcr |= LCR_5BITS; in nlm_uart_init() [all …]
|
| /NextBSD/sys/mips/cavium/ |
| HD | uart_dev_oct16550.c | 110 u_char lcr; in oct16550_delay() local 115 lcr = uart_getreg(bas, REG_LCR); in oct16550_delay() 116 uart_setreg(bas, REG_LCR, lcr | LCR_DLAB); in oct16550_delay() 120 uart_setreg(bas, REG_LCR, lcr); in oct16550_delay() 226 uint8_t lcr; in oct16550_param() local 228 lcr = 0; in oct16550_param() 230 lcr |= LCR_8BITS; in oct16550_param() 232 lcr |= LCR_7BITS; in oct16550_param() 234 lcr |= LCR_6BITS; in oct16550_param() 236 lcr |= LCR_5BITS; in oct16550_param() [all …]
|
| /NextBSD/sys/dev/uart/ |
| HD | uart_dev_ns8250.c | 104 u_char lcr; in ns8250_delay() local 106 lcr = uart_getreg(bas, REG_LCR); in ns8250_delay() 107 uart_setreg(bas, REG_LCR, lcr | LCR_DLAB); in ns8250_delay() 111 uart_setreg(bas, REG_LCR, lcr); in ns8250_delay() 213 uint8_t lcr; in ns8250_param() local 215 lcr = 0; in ns8250_param() 217 lcr |= LCR_8BITS; in ns8250_param() 219 lcr |= LCR_7BITS; in ns8250_param() 221 lcr |= LCR_6BITS; in ns8250_param() 223 lcr |= LCR_5BITS; in ns8250_param() [all …]
|
| HD | uart_dev_lpc.c | 209 uint8_t lcr; in lpc_ns8250_param() local 211 lcr = 0; in lpc_ns8250_param() 213 lcr |= LCR_8BITS; in lpc_ns8250_param() 215 lcr |= LCR_7BITS; in lpc_ns8250_param() 217 lcr |= LCR_6BITS; in lpc_ns8250_param() 219 lcr |= LCR_5BITS; in lpc_ns8250_param() 221 lcr |= LCR_STOPB; in lpc_ns8250_param() 222 lcr |= parity << 3; in lpc_ns8250_param() 226 uart_setreg(bas, REG_LCR, lcr | LCR_DLAB); in lpc_ns8250_param() 240 uart_setreg(bas, REG_LCR, lcr); in lpc_ns8250_param() [all …]
|
| /NextBSD/sys/dev/usb/serial/ |
| HD | umcs.c | 613 uint8_t lcr = sc->sc_ports[pn].sc_lcr; in umcs7840_cfg_param() local 619 lcr |= MCS7840_UART_LCR_STOPB2; in umcs7840_cfg_param() 621 lcr |= MCS7840_UART_LCR_STOPB1; in umcs7840_cfg_param() 625 lcr &= ~MCS7840_UART_LCR_PARITYMASK; in umcs7840_cfg_param() 627 lcr |= MCS7840_UART_LCR_PARITYON; in umcs7840_cfg_param() 629 lcr = MCS7840_UART_LCR_PARITYODD; in umcs7840_cfg_param() 632 lcr = MCS7840_UART_LCR_PARITYEVEN; in umcs7840_cfg_param() 636 lcr &= ~MCS7840_UART_LCR_PARITYON; in umcs7840_cfg_param() 640 lcr &= ~MCS7840_UART_LCR_DATALENMASK; in umcs7840_cfg_param() 643 lcr |= MCS7840_UART_LCR_DATALEN5; in umcs7840_cfg_param() [all …]
|
| HD | uftdi.c | 170 uint16_t lcr; member 1558 cfg->lcr = FTDI_SIO_SET_DATA_STOP_BITS_2; in uftdi_set_parm_soft() 1560 cfg->lcr = FTDI_SIO_SET_DATA_STOP_BITS_1; in uftdi_set_parm_soft() 1564 cfg->lcr |= FTDI_SIO_SET_DATA_PARITY_ODD; in uftdi_set_parm_soft() 1566 cfg->lcr |= FTDI_SIO_SET_DATA_PARITY_EVEN; in uftdi_set_parm_soft() 1569 cfg->lcr |= FTDI_SIO_SET_DATA_PARITY_NONE; in uftdi_set_parm_soft() 1574 cfg->lcr |= FTDI_SIO_SET_DATA_BITS(5); in uftdi_set_parm_soft() 1578 cfg->lcr |= FTDI_SIO_SET_DATA_BITS(6); in uftdi_set_parm_soft() 1582 cfg->lcr |= FTDI_SIO_SET_DATA_BITS(7); in uftdi_set_parm_soft() 1586 cfg->lcr |= FTDI_SIO_SET_DATA_BITS(8); in uftdi_set_parm_soft() [all …]
|
| /NextBSD/usr.sbin/bhyve/ |
| HD | uart_emul.c | 102 uint8_t lcr; /* Line control register (R/W) */ member 402 if ((sc->lcr & LCR_DLAB) != 0) { in uart_write() 456 sc->lcr = value; in uart_write() 517 if ((sc->lcr & LCR_DLAB) != 0) { in uart_read() 552 reg = sc->lcr; in uart_read()
|
| /NextBSD/sys/dev/patm/genrtab/ |
| HD | genrtab.c | 243 double cps, lcr; in gen_rate2log() local 256 lcr = cps2log(alink, cps); in gen_rate2log() 259 ilcr = (u_int)rint(lcr); in gen_rate2log()
|
| /NextBSD/sys/dev/sound/pci/ |
| HD | cmi.c | 323 u_int32_t fcr1, lcr, mcr; in cmi_spdif_speed() local 327 lcr = CMPCI_REG_XSPDIF_ENABLE; in cmi_spdif_speed() 331 fcr1 = mcr = lcr = 0; in cmi_spdif_speed() 339 CMPCI_REG_XSPDIF_ENABLE, lcr); in cmi_spdif_speed()
|
| /NextBSD/contrib/gdb/gdb/doc/ |
| HD | refcard.tex | 158 \let\lcr=L \newbox\leftcolumn\newbox\centercolumn 159 \output={\if L\lcr 160 \global\setbox\leftcolumn=\columnbox \global\let\lcr=C 162 \if C\lcr 163 \global\setbox\centercolumn=\columnbox \global\let\lcr=R 164 \else \tripleformat \global\let\lcr=L 203 \if R\lcr \null\vfill\eject\fi
|
| /NextBSD/sys/pc98/cbus/ |
| HD | sio.c | 1632 u_char lcr; local 1633 lcr = sio_getreg(com, com_cfcr); 1634 sio_setreg(com, com_cfcr, lcr | CFCR_DLAB); 1636 sio_setreg(com, com_cfcr, lcr);
|
| /NextBSD/contrib/gcc/config/s390/ |
| HD | s390.md | 304 ;; and "lcr" in SImode. 5899 ; lcr, lcgr 5910 ; lcr, lcgr 5920 ; lcr, lcgr
|
| /NextBSD/contrib/binutils/opcodes/ |
| HD | s390-opc.txt | 93 13 lcr RR_RR "load complement" g5 esa,zarch
|
| /NextBSD/contrib/gcc/doc/ |
| HD | md.texi | 2107 Register in the class @code{SPR_REGS} (@code{lcr} and @code{lr}).
|