Lines Matching refs:hif
20 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_generic_confirm() argument
24 int cmd = hif->id; in wfx_hif_generic_confirm()
25 int len = le16_to_cpu(hif->len) - 4; /* drop header */ in wfx_hif_generic_confirm()
53 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_tx_confirm() argument
62 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_multi_tx_confirm() argument
74 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_startup_indication() argument
88 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_wakeup_indication() argument
97 static int wfx_hif_receive_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, in wfx_hif_receive_indication() argument
100 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_receive_indication()
114 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_event_indication() argument
116 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_event_indication()
148 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_pm_mode_complete_indication() argument
150 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_pm_mode_complete_indication()
162 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_scan_complete_indication() argument
164 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_scan_complete_indication()
178 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_join_complete_indication() argument
180 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_join_complete_indication()
192 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_suspend_resume_indication() argument
198 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_hif_suspend_resume_indication()
209 WARN(hif->interface != 2, "misunderstood indication"); in wfx_hif_suspend_resume_indication()
220 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_generic_indication() argument
297 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_error_indication() argument
316 16, 1, hif, le16_to_cpu(hif->len), false); in wfx_hif_error_indication()
323 const struct wfx_hif_msg *hif, const void *buf) in wfx_hif_exception_indication() argument
333 16, 1, hif, le16_to_cpu(hif->len), false); in wfx_hif_exception_indication()
341 int (*handler)(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf);
364 const struct wfx_hif_msg *hif = (const struct wfx_hif_msg *)skb->data; in wfx_handle_rx() local
365 int hif_id = hif->id; in wfx_handle_rx()
369 wfx_hif_receive_indication(wdev, hif, hif->body, skb); in wfx_handle_rx()
375 wfx_hif_generic_confirm(wdev, hif, hif->body); in wfx_handle_rx()
381 hif_handlers[i].handler(wdev, hif, hif->body); in wfx_handle_rx()