Home
last modified time | relevance | path

Searched refs:notif_wait (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-notif-wait.c70 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument
72 spin_lock_init(&notif_wait->notif_wait_lock); in iwl_notification_wait_init()
73 INIT_LIST_HEAD(&notif_wait->notif_waits); in iwl_notification_wait_init()
74 init_waitqueue_head(&notif_wait->notif_waitq); in iwl_notification_wait_init()
78 void iwl_notification_wait_notify(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait_notify() argument
83 if (!list_empty(&notif_wait->notif_waits)) { in iwl_notification_wait_notify()
86 spin_lock(&notif_wait->notif_wait_lock); in iwl_notification_wait_notify()
87 list_for_each_entry(w, &notif_wait->notif_waits, list) { in iwl_notification_wait_notify()
109 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait_notify()
114 spin_unlock(&notif_wait->notif_wait_lock); in iwl_notification_wait_notify()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Ducode.c293 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
297 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn()
340 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
347 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive()
355 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
386 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument
421 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
438 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
444 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
Dmac80211.c404 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, in iwl_resume_status_fn() argument
510 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd, in iwlagn_mac_resume()
518 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5); in iwlagn_mac_resume()
Drxon.c130 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan()
144 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan()
146 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
Drx.c1098 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers()
1117 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
Ddev.h685 struct iwl_notif_wait_data notif_wait; member
Dmain.c1824 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtime-event.c440 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument
444 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif()
472 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
476 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
535 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
544 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
549 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
624 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
632 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session()
633 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
Dfw.c109 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
113 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
193 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
229 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
236 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
244 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
328 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_init_mvm_ucode()
370 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
397 ret = iwl_wait_notification(&mvm->notif_wait, &calib_wait, in iwl_run_init_mvm_ucode()
407 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
Dtt.c140 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument
144 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait()
195 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
202 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp()
206 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
Dscan.c595 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_offload_stop()
604 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_offload_stop()
611 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, 1 * HZ); in iwl_mvm_scan_offload_stop()
1524 static bool iwl_scan_umac_done_check(struct iwl_notif_wait_data *notif_wait, in iwl_scan_umac_done_check() argument
1577 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_umac_scan_stop()
1603 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_umac_scan_stop()
1607 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, 1 * HZ); in iwl_umac_scan_stop()
Dops.c509 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
734 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_dispatch()
825 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
893 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
Dd3.c1150 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3, in iwl_mvm_enter_d0i3_sync()
1158 ret = iwl_wait_notification(&mvm->notif_wait, &wait_d3, HZ); in iwl_mvm_enter_d0i3_sync()
1163 iwl_remove_notification(&mvm->notif_wait, &wait_d3); in iwl_mvm_enter_d0i3_sync()
2034 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
Dmac80211.c2975 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
2979 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
3064 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
3074 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
3079 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
Dmvm.h616 struct iwl_notif_wait_data notif_wait; member