Home
last modified time | relevance | path

Searched refs:origcnt (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/sys/dev/gpib/
Dgpib.c367 _gpibsend(struct gpib_softc *sc, int slave, int sec, void *ptr, int origcnt) in _gpibsend() argument
376 sc, slave, sec, ptr, origcnt)); in _gpibsend()
383 slave, sec, ptr, origcnt); in _gpibsend()
402 if (origcnt) { in _gpibsend()
403 cnt = (*sc->sc_ic->senddata)(sc->sc_ic->cookie, ptr, origcnt); in _gpibsend()
404 if (cnt != origcnt) in _gpibsend()
409 return (origcnt); in _gpibsend()
415 device_xname(sc->sc_dev), slave, sec, cnt, origcnt)); in _gpibsend()
420 _gpibrecv(struct gpib_softc *sc, int slave, int sec, void *ptr, int origcnt) in _gpibrecv() argument
429 sc, slave, sec, ptr, origcnt)); in _gpibrecv()
[all …]
/netbsd/src/sys/dev/isa/
Dcec.c300 cecsendcmds(void *v, void *ptr, int origcnt) in cecsendcmds() argument
305 int cnt = origcnt; in cecsendcmds()
309 sc, ptr, origcnt)); in cecsendcmds()
314 return (origcnt - cnt - 1); in cecsendcmds()
316 return (origcnt); in cecsendcmds()
321 cecrecvdata(void *v, void *ptr, int origcnt) in cecrecvdata() argument
326 int cnt = origcnt; in cecrecvdata()
330 sc, ptr, origcnt)); in cecrecvdata()
338 return (origcnt - cnt - 1); in cecrecvdata()
342 return (origcnt); in cecrecvdata()
[all …]
/netbsd/src/sys/arch/hp300/dev/
Dfhpib.c235 fhpibsend(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int origcnt) in fhpibsend() argument
239 int cnt = origcnt; in fhpibsend()
280 return origcnt; in fhpibsend()
289 printf("sent %d of %d bytes\n", origcnt-cnt-1, origcnt); in fhpibsend()
292 return origcnt - cnt - 1; in fhpibsend()
296 fhpibrecv(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int origcnt) in fhpibrecv() argument
300 int cnt = origcnt; in fhpibrecv()
340 return origcnt; in fhpibrecv()
350 printf("got %d of %d bytes\n", origcnt-cnt-1, origcnt); in fhpibrecv()
353 return origcnt - cnt - 1; in fhpibrecv()
Dnhpib.c296 nhpibsend(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int origcnt) in nhpibsend() argument
300 int cnt = origcnt; in nhpibsend()
343 return origcnt; in nhpibsend()
347 return origcnt - cnt - 1; in nhpibsend()
351 nhpibrecv(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int origcnt) in nhpibrecv() argument
355 int cnt = origcnt; in nhpibrecv()
392 return origcnt; in nhpibrecv()
397 return origcnt - cnt - 1; in nhpibrecv()
/netbsd/src/sys/arch/hp300/stand/common/
Dfhpib.c87 int origcnt = cnt; in fhpibsend() local
119 return origcnt - cnt; in fhpibsend()
127 int origcnt = cnt; in fhpibrecv() local
155 return origcnt - cnt; in fhpibrecv()
Dnhpib.c103 int origcnt = cnt; in nhpibsend() local
131 return origcnt - cnt; in nhpibsend()
139 int origcnt = cnt; in nhpibrecv() local
165 return origcnt - cnt; in nhpibrecv()