Home | History | Annotate | Download | only in dev

Lines Matching refs:sc_nexus

248 		if (sc->sc_nexus && flags & XS_CTL_POLL)
281 if (sc->sc_nexus == NULL)
342 if (acb != sc->sc_nexus)
350 siop_scsidone(sc->sc_nexus, status);
370 if (sc->sc_nexus) {
372 device_xname(sc->sc_dev), sc->sc_nexus,
373 sc->sc_nexus->xs->xs_periph->periph_target,
386 sc->sc_nexus = acb;
450 if (acb == sc->sc_nexus) {
451 sc->sc_nexus = NULL;
494 if (dosched && sc->sc_nexus == NULL)
696 sc->sc_nexus = NULL;
705 if (sc->sc_nexus != NULL) {
706 sc->sc_nexus->xs->error = XS_RESET;
707 siop_scsidone(sc->sc_nexus, sc->sc_nexus->stat[0]);
738 struct siop_acb *acb = sc->sc_nexus;
909 struct siop_acb *acb = sc->sc_nexus;
1275 sc->sc_nexus = NULL; /* no current device */
1277 if (sc->sc_nexus == NULL)
1298 if (sc->sc_nexus) {
1304 TAILQ_INSERT_HEAD(&sc->ready_list, sc->sc_nexus, chain);
1305 sc->sc_tinfo[sc->sc_nexus->xs->xs_periph->periph_target].lubusy
1306 &= ~(1 << sc->sc_nexus->xs->xs_periph->periph_lun);
1311 * set sc->sc_nexus to acb
1319 sc->sc_nexus = acb;
1353 if (sc->sc_nexus == NULL) {
1355 printf("%s: reselect interrupted, sc_nexus == NULL\n",
1367 target = sc->sc_nexus->xs->xs_periph->periph_target;
1369 rp->siop_dsa = kvtop((void *)&sc->sc_nexus->ds);
1445 struct siop_acb *acb = sc->sc_nexus;
1473 &sc->sc_nexus->ds);
1515 sc->sc_nexus, sc->sc_nexus ? sc->sc_nexus->stat[0] : 0);
1521 DCIAS(kvtop(&sc->sc_nexus->stat[0]));
1525 sc->sc_nexus->stat[0], sc->sc_nexus->msg[0]);
1544 sc->sc_nexus->xs->xs_periph->periph_target,
1549 siop_scsidone(sc->sc_nexus, sc->sc_nexus ?
1550 sc->sc_nexus->stat[0] : -1);
1569 period = sc->sc_nexus->msg[4];
1570 offset = sc->sc_nexus->msg[5];
1689 if (sc->sc_nexus) {
1691 siop_dump_acb(sc->sc_nexus);