Searched refs:hif (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.c25 static void wfx_fill_header(struct wfx_hif_msg *hif, int if_id, unsigned int cmd, size_t size) argument
34 hif->len = cpu_to_le16(size + 4);
35 hif->id = cmd;
36 hif->interface = if_id;
39 static void *wfx_alloc_hif(size_t body_len, struct wfx_hif_msg **hif) argument
41 *hif = kzalloc(sizeof(struct wfx_hif_msg) + body_len, GFP_KERNEL);
42 if (*hif)
43 return (*hif)->body;
143 struct wfx_hif_msg *hif; local
145 wfx_alloc_hif(0, &hif);
162 struct wfx_hif_msg *hif; local
178 struct wfx_hif_msg *hif; local
193 struct wfx_hif_msg *hif; local
226 struct wfx_hif_msg *hif; local
245 struct wfx_hif_msg *hif; local
270 struct wfx_hif_msg *hif; local
313 struct wfx_hif_msg *hif; local
331 struct wfx_hif_msg *hif; local
360 struct wfx_hif_msg *hif; local
376 struct wfx_hif_msg *hif; local
397 struct wfx_hif_msg *hif; local
413 struct wfx_hif_msg *hif; local
441 struct wfx_hif_msg *hif; local
468 struct wfx_hif_msg *hif; local
490 struct wfx_hif_msg *hif; local
505 struct wfx_hif_msg *hif; local
524 struct wfx_hif_msg *hif; local
[all...]
H A Dbh.c29 if (!completion_done(&wdev->hif.ctrl_ready))
38 if (wait_for_completion_timeout(&wdev->hif.ctrl_ready, msecs_to_jiffies(2))) {
39 complete(&wdev->hif.ctrl_ready);
66 struct wfx_hif_msg *hif; local
86 hif = (struct wfx_hif_msg *)skb->data;
87 WARN(hif->encrypted & 0x3, "encryption is unsupported");
90 computed_len = le16_to_cpu(hif->len);
95 print_hex_dump(KERN_INFO, "hif: ", DUMP_PREFIX_OFFSET, 16, 1,
96 hif, read_len, true);
100 if (!(hif
168 tx_helper(struct wfx_dev *wdev, struct wfx_hif_msg *hif) argument
198 struct wfx_hif_msg *hif; local
[all...]
H A Dhif_rx.c20 const struct wfx_hif_msg *hif, const void *buf)
24 int cmd = hif->id;
25 int len = le16_to_cpu(hif->len) - 4; /* drop header */
53 const struct wfx_hif_msg *hif, const void *buf)
62 const struct wfx_hif_msg *hif, const void *buf)
74 const struct wfx_hif_msg *hif, const void *buf)
88 const struct wfx_hif_msg *hif, const void *buf)
97 static int wfx_hif_receive_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, argument
100 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface);
114 const struct wfx_hif_msg *hif, cons
19 wfx_hif_generic_confirm(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
52 wfx_hif_tx_confirm(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
61 wfx_hif_multi_tx_confirm(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
73 wfx_hif_startup_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
87 wfx_hif_wakeup_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
113 wfx_hif_event_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
147 wfx_hif_pm_mode_complete_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
161 wfx_hif_scan_complete_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
177 wfx_hif_join_complete_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
191 wfx_hif_suspend_resume_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
219 wfx_hif_generic_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
296 wfx_hif_error_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
322 wfx_hif_exception_indication(struct wfx_dev *wdev, const struct wfx_hif_msg *hif, const void *buf) argument
364 const struct wfx_hif_msg *hif = (const struct wfx_hif_msg *)skb->data; local
[all...]
H A Dqueue.c41 ret = wait_event_timeout(wdev->hif.tx_buffers_empty, !wdev->hif.tx_buffers_used,
45 wdev->hif.tx_buffers_used);
152 struct wfx_hif_msg *hif; local
157 hif = (struct wfx_hif_msg *)skb->data;
158 req = (struct wfx_hif_req_tx *)hif->body;
236 struct wfx_hif_msg *hif; local
259 hif = (struct wfx_hif_msg *)skb->data;
263 WARN_ON(hif->interface != 2);
284 hif
[all...]
H A Dtraces.h160 TP_PROTO(const struct wfx_hif_msg *hif, int tx_fill_level, bool is_recv),
161 TP_ARGS(hif, tx_fill_level, is_recv),
176 __entry->msg_len = le16_to_cpu(hif->len);
177 __entry->msg_id = hif->id;
178 __entry->if_id = hif->interface;
186 __entry->mib = le16_to_cpup((__le16 *)hif->body);
194 memcpy(__entry->buf, hif->body + header_len, __entry->buf_len);
209 TP_PROTO(const struct wfx_hif_msg *hif, int tx_fill_level, bool is_recv),
210 TP_ARGS(hif, tx_fill_level, is_recv));
211 #define _trace_hif_send(hif, tx_fill_leve
[all...]
H A Ddata_tx.c223 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; local
224 struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body;
232 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; local
234 if (tx_priv->vif_id != hif->interface && hif->interface != 2) {
236 return wdev_to_wvif(wdev, hif->interface);
448 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; local
449 struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body;
H A Dwfx.h42 struct wfx_hif hif; member in struct:wfx_dev
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dhif.h38 if (ab->hif.ops->ce_irq_enable)
39 ab->hif.ops->ce_irq_enable(ab);
44 if (ab->hif.ops->ce_irq_disable)
45 ab->hif.ops->ce_irq_disable(ab);
50 return ab->hif.ops->start(ab);
55 ab->hif.ops->stop(ab);
60 ab->hif.ops->irq_enable(ab);
65 ab->hif.ops->irq_disable(ab);
70 return ab->hif.ops->power_up(ab);
75 ab->hif
[all...]
H A Dcore.c17 #include "hif.h"
918 ath11k_warn(ab, "failed to suspend hif: %d\n", ret);
945 ath11k_warn(ab, "failed to resume hif during resume: %d\n", ret);
1106 ath11k_bus_str(ab->hif.bus),
1117 ath11k_bus_str(ab->hif.bus));
1122 ath11k_bus_str(ab->hif.bus),
1130 ath11k_bus_str(ab->hif.bus),
2260 ab->hif.bus = bus;
H A Dpci.c14 #include "hif.h"
763 ab->hif.ops = &ath11k_pci_hif_ops;
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dhif.h38 return ab->hif.ops->map_service_to_pipe(ab, service_id,
48 if (!ab->hif.ops->get_user_msi_vector)
51 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors,
60 if (!ab->hif.ops->get_msi_address)
63 ab->hif.ops->get_msi_address(ab, msi_addr_lo, msi_addr_hi);
69 if (ab->hif.ops->get_ce_msi_idx)
70 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx);
77 if (ab->hif.ops->ce_irq_enable)
78 ab->hif.ops->ce_irq_enable(ab);
83 if (ab->hif
[all...]
H A Dcore.c16 #include "hif.h"
75 ath12k_warn(ab, "failed to suspend hif: %d\n", ret);
91 ath12k_warn(ab, "failed to resume hif during resume: %d\n", ret);
124 ath12k_bus_str(ab->hif.bus));
128 ath12k_bus_str(ab->hif.bus),
139 ath12k_bus_str(ab->hif.bus),
1228 ab->hif.bus = bus;
H A Dcore.h713 } hif; member in struct:ath12k_base
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dhif.h106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items);
112 return ar->hif.ops->diag_read(ar, address, buf, buf_len);
118 if (!ar->hif.ops->diag_write)
121 return ar->hif.ops->diag_write(ar, address, data, nbytes);
128 return ar->hif.ops->exchange_bmi_msg(ar, request, request_len,
134 return ar->hif.ops->start(ar);
139 return ar->hif.ops->stop(ar);
144 if (ar->hif.ops->start_post)
145 return ar->hif.ops->start_post(ar);
151 if (ar->hif
[all...]
H A Dtestmode.c13 #include "hif.h"
180 switch (ar->hif.bus) {
184 ATH10K_FW_UTF_FILE_BASE, ath10k_bus_str(ar->hif.bus),
279 ath10k_err(ar, "failed to power up hif (testmode): %d\n", ret);
H A Dcore.c22 #include "hif.h"
1264 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev));
1272 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev));
1297 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev));
1570 ath10k_bus_str(ar->hif.bus),
1580 ath10k_bus_str(ar->hif.bus),
1586 ath10k_bus_str(ar->hif.bus),
1593 ath10k_bus_str(ar->hif.bus),
1608 ath10k_bus_str(ar->hif.bus),
2184 switch (ar->hif
[all...]
H A Dqmi.c860 ar->hif.bus = ATH10K_BUS_SNOC;
H A Dcore.h1061 } hif; member in struct:ath10k
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dpci.c33 struct mt7915_hif *hif; local
38 list_for_each_entry(hif, &hif_list, list) {
39 val = readl(hif->regs + MT_PCIE_RECOG_ID);
44 get_device(hif->dev);
47 hif = NULL;
52 return hif;
55 static void mt7915_put_hif2(struct mt7915_hif *hif) argument
57 if (!hif)
60 put_device(hif->dev);
85 struct mt7915_hif *hif; local
204 struct mt7915_hif *hif = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dpci.c32 struct mt7996_hif *hif; local
37 list_for_each_entry(hif, &hif_list, list) {
38 val = readl(hif->regs + MT_PCIE_RECOG_ID);
43 get_device(hif->dev);
46 hif = NULL;
51 return hif;
54 static void mt7996_put_hif2(struct mt7996_hif *hif) argument
56 if (!hif)
59 put_device(hif->dev);
78 struct mt7996_hif *hif; local
219 struct mt7996_hif *hif = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A DMakefile5 hif.o wlan_cfg.o wlan.o
/linux-master/drivers/net/wireless/ath/ath6kl/
H A DMakefile27 ath6kl_core-y += hif.o
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb);
320 target->hif->stop(target->hif_dev);
325 target->hif->start(target->hif_dev);
330 target->hif->sta_drain(target->hif_dev, idx);
493 struct ath9k_htc_hif *hif,
506 target->hif = hif;
512 endpoint->ul_pipeid = hif->control_ul_pipe;
513 endpoint->dl_pipeid = hif->control_dl_pipe;
492 ath9k_htc_hw_alloc(void *hif_handle, struct ath9k_htc_hif *hif, struct device *dev) argument
H A Dhtc_hst.h120 struct ath9k_htc_hif *hif; member in struct:htc_target
222 struct ath9k_htc_hif *hif,
/linux-master/drivers/clk/mediatek/
H A DMakefile37 obj-$(CONFIG_COMMON_CLK_MT2701_HIFSYS) += clk-mt2701-hif.o
52 obj-$(CONFIG_COMMON_CLK_MT7622_HIFSYS) += clk-mt7622-hif.o
56 obj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o

Completed in 184 milliseconds

12