Searched refs:sc_rbuf (Results 1 - 25 of 35) sorted by relevance

12

/netbsd-current/sys/arch/arm/ixp12x0/
H A Dixp12x0_comvar.h57 u_char *sc_rbuf, *sc_ebuf; member in struct:ixpcom_softc
H A Dixp12x0_com.c215 sc->sc_rbuf = kmem_alloc(IXPCOM_RING_SIZE << 1, KM_SLEEP);
216 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
218 sc->sc_ebuf = sc->sc_rbuf + (IXPCOM_RING_SIZE << 1);
473 sc->sc_rbuf == NULL)
568 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
985 get = sc->sc_rbuf;
1098 put = sc->sc_rbuf;
/netbsd-current/sys/arch/arm/sa11x0/
H A Dsa11x0_comvar.h58 u_char *sc_rbuf, *sc_ebuf; member in struct:sacom_softc
H A Dsa11x0_com.c316 sc->sc_rbuf = kmem_alloc(SACOM_RING_SIZE << 1, KM_SLEEP);
317 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
319 sc->sc_ebuf = sc->sc_rbuf + (SACOM_RING_SIZE << 1);
382 kmem_free(sc->sc_rbuf, SACOM_RING_SIZE << 1);
499 sc->sc_rbuf == NULL)
584 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
1195 get = sc->sc_rbuf;
1325 put = sc->sc_rbuf;
/netbsd-current/sys/arch/arm/at91/
H A Dat91dbguvar.h62 u_char *sc_rbuf, *sc_ebuf; member in struct:at91dbgu_softc
H A Dat91dbgu.c252 sc->sc_rbuf = kmem_alloc(AT91DBGU_RING_SIZE << 1, KM_SLEEP);
253 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
255 sc->sc_ebuf = sc->sc_rbuf + (AT91DBGU_RING_SIZE << 1);
470 sc->sc_rbuf == NULL)
561 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
987 get = sc->sc_rbuf;
1078 put = sc->sc_rbuf;
/netbsd-current/sys/arch/arm/ep93xx/
H A Depcomvar.h59 u_char *sc_rbuf, *sc_ebuf; member in struct:epcom_softc
H A Depcom.c233 sc->sc_rbuf = kmem_alloc(EPCOM_RING_SIZE << 1, KM_SLEEP);
234 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
236 sc->sc_ebuf = sc->sc_rbuf + (EPCOM_RING_SIZE << 1);
471 sc->sc_rbuf == NULL)
562 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
981 get = sc->sc_rbuf;
1082 put = sc->sc_rbuf;
/netbsd-current/sys/arch/sgimips/dev/
H A Dscnvar.h159 short sc_rbuf[SCN_RING_SIZE]; /* status + data */ member in struct:scn_softc
/netbsd-current/sys/arch/arm/imx/
H A Dimxuartvar.h93 uint16_t *sc_rbuf; member in struct:imxuart_softc
H A Dimxuart.c359 sc->sc_rbuf = kmem_alloc(sizeof (*sc->sc_rbuf) * imxuart_rbuf_size,
537 if (sc->sc_rbuf == NULL) {
547 kmem_free(sc->sc_rbuf, sizeof(*sc->sc_rbuf) * sc->sc_rbuf_size);
654 sc->sc_rbuf == NULL)
1551 data = sc->sc_rbuf[outp];
1824 sc->sc_rbuf[sc->sc_rbuf_in] = rd =
/netbsd-current/sys/arch/evbarm/dev/
H A Dplcomvar.h120 u_char *sc_rbuf, member in struct:plcom_softc
/netbsd-current/sys/arch/arm/clps711x/
H A Dclpscom.c102 u_char *sc_rbuf; member in struct:clpscom_softc
227 sc->sc_rbuf = kmem_alloc(CLPSCOM_RING_SIZE << 1, KM_SLEEP);
228 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
318 if (put >= sc->sc_rbuf + (CLPSCOM_RING_SIZE << 1))
319 put = sc->sc_rbuf;
641 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
937 if (get >= sc->sc_rbuf + (CLPSCOM_RING_SIZE << 1))
943 if (get >= sc->sc_rbuf + (CLPSCOM_RING_SIZE << 1))
944 get = sc->sc_rbuf;
/netbsd-current/sys/arch/epoc32/windermere/
H A Dwmcom.c77 u_char *sc_rbuf; member in struct:wmcom_softc
204 sc->sc_rbuf = malloc(WMCOM_RING_SIZE << 1, M_DEVBUF, M_WAITOK);
205 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
258 if (put >= sc->sc_rbuf + (WMCOM_RING_SIZE << 1))
259 put = sc->sc_rbuf;
529 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
793 if (get >= sc->sc_rbuf + (WMCOM_RING_SIZE << 1))
799 if (get >= sc->sc_rbuf + (WMCOM_RING_SIZE << 1))
800 get = sc->sc_rbuf;
/netbsd-current/sys/arch/luna68k/dev/
H A Dsiotty.c96 rxqdata_t *sc_rbuf; member in struct:siotty_softc
202 sc->sc_rbuf = kmem_alloc(siotty_rbuf_size * sizeof(rxqdata_t),
204 sc->sc_rbufend = sc->sc_rbuf + siotty_rbuf_size;
205 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
256 put = sc->sc_rbuf;
330 get = sc->sc_rbuf;
553 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
/netbsd-current/sys/arch/sh3/dev/
H A Dscif.c157 u_char *sc_rbuf, member in struct:scif_softc
506 sc->sc_rbuf = kmem_alloc(scif_rbuf_size << 1, KM_SLEEP);
507 sc->sc_ebuf = sc->sc_rbuf + (scif_rbuf_size << 1);
728 sc->sc_rbuf == NULL)
794 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
1084 get = sc->sc_rbuf;
1234 put = sc->sc_rbuf;
H A Dsci.c168 u_char *sc_rbuf, member in struct:sci_softc
426 sc->sc_rbuf = kmem_alloc(sci_rbuf_size << 1, KM_SLEEP);
427 sc->sc_ebuf = sc->sc_rbuf + (sci_rbuf_size << 1);
624 sc->sc_rbuf == NULL)
690 sc->sc_rbput = sc->sc_rbget = sc->sc_rbuf;
961 get = sc->sc_rbuf;
1107 put = sc->sc_rbuf;
/netbsd-current/sys/arch/arm/s3c2xx0/
H A Dsscom_var.h127 u_char *sc_rbuf, member in struct:sscom_softc
/netbsd-current/sys/dev/pci/
H A Dcs428x.h119 char *sc_rbuf; member in struct:cs428x_softc
/netbsd-current/sys/dev/ic/
H A Dcomvar.h160 u_char *sc_rbuf, member in struct:com_softc
/netbsd-current/sys/arch/arm/xilinx/
H A Dzynq_uart.c196 uint16_t *sc_rbuf; member in struct:zynquart_softc
417 sc->sc_rbuf = kmem_alloc(sizeof (*sc->sc_rbuf) * zynquart_rbuf_size,
533 if (sc->sc_rbuf == NULL) {
543 kmem_free(sc->sc_rbuf, sizeof(*sc->sc_rbuf) * sc->sc_rbuf_size);
650 sc->sc_rbuf == NULL)
1505 data = sc->sc_rbuf[outp];
1709 sc->sc_rbuf[sc->sc_rbuf_in] = rd =
/netbsd-current/sys/arch/evbppc/virtex/dev/
H A Dxlcom.c88 u_short sc_rbuf[XLCOM_RXBUF_SIZE]; member in struct:xlcom_softc
284 c = sc->sc_rbuf[sc->sc_rget];
353 sc->sc_rbuf[sc->sc_rput] = c;
/netbsd-current/sys/arch/arm/amlogic/
H A Dmeson_uart.c99 unsigned int sc_rbuf_w; /* write ptr of sc_rbuf[] */
100 unsigned int sc_rbuf_r; /* read ptr of sc_rbuf[] */
105 u_char sc_rbuf[MESON_RBUFSZ]; /* good enough for sizeof RXFIFO */ member in struct:meson_uart_softc
487 sc->sc_rbuf[sc->sc_rbuf_w++ & (MESON_RBUFSZ - 1)] = c;
505 c = sc->sc_rbuf[sc->sc_rbuf_r++ & (MESON_RBUFSZ - 1)];
/netbsd-current/sys/arch/hp300/stand/common/
H A Dif_le.c61 u_char *sc_rbuf, *sc_tbuf; member in struct:le_softc
367 sc->sc_rbuf = mem;
513 memcpy(pkt, sc->sc_rbuf + (BUFSIZE * sc->sc_next_rd), length);
/netbsd-current/sys/arch/sparc64/dev/
H A Dsab.c116 uint8_t sc_rbuf[SABTTY_RBUF_SIZE]; member in struct:sabtty_softc
414 sc->sc_rend = sc->sc_rbuf + SABTTY_RBUF_SIZE;
543 ptr = sc->sc_rbuf;
545 if (ptr == sc->sc_rbuf)
643 sc->sc_rget = sc->sc_rbuf;
711 sc->sc_rput = sc->sc_rget = sc->sc_rbuf;

Completed in 180 milliseconds

12