Lines Matching defs:cmdstate
279 volatile enum bscbus_cmdstate cmdstate;
622 csp->cmdstate, *csp->cmdp);
629 csp->cmdstate = BSCBUS_CMDSTATE_WAITING;
637 csp->cmdstate = BSCBUS_CMDSTATE_PENDING;
656 csp->cmdstate = BSCBUS_CMDSTATE_SENDING;
683 csp->cmdstate = BSCBUS_CMDSTATE_SENDING;
731 csp->cmdstate = BSCBUS_CMDSTATE_ERROR;
744 csp->cmdstate = BSCBUS_CMDSTATE_ERROR;
751 csp->cmdstate = BSCBUS_CMDSTATE_ERROR;
770 csp->cmdstate = BSCBUS_CMDSTATE_ERROR;
773 csp->cmdstate = BSCBUS_CMDSTATE_READY;
799 csp->cmdstate, csp->error);
802 switch (csp->cmdstate) {
823 * call to bscbus_process OR cmdstate is READY or ERROR if
829 csp->cmdstate != BSCBUS_CMDSTATE_READY &&
830 csp->cmdstate != BSCBUS_CMDSTATE_ERROR) {
833 csp->cmdstate, csp->error);
835 if (csp->cmdstate == BSCBUS_CMDSTATE_CLEARING) {
837 csp->cmdstate = BSCBUS_CMDSTATE_SENDING;
840 } else if (csp->cmdstate != BSCBUS_CMDSTATE_IDLE) {
841 csp->cmdstate = BSCBUS_CMDSTATE_ERROR;
850 data, csp->cmdstate, csp->error, ready);
940 while (csp->cmdstate != BSCBUS_CMDSTATE_IDLE && !ddi_in_panic())
943 csp->cmdstate = BSCBUS_CMDSTATE_BUSY;
1001 csp->cmdstate = BSCBUS_CMDSTATE_CLEARING;
1006 csp->cmdstate = BSCBUS_CMDSTATE_SENDING;
1016 while ((csp->cmdstate != BSCBUS_CMDSTATE_READY) &&
1017 (csp->cmdstate != BSCBUS_CMDSTATE_ERROR)) {
1018 ASSERT(csp->cmdstate != BSCBUS_CMDSTATE_IDLE);
1022 csp->cmdstate != BSCBUS_CMDSTATE_READY &&
1023 csp->cmdstate != BSCBUS_CMDSTATE_ERROR) {
1042 } else if (csp->cmdstate != BSCBUS_CMDSTATE_READY) {
1058 csp->cmdstate = BSCBUS_CMDSTATE_IDLE;
1737 csp->cmdstate = BSCBUS_CMDSTATE_IDLE;
2631 logp->bcl_cmdstate = csp->cmdstate;