Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c333 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, in ath9k_htc_txcompletion_cb() argument
339 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) { in ath9k_htc_txcompletion_cb()
340 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
341 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS; in ath9k_htc_txcompletion_cb()
345 if (htc_handle->htc_flags & HTC_OP_START_WAIT) { in ath9k_htc_txcompletion_cb()
346 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
347 htc_handle->htc_flags &= ~HTC_OP_START_WAIT; in ath9k_htc_txcompletion_cb()
353 if (htc_hdr->endpoint_id >= ARRAY_SIZE(htc_handle->endpoint)) in ath9k_htc_txcompletion_cb()
355 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
372 static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle, in ath9k_htc_fw_panic_report() argument
403 ath9k_htc_rx_msg(struct htc_target *htc_handle, struct sk_buff *skb, u32 len, u8 pipe_id) ath9k_htc_rx_msg() argument
[all...]
H A Dhtc.h330 #define __STAT_SAFE(hif_dev, expr) do { ((hif_dev)->htc_handle->drv_priv ? (expr) : 0); } while (0)
335 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c++)
337 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c += a)
339 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.skbrx_stats.c++)
341 __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 Dhif_usb.c90 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_regout_cb()
178 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_mgmt_cb()
244 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in ath9k_skb_queue_complete()
514 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in hif_usb_sta_drain()
677 ath9k_htc_rx_msg(hif_dev->htc_handle, skb_pool[i], in ath9k_hif_usb_rx_stream()
773 ath9k_htc_rx_msg(hif_dev->htc_handle, skb, in ath9k_hif_usb_reg_in_cb()
1261 hif_dev->htc_handle = ath9k_htc_hw_alloc(hif_dev, &hif_usb, in ath9k_hif_usb_firmware_cb()
1263 if (hif_dev->htc_handle == NULL) in ath9k_hif_usb_firmware_cb()
1275 ret = ath9k_htc_hw_init(hif_dev->htc_handle, in ath9k_hif_usb_firmware_cb()
1294 ath9k_htc_hw_free(hif_dev->htc_handle); in ath9k_hif_usb_firmware_cb()
1485 struct htc_target *htc_handle = hif_dev->htc_handle; ath9k_hif_usb_resume() local
[all...]
H A Dhtc_drv_init.c931 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 in ath9k_htc_disconnect_device()
999 ath9k_htc_suspend(struct htc_target *htc_handle) ath9k_htc_suspend() argument
1004 ath9k_htc_resume(struct htc_target *htc_handle) ath9k_htc_resume() argument
[all...]
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
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c333 void ath9k_htc_txcompletion_cb(struct htc_target *htc_handle, in ath9k_htc_txcompletion_cb() argument
339 if (htc_handle->htc_flags & HTC_OP_CONFIG_PIPE_CREDITS) { in ath9k_htc_txcompletion_cb()
340 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
341 htc_handle->htc_flags &= ~HTC_OP_CONFIG_PIPE_CREDITS; in ath9k_htc_txcompletion_cb()
345 if (htc_handle->htc_flags & HTC_OP_START_WAIT) { in ath9k_htc_txcompletion_cb()
346 complete(&htc_handle->cmd_wait); in ath9k_htc_txcompletion_cb()
347 htc_handle->htc_flags &= ~HTC_OP_START_WAIT; in ath9k_htc_txcompletion_cb()
353 if (htc_hdr->endpoint_id >= ARRAY_SIZE(htc_handle->endpoint)) in ath9k_htc_txcompletion_cb()
355 endpoint = &htc_handle->endpoint[htc_hdr->endpoint_id]; in ath9k_htc_txcompletion_cb()
372 static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle, in ath9k_htc_fw_panic_report() argument
403 ath9k_htc_rx_msg(struct htc_target *htc_handle, struct sk_buff *skb, u32 len, u8 pipe_id) ath9k_htc_rx_msg() 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 Dhif_usb.c88 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_regout_cb()
176 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_mgmt_cb()
242 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in ath9k_skb_queue_complete()
512 ath9k_htc_txcompletion_cb(hif_dev->htc_handle, in hif_usb_sta_drain()
675 ath9k_htc_rx_msg(hif_dev->htc_handle, skb_pool[i], in ath9k_hif_usb_rx_stream()
771 ath9k_htc_rx_msg(hif_dev->htc_handle, skb, in ath9k_hif_usb_reg_in_cb()
1259 hif_dev->htc_handle = ath9k_htc_hw_alloc(hif_dev, &hif_usb, in ath9k_hif_usb_firmware_cb()
1261 if (hif_dev->htc_handle == NULL) in ath9k_hif_usb_firmware_cb()
1273 ret = ath9k_htc_hw_init(hif_dev->htc_handle, in ath9k_hif_usb_firmware_cb()
1292 ath9k_htc_hw_free(hif_dev->htc_handle); in ath9k_hif_usb_firmware_cb()
1483 struct htc_target *htc_handle = hif_dev->htc_handle; ath9k_hif_usb_resume() local
[all...]
H A Dhtc_drv_init.c931 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()
977 hif_dev = (struct hif_device_usb *)htc_handle->hif_dev; in ath9k_htc_probe_device()
985 void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug) in ath9k_htc_disconnect_device() argument
987 if (htc_handle->drv_priv) { in ath9k_htc_disconnect_device()
991 htc_handle->drv_priv->ah->ah_flags |= AH_UNPLUGGED; in ath9k_htc_disconnect_device()
993 ath9k_deinit_device(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
994 ath9k_stop_wmi(htc_handle->drv_priv); in ath9k_htc_disconnect_device()
995 ath9k_hif_usb_dealloc_urbs((struct hif_device_usb *)htc_handle in ath9k_htc_disconnect_device()
1003 ath9k_htc_suspend(struct htc_target *htc_handle) ath9k_htc_suspend() argument
1008 ath9k_htc_resume(struct htc_target *htc_handle) ath9k_htc_resume() argument
[all...]
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

Completed in 14 milliseconds