/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | bus.h | 33 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 *); 48 void (*data_rx_start)(struct qtnf_bus *); 49 void (*data_rx_stop)(struct qtnf_bus *); 52 struct qtnf_bus { struct 75 static inline bool qtnf_fw_is_up(struct qtnf_bus *bus) in qtnf_fw_is_up() argument 92 static inline void *get_bus_priv(struct qtnf_bus *bus) in get_bus_priv() 155 int qtnf_core_attach(struct qtnf_bus *bus); [all …]
|
H A D | debug.h | 14 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()
|
H A D | trans.h | 19 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,
|
H A D | trans.c | 15 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()
|
H A D | debug.c | 6 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()
|
H A D | core.h | 43 struct qtnf_bus; 102 struct qtnf_bus *bus; 130 struct wiphy *qtnf_wiphy_allocate(struct qtnf_bus *bus, 137 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid); 138 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb);
|
H A D | commands.h | 12 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);
|
H A D | core.c | 40 struct qtnf_wmac *qtnf_core_get_mac(const struct qtnf_bus *bus, u8 macid) in qtnf_core_get_mac() 142 struct qtnf_bus *bus; in qtnf_netdev_tx_timeout() 191 const struct qtnf_bus *bus = vif->mac->bus; in qtnf_netdev_port_parent_id() 408 static struct qtnf_wmac *qtnf_core_mac_alloc(struct qtnf_bus *bus, in qtnf_core_mac_alloc() 504 static void qtnf_core_mac_detach(struct qtnf_bus *bus, unsigned int macid) in qtnf_core_mac_detach() 558 static int qtnf_core_mac_attach(struct qtnf_bus *bus, unsigned int macid) in qtnf_core_mac_attach() 668 struct qtnf_bus *bus; in qtnf_core_netdevice_event() 716 int qtnf_core_attach(struct qtnf_bus *bus) in qtnf_core_attach() 798 void qtnf_core_detach(struct qtnf_bus *bus) in qtnf_core_detach() 833 struct net_device *qtnf_classify_skb(struct qtnf_bus *bus, struct sk_buff *skb) in qtnf_classify_skb() [all …]
|
H A D | commands.c | 1565 int qtnf_cmd_get_hw_info(struct qtnf_bus *bus) in qtnf_cmd_get_hw_info() 1675 int qtnf_cmd_send_init_fw(struct qtnf_bus *bus) in qtnf_cmd_send_init_fw() 2243 struct qtnf_bus *bus = mac->bus; in qtnf_cmd_reg_notify() 2490 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_get_channel() 2522 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_start_cac() 2547 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_set_mac_acl() 2573 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_send_pm_set() 2598 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_get_tx_power() 2633 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_set_tx_power() 2664 struct qtnf_bus *bus = vif->mac->bus; in qtnf_cmd_send_wowlan_set() [all …]
|
H A D | event.c | 756 static int qtnf_event_process_skb(struct qtnf_bus *bus, in qtnf_event_process_skb() 788 struct qtnf_bus *bus = container_of(work, struct qtnf_bus, event_work); in qtnf_event_work_handler()
|
H A D | cfg80211.c | 995 struct qtnf_bus *bus = mac->bus; in qtnf_set_wakeup() 1069 struct wiphy *qtnf_wiphy_allocate(struct qtnf_bus *bus, in qtnf_wiphy_allocate()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | pcie_priv.h | 26 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);
|
H A D | pcie.c | 50 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() 404 struct qtnf_bus *bus; in qtnf_pcie_remove() 431 struct qtnf_bus *bus; in qtnf_pcie_suspend() [all …]
|
H A D | pearl_pcie.c | 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() 823 static void qtnf_pcie_data_rx_stop(struct qtnf_bus *bus) in qtnf_pcie_data_rx_stop() 853 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_irq_stats() 877 struct qtnf_bus *bus = dev_get_drvdata(s->private); in qtnf_dbg_hdp_stats() 910 struct qtnf_bus *bus = pci_get_drvdata(pdev); in qtnf_ep_fw_send() 1023 struct qtnf_bus *bus = container_of(work, struct qtnf_bus, fw_work); in qtnf_pearl_fw_work_handler() 1160 static void qtnf_pcie_pearl_remove(struct qtnf_bus *bus) in qtnf_pcie_pearl_remove() 1169 static int qtnf_pcie_pearl_suspend(struct qtnf_bus *bus) in qtnf_pcie_pearl_suspend() 1174 static int qtnf_pcie_pearl_resume(struct qtnf_bus *bus) in qtnf_pcie_pearl_resume() [all …]
|
H A D | topaz_pcie.c | 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() 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() 850 static int qtnf_pre_init_ep(struct qtnf_bus *bus) in qtnf_pre_init_ep() 1036 struct qtnf_bus *bus = container_of(work, struct qtnf_bus, fw_work); in qtnf_topaz_fw_work_handler() 1120 static int qtnf_pcie_topaz_probe(struct qtnf_bus *bus, in qtnf_pcie_topaz_probe() 1173 static void qtnf_pcie_topaz_remove(struct qtnf_bus *bus) in qtnf_pcie_topaz_remove() 1199 static int qtnf_pcie_topaz_resume(struct qtnf_bus *bus) in qtnf_pcie_topaz_resume() [all …]
|