/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 …]
|
/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() 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()
|
D | testmode.c | 159 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()
|
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 | mac80211.c | 450 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()
|
D | rx.c | 1102 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()
|
D | dev.h | 643 struct iwl_notif_wait_data notif_wait; member
|
D | main.c | 1919 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | fw.c | 122 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()
|
D | scan.c | 389 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()
|
D | time-event.c | 231 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()
|
D | ops.c | 380 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()
|
D | mvm.h | 277 struct iwl_notif_wait_data notif_wait; member
|