/drivers/net/wireless/intel/iwlwifi/fw/ |
D | notif-wait.c | 67 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument 69 spin_lock_init(¬if_wait->notif_wait_lock); in iwl_notification_wait_init() 70 INIT_LIST_HEAD(¬if_wait->notif_waits); in iwl_notification_wait_init() 71 init_waitqueue_head(¬if_wait->notif_waitq); in iwl_notification_wait_init() 75 bool iwl_notification_wait(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait() argument 80 if (!list_empty(¬if_wait->notif_waits)) { in iwl_notification_wait() 83 spin_lock(¬if_wait->notif_wait_lock); in iwl_notification_wait() 84 list_for_each_entry(w, ¬if_wait->notif_waits, list) { in iwl_notification_wait() 111 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait() 116 spin_unlock(¬if_wait->notif_wait_lock); in iwl_notification_wait() [all …]
|
D | pnvm.c | 21 static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_complete_fn() argument 232 struct iwl_notif_wait_data *notif_wait) in iwl_pnvm_load() argument 281 iwl_init_notification_wait(notif_wait, &pnvm_wait, in iwl_pnvm_load() 289 return iwl_wait_notification(notif_wait, &pnvm_wait, in iwl_pnvm_load()
|
D | pnvm.h | 16 struct iwl_notif_wait_data *notif_wait);
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | ucode.c | 267 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 271 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn() 314 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 321 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive() 329 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 360 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument 395 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 412 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 418 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
|
D | rxon.c | 116 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan() 130 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan() 132 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
|
D | mac80211.c | 409 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, in iwl_resume_status_fn() argument 515 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd, in iwlagn_mac_resume() 523 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5); in iwlagn_mac_resume()
|
D | rx.c | 981 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers() 999 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
|
D | dev.h | 666 struct iwl_notif_wait_data notif_wait; member
|
D | main.c | 1917 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | time-event.c | 457 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument 461 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif() 489 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument 493 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response() 552 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add() 561 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add() 566 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add() 640 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session() 648 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session() 649 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session() [all …]
|
D | fw.c | 215 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 219 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn() 316 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_init_complete() argument 324 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument 363 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 375 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive() 383 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 427 ret = iwl_pnvm_load(mvm->trans, &mvm->notif_wait); in iwl_mvm_load_ucode_wait_alive() 482 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_unified_mvm_ucode() 539 ret = iwl_wait_notification(&mvm->notif_wait, &init_wait, in iwl_run_unified_mvm_ucode() [all …]
|
D | tt.c | 146 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument 150 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait() 315 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp() 321 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp() 325 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
|
D | ops.c | 824 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start() 1035 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common() 1233 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state() 1278 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
|
D | mac80211.c | 3670 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument 3674 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc() 3801 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd() 3811 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd() 3816 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
|
D | scan.c | 2532 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait() 2546 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait() 2550 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
|
D | debugfs.c | 1718 iwl_init_notification_wait(&mvm->notif_wait, &wait, in iwl_dbgfs_he_sniffer_params_write() 1727 iwl_remove_notification(&mvm->notif_wait, &wait); in iwl_dbgfs_he_sniffer_params_write()
|
D | mvm.h | 858 struct iwl_notif_wait_data notif_wait; member
|
D | d3.c | 2358 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
|