Lines Matching refs:htc_handle
931 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, in ath9k_htc_probe_device() argument
945 priv->htc = htc_handle; in ath9k_htc_probe_device()
967 htc_handle->drv_priv = priv; in ath9k_htc_probe_device()
973 hif_dev = (struct hif_device_usb *)htc_handle->hif_dev; in ath9k_htc_probe_device()
981 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) in ath9k_htc_disconnect_device() argument
983 if (htc_handle->drv_priv) { in ath9k_htc_disconnect_device()
987 htc_handle->drv_priv->ah->ah_flags |= AH_UNPLUGGED; in ath9k_htc_disconnect_device()
989 ath9k_deinit_device(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
990 ath9k_stop_wmi(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
991 ath9k_hif_usb_dealloc_urbs((struct hif_device_usb *)htc_handle->hif_dev); in ath9k_htc_disconnect_device()
992 ath9k_destroy_wmi(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
993 ieee80211_free_hw(htc_handle->drv_priv->hw); in ath9k_htc_disconnect_device()
999 void ath9k_htc_suspend(struct htc_target *htc_handle) in ath9k_htc_suspend() argument
1001 ath9k_htc_setpower(htc_handle->drv_priv, ATH9K_PM_FULL_SLEEP); in ath9k_htc_suspend()
1004 int ath9k_htc_resume(struct htc_target *htc_handle) in ath9k_htc_resume() argument
1006 struct ath9k_htc_priv *priv = htc_handle->drv_priv; in ath9k_htc_resume()