/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | notif-wait.c | 13 void iwl_notification_wait_init(struct iwl_notif_wait_data *notif_wait) in iwl_notification_wait_init() argument 15 spin_lock_init(¬if_wait->notif_wait_lock); in iwl_notification_wait_init() 16 INIT_LIST_HEAD(¬if_wait->notif_waits); in iwl_notification_wait_init() 17 init_waitqueue_head(¬if_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(¬if_wait->notif_waits)) { in iwl_notification_wait() 29 spin_lock_bh(¬if_wait->notif_wait_lock); in iwl_notification_wait() 30 list_for_each_entry(w, ¬if_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(¬if_wait->notif_wait_lock); in iwl_notification_wait() [all …]
|
H A D | pnvm.c | 20 static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_complete_fn() argument 375 struct iwl_notif_wait_data *notif_wait, in iwl_pnvm_load() argument 389 iwl_init_notification_wait(notif_wait, &pnvm_wait, in iwl_pnvm_load() 397 return iwl_wait_notification(notif_wait, &pnvm_wait, in iwl_pnvm_load()
|
H A D | pnvm.h | 16 struct iwl_notif_wait_data *notif_wait,
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | ucode.c | 262 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 266 container_of(notif_wait, struct iwl_priv, notif_wait); in iwl_alive_fn() 309 iwl_init_notification_wait(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 316 iwl_remove_notification(&priv->notif_wait, &alive_wait); in iwl_load_ucode_wait_alive() 324 ret = iwl_wait_notification(&priv->notif_wait, &alive_wait, in iwl_load_ucode_wait_alive() 355 static bool iwlagn_wait_calib(struct iwl_notif_wait_data *notif_wait, in iwlagn_wait_calib() argument 390 iwl_init_notification_wait(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 407 ret = iwl_wait_notification(&priv->notif_wait, &calib_wait, in iwl_run_init_ucode() 413 iwl_remove_notification(&priv->notif_wait, &calib_wait); in iwl_run_init_ucode()
|
H A 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()
|
H A D | rxon.c | 111 iwl_init_notification_wait(&priv->notif_wait, &disable_wait, in iwlagn_disable_pan() 125 iwl_remove_notification(&priv->notif_wait, &disable_wait); in iwlagn_disable_pan() 127 ret = iwl_wait_notification(&priv->notif_wait, in iwlagn_disable_pan()
|
H A D | rx.c | 988 iwl_notification_wait_init(&priv->notif_wait); in iwl_setup_rx_handlers() 1006 iwl_notification_wait_notify(&priv->notif_wait, pkt); in iwl_rx_dispatch()
|
H A D | dev.h | 661 struct iwl_notif_wait_data notif_wait; member
|
H A D | main.c | 1909 iwl_abort_notification_waits(&priv->notif_wait); in iwlagn_fw_error()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-event.c | 477 static bool iwl_mvm_te_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_te_notif() argument 481 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_te_notif() 509 static bool iwl_mvm_time_event_response(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_time_event_response() argument 513 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_time_event_response() 572 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_time_event_send_add() 581 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_time_event_send_add() 586 ret = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_time_event_send_add() 660 iwl_init_notification_wait(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session() 668 iwl_remove_notification(&mvm->notif_wait, &wait_te_notif); in iwl_mvm_protect_session() 669 } else if (iwl_wait_notification(&mvm->notif_wait, &wait_te_notif, in iwl_mvm_protect_session() [all …]
|
H A D | fw.c | 101 static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, in iwl_alive_fn() argument 106 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_alive_fn() 257 static bool iwl_wait_init_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_init_complete() argument 265 static bool iwl_wait_phy_db_entry(struct iwl_notif_wait_data *notif_wait, in iwl_wait_phy_db_entry() argument 329 iwl_init_notification_wait(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 341 iwl_remove_notification(&mvm->notif_wait, &alive_wait); in iwl_mvm_load_ucode_wait_alive() 349 ret = iwl_wait_notification(&mvm->notif_wait, &alive_wait, in iwl_mvm_load_ucode_wait_alive() 426 ret = iwl_pnvm_load(mvm->trans, &mvm->notif_wait, in iwl_mvm_load_ucode_wait_alive() 585 iwl_init_notification_wait(&mvm->notif_wait, in iwl_run_unified_mvm_ucode() 653 ret = iwl_wait_notification(&mvm->notif_wait, &init_wait, in iwl_run_unified_mvm_ucode() [all …]
|
H A D | tt.c | 88 static bool iwl_mvm_temp_notif_wait(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_temp_notif_wait() argument 92 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_temp_notif_wait() 256 iwl_init_notification_wait(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp() 262 iwl_remove_notification(&mvm->notif_wait, &wait_temp_notif); in iwl_mvm_get_temp() 266 ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, in iwl_mvm_get_temp()
|
H A D | utils.c | 337 static bool iwl_wait_stats_complete(struct iwl_notif_wait_data *notif_wait, in iwl_wait_stats_complete() argument 378 iwl_init_notification_wait(&mvm->notif_wait, &stats_wait, in iwl_mvm_request_statistics() 384 iwl_remove_notification(&mvm->notif_wait, &stats_wait); in iwl_mvm_request_statistics() 391 ret = iwl_wait_notification(&mvm->notif_wait, &stats_wait, HZ / 5); in iwl_mvm_request_statistics()
|
H A D | d3.c | 2892 static bool iwl_mvm_wait_d3_notif(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_wait_d3_notif() argument 2896 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_wait_d3_notif() 3049 iwl_init_notification_wait(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait() 3055 iwl_remove_notification(&mvm->notif_wait, &wait_d3_notif); in iwl_mvm_d3_notif_wait() 3059 return iwl_wait_notification(&mvm->notif_wait, &wait_d3_notif, in iwl_mvm_d3_notif_wait() 3318 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_d3_test_release()
|
H A D | ops.c | 1324 iwl_notification_wait_init(&mvm->notif_wait); in iwl_op_mode_mvm_start() 1591 iwl_notification_wait_notify(&mvm->notif_wait, pkt); in iwl_mvm_rx_common() 1803 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_set_hw_rfkill_state() 1848 iwl_abort_notification_waits(&mvm->notif_wait); in iwl_mvm_nic_restart()
|
H A D | scan.c | 3286 iwl_init_notification_wait(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait() 3300 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait() 3304 iwl_remove_notification(&mvm->notif_wait, &wait_scan_done); in iwl_mvm_scan_stop_wait() 3308 return iwl_wait_notification(&mvm->notif_wait, &wait_scan_done, in iwl_mvm_scan_stop_wait()
|
H A D | mac80211.c | 4405 static bool iwl_mvm_rx_aux_roc(struct iwl_notif_wait_data *notif_wait, in iwl_mvm_rx_aux_roc() argument 4409 container_of(notif_wait, struct iwl_mvm, notif_wait); in iwl_mvm_rx_aux_roc() 4536 iwl_init_notification_wait(&mvm->notif_wait, &wait_time_event, in iwl_mvm_send_aux_roc_cmd() 4546 iwl_remove_notification(&mvm->notif_wait, &wait_time_event); in iwl_mvm_send_aux_roc_cmd() 4551 res = iwl_wait_notification(&mvm->notif_wait, &wait_time_event, 1); in iwl_mvm_send_aux_roc_cmd()
|
H A D | debugfs.c | 1843 iwl_init_notification_wait(&mvm->notif_wait, &wait, in iwl_dbgfs_he_sniffer_params_write() 1853 iwl_remove_notification(&mvm->notif_wait, &wait); in iwl_dbgfs_he_sniffer_params_write()
|
H A D | mvm.h | 880 struct iwl_notif_wait_data notif_wait; member
|