Searched refs:hif_dev (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | hif_usb.c | 69 static int __hif_usb_tx(struct hif_device_usb *hif_dev); 88 ath9k_htc_txcompletion_cb(cmd->hif_dev->htc_handle, in hif_usb_regout_cb() 99 static int hif_usb_send_regout(struct hif_device_usb *hif_dev, in hif_usb_send_regout() argument 117 cmd->hif_dev = hif_dev; in hif_usb_send_regout() 119 usb_fill_int_urb(urb, hif_dev->udev, in hif_usb_send_regout() 120 usb_sndintpipe(hif_dev->udev, USB_REG_OUT_PIPE), in hif_usb_send_regout() 124 usb_anchor_urb(urb, &hif_dev->regout_submitted); in hif_usb_send_regout() 138 struct hif_device_usb *hif_dev; in hif_usb_mgmt_cb() local 142 if (!cmd || !cmd->skb || !cmd->hif_dev) in hif_usb_mgmt_cb() 145 hif_dev = cmd->hif_dev; in hif_usb_mgmt_cb() [all …]
|
H A D | htc.h | 329 #define __STAT_SAFE(hif_dev, expr) do { ((hif_dev)->htc_handle->drv_priv ? (expr) : 0); } while (0) argument 333 #define TX_STAT_INC(hif_dev, c) \ argument 334 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c++) 335 #define TX_STAT_ADD(hif_dev, c, a) \ argument 336 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.tx_stats.c += a) 337 #define RX_STAT_INC(hif_dev, c) \ argument 338 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.skbrx_stats.c++) 339 #define RX_STAT_ADD(hif_dev, c, a) \ argument 340 __STAT_SAFE((hif_dev), (hif_dev)->htc_handle->drv_priv->debug.skbrx_stats.c += a) 380 #define TX_STAT_INC(hif_dev, c) do { } while (0) argument [all …]
|
H A D | hif_usb.h | 85 struct hif_device_usb *hif_dev; member 91 struct hif_device_usb *hif_dev; member 109 struct hif_device_usb *hif_dev; member 141 void ath9k_hif_usb_dealloc_urbs(struct hif_device_usb *hif_dev);
|
H A D | htc_hst.c | 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 323 target->hif->stop(target->hif_dev); in htc_stop() 328 target->hif->start(target->hif_dev); in htc_start() 333 target->hif->sta_drain(target->hif_dev, idx); in htc_sta_drain() 510 target->hif_dev = hif_handle; in ath9k_htc_hw_alloc()
|
H A D | htc_drv_init.c | 934 struct hif_device_usb *hif_dev; in ath9k_htc_probe_device() local 977 hif_dev = (struct hif_device_usb *)htc_handle->hif_dev; in ath9k_htc_probe_device() 978 ath9k_hif_usb_dealloc_urbs(hif_dev); in ath9k_htc_probe_device() 995 ath9k_hif_usb_dealloc_urbs((struct hif_device_usb *)htc_handle->hif_dev); in ath9k_htc_disconnect_device()
|
H A D | htc_hst.h | 117 void *hif_dev; member
|