Home
last modified time | relevance | path

Searched refs:htc_handle (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhtc_hst.c320 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, in ath9k_htc_txcompletion_cb() argument
326 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) { in ath9k_htc_txcompletion_cb()
327 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
328 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS; in ath9k_htc_txcompletion_cb()
332 if (htc_handle->htc_flags & HTC_OP_START_WAIT) { in ath9k_htc_txcompletion_cb()
333 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
334 htc_handle->htc_flags &= ~HTC_OP_START_WAIT; in ath9k_htc_txcompletion_cb()
340 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
357 static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle, in ath9k_htc_fw_panic_report() argument
367 dev_err(htc_handle->dev, "ath: firmware panic! " in ath9k_htc_fw_panic_report()
[all …]
Dhtc.h329 #define TX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.tx_stats.c++)
330 #define TX_STAT_ADD(c, a) (hif_dev->htc_handle->drv_priv->debug.tx_stats.c += a)
331 #define RX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.skbrx_stats.c++)
332 #define RX_STAT_ADD(c, a) (hif_dev->htc_handle->drv_priv->debug.skbrx_stats.c += a)
628 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,
630 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug);
632 void ath9k_htc_suspend(struct htc_target *htc_handle);
633 int ath9k_htc_resume(struct htc_target *htc_handle);
Dhif_usb.c90 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_regout_cb()
177 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_mgmt_cb()
243 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in ath9k_skb_queue_complete()
505 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in hif_usb_sta_drain()
632 ath9k_htc_rx_msg(hif_dev->htc_handle, skb_pool[i], in ath9k_hif_usb_rx_stream()
717 ath9k_htc_rx_msg(hif_dev->htc_handle, skb, in ath9k_hif_usb_reg_in_cb()
1095 hif_dev->htc_handle = ath9k_htc_hw_alloc(hif_dev, &hif_usb, in ath9k_hif_usb_firmware_cb()
1097 if (hif_dev->htc_handle == NULL) in ath9k_hif_usb_firmware_cb()
1109 ret = ath9k_htc_hw_init(hif_dev->htc_handle, in ath9k_hif_usb_firmware_cb()
1128 ath9k_htc_hw_free(hif_dev->htc_handle); in ath9k_hif_usb_firmware_cb()
[all …]
Dhtc_drv_init.c925 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, in ath9k_htc_probe_device() argument
938 priv->htc = htc_handle; in ath9k_htc_probe_device()
940 htc_handle->drv_priv = priv; in ath9k_htc_probe_device()
970 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) in ath9k_htc_disconnect_device() argument
972 if (htc_handle->drv_priv) { in ath9k_htc_disconnect_device()
976 htc_handle->drv_priv->ah->ah_flags |= AH_UNPLUGGED; in ath9k_htc_disconnect_device()
978 ath9k_deinit_device(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
979 ath9k_deinit_wmi(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
980 ieee80211_free_hw(htc_handle->drv_priv->hw); in ath9k_htc_disconnect_device()
986 void ath9k_htc_suspend(struct htc_target *htc_handle) in ath9k_htc_suspend() argument
[all …]
Dhtc_hst.h216 void ath9k_htc_rx_msg(struct htc_target *htc_handle,
218 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle,
Dhif_usb.h97 struct htc_target *htc_handle; member