Home
last modified time | relevance | path

Searched refs:notif_wait (Results 1 – 13 of 13) sorted by relevance

/freebsd-head/sys/contrib/dev/iwlwifi/fw/
HDnotif-wait.c13 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument
15 spin_lock_init(&notif_wait->notif_wait_lock); in iwl_notification_wait_init()
16 INIT_LIST_HEAD(&notif_wait->notif_waits); in iwl_notification_wait_init()
17 init_waitqueue_head(&notif_wait->notif_waitq); in iwl_notification_wait_init()
21 bool iwl_notification_wait(struct iwl_notif_wait_data *notif_wait, in iwl_notification_wait() argument
26 if (!list_empty(&notif_wait->notif_waits)) { in iwl_notification_wait()
29 spin_lock_bh(&notif_wait->notif_wait_lock); in iwl_notification_wait()
30 list_for_each_entry(w, &notif_wait->notif_waits, list) { in iwl_notification_wait()
57 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait()
62 spin_unlock_bh(&notif_wait->notif_wait_lock); in iwl_notification_wait()
[all …]
HDpnvm.c22 static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_complete_fn() argument
388 struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_load() argument
402 iwl_init_notification_wait(notif_wait, &pnvm_wait, in iwl_pnvm_load()
410 return iwl_wait_notification(notif_wait, &pnvm_wait, in iwl_pnvm_load()
HDpnvm.h16 struct iwl_notif_wait_data *notif_wait,
/freebsd-head/sys/contrib/dev/iwlwifi/mvm/
HDtime-event.c529 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument
533 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif()
561 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument
565 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response()
624 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add()
633 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add()
638 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add()
712 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
720 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session()
721 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session()
[all …]
HDfw.c100 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument
105 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn()
256 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_init_complete() argument
264 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument
328 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
340 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive()
348 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive()
425 ret = iwl_pnvm_load(mvm->trans, &mvm->notif_wait, in iwl_mvm_load_ucode_wait_alive()
628 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_unified_mvm_ucode()
700 ret = iwl_wait_notification(&mvm->notif_wait, &init_wait, in iwl_run_unified_mvm_ucode()
[all …]
HDtt.c90 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument
94 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait()
258 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
264 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp()
268 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
HDutils.c342 static bool iwl_wait_stats_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_stats_complete() argument
399 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait, in iwl_mvm_request_system_statistics()
406 iwl_remove_notification(&mvm->notif_wait, &stats_wait); in iwl_mvm_request_system_statistics()
414 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 2); in iwl_mvm_request_system_statistics()
471 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait, in iwl_mvm_request_statistics()
477 iwl_remove_notification(&mvm->notif_wait, &stats_wait); in iwl_mvm_request_statistics()
484 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 5); in iwl_mvm_request_statistics()
HDd3.c3220 static bool iwl_mvm_wait_d3_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_wait_d3_notif() argument
3224 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_wait_d3_notif()
3394 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3399 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3406 iwl_remove_notification(&mvm->notif_wait, &wait_d3_notif); in iwl_mvm_d3_notif_wait()
3410 return iwl_wait_notification(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait()
3754 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
HDops.c1445 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start()
1739 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common()
1939 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state()
1984 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
HDmac80211.c4628 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument
4632 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc()
4730 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd()
4740 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd()
4745 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
HDscan.c3358 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
3372 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait()
3376 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
HDdebugfs.c1800 iwl_init_notification_wait(&mvm->notif_wait, &wait, in iwl_dbgfs_he_sniffer_params_write()
1810 iwl_remove_notification(&mvm->notif_wait, &wait); in iwl_dbgfs_he_sniffer_params_write()
HDmvm.h1036 struct iwl_notif_wait_data notif_wait; member