Home | History | Annotate | Download | only in gpib

Lines Matching defs:slave

136 	/* Initialize the slave request queue */
229 _gpibregister(struct gpib_softc *sc, int slave, gpib_callback_t callback,
234 (*hdl)->hq_slave = slave;
278 int slave;
282 slave = TAILQ_FIRST(&sc->sc_queue)->hq_slave;
283 (*sc->sc_ic->ppwatch)(sc->sc_ic->cookie, slave);
290 _gpibswait(struct gpib_softc *sc, int slave)
298 while ((*pptest)(sc->sc_ic->cookie, slave) == 0) {
367 _gpibsend(struct gpib_softc *sc, int slave, int sec, void *ptr, int origcnt)
375 ("_gpibsend: sc=%p slave %d sec=%d ptr=%p cnt=%d\n",
376 sc, slave, sec, ptr, origcnt));
383 slave, sec, ptr, origcnt);
391 cmds[i++] = GPIBCMD_LAG | slave;
414 ("%s: _gpibsend failed: slave %d, sec %x, sent %d of %d bytes\n",
415 device_xname(sc->sc_dev), slave, sec, cnt, origcnt));
420 _gpibrecv(struct gpib_softc *sc, int slave, int sec, void *ptr, int origcnt)
428 ("_gpibrecv: sc=%p slave=%d sec=%d buf=%p cnt=%d\n",
429 sc, slave, sec, ptr, origcnt));
436 slave, sec, ptr, origcnt);
441 * slave < 0 implies continuation of a previous receive
444 if (slave >= 0) {
449 cmds[i++] = GPIBCMD_TAG | slave;
463 cmds[0] = (slave == GPIB_BROADCAST_ADDR) ?
473 ("_gpibrecv: failed, sc=%p slave %d, sec %x, got %d of %d bytes\n",
474 sc, slave, sec, cnt, origcnt));