Searched refs:notif_wait (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dnotif-wait.c13 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) argument
15 spin_lock_init(&notif_wait->notif_wait_lock);
16 INIT_LIST_HEAD(&notif_wait->notif_waits);
17 init_waitqueue_head(&notif_wait->notif_waitq);
21 bool iwl_notification_wait(struct iwl_notif_wait_data *notif_wait, argument
26 if (!list_empty(&notif_wait->notif_waits)) {
29 spin_lock_bh(&notif_wait->notif_wait_lock);
30 list_for_each_entry(w, &notif_wait->notif_waits, list) {
57 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) {
62 spin_unlock_bh(&notif_wait
69 iwl_abort_notification_waits(struct iwl_notif_wait_data *notif_wait) argument
83 iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry, const u16 *cmds, int n_cmds, bool (*fn)(struct iwl_notif_wait_data *notif_wait, struct iwl_rx_packet *pkt, void *data), void *fn_data) argument
106 iwl_remove_notification(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry) argument
115 iwl_wait_notification(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry, unsigned long timeout) argument
[all...]
H A Dpnvm.h16 struct iwl_notif_wait_data *notif_wait,
H A Dpnvm.c22 static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait, argument
388 struct iwl_notif_wait_data *notif_wait,
402 iwl_init_notification_wait(notif_wait, &pnvm_wait,
410 return iwl_wait_notification(notif_wait, &pnvm_wait,
387 iwl_pnvm_load(struct iwl_trans *trans, struct iwl_notif_wait_data *notif_wait, const struct iwl_ucode_capabilities *capa) argument
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ducode.c262 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, argument
266 container_of(notif_wait, struct iwl_priv, notif_wait);
309 iwl_init_notification_wait(&priv->notif_wait, &alive_wait,
316 iwl_remove_notification(&priv->notif_wait, &alive_wait);
324 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait,
355 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, argument
390 iwl_init_notification_wait(&priv->notif_wait, &calib_wait,
407 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait,
413 iwl_remove_notification(&priv->notif_wait,
[all...]
H A Drxon.c111 iwl_init_notification_wait(&priv->notif_wait, &disable_wait,
125 iwl_remove_notification(&priv->notif_wait, &disable_wait);
127 ret = iwl_wait_notification(&priv->notif_wait,
H A Dmac80211.c404 static bool iwl_resume_status_fn(struct iwl_notif_wait_data *notif_wait, argument
510 iwl_init_notification_wait(&priv->notif_wait, &status_wait, status_cmd,
518 ret = iwl_wait_notification(&priv->notif_wait, &status_wait, HZ/5);
H A Ddev.h663 struct iwl_notif_wait_data notif_wait; member in struct:iwl_priv
H A Drx.c988 iwl_notification_wait_init(&priv->notif_wait);
1006 iwl_notification_wait_notify(&priv->notif_wait, pkt);
H A Dmain.c1909 iwl_abort_notification_waits(&priv->notif_wait);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-event.c475 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, argument
479 container_of(notif_wait, struct iwl_mvm, notif_wait);
507 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, argument
511 container_of(notif_wait, struct iwl_mvm, notif_wait);
570 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event,
579 iwl_remove_notification(&mvm->notif_wait, &wait_time_event);
584 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1);
658 iwl_init_notification_wait(&mvm->notif_wait,
1335 iwl_mvm_session_prot_notif(struct iwl_notif_wait_data *notif_wait, struct iwl_rx_packet *pkt, void *data) argument
[all...]
H A Dtt.c88 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, argument
92 container_of(notif_wait, struct iwl_mvm, notif_wait);
256 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif,
262 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif);
266 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif,
H A Dfw.c113 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, argument
118 container_of(notif_wait, struct iwl_mvm, notif_wait);
269 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, argument
277 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, argument
341 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait,
353 iwl_remove_notification(&mvm->notif_wait, &alive_wait);
361 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait,
438 ret = iwl_pnvm_load(mvm->trans, &mvm->notif_wait,
644 iwl_init_notification_wait(&mvm->notif_wait,
[all...]
H A Dutils.c339 static bool iwl_wait_stats_complete(struct iwl_notif_wait_data *notif_wait, argument
376 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait,
383 iwl_remove_notification(&mvm->notif_wait, &stats_wait);
391 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 2);
441 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait,
447 iwl_remove_notification(&mvm->notif_wait, &stats_wait);
454 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 5);
H A Dops.c1374 iwl_notification_wait_init(&mvm->notif_wait);
1666 iwl_notification_wait_notify(&mvm->notif_wait, pkt);
1868 iwl_abort_notification_waits(&mvm->notif_wait);
1913 iwl_abort_notification_waits(&mvm->notif_wait);
H A Dd3.c3023 static bool iwl_mvm_wait_d3_notif(struct iwl_notif_wait_data *notif_wait, argument
3027 container_of(notif_wait, struct iwl_mvm, notif_wait);
3192 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif,
3198 iwl_remove_notification(&mvm->notif_wait, &wait_d3_notif);
3202 return iwl_wait_notification(&mvm->notif_wait, &wait_d3_notif,
3468 iwl_abort_notification_waits(&mvm->notif_wait);
H A Dmac80211.c4418 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, argument
4422 container_of(notif_wait, struct iwl_mvm, notif_wait);
4520 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event,
4530 iwl_remove_notification(&mvm->notif_wait, &wait_time_event);
4535 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1);
H A Ddebugfs.c1997 iwl_init_notification_wait(&mvm->notif_wait, &wait,
2007 iwl_remove_notification(&mvm->notif_wait, &wait);
H A Dscan.c3264 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done,
3278 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done);
3282 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done,
H A Dmvm.h878 struct iwl_notif_wait_data notif_wait; member in struct:iwl_mvm

Completed in 269 milliseconds