/src/sys/dev/ |
spkrvar.h | 17 char *sc_inbuf; member in struct:spkr_softc
|
spkr.c | 434 sc->sc_inbuf = NULL; 454 while ((flags & DETACH_FORCE) != 0 && sc->sc_inbuf != NULL) 456 if (sc->sc_inbuf != NULL) 502 if (sc->sc_inbuf != NULL) 505 sc->sc_inbuf = kmem_alloc(DEV_BSIZE, KM_SLEEP); 521 if (sc->sc_inbuf == NULL) 525 int error = uiomove(sc->sc_inbuf, n, uio); 528 playstring(sc, sc->sc_inbuf, n); 542 if (sc->sc_inbuf == NULL) 546 kmem_free(sc->sc_inbuf, DEV_BSIZE) [all...] |
/src/sys/dev/ic/ |
lptvar.h | 67 void *sc_inbuf; member in struct:lpt_softc
|
lpt.c | 218 sc->sc_inbuf = malloc(LPT_BSIZE, M_DEVBUF, M_WAITOK); 287 free(sc->sc_inbuf, M_DEVBUF); 373 uiomove(sc->sc_cp = sc->sc_inbuf, n, uio);
|
/src/sys/dev/mvme/ |
lptvar.h | 50 struct buf *sc_inbuf; member in struct:lpt_softc
|
lpt_mvme.c | 210 sc->sc_inbuf = geteblk(LPT_BSIZE); 257 brelse(sc->sc_inbuf, 0); 331 uiomove(sc->sc_cp = sc->sc_inbuf->b_data, n, uio);
|
/src/sys/dev/ppbus/ |
lptvar.h | 69 void *sc_inbuf; member in struct:lpt_softc
|
lpt.c | 168 if(ppbus_dma_malloc(parent, &(sc->sc_inbuf), 178 ppbus_dma_free(parent, &(sc->sc_inbuf), 185 sc->sc_inbuf = malloc(BUFSIZE, M_DEVBUF, M_WAITOK); 229 ppbus_dma_free(device_parent(self), &(lpt->sc_inbuf), 234 free(lpt->sc_inbuf, M_DEVBUF); 601 error = uiomove(sc->sc_inbuf, n, uio); 605 error = ppbus_write(device_parent(dev), sc->sc_inbuf, n, ioflag,
|
/src/sys/arch/atari/dev/ |
lpt.c | 99 struct buf *sc_inbuf; member in struct:lpt_softc 229 sc->sc_inbuf = geteblk(LPT_BSIZE); 278 brelse(sc->sc_inbuf, 0); 350 uiomove(sc->sc_cp = sc->sc_inbuf->b_data, n, uio);
|
/src/sys/dev/ir/ |
irframe_tty.c | 103 u_char* sc_inbuf; member in struct:irframet_softc 439 if (sc->sc_inbuf != NULL) 440 free(sc->sc_inbuf, M_DEVBUF); 445 sc->sc_inbuf = malloc(sc->sc_params.maxsize+2, 452 sc->sc_inbuf = NULL; 465 if (sc->sc_inbuf == NULL) /* XXX happens if device is closed? */ 514 if (sc->sc_inbuf == NULL) 530 irt_frame(sc, sc->sc_inbuf, sc->sc_inchars - 2); 555 sc->sc_inbuf[sc->sc_inchars++] = c;
|