Home
last modified time | relevance | path

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

/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h33 struct qtnf_bus;
37 int (*preinit)(struct qtnf_bus *);
38 void (*stop)(struct qtnf_bus *);
41 int (*control_tx)(struct qtnf_bus *, struct sk_buff *);
44 int (*data_tx)(struct qtnf_bus *bus, struct sk_buff *skb,
46 void (*data_tx_timeout)(struct qtnf_bus *, struct net_device *);
47 void (*data_tx_use_meta_set)(struct qtnf_bus *bus, bool use_meta);
48 void (*data_rx_start)(struct qtnf_bus *);
49 void (*data_rx_stop)(struct qtnf_bus *);
52 struct qtnf_bus { struct
[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()
Dcore.h43 struct qtnf_bus;
104 struct qtnf_bus *bus;
132 struct wiphy *qtnf_wiphy_allocate(struct qtnf_bus *bus,
139 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid);
140 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb);
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.c40 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid) in qtnf_core_get_mac()
157 struct qtnf_bus *bus; in qtnf_netdev_tx_timeout()
206 const struct qtnf_bus *bus = vif->mac->bus; in qtnf_netdev_port_parent_id()
409 static struct qtnf_wmac *qtnf_core_mac_alloc(struct qtnf_bus *bus, in qtnf_core_mac_alloc()
509 static void qtnf_core_mac_detach(struct qtnf_bus *bus, unsigned int macid) in qtnf_core_mac_detach()
564 static int qtnf_core_mac_attach(struct qtnf_bus *bus, unsigned int macid) in qtnf_core_mac_attach()
673 struct qtnf_bus *bus; in qtnf_core_netdevice_event()
721 int qtnf_core_attach(struct qtnf_bus *bus) in qtnf_core_attach()
803 void qtnf_core_detach(struct qtnf_bus *bus) in qtnf_core_detach()
840 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_classify_skb()
[all …]
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);
Dcommands.c77 static int qtnf_cmd_send_with_reply(struct qtnf_bus *bus, in qtnf_cmd_send_with_reply()
142 static inline int qtnf_cmd_send(struct qtnf_bus *bus, struct sk_buff *cmd_skb) in qtnf_cmd_send()
889 qtnf_cmd_resp_proc_hw_info(struct qtnf_bus *bus, in qtnf_cmd_resp_proc_hw_info()
1576 int qtnf_cmd_get_hw_info(struct qtnf_bus *bus) in qtnf_cmd_get_hw_info()
1689 int qtnf_cmd_send_init_fw(struct qtnf_bus *bus) in qtnf_cmd_send_init_fw()
1723 void qtnf_cmd_send_deinit_fw(struct qtnf_bus *bus) in qtnf_cmd_send_deinit_fw()
2287 struct qtnf_bus *bus = mac->bus; in qtnf_cmd_reg_notify()
2534 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_get_channel()
2566 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_start_cac()
2595 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_set_mac_acl()
[all …]
Devent.c754 static int qtnf_event_process_skb(struct qtnf_bus *bus, in qtnf_event_process_skb()
786 struct qtnf_bus *bus = container_of(work, struct qtnf_bus, event_work); in qtnf_event_work_handler()
Dcfg80211.c1008 struct qtnf_bus *bus = mac->bus; in qtnf_set_wakeup()
1082 struct wiphy *qtnf_wiphy_allocate(struct qtnf_bus *bus, in qtnf_wiphy_allocate()
/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie_priv.h26 int (*probe_cb)(struct qtnf_bus *bus, unsigned int tx_bd_size,
28 void (*remove_cb)(struct qtnf_bus *bus);
29 int (*suspend_cb)(struct qtnf_bus *bus);
30 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()
238 struct qtnf_bus *bus = pci_get_drvdata(priv->pdev); in qtnf_pcie_control_rx_callback()
277 struct qtnf_bus *bus; in qtnf_pcie_probe()
405 struct qtnf_bus *bus; in qtnf_pcie_remove()
433 struct qtnf_bus *bus; in qtnf_pcie_suspend()
[all …]
Dpearl_pcie.c535 static int qtnf_pcie_skb_send(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_pcie_skb_send()
611 static int qtnf_pcie_data_tx(struct qtnf_bus *bus, struct sk_buff *skb, in qtnf_pcie_data_tx()
617 static int qtnf_pcie_data_tx_meta(struct qtnf_bus *bus, struct sk_buff *skb, in qtnf_pcie_data_tx_meta()
645 struct qtnf_bus *bus = (struct qtnf_bus *)data; in qtnf_pcie_pearl_interrupt()
705 struct qtnf_bus *bus = container_of(napi, struct qtnf_bus, mux_napi); in qtnf_pcie_pearl_rx_poll()
808 qtnf_pcie_data_tx_timeout(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_pcie_data_tx_timeout()
815 static void qtnf_pcie_data_rx_start(struct qtnf_bus *bus) in qtnf_pcie_data_rx_start()
823 static void qtnf_pcie_data_rx_stop(struct qtnf_bus *bus) in qtnf_pcie_data_rx_stop()
831 static void qtnf_pearl_tx_use_meta_info_set(struct qtnf_bus *bus, bool use_meta) in qtnf_pearl_tx_use_meta_info_set()
853 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_irq_stats()
[all …]
Dtopaz_pcie.c445 static void qtnf_try_stop_xmit(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_try_stop_xmit()
467 static void qtnf_try_wake_xmit(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_try_wake_xmit()
500 static int qtnf_pcie_data_tx(struct qtnf_bus *bus, struct sk_buff *skb, in qtnf_pcie_data_tx()
567 struct qtnf_bus *bus = (struct qtnf_bus *)data; in qtnf_pcie_topaz_interrupt()
609 struct qtnf_bus *bus = container_of(napi, struct qtnf_bus, mux_napi); in qtnf_topaz_rx_poll()
720 qtnf_pcie_data_tx_timeout(struct qtnf_bus *bus, struct net_device *ndev) in qtnf_pcie_data_tx_timeout()
728 static void qtnf_pcie_data_rx_start(struct qtnf_bus *bus) in qtnf_pcie_data_rx_start()
736 static void qtnf_pcie_data_rx_stop(struct qtnf_bus *bus) in qtnf_pcie_data_rx_stop()
757 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_irq_stats()
767 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_pkt_stats()
[all …]