Home
last modified time | relevance | path

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

/Linux-v6.1/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
259 struct iwl_notif_wait_data *notif_wait) in iwl_pnvm_load() argument
345 iwl_init_notification_wait(notif_wait, &pnvm_wait, in iwl_pnvm_load()
353 return iwl_wait_notification(notif_wait, &pnvm_wait, in iwl_pnvm_load()
Dpnvm.h18 struct iwl_notif_wait_data *notif_wait);
/Linux-v6.1/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()
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.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()
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.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.c449 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument
453 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif()
481 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
485 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
544 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
553 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
558 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
632 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
640 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session()
641 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
[all …]
Dfw.c110 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
115 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
265 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_init_complete() argument
273 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
335 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
347 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
355 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
407 ret = iwl_pnvm_load(mvm->trans, &mvm->notif_wait); in iwl_mvm_load_ucode_wait_alive()
470 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_unified_mvm_ucode()
531 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.c310 static bool iwl_wait_stats_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_stats_complete() argument
351 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait, in iwl_mvm_request_statistics()
357 iwl_remove_notification(&mvm->notif_wait, &stats_wait); in iwl_mvm_request_statistics()
364 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 5); in iwl_mvm_request_statistics()
Dd3.c2692 static bool iwl_mvm_wait_d3_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_wait_d3_notif() argument
2696 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_wait_d3_notif()
2826 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
2832 iwl_remove_notification(&mvm->notif_wait, &wait_d3_notif); in iwl_mvm_d3_notif_wait()
2836 return iwl_wait_notification(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3095 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
Dops.c1283 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
1540 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common()
1744 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
1789 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
Dmac80211.c3696 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
3700 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
3827 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
3837 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
3842 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
Dscan.c3072 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
3086 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
3090 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
Ddebugfs.c1514 iwl_init_notification_wait(&mvm->notif_wait, &wait, in iwl_dbgfs_he_sniffer_params_write()
1524 iwl_remove_notification(&mvm->notif_wait, &wait); in iwl_dbgfs_he_sniffer_params_write()
Dmvm.h810 struct iwl_notif_wait_data notif_wait; member