Lines Matching refs:d3_data

2924 					    struct iwl_d3_data *d3_data)  in iwl_mvm_query_netdetect_reasons()  argument
2935 if (WARN_ON(!d3_data || !d3_data->status)) in iwl_mvm_query_netdetect_reasons()
2938 reasons = d3_data->status->wakeup_reasons; in iwl_mvm_query_netdetect_reasons()
2949 ret = iwl_mvm_netdetect_query_results(mvm, d3_data->nd_results); in iwl_mvm_query_netdetect_reasons()
2953 ret = d3_data->nd_results_valid ? 0 : -1; in iwl_mvm_query_netdetect_reasons()
2956 if (ret || !d3_data->nd_results->matched_profiles) { in iwl_mvm_query_netdetect_reasons()
2961 matched_profiles = d3_data->nd_results->matched_profiles; in iwl_mvm_query_netdetect_reasons()
2979 d3_data->nd_results, in iwl_mvm_query_netdetect_reasons()
3000 iwl_mvm_query_set_freqs(mvm, d3_data->nd_results, match, i); in iwl_mvm_query_netdetect_reasons()
3088 struct iwl_d3_data *d3_data) in iwl_mvm_choose_query_wakeup_reasons() argument
3093 if (!d3_data->status) { in iwl_mvm_choose_query_wakeup_reasons()
3101 d3_data->status = iwl_mvm_send_wowlan_get_status(mvm, sta_id); in iwl_mvm_choose_query_wakeup_reasons()
3105 iwl_mvm_query_netdetect_reasons(mvm, vif, d3_data); in iwl_mvm_choose_query_wakeup_reasons()
3108 d3_data->status); in iwl_mvm_choose_query_wakeup_reasons()
3170 struct iwl_d3_data *d3_data, in iwl_mvm_nd_match_info_handler() argument
3174 struct iwl_wowlan_status_data *status = d3_data->status; in iwl_mvm_nd_match_info_handler()
3176 struct iwl_mvm_nd_results *results = d3_data->nd_results; in iwl_mvm_nd_match_info_handler()
3209 d3_data->nd_results_valid = true; in iwl_mvm_nd_match_info_handler()
3223 struct iwl_d3_data *d3_data = data; in iwl_mvm_wait_d3_notif() local
3235 if (d3_data->notif_received & IWL_D3_NOTIF_WOWLAN_INFO) { in iwl_mvm_wait_d3_notif()
3256 d3_data->status, in iwl_mvm_wait_d3_notif()
3265 d3_data->status, in iwl_mvm_wait_d3_notif()
3272 d3_data->status, len, in iwl_mvm_wait_d3_notif()
3276 d3_data->notif_received |= IWL_D3_NOTIF_WOWLAN_INFO; in iwl_mvm_wait_d3_notif()
3278 if (d3_data->status && in iwl_mvm_wait_d3_notif()
3279 d3_data->status->wakeup_reasons & IWL_WOWLAN_WAKEUP_REASON_HAS_WAKEUP_PKT) in iwl_mvm_wait_d3_notif()
3281 d3_data->notif_expected |= IWL_D3_NOTIF_WOWLAN_WAKE_PKT; in iwl_mvm_wait_d3_notif()
3288 if (d3_data->notif_received & IWL_D3_NOTIF_WOWLAN_WAKE_PKT) { in iwl_mvm_wait_d3_notif()
3293 d3_data->notif_received |= IWL_D3_NOTIF_WOWLAN_WAKE_PKT; in iwl_mvm_wait_d3_notif()
3296 d3_data->status, in iwl_mvm_wait_d3_notif()
3308 if (d3_data->notif_received & IWL_D3_ND_MATCH_INFO) { in iwl_mvm_wait_d3_notif()
3314 d3_data->notif_received |= IWL_D3_ND_MATCH_INFO; in iwl_mvm_wait_d3_notif()
3317 d3_data->notif_expected |= IWL_D3_ND_MATCH_INFO; in iwl_mvm_wait_d3_notif()
3320 iwl_mvm_nd_match_info_handler(mvm, d3_data, notif, len); in iwl_mvm_wait_d3_notif()
3326 d3_data->d3_end_flags = __le32_to_cpu(notif->flags); in iwl_mvm_wait_d3_notif()
3327 d3_data->notif_received |= IWL_D3_NOTIF_D3_END_NOTIF; in iwl_mvm_wait_d3_notif()
3335 return d3_data->notif_received == d3_data->notif_expected; in iwl_mvm_wait_d3_notif()
3377 struct iwl_d3_data *d3_data) in iwl_mvm_d3_notif_wait() argument
3395 iwl_mvm_wait_d3_notif, d3_data); in iwl_mvm_d3_notif_wait()
3400 iwl_mvm_wait_d3_notif, d3_data); in iwl_mvm_d3_notif_wait()
3402 ret = iwl_mvm_resume_firmware(mvm, d3_data->test); in iwl_mvm_d3_notif_wait()
3427 struct iwl_d3_data d3_data = { in __iwl_mvm_resume() local
3475 d3_data.status = kzalloc(sizeof(*d3_data.status), GFP_KERNEL); in __iwl_mvm_resume()
3476 if (!d3_data.status) { in __iwl_mvm_resume()
3482 ret = iwl_mvm_d3_notif_wait(mvm, &d3_data); in __iwl_mvm_resume()
3497 if (d3_data.d3_end_flags & IWL_D0I3_RESET_REQUIRE) in __iwl_mvm_resume()
3525 keep = iwl_mvm_choose_query_wakeup_reasons(mvm, vif, &d3_data); in __iwl_mvm_resume()
3532 if (d3_data.status) in __iwl_mvm_resume()
3533 kfree(d3_data.status->wake_packet); in __iwl_mvm_resume()
3534 kfree(d3_data.status); in __iwl_mvm_resume()
3537 if (!d3_data.test && !mvm->net_detect) in __iwl_mvm_resume()
3556 } else if (!(d3_data.d3_end_flags & IWL_D0I3_RESET_REQUIRE)) { in __iwl_mvm_resume()
3624 struct iwl_d3_data d3_data = { in iwl_mvm_fast_resume() local
3646 ret = iwl_mvm_d3_notif_wait(mvm, &d3_data); in iwl_mvm_fast_resume()