Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A 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 …]
H A Dpnvm.c23 static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_complete_fn() argument
456 struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_load() argument
470 iwl_init_notification_wait(notif_wait, &pnvm_wait, in iwl_pnvm_load()
478 return iwl_wait_notification(notif_wait, &pnvm_wait, in iwl_pnvm_load()
H A Dpnvm.h17 struct iwl_notif_wait_data *notif_wait,
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dsession-protect.c114 static bool iwl_mld_session_start_fn(struct iwl_notif_wait_data *notif_wait, in iwl_mld_session_start_fn() argument
163 iwl_init_notification_wait(&mld->notif_wait, &start_wait, in iwl_mld_start_session_protection()
171 iwl_remove_notification(&mld->notif_wait, &start_wait); in iwl_mld_start_session_protection()
175 ret = iwl_wait_notification(&mld->notif_wait, &start_wait, timeout); in iwl_mld_start_session_protection()
H A Dd3.c1268 static bool iwl_mld_handle_d3_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mld_handle_d3_notif() argument
1273 container_of(notif_wait, struct iwl_mld, notif_wait); in iwl_mld_handle_d3_notif()
1355 iwl_init_notification_wait(&mld->notif_wait, &wait_d3_notif, in iwl_mld_wait_d3_notif()
1361 iwl_init_notification_wait(&mld->notif_wait, &wait_d3_notif, in iwl_mld_wait_d3_notif()
1371 iwl_remove_notification(&mld->notif_wait, &wait_d3_notif); in iwl_mld_wait_d3_notif()
1375 ret = iwl_wait_notification(&mld->notif_wait, &wait_d3_notif, in iwl_mld_wait_d3_notif()
H A Dscan.c1596 iwl_init_notification_wait(&mld->notif_wait, &wait_scan_done, in iwl_mld_scan_stop_wait()
1614 return iwl_wait_notification(&mld->notif_wait, &wait_scan_done, HZ); in iwl_mld_scan_stop_wait()
1617 iwl_remove_notification(&mld->notif_wait, &wait_scan_done); in iwl_mld_scan_stop_wait()
H A Dnotif.c584 iwl_notification_wait_notify(&mld->notif_wait, pkt); in iwl_mld_rx_notif()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c2845 static bool iwl_mvm_wait_d3_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_wait_d3_notif() argument
2849 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_wait_d3_notif()
3005 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3010 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3017 iwl_remove_notification(&mvm->notif_wait, &wait_d3_notif); in iwl_mvm_d3_notif_wait()
3021 return iwl_wait_notification(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
H A Dops.c1436 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
1731 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common()
1931 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
1962 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_error()
H A Dscan.c3360 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
3374 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
3378 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
3382 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
H A Dmac80211.c4484 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
4488 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
4586 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
4596 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
4601 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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()
H A 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()
H A Ddev.h664 struct iwl_notif_wait_data notif_wait; member
H A Dmain.c1964 iwl_abort_notification_waits(&priv->notif_wait); in iwl_nic_error()