Home
last modified time | relevance | path

Searched refs:hif (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.15/drivers/staging/wfx/
Dhif_tx.c25 static void wfx_fill_header(struct hif_msg *hif, int if_id, in wfx_fill_header() argument
35 hif->len = cpu_to_le16(size + 4); in wfx_fill_header()
36 hif->id = cmd; in wfx_fill_header()
37 hif->interface = if_id; in wfx_fill_header()
40 static void *wfx_alloc_hif(size_t body_len, struct hif_msg **hif) in wfx_alloc_hif() argument
42 *hif = kzalloc(sizeof(struct hif_msg) + body_len, GFP_KERNEL); in wfx_alloc_hif()
43 if (*hif) in wfx_alloc_hif()
44 return (*hif)->body; in wfx_alloc_hif()
127 struct hif_msg *hif; in hif_shutdown() local
129 wfx_alloc_hif(0, &hif); in hif_shutdown()
[all …]
Dbh.c29 if (!completion_done(&wdev->hif.ctrl_ready)) in device_wakeup()
39 if (wait_for_completion_timeout(&wdev->hif.ctrl_ready, in device_wakeup()
41 complete(&wdev->hif.ctrl_ready); in device_wakeup()
68 struct hif_msg *hif; in rx_helper() local
89 hif = (struct hif_msg *)skb->data; in rx_helper()
90 WARN(hif->encrypted & 0x3, "encryption is unsupported"); in rx_helper()
93 computed_len = le16_to_cpu(hif->len); in rx_helper()
99 hif, read_len, true); in rx_helper()
103 if (!(hif->id & HIF_ID_IS_INDICATION)) { in rx_helper()
105 if (hif->id == HIF_CNF_ID_MULTI_TRANSMIT) in rx_helper()
[all …]
Dhif_rx.c21 const struct hif_msg *hif, const void *buf) in hif_generic_confirm() argument
25 int cmd = hif->id; in hif_generic_confirm()
26 int len = le16_to_cpu(hif->len) - 4; // drop header in hif_generic_confirm()
55 const struct hif_msg *hif, const void *buf) in hif_tx_confirm() argument
64 const struct hif_msg *hif, const void *buf) in hif_multi_tx_confirm() argument
76 const struct hif_msg *hif, const void *buf) in hif_startup_indication() argument
95 const struct hif_msg *hif, const void *buf) in hif_wakeup_indication() argument
106 const struct hif_msg *hif, in hif_receive_indication() argument
109 struct wfx_vif *wvif = wdev_to_wvif(wdev, hif->interface); in hif_receive_indication()
114 __func__, hif->interface); in hif_receive_indication()
[all …]
Dqueue.c41 ret = wait_event_timeout(wdev->hif.tx_buffers_empty, in wfx_tx_flush()
42 !wdev->hif.tx_buffers_used, in wfx_tx_flush()
46 wdev->hif.tx_buffers_used); in wfx_tx_flush()
129 struct hif_msg *hif; in wfx_pending_drop() local
135 hif = (struct hif_msg *)skb->data; in wfx_pending_drop()
136 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_pending_drop()
152 struct hif_msg *hif; in wfx_pending_get() local
157 hif = (struct hif_msg *)skb->data; in wfx_pending_get()
158 req = (struct hif_req_tx *)hif->body; in wfx_pending_get()
162 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_pending_get()
[all …]
Dtraces.h161 TP_PROTO(const struct hif_msg *hif, int tx_fill_level, bool is_recv),
162 TP_ARGS(hif, tx_fill_level, is_recv),
177 __entry->msg_len = le16_to_cpu(hif->len);
178 __entry->msg_id = hif->id;
179 __entry->if_id = hif->interface;
187 __entry->mib = le16_to_cpup((__le16 *)hif->body);
196 memcpy(__entry->buf, hif->body + header_len, __entry->buf_len);
211 TP_PROTO(const struct hif_msg *hif, int tx_fill_level, bool is_recv),
212 TP_ARGS(hif, tx_fill_level, is_recv));
213 #define _trace_hif_send(hif, tx_fill_level)\ argument
[all …]
Ddata_tx.h62 struct hif_msg *hif = (struct hif_msg *)skb->data; in wfx_skb_txreq() local
63 struct hif_req_tx *req = (struct hif_req_tx *)hif->body; in wfx_skb_txreq()
Ddata_tx.c436 struct hif_msg *hif = (struct hif_msg *)skb->data; in wfx_skb_dtor() local
437 struct hif_req_tx *req = (struct hif_req_tx *)hif->body; in wfx_skb_dtor()
572 struct hif_msg *hif; in wfx_flush() local
588 hif = (struct hif_msg *)skb->data; in wfx_flush()
589 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_flush()
Dwfx.h42 struct wfx_hif hif; member
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dhif.h106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg()
112 return ar->hif.ops->diag_read(ar, address, buf, buf_len); in ath10k_hif_diag_read()
118 if (!ar->hif.ops->diag_write) in ath10k_hif_diag_write()
121 return ar->hif.ops->diag_write(ar, address, data, nbytes); in ath10k_hif_diag_write()
128 return ar->hif.ops->exchange_bmi_msg(ar, request, request_len, in ath10k_hif_exchange_bmi_msg()
134 return ar->hif.ops->start(ar); in ath10k_hif_start()
139 return ar->hif.ops->stop(ar); in ath10k_hif_stop()
144 if (ar->hif.ops->start_post) in ath10k_hif_start_post()
145 return ar->hif.ops->start_post(ar); in ath10k_hif_start_post()
151 if (ar->hif.ops->get_htt_tx_complete) in ath10k_hif_get_htt_tx_complete()
[all …]
Dcore.c1161 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev)); in ath10k_fetch_cal_file()
1169 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev)); in ath10k_fetch_cal_file()
1456 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1466 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1472 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1479 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1494 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_eboard_name()
2036 switch (ar->hif.bus) { in ath10k_core_get_fw_name()
2040 ATH10K_FW_FILE_BASE, ath10k_bus_str(ar->hif.bus), in ath10k_core_get_fw_name()
2293 if (hw_params->bus == ar->hif.bus && in ath10k_init_hw_params()
[all …]
Dtestmode.c180 switch (ar->hif.bus) { in ath10k_tm_fetch_firmware()
184 ATH10K_FW_UTF_FILE_BASE, ath10k_bus_str(ar->hif.bus), in ath10k_tm_fetch_firmware()
Dcoredump.c1461 hw_mem_layouts[i].bus == ar->hif.bus) in ath10k_coredump_get_mem_layout()
/Linux-v5.15/drivers/net/wireless/ath/ath11k/
Dhif.h36 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable()
37 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable()
42 if (ab->hif.ops->ce_irq_disable) in ath11k_hif_ce_irq_disable()
43 ab->hif.ops->ce_irq_disable(ab); in ath11k_hif_ce_irq_disable()
48 return sc->hif.ops->start(sc); in ath11k_hif_start()
53 sc->hif.ops->stop(sc); in ath11k_hif_stop()
58 sc->hif.ops->irq_enable(sc); in ath11k_hif_irq_enable()
63 sc->hif.ops->irq_disable(sc); in ath11k_hif_irq_disable()
68 return sc->hif.ops->power_up(sc); in ath11k_hif_power_up()
73 sc->hif.ops->power_down(sc); in ath11k_hif_power_down()
[all …]
Dcore.c352 ath11k_bus_str(ab->hif.bus), in ath11k_core_create_board_name()
1149 ab->hif.bus = bus; in ath11k_core_alloc()
Dcore.h680 } hif; member
Dahb.c687 ab->hif.ops = &ath11k_ahb_hif_ops; in ath11k_ahb_probe()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dpci.c51 struct mt7915_hif *hif; in mt7915_pci_get_hif2() local
56 list_for_each_entry(hif, &hif_list, list) { in mt7915_pci_get_hif2()
57 val = readl(hif->regs + MT_PCIE_RECOG_ID); in mt7915_pci_get_hif2()
62 get_device(hif->dev); in mt7915_pci_get_hif2()
65 hif = NULL; in mt7915_pci_get_hif2()
70 return hif; in mt7915_pci_get_hif2()
73 static void mt7915_put_hif2(struct mt7915_hif *hif) in mt7915_put_hif2() argument
75 if (!hif) in mt7915_put_hif2()
78 put_device(hif->dev); in mt7915_put_hif2()
174 struct mt7915_hif *hif; in mt7915_pci_init_hif2() local
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Dhtc_hst.c34 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send()
309 target->hif->stop(target->hif_dev); in htc_stop()
314 target->hif->start(target->hif_dev); in htc_start()
319 target->hif->sta_drain(target->hif_dev, idx); in htc_sta_drain()
467 struct ath9k_htc_hif *hif, in ath9k_htc_hw_alloc() argument
480 target->hif = hif; in ath9k_htc_hw_alloc()
486 endpoint->ul_pipeid = hif->control_ul_pipe; in ath9k_htc_hw_alloc()
487 endpoint->dl_pipeid = hif->control_dl_pipe; in ath9k_htc_hw_alloc()
Dhtc_hst.h120 struct ath9k_htc_hif *hif; member
222 struct ath9k_htc_hif *hif,
/Linux-v5.15/drivers/clk/mediatek/
DMakefile30 obj-$(CONFIG_COMMON_CLK_MT2701_HIFSYS) += clk-mt2701-hif.o
44 obj-$(CONFIG_COMMON_CLK_MT7622_HIFSYS) += clk-mt7622-hif.o
48 obj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o
/Linux-v5.15/drivers/net/wireless/microchip/wilc1000/
DMakefile5 hif.o wlan_cfg.o wlan.o
/Linux-v5.15/drivers/net/wireless/ath/ath6kl/
DMakefile27 ath6kl_core-y += hif.o
/Linux-v5.15/arch/arm/boot/dts/
Dbcm7445.dtsi88 compatible = "brcm,bcm7445-hif-cpubiuctrl",
94 compatible = "brcm,bcm7445-hif-continuation",
132 interrupt-names = "hif";
/Linux-v5.15/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,l2-intc.txt6 "brcm,hif-spi-l2-intc" or
/Linux-v5.15/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
63 compatible = "brcm,bcm7445-hif-continuation", "syscon";

12