Lines Matching refs:origcnt
367 _gpibsend(struct gpib_softc *sc, int slave, int sec, void *ptr, int origcnt)
376 sc, slave, sec, ptr, origcnt));
383 slave, sec, ptr, origcnt);
402 if (origcnt) {
403 cnt = (*sc->sc_ic->senddata)(sc->sc_ic->cookie, ptr, origcnt);
404 if (cnt != origcnt)
409 return (origcnt);
415 device_xname(sc->sc_dev), slave, sec, cnt, origcnt));
420 _gpibrecv(struct gpib_softc *sc, int slave, int sec, void *ptr, int origcnt)
429 sc, slave, sec, ptr, origcnt));
436 slave, sec, ptr, origcnt);
457 if (origcnt) {
458 cnt = (*sc->sc_ic->recvdata)(sc->sc_ic->cookie, ptr, origcnt);
459 if (cnt != origcnt)
468 return (origcnt);
474 sc, slave, sec, cnt, origcnt));