/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_mac.c | 11 static void fbnic_init_readrq(struct fbnic_dev *fbd, unsigned int offset, in fbnic_init_readrq() 27 static void fbnic_init_mps(struct fbnic_dev *fbd, unsigned int offset, in fbnic_init_mps() 41 static void fbnic_mac_init_axi(struct fbnic_dev *fbd) in fbnic_mac_init_axi() 84 static void fbnic_mac_init_qm(struct fbnic_dev *fbd) in fbnic_mac_init_qm() 178 static void fbnic_mac_init_rxb(struct fbnic_dev *fbd) in fbnic_mac_init_rxb() 308 static void fbnic_mac_init_txb(struct fbnic_dev *fbd) in fbnic_mac_init_txb() 400 static void fbnic_mac_init_regs(struct fbnic_dev *fbd) in fbnic_mac_init_regs() 408 static void __fbnic_mac_stat_rd64(struct fbnic_dev *fbd, bool reset, u32 reg, in __fbnic_mac_stat_rd64() 420 #define fbnic_mac_stat_rd64(fbd, reset, __stat, __CSR) \ argument 423 static void fbnic_mac_tx_pause_config(struct fbnic_dev *fbd, bool tx_pause) in fbnic_mac_tx_pause_config() [all …]
|
H A D | fbnic_irq.c | 13 struct fbnic_dev *fbd = (struct fbnic_dev *)data; in fbnic_fw_msix_intr() local 22 static int __fbnic_fw_enable_mbx(struct fbnic_dev *fbd, int vector) in __fbnic_fw_enable_mbx() 50 int fbnic_fw_request_mbx(struct fbnic_dev *fbd) in fbnic_fw_request_mbx() 85 static void fbnic_fw_disable_mbx(struct fbnic_dev *fbd) in fbnic_fw_disable_mbx() 108 void fbnic_fw_free_mbx(struct fbnic_dev *fbd) in fbnic_fw_free_mbx() 123 struct fbnic_dev *fbd = data; in fbnic_pcs_msix_intr() local 148 int fbnic_pcs_request_irq(struct fbnic_dev *fbd) in fbnic_pcs_request_irq() 183 void fbnic_pcs_free_irq(struct fbnic_dev *fbd) in fbnic_pcs_free_irq() 205 void fbnic_synchronize_irq(struct fbnic_dev *fbd, int nr) in fbnic_synchronize_irq() 216 int fbnic_request_irq(struct fbnic_dev *fbd, int nr, irq_handler_t handler, in fbnic_request_irq() [all …]
|
H A D | fbnic_pci.c | 37 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_rd32() 70 bool fbnic_fw_present(struct fbnic_dev *fbd) in fbnic_fw_present() 75 void fbnic_fw_wr32(struct fbnic_dev *fbd, u32 reg, u32 val) in fbnic_fw_wr32() 83 u32 fbnic_fw_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_fw_rd32() 118 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_start() local 125 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_stop() local 170 static int fbnic_fw_config_after_crash(struct fbnic_dev *fbd) in fbnic_fw_config_after_crash() 184 static void fbnic_health_check(struct fbnic_dev *fbd) in fbnic_health_check() 208 struct fbnic_dev *fbd = container_of(to_delayed_work(work), in fbnic_service_task() local 248 struct fbnic_dev *fbd; in fbnic_probe() local [all …]
|
H A D | fbnic_debugfs.c | 23 struct fbnic_dev *fbd = s->private; in fbnic_dbg_mac_addr_show() local 49 struct fbnic_dev *fbd = s->private; in fbnic_dbg_tce_tcam_show() local 83 struct fbnic_dev *fbd = s->private; in fbnic_dbg_act_tcam_show() local 143 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ip_src_show() local 151 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ip_dst_show() local 159 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ipo_src_show() local 167 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ipo_dst_show() local 175 struct fbnic_dev *fbd = s->private; in fbnic_dbg_fw_log_show() local 202 struct fbnic_dev *fbd = s->private; in fbnic_dbg_pcie_stats_show() local 230 void fbnic_dbg_fbd_init(struct fbnic_dev *fbd) in fbnic_dbg_fbd_init() [all …]
|
H A D | fbnic_netdev.c | 15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open() local 125 struct fbnic_dev *fbd = fbn->fbd; in fbnic_uc_unsync() local 166 struct fbnic_dev *fbd = fbn->fbd; in fbnic_mc_unsync() local 186 void __fbnic_set_rx_mode(struct fbnic_dev *fbd) in __fbnic_set_rx_mode() 244 struct fbnic_dev *fbd = fbn->fbd; in fbnic_set_rx_mode() local 265 void fbnic_clear_rx_mode(struct fbnic_dev *fbd) in fbnic_clear_rx_mode() 377 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_stats64() local 549 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_queue_stats_rx() local 677 struct fbnic_dev *fbd = fbn->fbd; in fbnic_reset_queues() local 698 void fbnic_netdev_free(struct fbnic_dev *fbd) in fbnic_netdev_free() [all …]
|
H A D | fbnic_phylink.c | 115 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_get_state() local 142 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_enable() local 151 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_disable() local 194 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_down() local 209 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_up() local 224 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_init() local
|
H A D | fbnic_ethtool.c | 133 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_drvinfo() local 202 struct fbnic_dev *fbd = orig->fbd; in fbnic_clone_swap() local 516 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_ethtool_stats() local 610 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_cls_rule_all() local 640 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_cls_rule() local 861 static int fbnic_cls_rule_any_loc(struct fbnic_dev *fbd) in fbnic_cls_rule_any_loc() 886 struct fbnic_dev *fbd = fbn->fbd; in fbnic_set_cls_rule_ins() local 1187 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_nfc_macda() local 1201 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_nfc_ip_addr() local 1222 struct fbnic_dev *fbd = fbn->fbd; in fbnic_set_cls_rule_del() local [all …]
|
H A D | fbnic_hwmon.c | 34 struct fbnic_dev *fbd = dev_get_drvdata(dev); in fbnic_hwmon_read() local 58 void fbnic_hwmon_register(struct fbnic_dev *fbd) in fbnic_hwmon_register() 74 void fbnic_hwmon_unregister(struct fbnic_dev *fbd) in fbnic_hwmon_unregister()
|
H A D | fbnic_csr.c | 60 static void fbnic_csr_get_regs_rpc_ram(struct fbnic_dev *fbd, u32 **data_p) in fbnic_csr_get_regs_rpc_ram() 115 void fbnic_csr_get_regs(struct fbnic_dev *fbd, u32 *data, u32 *regs_version) in fbnic_csr_get_regs() 138 int fbnic_csr_regs_len(struct fbnic_dev *fbd) in fbnic_csr_regs_len()
|
H A D | fbnic_txrx.c | 1354 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_disable() local 1362 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_rearm() local 1518 struct fbnic_dev *fbd = nv->fbd; in fbnic_free_napi_vector() local 1613 static int fbnic_alloc_napi_vector(struct fbnic_dev *fbd, struct fbnic_net *fbn, in fbnic_alloc_napi_vector() 1764 struct fbnic_dev *fbd = fbn->fbd; in fbnic_alloc_napi_vectors() local 2258 struct fbnic_dev *fbd = fbn->fbd; in fbnic_disable() local 2267 static void fbnic_tx_flush(struct fbnic_dev *fbd) in fbnic_tx_flush() 2275 static void fbnic_tx_flush_off(struct fbnic_dev *fbd) in fbnic_tx_flush_off() 2285 static bool fbnic_all_idle(struct fbnic_dev *fbd, in fbnic_all_idle() 2300 static void fbnic_idle_dump(struct fbnic_dev *fbd, in fbnic_idle_dump() [all …]
|
H A D | fbnic_netdev.h | 29 struct fbnic_dev *fbd; member
|
H A D | fbnic_txrx.h | 153 struct fbnic_dev *fbd; member
|