/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-notif-wait.c | 70 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument 72 spin_lock_init(¬if_wait->notif_wait_lock); in iwl_notification_wait_init() 73 INIT_LIST_HEAD(¬if_wait->notif_waits); in iwl_notification_wait_init() 74 init_waitqueue_head(¬if_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(¬if_wait->notif_waits)) { in iwl_notification_wait_notify() 86 spin_lock(¬if_wait->notif_wait_lock); in iwl_notification_wait_notify() 87 list_for_each_entry(w, ¬if_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(¬if_wait->notif_wait_lock); in iwl_notification_wait_notify() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | ucode.c | 293 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 297 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn() 340 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 347 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive() 355 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 386 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument 421 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 438 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 444 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
|
D | mac80211.c | 404 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()
|
D | rxon.c | 130 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()
|
D | rx.c | 1098 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers() 1117 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
|
D | dev.h | 685 struct iwl_notif_wait_data notif_wait; member
|
D | main.c | 1824 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | time-event.c | 440 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument 444 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif() 472 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument 476 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response() 535 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add() 544 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add() 549 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add() 624 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session() 632 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session() 633 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
|
D | fw.c | 109 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 113 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn() 193 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument 229 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 236 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive() 244 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 328 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_init_mvm_ucode() 370 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode() 397 ret = iwl_wait_notification(&mvm->notif_wait, &calib_wait, in iwl_run_init_mvm_ucode() 407 iwl_remove_notification(&mvm->notif_wait, &calib_wait); in iwl_run_init_mvm_ucode()
|
D | tt.c | 140 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument 144 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait() 195 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp() 202 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp() 206 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
|
D | scan.c | 595 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_offload_stop() 604 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_offload_stop() 611 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, 1 * HZ); in iwl_mvm_scan_offload_stop() 1524 static bool iwl_scan_umac_done_check(struct iwl_notif_wait_data *notif_wait, in iwl_scan_umac_done_check() argument 1577 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_umac_scan_stop() 1603 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_umac_scan_stop() 1607 ret = iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, 1 * HZ); in iwl_umac_scan_stop()
|
D | ops.c | 509 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start() 734 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_dispatch() 825 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state() 893 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
|
D | d3.c | 1150 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3, in iwl_mvm_enter_d0i3_sync() 1158 ret = iwl_wait_notification(&mvm->notif_wait, &wait_d3, HZ); in iwl_mvm_enter_d0i3_sync() 1163 iwl_remove_notification(&mvm->notif_wait, &wait_d3); in iwl_mvm_enter_d0i3_sync() 2034 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
|
D | mac80211.c | 2975 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument 2979 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc() 3064 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd() 3074 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd() 3079 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
|
D | mvm.h | 616 struct iwl_notif_wait_data notif_wait; member
|