Home
last modified time | relevance | path

Searched refs:qtnf_bus (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h23 struct qtnf_bus;
27 int (*preinit)(struct qtnf_bus *);
28 void (*stop)(struct qtnf_bus *);
31 int (*control_tx)(struct qtnf_bus *, struct sk_buff *);
34 int (*data_tx)(struct qtnf_bus *, struct sk_buff *);
35 void (*data_tx_timeout)(struct qtnf_bus *, struct net_device *);
36 void (*data_rx_start)(struct qtnf_bus *);
37 void (*data_rx_stop)(struct qtnf_bus *);
40 struct qtnf_bus { struct
61 static inline bool qtnf_fw_is_up(struct qtnf_bus *bus) in qtnf_fw_is_up() argument
[all …]
Ddebug.h14 void qtnf_debugfs_init(struct qtnf_bus *bus, const char *name);
15 void qtnf_debugfs_remove(struct qtnf_bus *bus);
16 void qtnf_debugfs_add_entry(struct qtnf_bus *bus, const char *name,
21 static inline void qtnf_debugfs_init(struct qtnf_bus *bus, const char *name) in qtnf_debugfs_init()
25 static inline void qtnf_debugfs_remove(struct qtnf_bus *bus) in qtnf_debugfs_remove()
30 qtnf_debugfs_add_entry(struct qtnf_bus *bus, const char *name, in qtnf_debugfs_add_entry()
Dtrans.h19 struct qtnf_bus;
35 void qtnf_trans_init(struct qtnf_bus *bus);
36 void qtnf_trans_free(struct qtnf_bus *bus);
38 int qtnf_trans_send_next_cmd(struct qtnf_bus *bus);
39 int qtnf_trans_handle_rx_ctl_packet(struct qtnf_bus *bus, struct sk_buff *skb);
40 int qtnf_trans_send_cmd_with_resp(struct qtnf_bus *bus,
Dtrans.c15 int qtnf_trans_send_cmd_with_resp(struct qtnf_bus *bus, struct sk_buff *cmd_skb, in qtnf_trans_send_cmd_with_resp()
81 static void qtnf_trans_signal_cmdresp(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_trans_signal_cmdresp()
112 static int qtnf_trans_event_enqueue(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_trans_event_enqueue()
129 void qtnf_trans_init(struct qtnf_bus *bus) in qtnf_trans_init()
147 static void qtnf_trans_free_events(struct qtnf_bus *bus) in qtnf_trans_free_events()
158 void qtnf_trans_free(struct qtnf_bus *bus) in qtnf_trans_free()
168 int qtnf_trans_handle_rx_ctl_packet(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_trans_handle_rx_ctl_packet()
Ddebug.c6 void qtnf_debugfs_init(struct qtnf_bus *bus, const char *name) in qtnf_debugfs_init()
13 void qtnf_debugfs_remove(struct qtnf_bus *bus) in qtnf_debugfs_remove()
19 void qtnf_debugfs_add_entry(struct qtnf_bus *bus, const char *name, in qtnf_debugfs_add_entry()
Dcore.h41 struct qtnf_bus;
111 struct qtnf_bus *bus;
138 struct wiphy *qtnf_wiphy_allocate(struct qtnf_bus *bus);
145 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid);
146 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb);
Dcommands.h12 int qtnf_cmd_send_init_fw(struct qtnf_bus *bus);
13 void qtnf_cmd_send_deinit_fw(struct qtnf_bus *bus);
14 int qtnf_cmd_get_hw_info(struct qtnf_bus *bus);
Dcore.c32 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid) in qtnf_core_get_mac()
155 struct qtnf_bus *bus; in qtnf_netdev_tx_timeout()
394 static struct qtnf_wmac *qtnf_core_mac_alloc(struct qtnf_bus *bus, in qtnf_core_mac_alloc()
486 static void qtnf_core_mac_detach(struct qtnf_bus *bus, unsigned int macid) in qtnf_core_mac_detach()
537 static int qtnf_core_mac_attach(struct qtnf_bus *bus, unsigned int macid) in qtnf_core_mac_attach()
615 int qtnf_core_attach(struct qtnf_bus *bus) in qtnf_core_attach()
684 void qtnf_core_detach(struct qtnf_bus *bus) in qtnf_core_detach()
719 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_classify_skb()
781 struct qtnf_bus *bus; in qtnf_wake_all_queues()
Dcommands.c77 static int qtnf_cmd_send_with_reply(struct qtnf_bus *bus, in qtnf_cmd_send_with_reply()
140 static inline int qtnf_cmd_send(struct qtnf_bus *bus, struct sk_buff *cmd_skb) in qtnf_cmd_send()
851 qtnf_cmd_resp_proc_hw_info(struct qtnf_bus *bus, in qtnf_cmd_resp_proc_hw_info()
1628 int qtnf_cmd_get_hw_info(struct qtnf_bus *bus) in qtnf_cmd_get_hw_info()
1770 int qtnf_cmd_send_init_fw(struct qtnf_bus *bus) in qtnf_cmd_send_init_fw()
1792 void qtnf_cmd_send_deinit_fw(struct qtnf_bus *bus) in qtnf_cmd_send_deinit_fw()
2373 struct qtnf_bus *bus = mac->bus; in qtnf_cmd_reg_notify()
2527 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_get_channel()
2559 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_start_cac()
2588 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_set_mac_acl()
[all …]
Devent.c690 static int qtnf_event_process_skb(struct qtnf_bus *bus, in qtnf_event_process_skb()
722 struct qtnf_bus *bus = container_of(work, struct qtnf_bus, event_work); in qtnf_event_work_handler()
Dcfg80211.c960 struct qtnf_bus *bus = mac->bus; in qtnf_set_wakeup()
1029 struct wiphy *qtnf_wiphy_allocate(struct qtnf_bus *bus) in qtnf_wiphy_allocate()
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie_priv.h26 int (*probe_cb)(struct qtnf_bus *bus, unsigned int tx_bd_size);
27 void (*remove_cb)(struct qtnf_bus *bus);
28 int (*suspend_cb)(struct qtnf_bus *bus);
29 int (*resume_cb)(struct qtnf_bus *bus);
72 int qtnf_pcie_control_tx(struct qtnf_bus *bus, struct sk_buff *skb);
74 int qtnf_pcie_fw_boot_done(struct qtnf_bus *bus);
79 struct qtnf_bus *qtnf_pcie_pearl_alloc(struct pci_dev *pdev);
80 struct qtnf_bus *qtnf_pcie_topaz_alloc(struct pci_dev *pdev);
Dpcie.c50 int qtnf_pcie_control_tx(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_pcie_control_tx()
85 static void qtnf_pcie_bringup_fw_async(struct qtnf_bus *bus) in qtnf_pcie_bringup_fw_async()
96 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_mps_show()
106 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_msi_show()
116 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_shm_stats()
131 int qtnf_pcie_fw_boot_done(struct qtnf_bus *bus) in qtnf_pcie_fw_boot_done()
234 struct qtnf_bus *bus = pci_get_drvdata(priv->pdev); in qtnf_pcie_control_rx_callback()
273 struct qtnf_bus *bus; in qtnf_pcie_probe()
403 struct qtnf_bus *bus; in qtnf_pcie_remove()
431 struct qtnf_bus *bus; in qtnf_pcie_suspend()
[all …]
Dtopaz_pcie.c434 static void qtnf_try_stop_xmit(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_try_stop_xmit()
456 static void qtnf_try_wake_xmit(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_try_wake_xmit()
489 static int qtnf_pcie_data_tx(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_pcie_data_tx()
562 struct qtnf_bus *bus = (struct qtnf_bus *)data; in qtnf_pcie_topaz_interrupt()
604 struct qtnf_bus *bus = container_of(napi, struct qtnf_bus, mux_napi); in qtnf_topaz_rx_poll()
715 qtnf_pcie_data_tx_timeout(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_pcie_data_tx_timeout()
723 static void qtnf_pcie_data_rx_start(struct qtnf_bus *bus) in qtnf_pcie_data_rx_start()
731 static void qtnf_pcie_data_rx_stop(struct qtnf_bus *bus) in qtnf_pcie_data_rx_stop()
752 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_irq_stats()
762 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_pkt_stats()
[all …]
Dpearl_pcie.c534 static int qtnf_pcie_data_tx(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_pcie_data_tx()
612 struct qtnf_bus *bus = (struct qtnf_bus *)data; in qtnf_pcie_pearl_interrupt()
672 struct qtnf_bus *bus = container_of(napi, struct qtnf_bus, mux_napi); in qtnf_pcie_pearl_rx_poll()
775 qtnf_pcie_data_tx_timeout(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_pcie_data_tx_timeout()
782 static void qtnf_pcie_data_rx_start(struct qtnf_bus *bus) in qtnf_pcie_data_rx_start()
790 static void qtnf_pcie_data_rx_stop(struct qtnf_bus *bus) in qtnf_pcie_data_rx_stop()
811 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_irq_stats()
835 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_hdp_stats()
868 struct qtnf_bus *bus = pci_get_drvdata(pdev); in qtnf_ep_fw_send()
981 struct qtnf_bus *bus = container_of(work, struct qtnf_bus, fw_work); in qtnf_pearl_fw_work_handler()
[all …]