Home | History | Annotate | Download | only in dev

Lines Matching refs:sc_nexus

235 		if (sc->sc_nexus && flags & XS_CTL_POLL)
267 if (sc->sc_nexus == NULL)
328 if (acb != sc->sc_nexus)
336 siopng_scsidone(sc->sc_nexus, status);
355 if (sc->sc_nexus) {
357 device_xname(sc->sc_dev), sc->sc_nexus,
358 sc->sc_nexus->xs->xs_periph->periph_target,
371 sc->sc_nexus = acb;
435 if (acb == sc->sc_nexus) {
436 sc->sc_nexus = NULL;
479 if (dosched && sc->sc_nexus == NULL)
723 sc->sc_nexus = NULL;
732 if (sc->sc_nexus != NULL) {
733 sc->sc_nexus->xs->error = XS_RESET;
734 siopng_scsidone(sc->sc_nexus, sc->sc_nexus->stat[0]);
767 struct siop_acb *acb = sc->sc_nexus;
974 struct siop_acb *acb = sc->sc_nexus;
1407 sc->sc_nexus = NULL; /* no current device */
1409 if (sc->sc_nexus == NULL) {
1436 if (sc->sc_nexus) {
1442 TAILQ_INSERT_HEAD(&sc->ready_list, sc->sc_nexus, chain);
1443 sc->sc_tinfo[sc->sc_nexus->xs->xs_periph->periph_target].lubusy
1444 &= ~(1 << sc->sc_nexus->xs->xs_periph->periph_lun);
1449 * set sc->sc_nexus to acb
1457 sc->sc_nexus = acb;
1496 if (sc->sc_nexus == NULL) {
1498 printf("%s: reselect interrupted, sc_nexus == NULL\n",
1510 target = sc->sc_nexus->xs->xs_periph->periph_target;
1512 rp->siop_dsa = kvtop((void *)&sc->sc_nexus->ds);
1594 struct siop_acb *acb = sc->sc_nexus;
1622 &sc->sc_nexus->ds);
1665 sc->sc_nexus, sc->sc_nexus ? sc->sc_nexus->stat[0] : 0);
1671 DCIAS(kvtop(&sc->sc_nexus->stat[0]));
1675 sc->sc_nexus->stat[0], sc->sc_nexus->msg[0]);
1694 sc->sc_nexus->xs->xs_periph->periph_target,
1699 siopng_scsidone(sc->sc_nexus, sc->sc_nexus ?
1700 sc->sc_nexus->stat[0] : -1);
1716 period = sc->sc_nexus->msg[4];
1717 offset = sc->sc_nexus->msg[5];
1877 if (sc->sc_nexus) {
1879 siopng_dump_acb(sc->sc_nexus);