Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dhtc_hst.c318 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, in ath9k_htc_txcompletion_cb() argument
324 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) { in ath9k_htc_txcompletion_cb()
325 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
326 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS; in ath9k_htc_txcompletion_cb()
330 if (htc_handle->htc_flags & HTC_OP_START_WAIT) { in ath9k_htc_txcompletion_cb()
331 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
332 htc_handle->htc_flags &= ~HTC_OP_START_WAIT; in ath9k_htc_txcompletion_cb()
338 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
366 void ath9k_htc_rx_msg(struct htc_target *htc_handle, in ath9k_htc_rx_msg() argument
374 if (!htc_handle || !skb) in ath9k_htc_rx_msg()
[all …]
Dhif_usb.c84 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_regout_cb()
171 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_mgmt_cb()
234 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in ath9k_skb_queue_complete()
494 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in hif_usb_sta_drain()
620 ath9k_htc_rx_msg(hif_dev->htc_handle, skb_pool[i], in ath9k_hif_usb_rx_stream()
705 ath9k_htc_rx_msg(hif_dev->htc_handle, skb, in ath9k_hif_usb_reg_in_cb()
1098 hif_dev->htc_handle = ath9k_htc_hw_alloc(hif_dev, &hif_usb, in ath9k_hif_usb_firmware_cb()
1100 if (hif_dev->htc_handle == NULL) { in ath9k_hif_usb_firmware_cb()
1112 ret = ath9k_htc_hw_init(hif_dev->htc_handle, in ath9k_hif_usb_firmware_cb()
1129 ath9k_htc_hw_free(hif_dev->htc_handle); in ath9k_hif_usb_firmware_cb()
[all …]
Dhtc_drv_init.c886 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, in ath9k_htc_probe_device() argument
899 priv->htc = htc_handle; in ath9k_htc_probe_device()
901 htc_handle->drv_priv = priv; in ath9k_htc_probe_device()
931 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) in ath9k_htc_disconnect_device() argument
933 if (htc_handle->drv_priv) { in ath9k_htc_disconnect_device()
937 htc_handle->drv_priv->ah->ah_flags |= AH_UNPLUGGED; in ath9k_htc_disconnect_device()
939 ath9k_deinit_device(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
940 ath9k_deinit_wmi(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
941 ieee80211_free_hw(htc_handle->drv_priv->hw); in ath9k_htc_disconnect_device()
947 void ath9k_htc_suspend(struct htc_target *htc_handle) in ath9k_htc_suspend() argument
[all …]
Dhtc.h319 #define TX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.tx_stats.c++)
320 #define RX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.rx_stats.c++)
597 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,
599 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug);
601 void ath9k_htc_suspend(struct htc_target *htc_handle);
602 int ath9k_htc_resume(struct htc_target *htc_handle);
Dhtc_hst.h204 void ath9k_htc_rx_msg(struct htc_target *htc_handle,
206 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle,
Dhif_usb.h95 struct htc_target *htc_handle; member
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dhtc.h587 int ath6kl_credit_setup(void *htc_handle,
Dhtc.c133 int ath6kl_credit_setup(void *htc_handle, in ath6kl_credit_setup() argument
147 ath6kl_htc_set_credit_dist(htc_handle, cred_info, servicepriority, 5); in ath6kl_credit_setup()