/netbsd-src/sys/kern/ |
H A D | tty_subr.c | 80 clp->c_cf = clp->c_cl = NULL; in clalloc() 111 c = *clp->c_cf & 0xff; in getc() 114 if (isset(clp->c_cq, clp->c_cf - clp->c_cs) ) in getc() 117 if (*(clp->c_cf - clp->c_cs + clp->c_cq)) in getc() 121 *clp->c_cf = 0; /* wipe out to avoid information disclosure */ in getc() 122 if (++clp->c_cf == clp->c_ce) in getc() 123 clp->c_cf = clp->c_cs; in getc() 125 clp->c_cf = clp->c_cl = (u_char *)0; in getc() 145 cc = clp->c_cl - clp->c_cf; in q_to_b() 146 if (clp->c_cf >= clp->c_cl) in q_to_b() [all …]
|
/netbsd-src/sys/arch/evbppc/virtex/dev/ |
H A D | xlcom.c | 262 (int)(sc->sc_tba - tp->t_outq.c_cf)); in xlcom_tx_soft() 623 sc->sc_tba = tp->t_outq.c_cf; in xlcom_start()
|
/netbsd-src/sys/dev/arcbios/ |
H A D | arcbios_tty.c | 203 arcbios_Write(ARCBIOS_STDOUT, tp->t_outq.c_cf, in arcbios_tty_start()
|
/netbsd-src/sys/sys/ |
H A D | tty.h | 85 u_char *c_cf; /* points to first character */ member
|
/netbsd-src/sys/dev/goldfish/ |
H A D | gftty.c | 693 tbuf = tp->t_outq.c_cf; in gftty_start() 698 tbuf = tp->t_outq.c_cf; in gftty_start()
|
/netbsd-src/sys/arch/luna68k/dev/ |
H A D | siotty.c | 350 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in siotty_txsoft() 370 tba = tp->t_outq.c_cf; in siostart()
|
/netbsd-src/sys/dev/qbus/ |
H A D | dhu.c | 667 DHU_TXCHAR_DATA_VALID | *tp->t_outq.c_cf); in dhustart() 674 (tp->t_outq.c_cf - tp->t_outq.c_cs); in dhustart()
|
/netbsd-src/sys/arch/mips/adm5120/dev/ |
H A D | uart.c | 312 uart_cnputc(0,tp->t_outq.c_cf[i]); in uart_start()
|
/netbsd-src/sys/arch/epoc32/windermere/ |
H A D | wmcom.c | 340 (int)(sc->sc_tba - tp->t_outq.c_cf)); in wmcom_soft() 369 tba = tp->t_outq.c_cf; in wmcom_start()
|
/netbsd-src/sys/arch/arm/at91/ |
H A D | at91dbgu.c | 405 tba = tp->t_outq.c_cf; in at91dbgu_start() 915 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in at91dbgu_txsoft()
|
/netbsd-src/sys/arch/sh3/dev/ |
H A D | sci.c | 454 tba = tp->t_outq.c_cf; in scistart() 994 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in sci_txsoft()
|
H A D | scif.c | 540 tba = tp->t_outq.c_cf; in scifstart() 1117 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in scif_txsoft()
|
/netbsd-src/sys/arch/arm/clps711x/ |
H A D | clpscom.c | 410 (int)(sc->sc_tba - tp->t_outq.c_cf)); in clpscom_soft() 442 tba = tp->t_outq.c_cf; in clpscom_start()
|
/netbsd-src/sys/arch/arm/ixp12x0/ |
H A D | ixp12x0_com.c | 391 tba = tp->t_outq.c_cf; in ixpcomstart() 913 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in ixpcom_txsoft()
|
/netbsd-src/sys/arch/arm/ep93xx/ |
H A D | epcom.c | 401 tba = tp->t_outq.c_cf; in epcomstart() 909 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in epcom_txsoft()
|
/netbsd-src/sys/arch/hpcmips/tx/ |
H A D | txcom.c | 771 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in txcom_txsoft() 1043 sc->sc_tba = tp->t_outq.c_cf; in txcomstart()
|
/netbsd-src/sys/arch/atari/dev/ |
H A D | zs.c | 823 cs->cs_tba - tp->t_outq.c_cf); in zssoft() 1002 char *p = tp->t_outq.c_cf; in zsstart()
|
H A D | ser.c | 952 tba = tp->t_outq.c_cf; in serstart() 1129 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in sertxint()
|
/netbsd-src/sys/dev/sbus/ |
H A D | spif.c | 722 sp->sp_txp = tp->t_outq.c_cf; in stty_start() 950 sp->sp_txp - tp->t_outq.c_cf); in spif_softintr()
|
/netbsd-src/sys/dev/ic/ |
H A D | z8530tty.c | 914 tba = tp->t_outq.c_cf; in zsstart() 1651 ndflush(&tp->t_outq, (int)(zst->zst_tba - tp->t_outq.c_cf)); in zstty_txsoft()
|
H A D | cd18xx.c | 663 tba = tp->t_outq.c_cf; in cdttystart() 1440 ndflush(&tp->t_outq, (int)(p->p_tba - tp->t_outq.c_cf)); in cdtty_txsoft()
|
H A D | clmpcc.c | 1002 ch->ch_obuf_addr = tp->t_outq.c_cf; in clmpcc_start() 1406 (int)(ch->ch_obuf_addr - tp->t_outq.c_cf)); in clmpcc_softintr()
|
/netbsd-src/sys/arch/arm/sa11x0/ |
H A D | sa11x0_com.c | 1073 tba = tp->t_outq.c_cf; in sacomstart() 1227 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf)); in sacom_txsoft()
|
/netbsd-src/sys/arch/sparc64/dev/ |
H A D | sab.c | 666 ndflush(&tp->t_outq, sc->sc_txp - tp->t_outq.c_cf); in sabtty_softintr() 1106 sc->sc_txp = tp->t_outq.c_cf; in sabtty_start()
|
/netbsd-src/sys/arch/mips/sibyte/dev/ |
H A D | sbjcn.c | 1135 tba = tp->t_outq.c_cf; in sbjcn_start() 1312 ndflush(&tp->t_outq, (int)(ch->ch_tba - tp->t_outq.c_cf)); in sbjcn_txsoft()
|