Home | History | Annotate | Download | only in dev

Lines Matching defs:slave

235 fhpibsend(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int origcnt)
250 hd->hpib_data = C_LAG + slave;
287 printf("%s: fhpibsend failed: slave %d, sec %x, ",
288 device_xname(sc->sc_dev), slave, sec);
296 fhpibrecv(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int origcnt)
305 * Slave < 0 implies continuation of a previous receive
308 if (slave >= 0) {
316 hd->hpib_data = C_TAG + slave;
336 hd->hpib_data = (slave == 31) ? C_UNA : C_UNT;
348 printf("%s: fhpibrecv failed: slave %d, sec %x, ",
349 device_xname(sc->sc_dev), slave, sec);
357 fhpibgo(struct hpibbus_softc *hs, int slave, int sec, void *ptr, int count,
402 if (fhpibrecv(hs, slave, sec, 0, 0) < 0) {
406 (void)fhpibrecv(hs, slave, sec, 0, 0);
423 (void) fhpibsend(hs, slave, sec, addr, count);
430 if (fhpibsend(hs, slave, sec, 0, 0) < 0) {
434 (void)fhpibsend(hs, slave, sec, 0, 0);
588 printf("%s: PPOLL: unit %d slave %d stat %x\n",
648 int slave;
652 slave = (0x80 >> TAILQ_FIRST(&hs->sc_queue)->hq_slave);
655 if (fhpibppoll(hs) & slave) {
667 hd->hpib_psense = ~slave;
668 hd->hpib_pmask = slave;