Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/
Diwl-notif-wait.c71 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument
73 spin_lock_init(&notif_wait->notif_wait_lock); in iwl_notification_wait_init()
74 INIT_LIST_HEAD(&notif_wait->notif_waits); in iwl_notification_wait_init()
75 init_waitqueue_head(&notif_wait->notif_waitq); in iwl_notification_wait_init()
79 void iwl_notification_wait_notify(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait_notify() argument
84 if (!list_empty(&notif_wait->notif_waits)) { in iwl_notification_wait_notify()
87 spin_lock(&notif_wait->notif_wait_lock); in iwl_notification_wait_notify()
88 list_for_each_entry(w, &notif_wait->notif_waits, list) { in iwl_notification_wait_notify()
111 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait_notify()
116 spin_unlock(&notif_wait->notif_wait_lock); in iwl_notification_wait_notify()
[all …]
/drivers/net/wireless/iwlwifi/dvm/
Ducode.c294 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
298 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn()
341 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
348 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive()
356 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
387 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument
422 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
439 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
445 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
Dmac80211.c417 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, in iwl_resume_status_fn() argument
523 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd, in iwlagn_mac_resume()
531 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5); in iwlagn_mac_resume()
Drxon.c131 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan()
145 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan()
147 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
Drx.c1069 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers()
1087 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
Ddev.h686 struct iwl_notif_wait_data notif_wait; member
Dmain.c1824 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
/drivers/net/wireless/iwlwifi/mvm/
Dtime-event.c437 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument
441 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif()
469 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
473 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
532 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
541 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
546 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
620 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
628 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session()
629 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
Dtt.c141 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument
145 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait()
209 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
216 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp()
220 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
Dfw.c411 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
415 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
495 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
531 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
538 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
546 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
665 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_init_mvm_ucode()
707 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
734 ret = iwl_wait_notification(&mvm->notif_wait, &calib_wait, in iwl_run_init_mvm_ucode()
744 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
Dops.c523 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
746 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common()
881 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
950 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
Dscan.c1441 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
1455 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
1459 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, 1 * HZ); in iwl_mvm_scan_stop_wait()
Dd3.c1142 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3, in iwl_mvm_enter_d0i3_sync()
1150 ret = iwl_wait_notification(&mvm->notif_wait, &wait_d3, HZ); in iwl_mvm_enter_d0i3_sync()
1155 iwl_remove_notification(&mvm->notif_wait, &wait_d3); in iwl_mvm_enter_d0i3_sync()
2072 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
Dmac80211.c3110 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
3114 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
3199 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
3209 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
3214 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
Dmvm.h596 struct iwl_notif_wait_data notif_wait; member