Home
last modified time | relevance | path

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

12

/openbmc/linux/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) in wfx_fill_header() argument
34 hif->len = cpu_to_le16(size + 4); in wfx_fill_header()
35 hif->id = cmd; in wfx_fill_header()
36 hif->interface = if_id; in wfx_fill_header()
39 static void *wfx_alloc_hif(size_t body_len, struct wfx_hif_msg **hif) in wfx_alloc_hif() argument
41 *hif = kzalloc(sizeof(struct wfx_hif_msg) + body_len, GFP_KERNEL); in wfx_alloc_hif()
42 if (*hif) in wfx_alloc_hif()
43 return (*hif)->body; in wfx_alloc_hif()
125 struct wfx_hif_msg *hif; in wfx_hif_shutdown() local
127 wfx_alloc_hif(0, &hif); in wfx_hif_shutdown()
[all …]
H A Dbh.c29 if (!completion_done(&wdev->hif.ctrl_ready)) in device_wakeup()
38 if (wait_for_completion_timeout(&wdev->hif.ctrl_ready, msecs_to_jiffies(2))) { in device_wakeup()
39 complete(&wdev->hif.ctrl_ready); in device_wakeup()
66 struct wfx_hif_msg *hif; in rx_helper() local
86 hif = (struct wfx_hif_msg *)skb->data; in rx_helper()
87 WARN(hif->encrypted & 0x3, "encryption is unsupported"); in rx_helper()
90 computed_len = le16_to_cpu(hif->len); in rx_helper()
96 hif, read_len, true); in rx_helper()
100 if (!(hif->id & HIF_ID_IS_INDICATION)) { in rx_helper()
102 if (hif->id == HIF_CNF_ID_MULTI_TRANSMIT) in rx_helper()
[all …]
H A Dhif_rx.c20 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
[all …]
H A Dqueue.c41 ret = wait_event_timeout(wdev->hif.tx_buffers_empty, !wdev->hif.tx_buffers_used, in wfx_tx_flush()
45 wdev->hif.tx_buffers_used); in wfx_tx_flush()
126 struct wfx_hif_msg *hif; in wfx_pending_drop() local
131 hif = (struct wfx_hif_msg *)skb->data; in wfx_pending_drop()
132 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_pending_drop()
148 struct wfx_hif_msg *hif; in wfx_pending_get() local
153 hif = (struct wfx_hif_msg *)skb->data; in wfx_pending_get()
154 req = (struct wfx_hif_req_tx *)hif->body; in wfx_pending_get()
158 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_pending_get()
232 struct wfx_hif_msg *hif; in wfx_tx_queues_get_skb() local
[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_level)\ argument
[all …]
H A Ddata_tx.h60 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; in wfx_skb_txreq() local
61 struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body; in wfx_skb_txreq()
H A Ddata_tx.c408 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; in wfx_skb_dtor() local
409 struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body; in wfx_skb_dtor()
535 struct wfx_hif_msg *hif; in wfx_flush() local
551 hif = (struct wfx_hif_msg *)skb->data; in wfx_flush()
552 wvif = wdev_to_wvif(wdev, hif->interface); in wfx_flush()
H A Dwfx.h42 struct wfx_hif hif; member
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A 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 …]
H A Dcore.c1251 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev)); in ath10k_fetch_cal_file()
1259 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev)); in ath10k_fetch_cal_file()
1284 ath10k_bus_str(ar->hif.bus), dev_name(ar->dev)); in ath10k_core_fetch_board_data_api_1()
1557 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1567 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1573 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1580 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_board_name()
1595 ath10k_bus_str(ar->hif.bus), in ath10k_core_create_eboard_name()
2171 switch (ar->hif.bus) { in ath10k_core_get_fw_name()
2175 ATH10K_FW_FILE_BASE, ath10k_bus_str(ar->hif.bus), in ath10k_core_get_fw_name()
[all …]
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhif.h38 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable()
39 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable()
44 if (ab->hif.ops->ce_irq_disable) in ath11k_hif_ce_irq_disable()
45 ab->hif.ops->ce_irq_disable(ab); in ath11k_hif_ce_irq_disable()
50 return sc->hif.ops->start(sc); in ath11k_hif_start()
55 sc->hif.ops->stop(sc); in ath11k_hif_stop()
60 sc->hif.ops->irq_enable(sc); in ath11k_hif_irq_enable()
65 sc->hif.ops->irq_disable(sc); in ath11k_hif_irq_disable()
70 return sc->hif.ops->power_up(sc); in ath11k_hif_power_up()
75 sc->hif.ops->power_down(sc); in ath11k_hif_power_down()
[all …]
H A Dcore.c1004 ath11k_bus_str(ab->hif.bus)); in __ath11k_core_create_board_name()
1008 ath11k_bus_str(ab->hif.bus), in __ath11k_core_create_board_name()
1019 ath11k_bus_str(ab->hif.bus), in __ath11k_core_create_board_name()
2089 ab->hif.bus = bus; in ath11k_core_alloc()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhif.h38 return ab->hif.ops->map_service_to_pipe(ab, service_id, in ath12k_hif_map_service_to_pipe()
48 if (!ab->hif.ops->get_user_msi_vector) in ath12k_hif_get_user_msi_vector()
51 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath12k_hif_get_user_msi_vector()
60 if (!ab->hif.ops->get_msi_address) in ath12k_hif_get_msi_address()
63 ab->hif.ops->get_msi_address(ab, msi_addr_lo, msi_addr_hi); in ath12k_hif_get_msi_address()
69 if (ab->hif.ops->get_ce_msi_idx) in ath12k_hif_get_ce_msi_idx()
70 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx); in ath12k_hif_get_ce_msi_idx()
77 if (ab->hif.ops->ce_irq_enable) in ath12k_hif_ce_irq_enable()
78 ab->hif.ops->ce_irq_enable(ab); in ath12k_hif_ce_irq_enable()
83 if (ab->hif.ops->ce_irq_disable) in ath12k_hif_ce_irq_disable()
[all …]
H A Dcore.c98 ath12k_bus_str(ab->hif.bus), in ath12k_core_create_board_name()
929 ab->hif.bus = bus; in ath12k_core_alloc()
H A Dcore.h680 } hif; member
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dpci.c33 struct mt7915_hif *hif; in mt7915_pci_get_hif2() local
38 list_for_each_entry(hif, &hif_list, list) { in mt7915_pci_get_hif2()
39 val = readl(hif->regs + MT_PCIE_RECOG_ID); in mt7915_pci_get_hif2()
44 get_device(hif->dev); in mt7915_pci_get_hif2()
45 hif->index = idx; in mt7915_pci_get_hif2()
48 hif = NULL; in mt7915_pci_get_hif2()
53 return hif; in mt7915_pci_get_hif2()
56 static void mt7915_put_hif2(struct mt7915_hif *hif) in mt7915_put_hif2() argument
58 if (!hif) in mt7915_put_hif2()
61 put_device(hif->dev); in mt7915_put_hif2()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dpci.c32 struct mt7996_hif *hif; in mt7996_pci_get_hif2() local
37 list_for_each_entry(hif, &hif_list, list) { in mt7996_pci_get_hif2()
38 val = readl(hif->regs + MT_PCIE_RECOG_ID); in mt7996_pci_get_hif2()
43 get_device(hif->dev); in mt7996_pci_get_hif2()
46 hif = NULL; in mt7996_pci_get_hif2()
51 return hif; in mt7996_pci_get_hif2()
54 static void mt7996_put_hif2(struct mt7996_hif *hif) in mt7996_put_hif2() argument
56 if (!hif) in mt7996_put_hif2()
59 put_device(hif->dev); in mt7996_put_hif2()
78 struct mt7996_hif *hif; in mt7996_pci_hif2_probe() local
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c35 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()
496 struct ath9k_htc_hif *hif, in ath9k_htc_hw_alloc() argument
509 target->hif = hif; in ath9k_htc_hw_alloc()
515 endpoint->ul_pipeid = hif->control_ul_pipe; in ath9k_htc_hw_alloc()
516 endpoint->dl_pipeid = hif->control_dl_pipe; in ath9k_htc_hw_alloc()
H A Dhtc_hst.h120 struct ath9k_htc_hif *hif; member
222 struct ath9k_htc_hif *hif,
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A DMakefile5 hif.o wlan_cfg.o wlan.o
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm7445.dtsi88 compatible = "brcm,bcm7445-hif-cpubiuctrl",
94 compatible = "brcm,bcm7445-hif-continuation",
132 interrupt-names = "hif";
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A DMakefile27 ath6kl_core-y += hif.o
/openbmc/linux/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
/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/
H A Dbrcm,brcmstb.txt23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
63 compatible = "brcm,bcm7445-hif-continuation", "syscon";

12