Home
last modified time | relevance | path

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

/NextBSD/sys/mips/nlm/hal/
HDuart.h101 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/
HDuart_dev_oct16550.c110 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/
HDuart_dev_ns8250.c104 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 …]
HDuart_dev_lpc.c209 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/
HDumcs.c613 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 …]
HDuftdi.c170 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/
HDuart_emul.c102 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/
HDgenrtab.c243 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/
HDcmi.c323 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/
HDrefcard.tex158 \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/
HDsio.c1632 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/
HDs390.md304 ;; and "lcr" in SImode.
5899 ; lcr, lcgr
5910 ; lcr, lcgr
5920 ; lcr, lcgr
/NextBSD/contrib/binutils/opcodes/
HDs390-opc.txt93 13 lcr RR_RR "load complement" g5 esa,zarch
/NextBSD/contrib/gcc/doc/
HDmd.texi2107 Register in the class @code{SPR_REGS} (@code{lcr} and @code{lr}).