| /linux/drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic.h | 18 struct fbnic_dev { struct 80 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg); 102 bool fbnic_fw_present(struct fbnic_dev *fbd); 103 u32 fbnic_fw_rd32(struct fbnic_dev *fbd, u32 reg); 122 void fbnic_devlink_free(struct fbnic_dev *fbd); 127 int fbnic_fw_enable_mbx(struct fbnic_dev *fbd); 128 void fbnic_fw_disable_mbx(struct fbnic_dev *fbd); 130 int fbnic_pcs_irq_enable(struct fbnic_dev *fbd); 131 void fbnic_pcs_irq_disable(struct fbnic_dev *fbd); 136 void fbnic_free_irqs(struct fbnic_dev *fbd); [all …]
|
| A D | fbnic_mac.h | 9 struct fbnic_dev; 74 void (*init_regs)(struct fbnic_dev *fbd); 76 int (*pcs_enable)(struct fbnic_dev *fbd); 77 void (*pcs_disable)(struct fbnic_dev *fbd); 78 bool (*pcs_get_link)(struct fbnic_dev *fbd); 79 int (*pcs_get_link_event)(struct fbnic_dev *fbd); 81 void (*get_eth_mac_stats)(struct fbnic_dev *fbd, bool reset, 84 void (*link_down)(struct fbnic_dev *fbd); 85 void (*link_up)(struct fbnic_dev *fbd, bool tx_pause, bool rx_pause); 88 int fbnic_mac_init(struct fbnic_dev *fbd);
|
| A D | fbnic_rpc.h | 156 struct fbnic_dev; 159 void fbnic_bmc_rpc_init(struct fbnic_dev *fbd); 165 void fbnic_rss_disable_hw(struct fbnic_dev *fbd); 166 void fbnic_rss_reinit_hw(struct fbnic_dev *fbd, struct fbnic_net *fbn); 167 void fbnic_rss_reinit(struct fbnic_dev *fbd, struct fbnic_net *fbn); 170 struct fbnic_mac_addr *__fbnic_uc_sync(struct fbnic_dev *fbd, 172 struct fbnic_mac_addr *__fbnic_mc_sync(struct fbnic_dev *fbd, 174 void fbnic_sift_macda(struct fbnic_dev *fbd); 175 void fbnic_write_macda(struct fbnic_dev *fbd); 187 void fbnic_clear_rules(struct fbnic_dev *fbd); [all …]
|
| A D | fbnic_fw.h | 10 struct fbnic_dev; 47 void fbnic_mbx_init(struct fbnic_dev *fbd); 48 void fbnic_mbx_clean(struct fbnic_dev *fbd); 49 void fbnic_mbx_poll(struct fbnic_dev *fbd); 50 int fbnic_mbx_poll_tx_ready(struct fbnic_dev *fbd); 51 void fbnic_mbx_flush_tx(struct fbnic_dev *fbd); 52 int fbnic_fw_xmit_ownership_msg(struct fbnic_dev *fbd, bool take_ownership); 53 int fbnic_fw_init_heartbeat(struct fbnic_dev *fbd, bool poll); 54 void fbnic_fw_check_heartbeat(struct fbnic_dev *fbd);
|
| A D | fbnic_irq.c | 13 struct fbnic_dev *fbd = (struct fbnic_dev *)data; in fbnic_fw_msix_intr() 34 int fbnic_fw_enable_mbx(struct fbnic_dev *fbd) in fbnic_fw_enable_mbx() 68 void fbnic_fw_disable_mbx(struct fbnic_dev *fbd) in fbnic_fw_disable_mbx() 87 struct fbnic_dev *fbd = data; in fbnic_pcs_msix_intr() 112 int fbnic_pcs_irq_enable(struct fbnic_dev *fbd) in fbnic_pcs_irq_enable() 138 void fbnic_pcs_irq_disable(struct fbnic_dev *fbd) in fbnic_pcs_irq_disable() 149 int fbnic_request_irq(struct fbnic_dev *fbd, int nr, irq_handler_t handler, in fbnic_request_irq() 161 void fbnic_free_irq(struct fbnic_dev *fbd, int nr, void *data) in fbnic_free_irq() 172 void fbnic_free_irqs(struct fbnic_dev *fbd) in fbnic_free_irqs() 184 int fbnic_alloc_irqs(struct fbnic_dev *fbd) in fbnic_alloc_irqs()
|
| A D | fbnic_fw.c | 61 void fbnic_mbx_init(struct fbnic_dev *fbd) in fbnic_mbx_init() 150 void fbnic_mbx_clean(struct fbnic_dev *fbd) in fbnic_mbx_clean() 194 static int fbnic_mbx_map_tlv_msg(struct fbnic_dev *fbd, in fbnic_mbx_map_tlv_msg() 314 static void fbnic_mbx_postinit(struct fbnic_dev *fbd) in fbnic_mbx_postinit() 441 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_cap_resp() 542 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; in fbnic_fw_parse_ownership_resp() 557 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; in fbnic_fw_parse_heartbeat_resp() 626 void fbnic_fw_check_heartbeat(struct fbnic_dev *fbd) in fbnic_fw_check_heartbeat() 727 void fbnic_mbx_poll(struct fbnic_dev *fbd) in fbnic_mbx_poll() 735 int fbnic_mbx_poll_tx_ready(struct fbnic_dev *fbd) in fbnic_mbx_poll_tx_ready() [all …]
|
| A D | fbnic_mac.c | 41 static void fbnic_mac_init_axi(struct fbnic_dev *fbd) in fbnic_mac_init_axi() 90 static void fbnic_mac_init_qm(struct fbnic_dev *fbd) in fbnic_mac_init_qm() 176 static void fbnic_mac_init_rxb(struct fbnic_dev *fbd) in fbnic_mac_init_rxb() 306 static void fbnic_mac_init_txb(struct fbnic_dev *fbd) in fbnic_mac_init_txb() 398 static void fbnic_mac_init_regs(struct fbnic_dev *fbd) in fbnic_mac_init_regs() 522 static bool fbnic_pcs_get_link_asic(struct fbnic_dev *fbd) in fbnic_pcs_get_link_asic() 599 static int fbnic_pcs_enable_asic(struct fbnic_dev *fbd) in fbnic_pcs_enable_asic() 611 static void fbnic_pcs_disable_asic(struct fbnic_dev *fbd) in fbnic_pcs_disable_asic() 618 static void fbnic_mac_link_down_asic(struct fbnic_dev *fbd) in fbnic_mac_link_down_asic() 634 static void fbnic_mac_link_up_asic(struct fbnic_dev *fbd, in fbnic_mac_link_up_asic() [all …]
|
| A D | fbnic_pci.c | 35 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_rd32() 68 bool fbnic_fw_present(struct fbnic_dev *fbd) in fbnic_fw_present() 81 u32 fbnic_fw_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_fw_rd32() 116 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_start() 124 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_stop() 197 struct fbnic_dev, service_task); in fbnic_service_task() 229 struct fbnic_dev *fbd; in fbnic_probe() 338 struct fbnic_dev *fbd = pci_get_drvdata(pdev); in fbnic_remove() 358 struct fbnic_dev *fbd = dev_get_drvdata(dev); in fbnic_pm_suspend() 388 struct fbnic_dev *fbd = dev_get_drvdata(dev); in __fbnic_pm_resume() [all …]
|
| A D | fbnic_devlink.c | 67 struct fbnic_dev *fbd = devlink_priv(devlink); in fbnic_devlink_info_get() 116 void fbnic_devlink_free(struct fbnic_dev *fbd) in fbnic_devlink_free() 123 struct fbnic_dev *fbnic_devlink_alloc(struct pci_dev *pdev) in fbnic_devlink_alloc() 127 struct fbnic_dev *fbd; in fbnic_devlink_alloc() 129 devlink = devlink_alloc(&fbnic_devlink_ops, sizeof(struct fbnic_dev), in fbnic_devlink_alloc() 151 void fbnic_devlink_register(struct fbnic_dev *fbd) in fbnic_devlink_register() 158 void fbnic_devlink_unregister(struct fbnic_dev *fbd) in fbnic_devlink_unregister()
|
| A D | fbnic_rpc.c | 51 void fbnic_rss_disable_hw(struct fbnic_dev *fbd) in fbnic_rss_disable_hw() 76 void fbnic_rss_reinit_hw(struct fbnic_dev *fbd, struct fbnic_net *fbn) in fbnic_rss_reinit_hw() 101 void fbnic_bmc_rpc_all_multi_config(struct fbnic_dev *fbd, in fbnic_bmc_rpc_all_multi_config() 175 void fbnic_bmc_rpc_init(struct fbnic_dev *fbd) in fbnic_bmc_rpc_init() 326 struct fbnic_mac_addr *__fbnic_uc_sync(struct fbnic_dev *fbd, in __fbnic_uc_sync() 357 struct fbnic_mac_addr *__fbnic_mc_sync(struct fbnic_dev *fbd, in __fbnic_mc_sync() 422 void fbnic_sift_macda(struct fbnic_dev *fbd) in fbnic_sift_macda() 473 static void fbnic_clear_macda(struct fbnic_dev *fbd) in fbnic_clear_macda() 524 void fbnic_write_macda(struct fbnic_dev *fbd) in fbnic_write_macda() 559 void fbnic_clear_rules(struct fbnic_dev *fbd) in fbnic_clear_rules() [all …]
|
| A D | fbnic_phylink.c | 22 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_get_state() 52 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_enable() 61 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_disable() 104 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_down() 119 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_up()
|
| A D | fbnic_netdev.h | 19 struct fbnic_dev *fbd; 55 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd); 56 void fbnic_netdev_free(struct fbnic_dev *fbd);
|
| A D | fbnic_netdev.c | 15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open() 114 struct fbnic_dev *fbd = fbn->fbd; in fbnic_uc_unsync() 155 struct fbnic_dev *fbd = fbn->fbd; in fbnic_mc_unsync() 179 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_set_rx_mode() 295 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_rx_mode() 467 struct fbnic_dev *fbd = fbn->fbd; in fbnic_reset_queues() 488 void fbnic_netdev_free(struct fbnic_dev *fbd) in fbnic_netdev_free() 508 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd) in fbnic_netdev_alloc() 602 struct fbnic_dev *fbd = fbn->fbd; in fbnic_netdev_register()
|
| A D | fbnic_hw_stats.h | 38 u64 fbnic_stat_rd64(struct fbnic_dev *fbd, u32 reg, u32 offset); 40 void fbnic_get_hw_stats(struct fbnic_dev *fbd);
|
| A D | fbnic_ethtool.c | 13 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_drvinfo() 31 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_eth_mac_stats()
|
| A D | fbnic_txrx.h | 103 struct fbnic_dev *fbd; 135 int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail);
|
| A D | fbnic_txrx.c | 844 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_disable() 852 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_rearm() 941 struct fbnic_dev *fbd = nv->fbd; in fbnic_free_napi_vector() 1161 struct fbnic_dev *fbd = fbn->fbd; in fbnic_alloc_napi_vectors() 1524 struct fbnic_dev *fbd = fbn->fbd; in fbnic_disable() 1549 static void fbnic_tx_flush(struct fbnic_dev *fbd) in fbnic_tx_flush() 1567 static bool fbnic_all_idle(struct fbnic_dev *fbd, in fbnic_all_idle() 1867 struct fbnic_dev *fbd = fbn->fbd; in fbnic_enable() 1895 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_enable() 1906 struct fbnic_dev *fbd = fbn->fbd; in fbnic_napi_enable() [all …]
|
| A D | fbnic_hw_stats.c | 3 u64 fbnic_stat_rd64(struct fbnic_dev *fbd, u32 reg, u32 offset) in fbnic_stat_rd64()
|