/netbsd-current/sys/arch/arm/ixp12x0/ |
H A D | ixp12x0_comvar.h | 57 u_char *sc_rbuf, *sc_ebuf; member in struct:ixpcom_softc
|
H A D | ixp12x0_com.c | 215 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 D | sa11x0_comvar.h | 58 u_char *sc_rbuf, *sc_ebuf; member in struct:sacom_softc
|
H A D | sa11x0_com.c | 316 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 D | at91dbguvar.h | 62 u_char *sc_rbuf, *sc_ebuf; member in struct:at91dbgu_softc
|
H A D | at91dbgu.c | 252 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 D | epcomvar.h | 59 u_char *sc_rbuf, *sc_ebuf; member in struct:epcom_softc
|
H A D | epcom.c | 233 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 D | scnvar.h | 159 short sc_rbuf[SCN_RING_SIZE]; /* status + data */ member in struct:scn_softc
|
/netbsd-current/sys/arch/arm/imx/ |
H A D | imxuartvar.h | 93 uint16_t *sc_rbuf; member in struct:imxuart_softc
|
H A D | imxuart.c | 359 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 D | plcomvar.h | 120 u_char *sc_rbuf, member in struct:plcom_softc
|
/netbsd-current/sys/arch/arm/clps711x/ |
H A D | clpscom.c | 102 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 D | wmcom.c | 77 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 D | siotty.c | 96 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 D | scif.c | 157 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 D | sci.c | 168 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 D | sscom_var.h | 127 u_char *sc_rbuf, member in struct:sscom_softc
|
/netbsd-current/sys/dev/pci/ |
H A D | cs428x.h | 119 char *sc_rbuf; member in struct:cs428x_softc
|
/netbsd-current/sys/dev/ic/ |
H A D | comvar.h | 160 u_char *sc_rbuf, member in struct:com_softc
|
/netbsd-current/sys/arch/arm/xilinx/ |
H A D | zynq_uart.c | 196 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 D | xlcom.c | 88 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 D | meson_uart.c | 99 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 D | if_le.c | 61 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 D | sab.c | 116 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;
|