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

/linux-master/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c333 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, argument
339 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) {
340 complete(&htc_handle->cmd_wait);
341 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS;
345 if (htc_handle->htc_flags & HTC_OP_START_WAIT) {
346 complete(&htc_handle->cmd_wait);
347 htc_handle->htc_flags &= ~HTC_OP_START_WAIT;
353 if (htc_hdr->endpoint_id >= ARRAY_SIZE(htc_handle->endpoint))
355 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id];
372 static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle, argument
403 ath9k_htc_rx_msg(struct htc_target *htc_handle, struct sk_buff *skb, u32 len, u8 pipe_id) argument
[all...]
H A Dhtc_drv_init.c931 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, argument
945 priv->htc = htc_handle;
967 htc_handle->drv_priv = priv;
977 hif_dev = htc_handle->hif_dev;
985 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) argument
987 if (htc_handle->drv_priv) {
991 htc_handle->drv_priv->ah->ah_flags |= AH_UNPLUGGED;
993 ath9k_deinit_device(htc_handle->drv_priv);
994 ath9k_stop_wmi(htc_handle->drv_priv);
995 ath9k_hif_usb_dealloc_urbs(htc_handle
1003 ath9k_htc_suspend(struct htc_target *htc_handle) argument
1008 ath9k_htc_resume(struct htc_target *htc_handle) argument
[all...]
H A Dhtc.h329 #define __STAT_SAFE(hif_dev, expr) do { ((hif_dev)->htc_handle->drv_priv ? (expr) : 0); } while (0)
334 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c++)
336 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c += a)
338 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.skbrx_stats.c++)
340 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.skbrx_stats.c += a)
636 int ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev,
638 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug);
640 void ath9k_htc_suspend(struct htc_target *htc_handle);
641 int ath9k_htc_resume(struct htc_target *htc_handle);
H A Dhtc_hst.h216 void ath9k_htc_rx_msg(struct htc_target *htc_handle,
218 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle,
H A Dhif_usb.h122 struct htc_target *htc_handle; member in struct:hif_device_usb
H A Dhif_usb.c88 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle,
176 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle,
242 ath9k_htc_txcompletion_cb(hif_dev->htc_handle,
512 ath9k_htc_txcompletion_cb(hif_dev->htc_handle,
675 ath9k_htc_rx_msg(hif_dev->htc_handle, skb_pool[i],
771 ath9k_htc_rx_msg(hif_dev->htc_handle, skb,
1259 hif_dev->htc_handle = ath9k_htc_hw_alloc(hif_dev, &hif_usb,
1261 if (hif_dev->htc_handle == NULL)
1273 ret = ath9k_htc_hw_init(hif_dev->htc_handle,
1292 ath9k_htc_hw_free(hif_dev->htc_handle);
1483 struct htc_target *htc_handle = hif_dev->htc_handle; local
[all...]

Completed in 152 milliseconds