Home
last modified time | relevance | path

Searched defs:fbd (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_mac.c11 static void fbnic_init_readrq(struct fbnic_dev *fbd, unsigned int offset, in fbnic_init_readrq() argument
27 static void fbnic_init_mps(struct fbnic_dev *fbd, unsigned int offset, in fbnic_init_mps() argument
41 static void fbnic_mac_init_axi(struct fbnic_dev *fbd) in fbnic_mac_init_axi() argument
84 fbnic_mac_init_qm(struct fbnic_dev * fbd) fbnic_mac_init_qm() argument
178 fbnic_mac_init_rxb(struct fbnic_dev * fbd) fbnic_mac_init_rxb() argument
308 fbnic_mac_init_txb(struct fbnic_dev * fbd) fbnic_mac_init_txb() argument
400 fbnic_mac_init_regs(struct fbnic_dev * fbd) fbnic_mac_init_regs() argument
408 __fbnic_mac_stat_rd64(struct fbnic_dev * fbd,bool reset,u32 reg,struct fbnic_stat_counter * stat) __fbnic_mac_stat_rd64() argument
420 fbnic_mac_stat_rd64(fbd,reset,__stat,__CSR) global() argument
423 fbnic_mac_tx_pause_config(struct fbnic_dev * fbd,bool tx_pause) fbnic_mac_tx_pause_config() argument
437 fbnic_pcs_get_link_event_asic(struct fbnic_dev * fbd) fbnic_pcs_get_link_event_asic() argument
448 __fbnic_mac_cmd_config_asic(struct fbnic_dev * fbd,bool tx_pause,bool rx_pause) __fbnic_mac_cmd_config_asic() argument
469 fbnic_mac_get_pcs_link_status(struct fbnic_dev * fbd) fbnic_mac_get_pcs_link_status() argument
524 fbnic_pcs_get_link_asic(struct fbnic_dev * fbd) fbnic_pcs_get_link_asic() argument
551 fbnic_mac_get_fw_settings(struct fbnic_dev * fbd,u8 * aui,u8 * fec) fbnic_mac_get_fw_settings() argument
589 fbnic_pcs_enable_asic(struct fbnic_dev * fbd) fbnic_pcs_enable_asic() argument
598 fbnic_pcs_disable_asic(struct fbnic_dev * fbd) fbnic_pcs_disable_asic() argument
605 fbnic_mac_link_down_asic(struct fbnic_dev * fbd) fbnic_mac_link_down_asic() argument
621 fbnic_mac_link_up_asic(struct fbnic_dev * fbd,bool tx_pause,bool rx_pause) fbnic_mac_link_up_asic() argument
643 fbnic_pcs_rsfec_stat_rd32(struct fbnic_dev * fbd,u32 reg,bool reset,struct fbnic_stat_counter * stat) fbnic_pcs_rsfec_stat_rd32() argument
666 fbnic_mac_get_fec_stats(struct fbnic_dev * fbd,bool reset,struct fbnic_fec_stats * s) fbnic_mac_get_fec_stats() argument
676 fbnic_mac_get_pcs_stats(struct fbnic_dev * fbd,bool reset,struct fbnic_pcs_stats * s) fbnic_mac_get_pcs_stats() argument
687 fbnic_mac_get_eth_mac_stats(struct fbnic_dev * fbd,bool reset,struct fbnic_eth_mac_stats * mac_stats) fbnic_mac_get_eth_mac_stats() argument
721 fbnic_mac_get_pause_stats(struct fbnic_dev * fbd,bool reset,struct fbnic_pause_stats * pause_stats) fbnic_mac_get_pause_stats() argument
731 fbnic_mac_get_eth_ctrl_stats(struct fbnic_dev * fbd,bool reset,struct fbnic_eth_ctrl_stats * ctrl_stats) fbnic_mac_get_eth_ctrl_stats() argument
741 fbnic_mac_get_rmon_stats(struct fbnic_dev * fbd,bool reset,struct fbnic_rmon_stats * rmon_stats) fbnic_mac_get_rmon_stats() argument
800 fbnic_mac_get_sensor_asic(struct fbnic_dev * fbd,int id,long * val) fbnic_mac_get_sensor_asic() argument
894 fbnic_mac_init(struct fbnic_dev * fbd) fbnic_mac_init() argument
[all...]
H A Dfbnic_fw.c15 static void __fbnic_mbx_wr_desc(struct fbnic_dev *fbd, int mbx_idx, in __fbnic_mbx_wr_desc() argument
29 static void __fbnic_mbx_invalidate_desc(struct fbnic_dev *fbd, int mbx_idx, in __fbnic_mbx_invalidate_desc() argument
43 static u64 __fbnic_mbx_rd_desc(struct fbnic_dev *fbd, int mbx_idx, int desc_idx) in __fbnic_mbx_rd_desc() argument
54 fbnic_mbx_reset_desc_ring(struct fbnic_dev * fbd,int mbx_idx) fbnic_mbx_reset_desc_ring() argument
91 fbnic_mbx_init(struct fbnic_dev * fbd) fbnic_mbx_init() argument
115 fbnic_mbx_map_msg(struct fbnic_dev * fbd,int mbx_idx,struct fbnic_tlv_msg * msg,u16 length,u8 eom) fbnic_mbx_map_msg() argument
152 fbnic_mbx_unmap_and_free_msg(struct fbnic_dev * fbd,int mbx_idx,int desc_idx) fbnic_mbx_unmap_and_free_msg() argument
170 fbnic_mbx_clean_desc_ring(struct fbnic_dev * fbd,int mbx_idx) fbnic_mbx_clean_desc_ring() argument
180 fbnic_mbx_clean(struct fbnic_dev * fbd) fbnic_mbx_clean() argument
191 fbnic_mbx_alloc_rx_msgs(struct fbnic_dev * fbd) fbnic_mbx_alloc_rx_msgs() argument
224 fbnic_mbx_map_tlv_msg(struct fbnic_dev * fbd,struct fbnic_tlv_msg * msg) fbnic_mbx_map_tlv_msg() argument
240 fbnic_mbx_set_cmpl_slot(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data) fbnic_mbx_set_cmpl_slot() argument
265 fbnic_mbx_clear_cmpl_slot(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data) fbnic_mbx_clear_cmpl_slot() argument
278 fbnic_mbx_process_tx_msgs(struct fbnic_dev * fbd) fbnic_mbx_process_tx_msgs() argument
299 fbnic_mbx_set_cmpl(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data) fbnic_mbx_set_cmpl() argument
312 fbnic_mbx_map_req_w_cmpl(struct fbnic_dev * fbd,struct fbnic_tlv_msg * msg,struct fbnic_fw_completion * cmpl_data) fbnic_mbx_map_req_w_cmpl() argument
341 fbnic_mbx_clear_cmpl(struct fbnic_dev * fbd,struct fbnic_fw_completion * fw_cmpl) fbnic_mbx_clear_cmpl() argument
361 fbnic_fw_get_cmpl_by_type(struct fbnic_dev * fbd,u32 msg_type) fbnic_fw_get_cmpl_by_type() argument
400 fbnic_fw_xmit_simple_msg(struct fbnic_dev * fbd,u32 msg_type) fbnic_fw_xmit_simple_msg() argument
419 fbnic_mbx_init_desc_ring(struct fbnic_dev * fbd,int mbx_idx) fbnic_mbx_init_desc_ring() argument
442 fbnic_mbx_event(struct fbnic_dev * fbd) fbnic_mbx_event() argument
468 fbnic_fw_xmit_ownership_msg(struct fbnic_dev * fbd,bool take_ownership) fbnic_fw_xmit_ownership_msg() argument
572 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_cap_resp() local
675 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; fbnic_fw_parse_ownership_resp() local
694 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; fbnic_fw_parse_heartbeat_resp() local
704 fbnic_fw_xmit_heartbeat_message(struct fbnic_dev * fbd) fbnic_fw_xmit_heartbeat_message() argument
731 fbnic_fw_heartbeat_current(struct fbnic_dev * fbd) fbnic_fw_heartbeat_current() argument
739 fbnic_fw_init_heartbeat(struct fbnic_dev * fbd,bool poll) fbnic_fw_init_heartbeat() argument
767 fbnic_fw_check_heartbeat(struct fbnic_dev * fbd) fbnic_fw_check_heartbeat() argument
807 fbnic_fw_xmit_coredump_info_msg(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data,bool force) fbnic_fw_xmit_coredump_info_msg() argument
846 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_coredump_info_resp() local
888 fbnic_fw_xmit_coredump_read_msg(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data,u32 offset,u32 length) fbnic_fw_xmit_coredump_read_msg() argument
937 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_coredump_resp() local
1005 fbnic_fw_xmit_fw_start_upgrade(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data,unsigned int id,unsigned int len) fbnic_fw_xmit_fw_start_upgrade() argument
1051 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_fw_start_upgrade_resp() local
1071 fbnic_fw_xmit_fw_write_chunk(struct fbnic_dev * fbd,const u8 * data,u32 offset,u16 length,int cancel_error) fbnic_fw_xmit_fw_write_chunk() argument
1128 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_fw_write_chunk_req() local
1160 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_fw_finish_upgrade_req() local
1202 fbnic_fw_xmit_qsfp_read_msg(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data,u32 page,u32 bank,u32 offset,u32 length) fbnic_fw_xmit_qsfp_read_msg() argument
1257 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_qsfp_read_resp() local
1329 fbnic_fw_xmit_tsene_read_msg(struct fbnic_dev * fbd,struct fbnic_fw_completion * cmpl_data) fbnic_fw_xmit_tsene_read_msg() argument
1364 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_tsene_read_resp() local
1439 fbnic_fw_parse_logs(struct fbnic_dev * fbd,struct fbnic_tlv_msg ** msec_tlv,struct fbnic_tlv_msg ** index_tlv,struct fbnic_tlv_msg ** log_tlv,int count) fbnic_fw_parse_logs() argument
1480 struct fbnic_dev *fbd = opaque; fbnic_fw_parse_log_req() local
1514 fbnic_fw_xmit_send_logs(struct fbnic_dev * fbd,bool enable,bool send_log_history) fbnic_fw_xmit_send_logs() argument
1592 fbnic_mbx_process_rx_msgs(struct fbnic_dev * fbd) fbnic_mbx_process_rx_msgs() argument
1655 fbnic_mbx_poll(struct fbnic_dev * fbd) fbnic_mbx_poll() argument
1663 fbnic_mbx_poll_tx_ready(struct fbnic_dev * fbd) fbnic_mbx_poll_tx_ready() argument
1729 fbnic_mbx_evict_all_cmpl(struct fbnic_dev * fbd) fbnic_mbx_evict_all_cmpl() argument
1743 fbnic_mbx_flush_tx(struct fbnic_dev * fbd) fbnic_mbx_flush_tx() argument
1780 fbnic_fw_xmit_rpc_macda_sync(struct fbnic_dev * fbd) fbnic_fw_xmit_rpc_macda_sync() argument
1883 fbnic_get_fw_ver_commit_str(struct fbnic_dev * fbd,char * fw_version,const size_t str_sz) fbnic_get_fw_ver_commit_str() argument
[all...]
H A Dfbnic_irq.c13 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() argument
50 int fbnic_fw_request_mbx(struct fbnic_dev *fbd) in fbnic_fw_request_mbx() argument
85 fbnic_fw_disable_mbx(struct fbnic_dev * fbd) fbnic_fw_disable_mbx() argument
108 fbnic_fw_free_mbx(struct fbnic_dev * fbd) fbnic_fw_free_mbx() argument
123 struct fbnic_dev *fbd = data; fbnic_pcs_msix_intr() local
148 fbnic_pcs_request_irq(struct fbnic_dev * fbd) fbnic_pcs_request_irq() argument
183 fbnic_pcs_free_irq(struct fbnic_dev * fbd) fbnic_pcs_free_irq() argument
205 fbnic_synchronize_irq(struct fbnic_dev * fbd,int nr) fbnic_synchronize_irq() argument
216 fbnic_request_irq(struct fbnic_dev * fbd,int nr,irq_handler_t handler,unsigned long flags,const char * name,void * data) fbnic_request_irq() argument
228 fbnic_free_irq(struct fbnic_dev * fbd,int nr,void * data) fbnic_free_irq() argument
239 fbnic_napi_name_irqs(struct fbnic_dev * fbd) fbnic_napi_name_irqs() argument
249 fbnic_napi_request_irq(struct fbnic_dev * fbd,struct fbnic_napi_vector * nv) fbnic_napi_request_irq() argument
269 fbnic_napi_free_irq(struct fbnic_dev * fbd,struct fbnic_napi_vector * nv) fbnic_napi_free_irq() argument
281 fbnic_free_irqs(struct fbnic_dev * fbd) fbnic_free_irqs() argument
290 fbnic_alloc_irqs(struct fbnic_dev * fbd) fbnic_alloc_irqs() argument
[all...]
H A Dfbnic_pci.c37 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_rd32() argument
70 bool fbnic_fw_present(struct fbnic_dev *fbd) in fbnic_fw_present() argument
75 void fbnic_fw_wr32(struct fbnic_dev *fbd, u3 argument
83 fbnic_fw_rd32(struct fbnic_dev * fbd,u32 reg) fbnic_fw_rd32() argument
118 struct fbnic_dev *fbd = fbn->fbd; fbnic_service_task_start() local
125 struct fbnic_dev *fbd = fbn->fbd; fbnic_service_task_stop() local
170 fbnic_fw_config_after_crash(struct fbnic_dev * fbd) fbnic_fw_config_after_crash() argument
184 fbnic_health_check(struct fbnic_dev * fbd) fbnic_health_check() argument
208 struct fbnic_dev *fbd = container_of(to_delayed_work(work), fbnic_service_task() local
248 struct fbnic_dev *fbd; fbnic_probe() local
386 struct fbnic_dev *fbd = pci_get_drvdata(pdev); fbnic_remove() local
410 struct fbnic_dev *fbd = dev_get_drvdata(dev); fbnic_pm_suspend() local
448 struct fbnic_dev *fbd = dev_get_drvdata(dev); __fbnic_pm_resume() local
519 struct fbnic_dev *fbd = dev_get_drvdata(dev); __fbnic_pm_attach() local
[all...]
H A Dfbnic_debugfs.c23 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 Dfbnic_netdev.c15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open() local
125 struct fbnic_dev *fbd = fbn->fbd; fbnic_uc_unsync() local
166 struct fbnic_dev *fbd = fbn->fbd; fbnic_mc_unsync() local
186 __fbnic_set_rx_mode(struct fbnic_dev * fbd) __fbnic_set_rx_mode() argument
244 struct fbnic_dev *fbd = fbn->fbd; fbnic_set_rx_mode() local
265 fbnic_clear_rx_mode(struct fbnic_dev * fbd) fbnic_clear_rx_mode() argument
377 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_stats64() local
549 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_queue_stats_rx() local
677 struct fbnic_dev *fbd = fbn->fbd; fbnic_reset_queues() local
698 fbnic_netdev_free(struct fbnic_dev * fbd) fbnic_netdev_free() argument
718 fbnic_netdev_alloc(struct fbnic_dev * fbd) fbnic_netdev_alloc() argument
836 struct fbnic_dev *fbd = fbn->fbd; fbnic_netdev_register() local
[all...]
H A Dfbnic_ethtool.c133 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 in fbnic_get_ethtool_stats() local
610 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_cls_rule_all() local
640 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_cls_rule() local
861 fbnic_cls_rule_any_loc(struct fbnic_dev * fbd) fbnic_cls_rule_any_loc() argument
886 struct fbnic_dev *fbd = fbn->fbd; fbnic_set_cls_rule_ins() local
1187 struct fbnic_dev *fbd = fbn->fbd; fbnic_clear_nfc_macda() local
1201 struct fbnic_dev *fbd = fbn->fbd; fbnic_clear_nfc_ip_addr() local
1222 struct fbnic_dev *fbd = fbn->fbd; fbnic_set_cls_rule_del() local
1479 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_channels() local
1512 struct fbnic_dev *fbd = fbn->fbd; fbnic_set_channels() local
1645 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_module_eeprom_by_page() local
1709 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_pause_stats() local
1726 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_fec_stats() local
1745 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_eth_phy_stats() local
1766 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_eth_mac_stats() local
1808 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_eth_ctrl_stats() local
1842 struct fbnic_dev *fbd = fbn->fbd; fbnic_get_rmon_stats() local
[all...]
H A Dfbnic_phylink.c115 struct fbnic_dev *fbd = fbn->fbd; fbnic_phylink_pcs_get_state() local
142 struct fbnic_dev *fbd = fbn->fbd; fbnic_phylink_pcs_enable() local
151 struct fbnic_dev *fbd = fbn->fbd; fbnic_phylink_pcs_disable() local
194 struct fbnic_dev *fbd = fbn->fbd; fbnic_phylink_mac_link_down() local
209 struct fbnic_dev *fbd = fbn->fbd; fbnic_phylink_mac_link_up() local
224 struct fbnic_dev *fbd = fbn->fbd; fbnic_phylink_init() local
[all...]
H A Dfbnic_hwmon.c34 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 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()
H A Dfbnic_txrx.c1354 struct fbnic_dev *fbd = nv->fbd; fbnic_nv_irq_disable() local
1362 struct fbnic_dev *fbd = nv->fbd; fbnic_nv_irq_rearm() local
1518 struct fbnic_dev *fbd = nv->fbd; fbnic_free_napi_vector() local
1613 fbnic_alloc_napi_vector(struct fbnic_dev * fbd,struct fbnic_net * fbn,unsigned int v_count,unsigned int v_idx,unsigned int txq_count,unsigned int txq_idx,unsigned int rxq_count,unsigned int rxq_idx) fbnic_alloc_napi_vector() argument
1764 struct fbnic_dev *fbd = fbn->fbd; fbnic_alloc_napi_vectors() local
2258 struct fbnic_dev *fbd = fbn->fbd; fbnic_disable() local
2267 fbnic_tx_flush(struct fbnic_dev * fbd) fbnic_tx_flush() argument
2275 fbnic_tx_flush_off(struct fbnic_dev * fbd) fbnic_tx_flush_off() argument
2285 fbnic_all_idle(struct fbnic_dev * fbd,const struct fbnic_idle_regs * regs,unsigned int nregs) fbnic_all_idle() argument
2300 fbnic_idle_dump(struct fbnic_dev * fbd,const struct fbnic_idle_regs * regs,unsigned int nregs,const char * dir,int err) fbnic_idle_dump() argument
2314 fbnic_wait_all_queues_idle(struct fbnic_dev * fbd,bool may_fail) fbnic_wait_all_queues_idle() argument
2361 struct fbnic_dev *fbd = fbn->fbd; fbnic_wait_queue_idle() local
2606 struct fbnic_dev *fbd = nv->fbd; fbnic_config_txrx_usecs() local
2715 struct fbnic_dev *fbd = fbn->fbd; fbnic_enable() local
2732 struct fbnic_dev *fbd = fbn->fbd; fbnic_napi_enable() local
2765 struct fbnic_dev *fbd = fbn->fbd; fbnic_napi_depletion_check() local
2829 struct fbnic_dev *fbd = fbn->fbd; __fbnic_nv_restart() local
[all...]
H A Dfbnic_netdev.h29 struct fbnic_dev *fbd; member
H A Dfbnic_txrx.h153 struct fbnic_dev *fbd; member