Lines Matching refs:isp_loopstate
1661 if (fcp->isp_loopstate < LOOP_HAVE_LINK)
1663 if (fcp->isp_loopstate >= LOOP_LTEST_DONE)
1677 if (fcp->isp_loopstate < LOOP_HAVE_LINK)
1721 fcp->isp_loopstate = LOOP_HAVE_ADDR;
1723 fcp->isp_loopstate = LOOP_TESTING_LINK;
1737 if (fcp->isp_loopstate < LOOP_TESTING_LINK)
1742 if (fcp->isp_loopstate < LOOP_TESTING_LINK)
1747 if (fcp->isp_loopstate < LOOP_TESTING_LINK)
1752 if (fcp->isp_loopstate < LOOP_TESTING_LINK)
1782 if (fcp->isp_loopstate < LOOP_TESTING_LINK) {
1788 fcp->isp_loopstate = LOOP_LTEST_DONE;
1818 if (fcp->isp_loopstate < LOOP_FSCAN_DONE)
1820 if (fcp->isp_loopstate >= LOOP_READY)
1825 fcp->isp_loopstate = LOOP_SYNCING_PDB;
1874 if (fcp->isp_loopstate < LOOP_SYNCING_PDB) {
1880 fcp->isp_loopstate = LOOP_READY;
1964 if (fcp->isp_loopstate < LOOP_LTEST_DONE)
1966 if (fcp->isp_loopstate >= LOOP_LSCAN_DONE)
1970 fcp->isp_loopstate = LOOP_SCANNING_LOOP;
1974 fcp->isp_loopstate = LOOP_LSCAN_DONE;
2009 if (fcp->isp_loopstate < LOOP_SCANNING_LOOP) {
2024 if (fcp->isp_loopstate < LOOP_SCANNING_LOOP)
2026 fcp->isp_loopstate = LOOP_LSCAN_DONE;
2249 if (fcp->isp_loopstate < LOOP_LSCAN_DONE)
2251 if (fcp->isp_loopstate >= LOOP_FSCAN_DONE)
2255 fcp->isp_loopstate = LOOP_SCANNING_FABRIC;
2257 fcp->isp_loopstate = LOOP_FSCAN_DONE;
2263 if (fcp->isp_loopstate < LOOP_SCANNING_FABRIC) {
2279 fcp->isp_loopstate = LOOP_LTEST_DONE;
2288 if (fcp->isp_loopstate < LOOP_SCANNING_FABRIC)
2291 fcp->isp_loopstate = LOOP_FSCAN_DONE;
2294 fcp->isp_loopstate = LOOP_LTEST_DONE; /* try again */
2299 if (fcp->isp_loopstate < LOOP_SCANNING_FABRIC)
2315 fcp->isp_loopstate = LOOP_FSCAN_DONE;
2422 if (fcp->isp_loopstate < LOOP_SCANNING_FABRIC)
2459 if (fcp->isp_loopstate < LOOP_SCANNING_FABRIC)
2467 if (fcp->isp_loopstate < LOOP_SCANNING_FABRIC)
2469 fcp->isp_loopstate = LOOP_FSCAN_DONE;
2485 if (FCPARAM(isp, chan)->isp_loopstate != LOOP_SCANNING_FABRIC)
2498 if (FCPARAM(isp, chan)->isp_loopstate != LOOP_SCANNING_FABRIC)
2516 if (FCPARAM(isp, chan)->isp_loopstate != LOOP_SCANNING_FABRIC)
2875 if (fcp->isp_loopstate != LOOP_READY) {
3520 FCPARAM(isp, chan)->isp_loopstate = LOOP_NIL;
3565 if (fcp->isp_loopstate > LOOP_HAVE_LINK)
3566 fcp->isp_loopstate = LOOP_HAVE_LINK;
3618 if (fcp->isp_loopstate < LOOP_HAVE_LINK)
3619 fcp->isp_loopstate = LOOP_HAVE_LINK;
3639 fcp->isp_loopstate = LOOP_NIL;
3657 if (fcp->isp_loopstate > LOOP_HAVE_LINK)
3658 fcp->isp_loopstate = LOOP_HAVE_LINK;
3690 if (fcp->isp_loopstate > LOOP_LTEST_DONE) {
3695 fcp->isp_loopstate = LOOP_LTEST_DONE;
3696 } else if (fcp->isp_loopstate < LOOP_HAVE_LINK)
3697 fcp->isp_loopstate = LOOP_HAVE_LINK;
3719 if (fcp->isp_loopstate > LOOP_LTEST_DONE)
3720 fcp->isp_loopstate = LOOP_LTEST_DONE;
3721 else if (fcp->isp_loopstate < LOOP_HAVE_LINK)
3722 fcp->isp_loopstate = LOOP_HAVE_LINK;
3834 fcp->isp_loopstate = LOOP_HAVE_LINK;
3838 fcp->isp_loopstate = LOOP_NIL;
3849 fcp->isp_loopstate = LOOP_HAVE_ADDR;
3853 fcp->isp_loopstate = LOOP_NIL;