Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c336 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, in ath9k_htc_txcompletion_cb() argument
342 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) { in ath9k_htc_txcompletion_cb()
343 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
344 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS; in ath9k_htc_txcompletion_cb()
348 if (htc_handle->htc_flags & HTC_OP_START_WAIT) { in ath9k_htc_txcompletion_cb()
349 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
350 htc_handle->htc_flags &= ~HTC_OP_START_WAIT; in ath9k_htc_txcompletion_cb()
356 if (htc_hdr->endpoint_id >= ARRAY_SIZE(htc_handle->endpoint)) in ath9k_htc_txcompletion_cb()
358 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
375 static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle, in ath9k_htc_fw_panic_report() 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,