Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/usb/
Dumcs.c80 uint8_t lcr; /* local line control reg. */ member
401 uint8_t lcr = sc->sc_subdevs[portno].lcr; in umcs_set_baudrate() local
419 lcr |= UMCS_LCR_DIVISORS; in umcs_set_baudrate()
420 if (umcs_set_uart_reg(sc, portno, UMCS_REG_LCR, lcr)) in umcs_set_baudrate()
422 sc->sc_subdevs[portno].lcr = lcr; in umcs_set_baudrate()
429 lcr &= ~UMCS_LCR_DIVISORS; in umcs_set_baudrate()
430 if (umcs_set_uart_reg(sc, portno, UMCS_REG_LCR, lcr)) in umcs_set_baudrate()
432 sc->sc_subdevs[portno].lcr = lcr; in umcs_set_baudrate()
530 uint8_t lcr = sc->sc_subdevs[portno].lcr; in umcs_param() local
535 lcr |= UMCS_LCR_STOPB2; in umcs_param()
[all …]
Dukspan.c78 uint8_t lcr; member
474 u_int8_t lcr; in ukspan_param() local
515 lcr = (cflag & PARODD) ? UKSPAN_PARITY_ODD : in ukspan_param()
518 lcr = UKSPAN_PARITY_NONE; in ukspan_param()
521 lcr |= UKSPAN_DATA_5; in ukspan_param()
524 lcr |= UKSPAN_DATA_6; in ukspan_param()
527 lcr |= UKSPAN_DATA_7; in ukspan_param()
530 lcr |= UKSPAN_DATA_8; in ukspan_param()
534 lcr |= (cflag & CSTOPB) ? UKSPAN_STOP_2 : UKSPAN_STOP_1; in ukspan_param()
537 cmsg->lcr = lcr; in ukspan_param()
Duchcom.c631 uint8_t brk, lcr; in uchcom_set_break() local
633 err = uchcom_read_reg(sc, UCHCOM_REG_BREAK, &brk, UCHCOM_REG_LCR, &lcr); in uchcom_set_break()
639 lcr &= ~UCHCOM_LCR_TXE; in uchcom_set_break()
643 lcr |= UCHCOM_LCR_TXE; in uchcom_set_break()
645 err = uchcom_write_reg(sc, UCHCOM_REG_BREAK, brk, UCHCOM_REG_LCR, lcr); in uchcom_set_break()
778 uint8_t lcr = 0, lcr2 = 0; in uchcom_set_line_control() local
801 err = uchcom_read_reg(sc, UCHCOM_REG_LCR, &lcr, UCHCOM_REG_LCR2, in uchcom_set_line_control()
810 lcr = UCHCOM_LCR_RXE | UCHCOM_LCR_TXE; in uchcom_set_line_control()
814 lcr |= UCHCOM_LCR_CS5; in uchcom_set_line_control()
817 lcr |= UCHCOM_LCR_CS6; in uchcom_set_line_control()
[all …]
/openbsd/src/sys/dev/ic/
Dcom.c315 u_int8_t lcr; in comopen() local
325 lcr = com_read_reg(sc, com_lcr); in comopen()
327 lcr | LCR_DLAB); in comopen()
353 com_write_reg(sc, com_lcr, lcr); in comopen()
559 u_int8_t lcr; in com_resume() local
569 lcr = com_read_reg(sc, com_lcr); in com_resume()
571 lcr | LCR_DLAB); in com_resume()
597 com_write_reg(sc, com_lcr, lcr); in com_resume()
772 u_char lcr; in comparam() local
779 lcr = ISSET(sc->sc_lcr, LCR_SBREAK); in comparam()
[all …]
Dpluart.c168 int fifolen, fr, lcr, maj; in pluart_attach_common() local
229 lcr = bus_space_read_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H); in pluart_attach_common()
231 lcr |= UART_LCR_H_FEN; in pluart_attach_common()
233 lcr &= ~UART_LCR_H_FEN; in pluart_attach_common()
234 bus_space_write_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H, lcr); in pluart_attach_common()
338 int cr, div, lcr; in pluart_param() local
355 lcr = bus_space_read_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H); in pluart_param()
382 bus_space_write_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H, lcr); in pluart_param()
/openbsd/src/sys/arch/octeon/dev/
Dcn30xxuart.c168 u_char lcr; in cn30xxuart_delay() local
174 lcr = octeon_xkphys_read_8(MIO_UART0_LCR); in cn30xxuart_delay()
175 octeon_xkphys_write_8(MIO_UART0_LCR, lcr | LCR_DLAB); in cn30xxuart_delay()
178 octeon_xkphys_write_8(MIO_UART0_LCR, lcr); in cn30xxuart_delay()
/openbsd/src/usr.sbin/vmd/
Dns8250.c260 if (com1_dev.regs.lcr & LCR_DLAB) { in vcpu_process_com_data()
280 if (com1_dev.regs.lcr & LCR_DLAB) { in vcpu_process_com_data()
341 if (com1_dev.regs.lcr & LCR_DLAB) { in vcpu_process_com_lcr()
359 com1_dev.regs.lcr = (uint8_t)vei->vei.vei_data; in vcpu_process_com_lcr()
366 set_return_data(vei, com1_dev.regs.lcr); in vcpu_process_com_lcr()
553 if (com1_dev.regs.lcr & LCR_DLAB) { in vcpu_process_com_ier()
561 if (com1_dev.regs.lcr & LCR_DLAB) { in vcpu_process_com_ier()
Dns8250.h48 uint8_t lcr; /* Line Control Register */ member
/openbsd/src/gnu/usr.bin/binutils/gdb/doc/
Drefcard.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
/openbsd/src/sys/dev/pci/
Dif_xge.c1110 uint64_t par, lcr; in xge_start() local
1116 par = lcr = 0; in xge_start()
1183 lcr = TXDL_NUMTXD(ntxd) | TXDL_LGC_FIRST | TXDL_LGC_LAST; in xge_start()
1185 TXP_WCSR(TXDL_LCR, lcr); in xge_start()
/openbsd/src/sys/arch/sh/dev/
Dscif.c568 lcr = ISSET(sc->sc_lcr, LCR_SBREAK) | cflag2lcr(t->c_cflag); in scifparam()
/openbsd/src/gnu/usr.bin/gcc/gcc/config/s390/
Ds390.md1998 return \"lcr\\t%0,%0\";
5160 output_asm_insn (\"lcr\\t%0,%1\", operands);
5161 output_asm_insn (\"lcr\\t%N0,%N1\", operands);
5181 "lcr\\t%0,%1"
/openbsd/src/gnu/gcc/gcc/config/s390/
Ds390.md304 ;; and "lcr" in SImode.
5899 ; lcr, lcgr
5910 ; lcr, lcgr
5920 ; lcr, lcgr
/openbsd/src/gnu/usr.bin/binutils/opcodes/
Ds390-opc.txt93 13 lcr RR_RR "load complement" g5 esa,zarch
/openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/
Ds390-opc.txt93 13 lcr RR_RR "load complement" g5 esa,zarch
/openbsd/src/gnu/llvm/llvm/lib/Target/VE/
DVEInstrInfo.td1541 defm LCR : LOADCRm<"lcr", 0x40, I64>;
/openbsd/src/gnu/usr.bin/binutils/cpu/
Dfrv.cpu2051 …(ccr 256) (cccr 263) (lr 272) (lcr 273) (iacc0h 280) (iacc0l 281) (isr …
2395 (define-pmacro (spr-lcr) (reg h-spr 273))
5385 (set tmp (sub (spr-lcr) 1))
5386 (set (spr-lcr) tmp)
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.td904 def LCR : UnaryRR <"lcr", 0x13, ineg, GR32, GR32>;
/openbsd/src/gnu/usr.bin/binutils-2.17/cpu/
Dfrv.cpu2483 …(ccr 256) (cccr 263) (lr 272) (lcr 273) (iacc0h 280) (iacc0l 281) (isr …
2833 (define-pmacro (spr-lcr) (reg h-spr 273))
5926 (set tmp (sub (spr-lcr) 1))
5927 (set (spr-lcr) tmp)
/openbsd/src/gnu/usr.bin/gcc/gcc/doc/
Dmd.texi1753 Register in the class @code{SPR_REGS} (@code{lcr} and @code{lr}).
/openbsd/src/gnu/gcc/gcc/doc/
Dmd.texi2107 Register in the class @code{SPR_REGS} (@code{lcr} and @code{lr}).
Dgcc.info18754 Register in the class `SPR_REGS' (`lcr' and `lr').
Dgccint.info14035 Register in the class `SPR_REGS' (`lcr' and `lr').