Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/
Dnotif-wait.c67 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument
69 spin_lock_init(&notif_wait->notif_wait_lock); in iwl_notification_wait_init()
70 INIT_LIST_HEAD(&notif_wait->notif_waits); in iwl_notification_wait_init()
71 init_waitqueue_head(&notif_wait->notif_waitq); in iwl_notification_wait_init()
75 bool iwl_notification_wait(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait() argument
80 if (!list_empty(&notif_wait->notif_waits)) { in iwl_notification_wait()
83 spin_lock(&notif_wait->notif_wait_lock); in iwl_notification_wait()
84 list_for_each_entry(w, &notif_wait->notif_waits, list) { in iwl_notification_wait()
111 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait()
116 spin_unlock(&notif_wait->notif_wait_lock); in iwl_notification_wait()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Ducode.c267 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
271 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn()
314 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
321 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive()
329 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
360 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument
395 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
412 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
418 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
Drxon.c116 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan()
130 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan()
132 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
Dmac80211.c408 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, in iwl_resume_status_fn() argument
514 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd, in iwlagn_mac_resume()
522 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5); in iwlagn_mac_resume()
Drx.c981 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers()
999 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
Ddev.h671 struct iwl_notif_wait_data notif_wait; member
Dmain.c1925 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.c443 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument
447 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif()
475 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
479 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
538 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
547 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
552 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
626 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
634 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session()
635 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
Dfw.c209 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
213 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
284 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_init_complete() argument
292 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
331 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
343 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
351 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
430 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_unified_mvm_ucode()
487 ret = iwl_wait_notification(&mvm->notif_wait, &init_wait, in iwl_run_unified_mvm_ucode()
508 iwl_remove_notification(&mvm->notif_wait, &init_wait); in iwl_run_unified_mvm_ucode()
[all …]
Dtt.c144 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument
148 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait()
258 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
265 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp()
269 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
Dops.c795 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
1002 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common()
1197 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
1241 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
Dscan.c2029 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
2043 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
2047 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
Dmac80211.c3552 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
3556 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
3681 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
3691 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
3696 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
Ddebugfs.c1707 iwl_init_notification_wait(&mvm->notif_wait, &wait, in iwl_dbgfs_he_sniffer_params_write()
1716 iwl_remove_notification(&mvm->notif_wait, &wait); in iwl_dbgfs_he_sniffer_params_write()
Dmvm.h867 struct iwl_notif_wait_data notif_wait; member
Dd3.c2151 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()