Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/
Dnotif-wait.c13 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument
15 spin_lock_init(&notif_wait->notif_wait_lock); in iwl_notification_wait_init()
16 INIT_LIST_HEAD(&notif_wait->notif_waits); in iwl_notification_wait_init()
17 init_waitqueue_head(&notif_wait->notif_waitq); in iwl_notification_wait_init()
21 bool iwl_notification_wait(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait() argument
26 if (!list_empty(&notif_wait->notif_waits)) { in iwl_notification_wait()
29 spin_lock_bh(&notif_wait->notif_wait_lock); in iwl_notification_wait()
30 list_for_each_entry(w, &notif_wait->notif_waits, list) { in iwl_notification_wait()
57 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait()
62 spin_unlock_bh(&notif_wait->notif_wait_lock); in iwl_notification_wait()
[all …]
Dpnvm.c20 static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_complete_fn() argument
369 struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_load() argument
383 iwl_init_notification_wait(notif_wait, &pnvm_wait, in iwl_pnvm_load()
391 return iwl_wait_notification(notif_wait, &pnvm_wait, in iwl_pnvm_load()
Dpnvm.h16 struct iwl_notif_wait_data *notif_wait,
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/dvm/
Ducode.c262 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
266 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn()
309 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
316 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive()
324 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
355 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument
390 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
407 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
413 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
Drxon.c111 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan()
125 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan()
127 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
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()
Drx.c988 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers()
1006 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
Ddev.h661 struct iwl_notif_wait_data notif_wait; member
Dmain.c1909 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.c456 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument
460 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif()
488 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
492 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
551 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
560 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
565 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
639 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
647 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session()
648 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
[all …]
Dfw.c111 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
116 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
267 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_init_complete() argument
275 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
339 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
351 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
359 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
436 ret = iwl_pnvm_load(mvm->trans, &mvm->notif_wait, in iwl_mvm_load_ucode_wait_alive()
595 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_unified_mvm_ucode()
663 ret = iwl_wait_notification(&mvm->notif_wait, &init_wait, in iwl_run_unified_mvm_ucode()
[all …]
Dtt.c88 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument
92 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait()
256 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
262 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp()
266 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
Dutils.c337 static bool iwl_wait_stats_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_stats_complete() argument
378 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait, in iwl_mvm_request_statistics()
384 iwl_remove_notification(&mvm->notif_wait, &stats_wait); in iwl_mvm_request_statistics()
391 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 5); in iwl_mvm_request_statistics()
Dd3.c2863 static bool iwl_mvm_wait_d3_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_wait_d3_notif() argument
2867 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_wait_d3_notif()
3020 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3026 iwl_remove_notification(&mvm->notif_wait, &wait_d3_notif); in iwl_mvm_d3_notif_wait()
3030 return iwl_wait_notification(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3289 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
Dops.c1330 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
1595 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common()
1807 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
1852 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
Dmac80211.c4354 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
4358 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
4485 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
4495 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
4500 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
Dscan.c3257 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
3271 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
3275 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
Ddebugfs.c1843 iwl_init_notification_wait(&mvm->notif_wait, &wait, in iwl_dbgfs_he_sniffer_params_write()
1853 iwl_remove_notification(&mvm->notif_wait, &wait); in iwl_dbgfs_he_sniffer_params_write()
Dmvm.h880 struct iwl_notif_wait_data notif_wait; member