Lines Matching refs:state

659 			io->state = EFCT_HW_IO_STATE_FREE;
687 io->state = EFCT_HW_IO_STATE_FREE;
1105 hw->state = EFCT_HW_STATE_ACTIVE;
1382 * If the chip is in an error state (UE'd) then reject this mailbox
1386 efc_log_crit(hw->os, "Chip in an error state - reset needed\n");
1415 if (hw->state != EFCT_HW_STATE_ACTIVE) {
1416 efc_log_err(hw->os, "Can't send command, HW state=%d\n",
1417 hw->state);
1589 io->state = EFCT_HW_IO_STATE_INUSE;
1634 io->state = EFCT_HW_IO_STATE_WAIT_FREE;
1639 io->state = EFCT_HW_IO_STATE_FREE;
1942 if (hw->state != EFCT_HW_STATE_ACTIVE) {
1943 efc_log_err(hw->os, "cannot send IO abort, HW state=%d\n",
1944 hw->state);
2026 * therefore, keep xbusy as-is to track the exchange's state,
2027 * not the ABORT_WQE's state
2181 * EFCT_HW_STATE_QUEUES_ALLOCATED - The state after a chip reset,
2188 if (hw->state == EFCT_HW_STATE_UNINITIALIZED)
2482 if (io->state == EFCT_HW_IO_STATE_INUSE ||
2483 io->state == EFCT_HW_IO_STATE_WAIT_FREE) {
2489 if (io->state == EFCT_HW_IO_STATE_WAIT_FREE) {
2490 io->state = EFCT_HW_IO_STATE_FREE;
2576 if (hw->state != EFCT_HW_STATE_ACTIVE) {
2578 "cannot send BLS, HW state=%d\n", hw->state);
2713 if (hw->state != EFCT_HW_STATE_ACTIVE) {
2715 "cannot send SRRS, HW state=%d\n", hw->state);
2857 if (hw->state != EFCT_HW_STATE_ACTIVE) {
2858 efc_log_err(hw->os, "cannot send IO, HW state=%d\n", hw->state);
2863 * Save state needed during later stages
3397 destroy_queues = (hw->state == EFCT_HW_STATE_ACTIVE);
3398 free_memory = (hw->state != EFCT_HW_STATE_UNINITIALIZED);
3406 if (hw->state != EFCT_HW_STATE_QUEUES_ALLOCATED) {
3407 hw->state = EFCT_HW_STATE_TEARDOWN_IN_PROGRESS;
3421 hw->state = EFCT_HW_STATE_TEARDOWN_IN_PROGRESS;
3487 hw->state = EFCT_HW_STATE_UNINITIALIZED;
3524 * Because the FW reset leaves the FW in a non-running state,
3535 hw->state = prev_state;
3547 enum efct_hw_state prev_state = hw->state;
3549 if (hw->state != EFCT_HW_STATE_ACTIVE)
3551 "HW state %d is not active\n", hw->state);
3553 hw->state = EFCT_HW_STATE_RESET_IN_PROGRESS;