Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/
Diwl-notif-wait.c70 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument
72 spin_lock_init(&notif_wait->notif_wait_lock); in iwl_notification_wait_init()
73 INIT_LIST_HEAD(&notif_wait->notif_waits); in iwl_notification_wait_init()
74 init_waitqueue_head(&notif_wait->notif_waitq); in iwl_notification_wait_init()
78 void iwl_notification_wait_notify(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait_notify() argument
83 if (!list_empty(&notif_wait->notif_waits)) { in iwl_notification_wait_notify()
86 spin_lock(&notif_wait->notif_wait_lock); in iwl_notification_wait_notify()
87 list_for_each_entry(w, &notif_wait->notif_waits, list) { in iwl_notification_wait_notify()
109 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait_notify()
114 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()
342 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
349 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive()
357 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive()
388 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument
431 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
448 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode()
456 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
Dtestmode.c159 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_testmode_cfg_init_calib()
168 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, 2 * HZ); in iwl_testmode_cfg_init_calib()
175 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_testmode_cfg_init_calib()
Drxon.c130 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan()
144 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan()
146 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
Dmac80211.c450 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, in iwl_resume_status_fn() argument
553 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd, in iwlagn_mac_resume()
561 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5); in iwlagn_mac_resume()
Drx.c1102 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers()
1121 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
Ddev.h643 struct iwl_notif_wait_data notif_wait; member
Dmain.c1919 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
/drivers/net/wireless/iwlwifi/mvm/
Dfw.c122 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
126 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
145 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
178 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
185 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
193 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
299 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_init_mvm_ucode()
354 ret = iwl_wait_notification(&mvm->notif_wait, &calib_wait, in iwl_run_init_mvm_ucode()
361 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
Dscan.c389 static bool iwl_mvm_scan_abort_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_scan_abort_notif() argument
393 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_scan_abort_notif()
429 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_abort, in iwl_mvm_cancel_scan()
440 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_abort, 1 * HZ); in iwl_mvm_cancel_scan()
447 iwl_remove_notification(&mvm->notif_wait, &wait_scan_abort); in iwl_mvm_cancel_scan()
Dtime-event.c231 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
235 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
294 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
303 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
308 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
Dops.c380 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
522 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_dispatch()
616 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
Dmvm.h277 struct iwl_notif_wait_data notif_wait; member