| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | hif_tx.c | 25 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() 143 struct wfx_hif_msg *hif; in wfx_hif_shutdown() local 145 wfx_alloc_hif(0, &hif); in wfx_hif_shutdown() 162 struct wfx_hif_msg *hif; wfx_hif_configuration() local 178 struct wfx_hif_msg *hif; wfx_hif_reset() local 193 struct wfx_hif_msg *hif; wfx_hif_read_mib() local 226 struct wfx_hif_msg *hif; wfx_hif_write_mib() local 245 struct wfx_hif_msg *hif; wfx_hif_scan_uniq() local 270 struct wfx_hif_msg *hif; wfx_hif_scan() local 313 struct wfx_hif_msg *hif; wfx_hif_stop_scan() local 331 struct wfx_hif_msg *hif; wfx_hif_join() local 360 struct wfx_hif_msg *hif; wfx_hif_set_bss_params() local 376 struct wfx_hif_msg *hif; wfx_hif_add_key() local 397 struct wfx_hif_msg *hif; wfx_hif_remove_key() local 413 struct wfx_hif_msg *hif; wfx_hif_set_edca_queue_params() local 441 struct wfx_hif_msg *hif; wfx_hif_set_pm() local 468 struct wfx_hif_msg *hif; wfx_hif_start() local 490 struct wfx_hif_msg *hif; wfx_hif_beacon_transmit() local 505 struct wfx_hif_msg *hif; wfx_hif_map_link() local 524 struct wfx_hif_msg *hif; wfx_hif_update_ie_beacon() local [all...] |
| H A D | bh.c | 29 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 D | hif_rx.c | 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 [all …]
|
| H A D | queue.c | 41 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() 152 struct wfx_hif_msg *hif; in wfx_pending_get() local 157 hif = (struct wfx_hif_msg *)skb->data; in wfx_pending_get() 158 req = (struct wfx_hif_req_tx *)hif->body; in wfx_pending_get() 236 struct wfx_hif_msg *hif; in wfx_tx_queues_get_skb() local 259 hif = (struct wfx_hif_msg *)skb->data; in wfx_tx_queues_get_skb() 263 WARN_ON(hif->interface != 2); in wfx_tx_queues_get_skb() 284 hif = (struct wfx_hif_msg *)skb->data; in wfx_tx_queues_get_skb() 285 WARN_ON(hif->interface != wvif->id); in wfx_tx_queues_get_skb()
|
| H A D | traces.h | 160 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 D | data_tx.c | 223 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; in wfx_skb_txreq() local 224 struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body; in wfx_skb_txreq() 232 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; in wfx_skb_wvif() local 234 if (tx_priv->vif_id != hif->interface && hif->interface != 2) { in wfx_skb_wvif() 236 return wdev_to_wvif(wdev, hif->interface); in wfx_skb_wvif() 448 struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; in wfx_skb_dtor() local 449 struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body; in wfx_skb_dtor()
|
| H A D | wfx.h | 42 struct wfx_hif hif; member
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | hif.h | 106 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 D | testmode.c | 290 switch (ar->hif.bus) { in ath10k_tm_fetch_firmware() 294 ATH10K_FW_UTF_FILE_BASE, ath10k_bus_str(ar->hif.bus), in ath10k_tm_fetch_firmware()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | pci.c | 33 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 …]
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | hif.h | 51 mors->hif.event_flags = 0; in mm81x_hif_clear_events() 56 return mors->hif.ops->init(mors); in mm81x_hif_init() 61 mors->hif.ops->flush_tx_data(mors); in mm81x_hif_flush_tx_data() 66 mors->hif.ops->flush_cmds(mors); in mm81x_hif_flush_cmds() 71 mors->hif.ops->finish(mors); in mm81x_hif_finish() 77 mors->hif.ops->skbq_get_tx_qs(mors, qs, num_qs); in mm81x_hif_skbq_get_tx_qs() 82 return mors->hif.ops->get_tx_cmd_queue(mors); in mm81x_hif_get_tx_cmd_queue() 88 return mors->hif.ops->get_tx_beacon_queue(mors); in mm81x_hif_get_tx_beacon_queue() 93 return mors->hif.ops->get_tx_mgmt_queue(mors); in mm81x_hif_get_tx_mgmt_queue() 99 return mors->hif.ops->get_tx_data_queue(mors, aci); in mm81x_hif_get_tx_data_queue() [all …]
|
| H A D | yaps.c | 72 struct mm81x_yaps *yaps = &mors->hif.u.yaps; in mm81x_yaps_tc_q_from_aci() 82 *qs = mors->hif.u.yaps.data_tx_qs; in mm81x_yaps_get_tx_qs() 88 return &mors->hif.u.yaps.beacon_q; in mm81x_yaps_get_bcn_tc_q() 93 return &mors->hif.u.yaps.mgmt_q; in mm81x_yaps_get_mgmt_tc_q() 98 return &mors->hif.u.yaps.cmd_q; in mm81x_yaps_get_tx_cmd_queue() 104 set_bit(MM81X_HIF_EVT_RX_PEND, &mors->hif.event_flags); in mm81x_yaps_irq_handler() 107 timer_delete_sync_try(&mors->hif.u.yaps.chip_queue_full.timer); in mm81x_yaps_irq_handler() 109 &mors->hif.event_flags); in mm81x_yaps_irq_handler() 156 if (yaps->mors->hif.validate_skb_checksum && in mm81x_yaps_read_pkt() 420 yaps = &mors->hif.u.yaps; in mm81x_yaps_stale_tx_work() [all …]
|
| H A D | yaps_hw.c | 214 mm81x_yaps_hw_fill_aux_data_from_hw_tbl(mors->hif.u.yaps.aux_data, in mm81x_yaps_hw_read_table() 634 set_bit(MM81X_HIF_EVT_RX_PEND, &yaps->mors->hif.event_flags); in mm81x_yaps_hw_update_status() 654 yaps = &mors->hif.u.yaps; in mm81x_yaps_hw_init() 693 yaps = &mors->hif.u.yaps; in mm81x_yaps_hw_finish()
|
| H A D | core.h | 354 } hif; member 420 &mors->hif.event_flags); in mm81x_is_data_tx_allowed()
|
| H A D | skbq.c | 599 &mors->hif.event_flags); in mm81x_skbq_tx() 604 set_bit(MM81X_HIF_EVT_TX_MGMT_PEND, &mors->hif.event_flags); in mm81x_skbq_tx() 608 set_bit(MM81X_HIF_EVT_TX_BEACON_PEND, &mors->hif.event_flags); in mm81x_skbq_tx() 612 set_bit(MM81X_HIF_EVT_TX_COMMAND_PEND, &mors->hif.event_flags); in mm81x_skbq_tx() 1022 set_bit(MM81X_HIF_EVT_TX_DATA_PEND, &mors->hif.event_flags); in mm81x_skbq_data_traffic_resume()
|
| H A D | ps.c | 41 (mors->hif.event_flags & in mm81x_ps_evaluate()
|
| H A D | core.c | 27 mors->hif.ops = &mm81x_yaps_ops; in mm81x_core_attach_regs()
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| 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() 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 D | htc_hst.h | 120 struct ath9k_htc_hif *hif; member 222 struct ath9k_htc_hif *hif,
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | Makefile | 5 hif.o wlan_cfg.o wlan.o
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | Makefile | 27 ath6kl_core-y += hif.o
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm7445.dtsi | 88 compatible = "brcm,bcm7445-hif-cpubiuctrl", 94 compatible = "brcm,bcm7445-hif-continuation", 132 interrupt-names = "hif";
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | ahb.c | 58 ab->hif.ops = desc->ops; in ath12k_wifi7_ahb_probe()
|
| /linux/drivers/clk/mediatek/ |
| H A D | Makefile | 42 obj-$(CONFIG_COMMON_CLK_MT2701_HIFSYS) += clk-mt2701-hif.o 57 obj-$(CONFIG_COMMON_CLK_MT7622_HIFSYS) += clk-mt7622-hif.o 61 obj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o
|
| /linux/Documentation/devicetree/bindings/arm/bcm/ |
| H A D | brcm,brcmstb.txt | 23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon" 63 compatible = "brcm,bcm7445-hif-continuation", "syscon";
|