Lines Matching refs:reason
936 enum iwl_mvm_esr_state reason) in iwl_mvm_check_esr_prevention() argument
946 if (!(reason & IWL_MVM_ESR_PREVENT_REASONS)) in iwl_mvm_check_esr_prevention()
954 if (timeout_expired || mvmvif->last_esr_exit.reason != reason) { in iwl_mvm_check_esr_prevention()
977 iwl_get_esr_state_string(reason), reason); in iwl_mvm_check_esr_prevention()
988 enum iwl_mvm_esr_state reason, in iwl_mvm_exit_esr() argument
1013 iwl_get_esr_state_string(reason), reason, in iwl_mvm_exit_esr()
1019 prevented = iwl_mvm_check_esr_prevention(mvm, mvmvif, reason); in iwl_mvm_exit_esr()
1023 mvmvif->last_esr_exit.reason = reason; in iwl_mvm_exit_esr()
1030 if (prevented || reason & IWL_MVM_BLOCK_ESR_REASONS) in iwl_mvm_exit_esr()
1040 enum iwl_mvm_esr_state reason, in iwl_mvm_block_esr() argument
1051 if (WARN_ON(!(reason & IWL_MVM_BLOCK_ESR_REASONS))) in iwl_mvm_block_esr()
1054 if (mvmvif->esr_disable_reason & reason) in iwl_mvm_block_esr()
1059 iwl_get_esr_state_string(reason), reason); in iwl_mvm_block_esr()
1061 mvmvif->esr_disable_reason |= reason; in iwl_mvm_block_esr()
1065 iwl_mvm_exit_esr(mvm, vif, reason, link_to_keep); in iwl_mvm_block_esr()
1069 enum iwl_mvm_esr_state reason) in iwl_mvm_block_esr_sync() argument
1078 if (WARN_ON(!(reason & IWL_MVM_BLOCK_ESR_REASONS))) in iwl_mvm_block_esr_sync()
1088 iwl_mvm_block_esr(mvm, vif, reason, primary_link); in iwl_mvm_block_esr_sync()
1113 !(mvmvif->last_esr_exit.reason & IWL_MVM_BLOCK_ESR_REASONS)) { in iwl_mvm_esr_unblocked()
1141 enum iwl_mvm_esr_state reason) in iwl_mvm_unblock_esr() argument
1151 if (WARN_ON(!(reason & IWL_MVM_BLOCK_ESR_REASONS))) in iwl_mvm_unblock_esr()
1155 if (!(mvmvif->esr_disable_reason & reason)) in iwl_mvm_unblock_esr()
1158 mvmvif->esr_disable_reason &= ~reason; in iwl_mvm_unblock_esr()
1162 iwl_get_esr_state_string(reason), reason); in iwl_mvm_unblock_esr()