/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.h | 12 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg); 15 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg); 35 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw); 36 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw); 37 s32 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt); 38 s32 fm10k_start_hw_generic(struct fm10k_hw *hw); 39 s32 fm10k_stop_hw_generic(struct fm10k_hw *hw); 40 u32 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, 43 void fm10k_update_hw_stats_q(struct fm10k_hw *hw, struct fm10k_hw_stats_q *q, 47 s32 fm10k_get_host_state_generic(struct fm10k_hw *hw, bool *host_ready);
|
H A D | fm10k_type.h | 8 struct fm10k_hw; 509 s32 (*reset_hw)(struct fm10k_hw *); 510 s32 (*init_hw)(struct fm10k_hw *); 511 s32 (*start_hw)(struct fm10k_hw *); 512 s32 (*stop_hw)(struct fm10k_hw *); 513 s32 (*get_bus_info)(struct fm10k_hw *); 515 s32 (*request_lport_map)(struct fm10k_hw *); 517 s32 (*read_mac_addr)(struct fm10k_hw *); 618 s32 (*reset_resources)(struct fm10k_hw *, 639 s32 (*get_invariants)(struct fm10k_hw *); [all …]
|
H A D | fm10k_pf.h | 10 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort); 11 u16 fm10k_queues_per_pool(struct fm10k_hw *hw); 12 u16 fm10k_vf_queue_index(struct fm10k_hw *hw, u16 vf_idx); 85 s32 fm10k_msg_lport_map_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 95 s32 fm10k_msg_err_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 101 s32 fm10k_iov_msg_msix_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 102 s32 fm10k_iov_msg_mac_vlan_pf(struct fm10k_hw *, u32 **, 104 s32 fm10k_iov_msg_lport_state_pf(struct fm10k_hw *, u32 **,
|
H A D | fm10k_vf.c | 12 static s32 fm10k_stop_hw_vf(struct fm10k_hw *hw) in fm10k_stop_hw_vf() 64 static s32 fm10k_reset_hw_vf(struct fm10k_hw *hw) in fm10k_reset_hw_vf() 95 static s32 fm10k_init_hw_vf(struct fm10k_hw *hw) in fm10k_init_hw_vf() 227 static s32 fm10k_read_mac_addr_vf(struct fm10k_hw *hw) in fm10k_read_mac_addr_vf() 270 static s32 fm10k_update_uc_addr_vf(struct fm10k_hw *hw, in fm10k_update_uc_addr_vf() 314 static s32 fm10k_update_mc_addr_vf(struct fm10k_hw *hw, in fm10k_update_mc_addr_vf() 398 static s32 fm10k_update_lport_state_vf(struct fm10k_hw *hw, in fm10k_update_lport_state_vf() 427 static s32 fm10k_update_xcast_mode_vf(struct fm10k_hw *hw, in fm10k_update_xcast_mode_vf() 451 static void fm10k_update_hw_stats_vf(struct fm10k_hw *hw, in fm10k_update_hw_stats_vf() 464 static void fm10k_rebind_hw_stats_vf(struct fm10k_hw *hw, in fm10k_rebind_hw_stats_vf() [all …]
|
H A D | fm10k_common.c | 13 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw) in fm10k_get_bus_info_generic() 128 static u16 fm10k_get_pcie_msix_count_generic(struct fm10k_hw *hw) in fm10k_get_pcie_msix_count_generic() 151 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw) in fm10k_get_invariants_generic() 171 s32 fm10k_start_hw_generic(struct fm10k_hw *hw) in fm10k_start_hw_generic() 185 s32 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt) in fm10k_disable_queues_generic() 239 s32 fm10k_stop_hw_generic(struct fm10k_hw *hw) in fm10k_stop_hw_generic() 253 u32 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, in fm10k_read_hw_stats_32b() 275 static u64 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, in fm10k_read_hw_stats_48b() 328 static void fm10k_update_hw_stats_tx_q(struct fm10k_hw *hw, in fm10k_update_hw_stats_tx_q() 379 static void fm10k_update_hw_stats_rx_q(struct fm10k_hw *hw, in fm10k_update_hw_stats_rx_q() [all …]
|
H A D | fm10k_pf.c | 15 static s32 fm10k_reset_hw_pf(struct fm10k_hw *hw) in fm10k_reset_hw_pf() 73 static bool fm10k_is_ari_hierarchy_pf(struct fm10k_hw *hw) in fm10k_is_ari_hierarchy_pf() 85 static s32 fm10k_init_hw_pf(struct fm10k_hw *hw) in fm10k_init_hw_pf() 248 static s32 fm10k_read_mac_addr_pf(struct fm10k_hw *hw) in fm10k_read_mac_addr_pf() 286 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort) in fm10k_glort_valid_pf() 576 u16 fm10k_queues_per_pool(struct fm10k_hw *hw) in fm10k_queues_per_pool() 584 u16 fm10k_vf_queue_index(struct fm10k_hw *hw, u16 vf_idx) in fm10k_vf_queue_index() 594 static u16 fm10k_vectors_per_pool(struct fm10k_hw *hw) in fm10k_vectors_per_pool() 1082 static s32 fm10k_iov_set_lport_pf(struct fm10k_hw *hw, in fm10k_iov_set_lport_pf() 1747 s32 fm10k_msg_err_pf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_err_pf() [all …]
|
H A D | fm10k_mbx.h | 217 s32 (*connect)(struct fm10k_hw *, struct fm10k_mbx_info *); 218 void (*disconnect)(struct fm10k_hw *, struct fm10k_mbx_info *); 222 s32 (*enqueue_tx)(struct fm10k_hw *, struct fm10k_mbx_info *, 224 s32 (*process)(struct fm10k_hw *, struct fm10k_mbx_info *); 289 s32 fm10k_pfvf_mbx_init(struct fm10k_hw *, struct fm10k_mbx_info *, 291 s32 fm10k_sm_mbx_init(struct fm10k_hw *, struct fm10k_mbx_info *,
|
H A D | fm10k_iov.c | 154 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event() 199 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_mbx() 286 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_suspend() 331 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_resume() 386 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_update_pvid() 427 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_alloc_data() 534 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_update_stats() 547 struct fm10k_hw *hw = &interface->hw; in fm10k_reset_vf_info() 595 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_vlan() 632 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_bw() [all …]
|
H A D | fm10k_mbx.c | 330 static void fm10k_mbx_write_copy(struct fm10k_hw *hw, in fm10k_mbx_write_copy() 382 static void fm10k_mbx_pull_head(struct fm10k_hw *hw, in fm10k_mbx_pull_head() 423 static void fm10k_mbx_read_copy(struct fm10k_hw *hw, in fm10k_mbx_read_copy() 471 static s32 fm10k_mbx_push_tail(struct fm10k_hw *hw, in fm10k_mbx_push_tail() 702 static u16 fm10k_mbx_dequeue_rx(struct fm10k_hw *hw, in fm10k_mbx_dequeue_rx() 739 static s32 fm10k_mbx_enqueue_tx(struct fm10k_hw *hw, in fm10k_mbx_enqueue_tx() 1017 static s32 fm10k_mbx_create_reply(struct fm10k_hw *hw, in fm10k_mbx_create_reply() 1336 static s32 fm10k_mbx_process(struct fm10k_hw *hw, in fm10k_mbx_process() 1397 static void fm10k_mbx_disconnect(struct fm10k_hw *hw, in fm10k_mbx_disconnect() 1878 static s32 fm10k_sm_mbx_receive(struct fm10k_hw *hw, in fm10k_sm_mbx_receive() [all …]
|
H A D | fm10k_pci.c | 71 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready() 259 struct fm10k_hw *hw = &interface->hw; in fm10k_handle_reset() 425 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_swpri_map() 447 struct fm10k_hw *hw = &interface->hw; in fm10k_watchdog_update_host_state() 537 struct fm10k_hw *hw = &interface->hw; in fm10k_update_stats() 771 struct fm10k_hw *hw; in fm10k_macvlan_task() 870 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_tx_ring() 932 struct fm10k_hw *hw = &interface->hw; in fm10k_enable_tx_ring() 981 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_rx_ring() 1063 struct fm10k_hw *hw = &interface->hw; in fm10k_update_rx_drop_en() [all …]
|
H A D | fm10k_vf.h | 37 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 43 s32 fm10k_msg_lport_state_vf(struct fm10k_hw *, u32 **,
|
H A D | fm10k_tlv.h | 85 s32 (*func)(struct fm10k_hw *, u32 **, 131 s32 fm10k_tlv_msg_parse(struct fm10k_hw *, u32 *, struct fm10k_mbx_info *, 133 s32 fm10k_tlv_msg_error(struct fm10k_hw *hw, u32 **results, 158 s32 fm10k_tlv_msg_test(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
|
H A D | fm10k_ethtool.c | 201 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count() 299 static void fm10k_get_reg_q(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_q() 339 static void fm10k_get_reg_vsi(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_vsi() 356 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs() 434 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs_len() 473 struct fm10k_hw *hw = &interface->hw; in fm10k_set_pauseparam() 840 struct fm10k_hw *hw = &interface->hw; in fm10k_set_rss_hash_opt() 892 struct fm10k_hw *hw = &interface->hw; in fm10k_mbx_test() 945 struct fm10k_hw *hw = &interface->hw; in fm10k_self_test() 981 struct fm10k_hw *hw = &interface->hw; in fm10k_write_reta() [all …]
|
H A D | fm10k_netdev.c | 341 struct fm10k_hw *hw = &interface->hw; in fm10k_request_glort_range() 377 struct fm10k_hw *hw = &interface->hw; in fm10k_restore_udp_port_info() 626 struct fm10k_hw *hw = &interface->hw; in fm10k_host_mbx_ready() 797 struct fm10k_hw *hw = &interface->hw; in fm10k_update_vid() 911 struct fm10k_hw *hw = &interface->hw; in fm10k_find_next_vlan() 974 struct fm10k_hw *hw = &interface->hw; in fm10k_set_mac() 1039 struct fm10k_hw *hw = &interface->hw; in fm10k_set_rx_mode() 1085 struct fm10k_hw *hw = &interface->hw; in fm10k_restore_rx_state() 1179 struct fm10k_hw *hw = &interface->hw; in fm10k_reset_rx_state() 1351 struct fm10k_hw *hw = &interface->hw; in fm10k_dfwd_add_station() [all …]
|
H A D | fm10k_dcbnl.c | 149 struct fm10k_hw *hw = &interface->hw; in fm10k_dcbnl_set_ops()
|
H A D | fm10k_tlv.c | 544 s32 fm10k_tlv_msg_parse(struct fm10k_hw *hw, u32 *msg, in fm10k_tlv_msg_parse() 590 s32 fm10k_tlv_msg_error(struct fm10k_hw __always_unused *hw, in fm10k_tlv_msg_error() 707 s32 fm10k_tlv_msg_test(struct fm10k_hw *hw, u32 **results, in fm10k_tlv_msg_test()
|
H A D | fm10k_main.c | 1116 struct fm10k_hw *hw = &interface->hw; in fm10k_get_tx_pending() 1279 struct fm10k_hw *hw = &interface->hw; in fm10k_clean_tx_irq() 1805 struct fm10k_hw *hw = &interface->hw; in fm10k_init_msix_capability()
|
H A D | fm10k.h | 346 struct fm10k_hw hw;
|