Lines Matching refs:slave
567 int i, id, n, ctlr, slave;
570 slave = ha->ha_slave;
593 rdreset_unit(ctlr, slave, ha->ha_punit);
597 hpibsend(ctlr, slave, C_CMD, cmd, sizeof(cmd));
598 hpibrecv(ctlr, slave, C_EXEC, &desc, sizeof(desc));
599 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
703 int ctlr, slave, punit;
706 slave = sc->sc_slave;
708 rdreset_unit(ctlr, slave, punit);
715 rdreset_unit(int ctlr, int slave, int punit)
724 hpibsend(ctlr, slave, C_TCMD, &clear, sizeof(clear));
725 hpibswait(ctlr, slave);
726 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
732 hpibsend(ctlr, slave, C_CMD, &src, sizeof(src));
733 hpibswait(ctlr, slave);
734 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
742 hpibsend(ctlr, slave, C_CMD, &ssmc, sizeof(ssmc));
743 hpibswait(ctlr, slave);
744 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
985 int ctlr, slave;
988 slave = sc->sc_slave;
1009 ctlr, slave, C_CMD,
1012 if (hpibsend(ctlr, slave, C_CMD, &sc->sc_ioc.c_unit,
1062 int rw, ctlr, slave;
1065 slave = sc->sc_slave;
1075 hpibgo(ctlr, slave, C_EXEC, sc->sc_addr, sc->sc_resid, rw, rw != 0);
1085 int rv, restart, ctlr, slave;
1088 slave = sc->sc_slave;
1112 if (hpibpptest(ctlr, slave) == 0) {
1125 rv = hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);
1469 int ctlr, slave;
1491 slave = sc->sc_slave;
1528 hpibsend(ctlr, slave, C_CMD, &sc->sc_ioc.c_unit,
1530 if (hpibswait(ctlr, slave))
1536 hpibsend(ctlr, slave, C_EXEC, va, nwrt * sectorsize);
1537 (void)hpibswait(ctlr, slave);
1538 hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);