Lines Matching refs:slave
102 int sc_slave; /* HP-IB slave ID */
332 int ctlr, slave;
336 slave = sc->sc_slave;
340 hpibsend(ctlr, slave, C_TCMD, &sc->sc_clear, sizeof(sc->sc_clear));
341 hpibswait(ctlr, slave);
342 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
348 hpibsend(ctlr, slave, C_CMD, &sc->sc_src, sizeof(sc->sc_src));
349 hpibswait(ctlr, slave);
350 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
358 hpibsend(ctlr, slave, C_CMD, &sc->sc_ssmc, sizeof(sc->sc_ssmc));
359 hpibswait(ctlr, slave);
360 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
366 hpibsend(ctlr, slave, C_CMD, &sc->sc_soptc, sizeof(sc->sc_soptc));
367 hpibswait(ctlr, slave);
368 hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
376 int cc, ctlr, slave;
389 slave = sc->sc_slave;
404 cc = hpibsend(ctlr, slave, C_CMD, &sc->sc_soptc, sizeof(sc->sc_soptc));
408 hpibswait(ctlr, slave);
409 cc = hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
534 int i, ctlr, slave;
537 slave = sc->sc_slave;
553 hpibsend(ctlr, slave, C_CMD, &sc->sc_ul,
562 hpibsend(ctlr, slave, C_CMD, &sc->sc_wfm,
596 hpibsend(ctlr, slave, C_CMD, &sc->sc_ioc,
637 hpibsend(ctlr, slave, C_CMD, &sc->sc_ioc, sizeof(sc->sc_ioc));
734 int ctlr, slave;
737 slave = sc->sc_slave;
751 if (hpibpptest(ctlr, slave) == 0) {
758 hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);
766 hpibsend(ctlr, slave, C_CMD, &sc->sc_rsc, sizeof(sc->sc_rsc));
767 hpibrecv(ctlr, slave, C_EXEC, &sc->sc_stat,
769 hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);