/drivers/net/wireless/iwlwifi/ |
D | iwl-notif-wait.c | 71 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument 73 spin_lock_init(¬if_wait->notif_wait_lock); in iwl_notification_wait_init() 74 INIT_LIST_HEAD(¬if_wait->notif_waits); in iwl_notification_wait_init() 75 init_waitqueue_head(¬if_wait->notif_waitq); in iwl_notification_wait_init() 79 void iwl_notification_wait_notify(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait_notify() argument 84 if (!list_empty(¬if_wait->notif_waits)) { in iwl_notification_wait_notify() 87 spin_lock(¬if_wait->notif_wait_lock); in iwl_notification_wait_notify() 88 list_for_each_entry(w, ¬if_wait->notif_waits, list) { in iwl_notification_wait_notify() 111 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait_notify() 116 spin_unlock(¬if_wait->notif_wait_lock); in iwl_notification_wait_notify() [all …]
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | ucode.c | 294 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() 341 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 348 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive() 356 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 387 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument 422 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 439 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 445 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
|
D | mac80211.c | 417 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, in iwl_resume_status_fn() argument 523 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd, in iwlagn_mac_resume() 531 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5); in iwlagn_mac_resume()
|
D | rxon.c | 131 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan() 145 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan() 147 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
|
D | rx.c | 1069 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers() 1087 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
|
D | dev.h | 686 struct iwl_notif_wait_data notif_wait; member
|
D | main.c | 1824 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | time-event.c | 437 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument 441 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif() 469 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument 473 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response() 532 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add() 541 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add() 546 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add() 620 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session() 628 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session() 629 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
|
D | tt.c | 141 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument 145 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait() 209 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp() 216 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp() 220 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
|
D | fw.c | 411 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 415 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn() 495 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument 531 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 538 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive() 546 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 665 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_init_mvm_ucode() 707 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode() 734 ret = iwl_wait_notification(&mvm->notif_wait, &calib_wait, in iwl_run_init_mvm_ucode() 744 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
|
D | ops.c | 523 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start() 746 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common() 881 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state() 950 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
|
D | scan.c | 1441 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait() 1455 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait() 1459 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, 1 * HZ); in iwl_mvm_scan_stop_wait()
|
D | d3.c | 1142 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3, in iwl_mvm_enter_d0i3_sync() 1150 ret = iwl_wait_notification(&mvm->notif_wait, &wait_d3, HZ); in iwl_mvm_enter_d0i3_sync() 1155 iwl_remove_notification(&mvm->notif_wait, &wait_d3); in iwl_mvm_enter_d0i3_sync() 2072 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
|
D | mac80211.c | 3110 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument 3114 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc() 3199 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd() 3209 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd() 3214 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
|
D | mvm.h | 596 struct iwl_notif_wait_data notif_wait; member
|