Home
last modified time | relevance | path

Searched refs:fbnic_dev (Results 1 – 24 of 24) sorted by relevance

/drivers/net/ethernet/meta/fbnic/
A Dfbnic.h25 struct fbnic_dev { struct
117 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg);
139 bool fbnic_fw_present(struct fbnic_dev *fbd);
159 void fbnic_devlink_free(struct fbnic_dev *fbd);
165 void fbnic_fw_free_mbx(struct fbnic_dev *fbd);
171 void fbnic_pcs_free_irq(struct fbnic_dev *fbd);
176 void fbnic_napi_free_irq(struct fbnic_dev *fbd,
182 void fbnic_free_irqs(struct fbnic_dev *fbd);
183 int fbnic_alloc_irqs(struct fbnic_dev *fbd);
188 void fbnic_dbg_fbd_init(struct fbnic_dev *fbd);
[all …]
A Dfbnic_mac.h9 struct fbnic_dev;
75 void (*init_regs)(struct fbnic_dev *fbd);
77 int (*pcs_enable)(struct fbnic_dev *fbd);
78 void (*pcs_disable)(struct fbnic_dev *fbd);
79 bool (*pcs_get_link)(struct fbnic_dev *fbd);
80 int (*pcs_get_link_event)(struct fbnic_dev *fbd);
82 void (*get_eth_mac_stats)(struct fbnic_dev *fbd, bool reset,
86 void (*get_rmon_stats)(struct fbnic_dev *fbd, bool reset,
89 void (*link_down)(struct fbnic_dev *fbd);
92 int (*get_sensor)(struct fbnic_dev *fbd, int id, long *val);
[all …]
A Dfbnic_rpc.h182 struct fbnic_dev;
185 void fbnic_bmc_rpc_init(struct fbnic_dev *fbd);
191 void fbnic_rss_disable_hw(struct fbnic_dev *fbd);
197 struct fbnic_mac_addr *__fbnic_uc_sync(struct fbnic_dev *fbd,
199 struct fbnic_mac_addr *__fbnic_mc_sync(struct fbnic_dev *fbd,
201 void fbnic_sift_macda(struct fbnic_dev *fbd);
202 void fbnic_write_macda(struct fbnic_dev *fbd);
213 void fbnic_write_ip_addr(struct fbnic_dev *fbd);
225 void fbnic_clear_rules(struct fbnic_dev *fbd);
226 void fbnic_write_rules(struct fbnic_dev *fbd);
[all …]
A Dfbnic_fw.h10 struct fbnic_dev;
78 void fbnic_mbx_init(struct fbnic_dev *fbd);
79 void fbnic_mbx_clean(struct fbnic_dev *fbd);
80 int fbnic_mbx_set_cmpl(struct fbnic_dev *fbd,
82 void fbnic_mbx_clear_cmpl(struct fbnic_dev *fbd,
84 void fbnic_mbx_poll(struct fbnic_dev *fbd);
85 int fbnic_mbx_poll_tx_ready(struct fbnic_dev *fbd);
86 void fbnic_mbx_flush_tx(struct fbnic_dev *fbd);
89 void fbnic_fw_check_heartbeat(struct fbnic_dev *fbd);
93 int fbnic_fw_xmit_fw_write_chunk(struct fbnic_dev *fbd,
[all …]
A Dfbnic_hw_stats.c6 static void fbnic_hw_stat_rst32(struct fbnic_dev *fbd, u32 reg, in fbnic_hw_stat_rst32()
17 static void fbnic_hw_stat_rd32(struct fbnic_dev *fbd, u32 reg, in fbnic_hw_stat_rd32()
73 static void fbnic_reset_tmi_stats(struct fbnic_dev *fbd, in fbnic_reset_tmi_stats()
86 static void fbnic_get_tmi_stats32(struct fbnic_dev *fbd, in fbnic_get_tmi_stats32()
98 static void fbnic_get_tmi_stats(struct fbnic_dev *fbd, in fbnic_get_tmi_stats()
104 static void fbnic_reset_tti_stats(struct fbnic_dev *fbd, in fbnic_reset_tti_stats()
148 static void fbnic_get_tti_stats(struct fbnic_dev *fbd, in fbnic_get_tti_stats()
421 void fbnic_get_hw_q_stats(struct fbnic_dev *fbd, in fbnic_get_hw_q_stats()
513 void fbnic_reset_hw_stats(struct fbnic_dev *fbd) in fbnic_reset_hw_stats()
534 void fbnic_get_hw_stats32(struct fbnic_dev *fbd) in fbnic_get_hw_stats32()
[all …]
A Dfbnic_irq.c13 struct fbnic_dev *fbd = (struct fbnic_dev *)data; in fbnic_fw_msix_intr()
50 int fbnic_fw_request_mbx(struct fbnic_dev *fbd) in fbnic_fw_request_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()
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()
239 void fbnic_napi_name_irqs(struct fbnic_dev *fbd) in fbnic_napi_name_irqs()
249 int fbnic_napi_request_irq(struct fbnic_dev *fbd, in fbnic_napi_request_irq()
269 void fbnic_napi_free_irq(struct fbnic_dev *fbd, in fbnic_napi_free_irq()
281 void fbnic_free_irqs(struct fbnic_dev *fbd) in fbnic_free_irqs()
[all …]
A Dfbnic_fw.c91 void fbnic_mbx_init(struct fbnic_dev *fbd) in fbnic_mbx_init()
180 void fbnic_mbx_clean(struct fbnic_dev *fbd) in fbnic_mbx_clean()
567 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_cap_resp()
666 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; in fbnic_fw_parse_ownership_resp()
681 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; in fbnic_fw_parse_heartbeat_resp()
824 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_fw_start_upgrade_resp()
901 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_fw_write_chunk_req()
933 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_fw_finish_upgrade_req()
1005 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_tsene_read_resp()
1121 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_log_req()
[all …]
A Dfbnic_time.c33 return container_of(ptp, struct fbnic_dev, ptp_info); in fbnic_from_ptp_info()
40 static u64 __fbnic_time_get_slow(struct fbnic_dev *fbd) in __fbnic_time_get_slow()
63 static void fbnic_ptp_fresh_check(struct fbnic_dev *fbd) in fbnic_ptp_fresh_check()
96 struct fbnic_dev *fbd = fbnic_from_ptp_info(ptp); in fbnic_ptp_do_aux_work()
109 struct fbnic_dev *fbd = fbnic_from_ptp_info(ptp); in fbnic_ptp_adjfine()
130 struct fbnic_dev *fbd = fbnic_from_ptp_info(ptp); in fbnic_ptp_adjtime()
149 struct fbnic_dev *fbd = fbnic_from_ptp_info(ptp); in fbnic_ptp_gettimex64()
183 struct fbnic_dev *fbd = fbnic_from_ptp_info(ptp); in fbnic_ptp_settime64()
223 static void fbnic_ptp_reset(struct fbnic_dev *fbd) in fbnic_ptp_reset()
278 int fbnic_ptp_setup(struct fbnic_dev *fbd) in fbnic_ptp_setup()
[all …]
A Dfbnic_rpc.c53 void fbnic_rss_disable_hw(struct fbnic_dev *fbd) in fbnic_rss_disable_hw()
103 void fbnic_bmc_rpc_all_multi_config(struct fbnic_dev *fbd, in fbnic_bmc_rpc_all_multi_config()
177 void fbnic_bmc_rpc_init(struct fbnic_dev *fbd) in fbnic_bmc_rpc_init()
455 void fbnic_sift_macda(struct fbnic_dev *fbd) in fbnic_sift_macda()
506 static void fbnic_clear_macda(struct fbnic_dev *fbd) in fbnic_clear_macda()
557 void fbnic_write_macda(struct fbnic_dev *fbd) in fbnic_write_macda()
666 static void __fbnic_write_tce_tcam(struct fbnic_dev *fbd) in __fbnic_write_tce_tcam()
694 void fbnic_write_tce_tcam(struct fbnic_dev *fbd) in fbnic_write_tce_tcam()
974 void fbnic_write_ip_addr(struct fbnic_dev *fbd) in fbnic_write_ip_addr()
1055 void fbnic_clear_rules(struct fbnic_dev *fbd) in fbnic_clear_rules()
[all …]
A Dfbnic_fw_log.h18 struct fbnic_dev;
39 void fbnic_fw_log_enable(struct fbnic_dev *fbd, bool send_hist);
40 void fbnic_fw_log_disable(struct fbnic_dev *fbd);
41 int fbnic_fw_log_init(struct fbnic_dev *fbd);
42 void fbnic_fw_log_free(struct fbnic_dev *fbd);
43 int fbnic_fw_log_write(struct fbnic_dev *fbd, u64 index, u32 timestamp,
A Dfbnic_mac.c41 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()
170 static void fbnic_mac_init_rxb(struct fbnic_dev *fbd) in fbnic_mac_init_rxb()
300 static void fbnic_mac_init_txb(struct fbnic_dev *fbd) in fbnic_mac_init_txb()
392 static void fbnic_mac_init_regs(struct fbnic_dev *fbd) in fbnic_mac_init_regs()
516 static bool fbnic_pcs_get_link_asic(struct fbnic_dev *fbd) in fbnic_pcs_get_link_asic()
581 static int fbnic_pcs_enable_asic(struct fbnic_dev *fbd) in fbnic_pcs_enable_asic()
590 static void fbnic_pcs_disable_asic(struct fbnic_dev *fbd) in fbnic_pcs_disable_asic()
597 static void fbnic_mac_link_down_asic(struct fbnic_dev *fbd) in fbnic_mac_link_down_asic()
613 static void fbnic_mac_link_up_asic(struct fbnic_dev *fbd, in fbnic_mac_link_up_asic()
[all …]
A Dfbnic_debugfs.c23 struct fbnic_dev *fbd = s->private; in fbnic_dbg_mac_addr_show()
49 struct fbnic_dev *fbd = s->private; in fbnic_dbg_tce_tcam_show()
83 struct fbnic_dev *fbd = s->private; in fbnic_dbg_act_tcam_show()
143 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ip_src_show()
151 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ip_dst_show()
159 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ipo_src_show()
167 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ipo_dst_show()
175 struct fbnic_dev *fbd = s->private; in fbnic_dbg_fw_log_show()
202 struct fbnic_dev *fbd = s->private; in fbnic_dbg_pcie_stats_show()
230 void fbnic_dbg_fbd_init(struct fbnic_dev *fbd) in fbnic_dbg_fbd_init()
[all …]
A Dfbnic_pci.c37 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()
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()
126 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_stop()
199 struct fbnic_dev, service_task); in fbnic_service_task()
233 struct fbnic_dev *fbd; in fbnic_probe()
365 struct fbnic_dev *fbd = pci_get_drvdata(pdev); in fbnic_remove()
388 struct fbnic_dev *fbd = dev_get_drvdata(dev); in fbnic_pm_suspend()
424 struct fbnic_dev *fbd = dev_get_drvdata(dev); in __fbnic_pm_resume()
[all …]
A Dfbnic_devlink.c69 struct fbnic_dev *fbd = devlink_priv(devlink); in fbnic_devlink_info_get()
120 struct fbnic_dev *fbd; in fbnic_pldm_match_record()
164 fbnic_flash_start(struct fbnic_dev *fbd, struct pldmfw_component *component) in fbnic_flash_start()
201 struct fbnic_dev *fbd; in fbnic_flash_component()
320 struct fbnic_dev *fbd = devlink_priv(devlink); in fbnic_devlink_flash_update()
372 void fbnic_devlink_free(struct fbnic_dev *fbd) in fbnic_devlink_free()
379 struct fbnic_dev *fbnic_devlink_alloc(struct pci_dev *pdev) in fbnic_devlink_alloc()
383 struct fbnic_dev *fbd; in fbnic_devlink_alloc()
385 devlink = devlink_alloc(&fbnic_devlink_ops, sizeof(struct fbnic_dev), in fbnic_devlink_alloc()
407 void fbnic_devlink_register(struct fbnic_dev *fbd) in fbnic_devlink_register()
[all …]
A Dfbnic_netdev.h27 struct fbnic_dev *fbd;
78 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd);
79 void fbnic_netdev_free(struct fbnic_dev *fbd);
87 int fbnic_ptp_setup(struct fbnic_dev *fbd);
88 void fbnic_ptp_destroy(struct fbnic_dev *fbd);
A Dfbnic_hw_stats.h127 u64 fbnic_stat_rd64(struct fbnic_dev *fbd, u32 reg, u32 offset);
129 void fbnic_reset_hw_stats(struct fbnic_dev *fbd);
130 void fbnic_get_hw_q_stats(struct fbnic_dev *fbd,
132 void fbnic_get_hw_stats32(struct fbnic_dev *fbd);
133 void fbnic_get_hw_stats(struct fbnic_dev *fbd);
A Dfbnic_fw_log.c11 void fbnic_fw_log_enable(struct fbnic_dev *fbd, bool send_hist) in fbnic_fw_log_enable()
26 void fbnic_fw_log_disable(struct fbnic_dev *fbd) in fbnic_fw_log_disable()
36 int fbnic_fw_log_init(struct fbnic_dev *fbd) in fbnic_fw_log_init()
59 void fbnic_fw_log_free(struct fbnic_dev *fbd) in fbnic_fw_log_free()
74 int fbnic_fw_log_write(struct fbnic_dev *fbd, u64 index, u32 timestamp, in fbnic_fw_log_write()
A Dfbnic_phylink.c115 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_get_state()
142 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_enable()
151 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_disable()
194 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_down()
209 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_up()
224 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_init()
A Dfbnic_hwmon.c34 struct fbnic_dev *fbd = dev_get_drvdata(dev); in fbnic_hwmon_read()
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()
A Dfbnic_netdev.c15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open()
121 struct fbnic_dev *fbd = fbn->fbd; in fbnic_uc_unsync()
162 struct fbnic_dev *fbd = fbn->fbd; in fbnic_mc_unsync()
186 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_set_rx_mode()
303 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_rx_mode()
412 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_stats64()
529 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_queue_stats_rx()
625 struct fbnic_dev *fbd = fbn->fbd; in fbnic_reset_queues()
646 void fbnic_netdev_free(struct fbnic_dev *fbd) in fbnic_netdev_free()
666 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd) in fbnic_netdev_alloc()
[all …]
A Dfbnic_csr.c60 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()
A Dfbnic_ethtool.c118 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_drvinfo()
186 struct fbnic_dev *fbd = orig->fbd; in fbnic_clone_swap()
447 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_ethtool_stats()
538 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_cls_rule_all()
568 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_cls_rule()
814 struct fbnic_dev *fbd = fbn->fbd; in fbnic_set_cls_rule_ins()
1115 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_nfc_macda()
1129 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_nfc_ip_addr()
1150 struct fbnic_dev *fbd = fbn->fbd; in fbnic_set_cls_rule_del()
1407 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_channels()
[all …]
A Dfbnic_txrx.h133 struct fbnic_dev *fbd;
167 int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail);
A Dfbnic_txrx.c1165 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_disable()
1173 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_rearm()
1275 struct fbnic_dev *fbd = nv->fbd; in fbnic_free_napi_vector()
1481 struct fbnic_dev *fbd = fbn->fbd; in fbnic_alloc_napi_vectors()
1908 struct fbnic_dev *fbd = fbn->fbd; in fbnic_disable()
1934 static void fbnic_tx_flush(struct fbnic_dev *fbd) in fbnic_tx_flush()
1952 static bool fbnic_all_idle(struct fbnic_dev *fbd, in fbnic_all_idle()
2205 struct fbnic_dev *fbd = nv->fbd; in fbnic_config_txrx_usecs()
2271 struct fbnic_dev *fbd = fbn->fbd; in fbnic_enable()
2307 struct fbnic_dev *fbd = fbn->fbd; in fbnic_napi_enable()
[all …]

Completed in 49 milliseconds