Lines Matching refs:reset_state
2663 struct ibmvnic_rwi *rwi, u32 reset_state) in do_reset() argument
2675 adapter_state_to_string(reset_state)); in do_reset()
2690 reset_state = adapter->state; in do_reset()
2692 if (reset_state == VNIC_REMOVING || reset_state == VNIC_REMOVED) { in do_reset()
2706 if (reset_state == VNIC_OPEN && in do_reset()
2736 adapter_state_to_string(reset_state)); in do_reset()
2737 reset_state = VNIC_OPEN; in do_reset()
2795 if (reset_state == VNIC_PROBED || reset_state == VNIC_DOWN) { in do_reset()
2845 if (reset_state == VNIC_CLOSED) { in do_reset()
2868 adapter->state = reset_state; in do_reset()
2880 struct ibmvnic_rwi *rwi, u32 reset_state) in do_hard_reset() argument
2889 reset_state = adapter->state; in do_hard_reset()
2891 if (reset_state == VNIC_REMOVING || reset_state == VNIC_REMOVED) { in do_hard_reset()
2925 if (reset_state == VNIC_PROBED || reset_state == VNIC_DOWN) in do_hard_reset()
2939 if (reset_state == VNIC_CLOSED) in do_hard_reset()
2952 adapter->state = reset_state; in do_hard_reset()
3059 u32 reset_state; in __ibmvnic_reset() local
3140 reset_state = adapter->state; in __ibmvnic_reset()
3162 rc = do_hard_reset(adapter, rwi, reset_state); in __ibmvnic_reset()
3166 rc = do_hard_reset(adapter, rwi, reset_state); in __ibmvnic_reset()
3190 rc = do_reset(adapter, rwi, reset_state); in __ibmvnic_reset()