Searched refs:sc_inbuf (Results 1 - 9 of 9) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dlptvar.h67 void *sc_inbuf; member in struct:lpt_softc
H A Dlpt.c208 sc->sc_inbuf = malloc(LPT_BSIZE, M_DEVBUF, M_WAITOK);
277 free(sc->sc_inbuf, M_DEVBUF);
363 uiomove(sc->sc_cp = sc->sc_inbuf, n, uio);
/netbsd-6-1-5-RELEASE/sys/dev/mvme/
H A Dlptvar.h50 struct buf *sc_inbuf; member in struct:lpt_softc
H A Dlpt_mvme.c200 sc->sc_inbuf = geteblk(LPT_BSIZE);
247 brelse(sc->sc_inbuf, 0);
321 uiomove(sc->sc_cp = sc->sc_inbuf->b_data, n, uio);
/netbsd-6-1-5-RELEASE/sys/dev/ppbus/
H A Dlptvar.h69 void *sc_inbuf; member in struct:lpt_softc
H A Dlpt.c158 if(ppbus_dma_malloc(parent, &(sc->sc_inbuf),
168 ppbus_dma_free(parent, &(sc->sc_inbuf),
175 sc->sc_inbuf = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
219 ppbus_dma_free(device_parent(self), &(lpt->sc_inbuf),
224 free(lpt->sc_inbuf, M_DEVBUF);
591 error = uiomove(sc->sc_inbuf, n, uio);
595 error = ppbus_write(device_parent(dev), sc->sc_inbuf, n, ioflag,
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Dlpt.c99 struct buf *sc_inbuf; member in struct:lpt_softc
219 sc->sc_inbuf = geteblk(LPT_BSIZE);
268 brelse(sc->sc_inbuf, 0);
340 uiomove(sc->sc_cp = sc->sc_inbuf->b_data, n, uio);
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/ioc/
H A Darcpp.c83 void *sc_inbuf; member in struct:arcpp_softc
217 sc->sc_inbuf = malloc(ARCPP_BSIZE, M_DEVBUF, M_WAITOK);
242 free(sc->sc_inbuf, M_DEVBUF);
275 uiomove(sc->sc_cp = sc->sc_inbuf, n, uio);
/netbsd-6-1-5-RELEASE/sys/dev/ir/
H A Dirframe_tty.c101 u_char* sc_inbuf; member in struct:irframet_softc
433 if (sc->sc_inbuf != NULL)
434 free(sc->sc_inbuf, M_DEVBUF);
439 sc->sc_inbuf = malloc(sc->sc_params.maxsize+2,
446 sc->sc_inbuf = NULL;
459 if (sc->sc_inbuf == NULL) /* XXX happens if device is closed? */
508 if (sc->sc_inbuf == NULL)
524 irt_frame(sc, sc->sc_inbuf, sc->sc_inchars - 2);
549 sc->sc_inbuf[sc->sc_inchars++] = c;

Completed in 178 milliseconds