Lines Matching defs:slave
108 * HP-IB has a 2-level addressing scheme; slave, the analog
110 * IDs are on a per-slave basis; punits are often used for disk
119 * * We nevertheless probe the whole (slave, punit) tuple space, since
156 /* Initialize the slave request queue. */
167 int id, slave, punit;
170 for (slave = 0; slave < HPIB_NSLAVES; slave++) {
179 id = hpibid(device_unit(sc->sc_dev), slave);
190 ha.ha_slave = slave;
223 aprint_normal(" slave %d punit %d", ha->ha_slave, ha->ha_punit);
276 hpibid(int unit, int slave)
287 if (hpibrecv(unit, 31, slave, &id, 2) != 2)
294 hpibsend(int unit, int slave, int sec, void *addr, int cnt)
298 return (*sc->sc_ops->hpib_send)(sc, slave, sec, addr, cnt);
302 hpibrecv(int unit, int slave, int sec, void *addr, int cnt)
306 return (*sc->sc_ops->hpib_recv)(sc, slave, sec, addr, cnt);
310 hpibpptest(int unit, int slave)
314 return (*sc->sc_ops->hpib_ppoll)(sc) & (0x80 >> slave);
335 hpibswait(int unit, int slave)
342 mask = 0x80 >> slave;
377 hpibgo(int unit, int slave, int sec, void *vbuf, int count, int rw, int timo)
381 (*sc->sc_ops->hpib_go)(sc, slave, sec, vbuf, count, rw, timo);