Home
last modified time | relevance | path

Searched refs:fm10k_hw (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.h12 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);
Dfm10k_type.h8 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 *);
514 s32 (*get_host_state)(struct fm10k_hw *, bool *);
515 s32 (*request_lport_map)(struct fm10k_hw *);
516 s32 (*update_vlan)(struct fm10k_hw *, u32, u8, bool);
517 s32 (*read_mac_addr)(struct fm10k_hw *);
[all …]
Dfm10k_pf.h10 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 **,
Dfm10k_vf.c11 static s32 fm10k_stop_hw_vf(struct fm10k_hw *hw) in fm10k_stop_hw_vf()
63 static s32 fm10k_reset_hw_vf(struct fm10k_hw *hw) in fm10k_reset_hw_vf()
94 static s32 fm10k_init_hw_vf(struct fm10k_hw *hw) in fm10k_init_hw_vf()
167 static s32 fm10k_update_vlan_vf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_vf()
200 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_mac_vlan_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()
349 static void fm10k_update_int_moderator_vf(struct fm10k_hw *hw) in fm10k_update_int_moderator_vf()
378 s32 fm10k_msg_lport_state_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_lport_state_vf()
[all …]
Dfm10k_pf.c14 static s32 fm10k_reset_hw_pf(struct fm10k_hw *hw) in fm10k_reset_hw_pf()
72 static bool fm10k_is_ari_hierarchy_pf(struct fm10k_hw *hw) in fm10k_is_ari_hierarchy_pf()
84 static s32 fm10k_init_hw_pf(struct fm10k_hw *hw) in fm10k_init_hw_pf()
194 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_pf()
247 static s32 fm10k_read_mac_addr_pf(struct fm10k_hw *hw) in fm10k_read_mac_addr_pf()
285 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort) in fm10k_glort_valid_pf()
304 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf()
351 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf()
372 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf()
392 static s32 fm10k_update_xcast_mode_pf(struct fm10k_hw *hw, u16 glort, u8 mode) in fm10k_update_xcast_mode_pf()
[all …]
Dfm10k_common.c13 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 …]
Dfm10k_mbx.h217 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 *,
Dfm10k_iov.c8 static s32 fm10k_iov_msg_error(struct fm10k_hw *hw, u32 **results, in fm10k_iov_msg_error()
33 static s32 fm10k_iov_msg_queue_mac_vlan(struct fm10k_hw *hw, u32 **results, in fm10k_iov_msg_queue_mac_vlan()
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()
[all …]
Dfm10k_mbx.c330 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()
787 static s32 fm10k_mbx_read(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_read()
814 static void fm10k_mbx_write(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_write()
1017 static s32 fm10k_mbx_create_reply(struct fm10k_hw *hw, in fm10k_mbx_create_reply()
1146 static s32 fm10k_mbx_process_connect(struct fm10k_hw *hw, in fm10k_mbx_process_connect()
[all …]
Dfm10k_pci.c34 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg) in fm10k_read_pci_cfg_word()
49 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) in fm10k_read_reg()
72 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready()
260 struct fm10k_hw *hw = &interface->hw; in fm10k_handle_reset()
426 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_swpri_map()
448 struct fm10k_hw *hw = &interface->hw; in fm10k_watchdog_update_host_state()
538 struct fm10k_hw *hw = &interface->hw; in fm10k_update_stats()
772 struct fm10k_hw *hw; in fm10k_macvlan_task()
871 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_tx_ring()
933 struct fm10k_hw *hw = &interface->hw; in fm10k_enable_tx_ring()
[all …]
Dfm10k_tlv.h85 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 *);
Dfm10k_vf.h37 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 **,
Dfm10k_ethtool.c200 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count()
298 static void fm10k_get_reg_q(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_q()
338 static void fm10k_get_reg_vsi(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_vsi()
355 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs()
433 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs_len()
472 struct fm10k_hw *hw = &interface->hw; in fm10k_set_pauseparam()
831 struct fm10k_hw *hw = &interface->hw; in fm10k_set_rss_hash_opt()
883 struct fm10k_hw *hw = &interface->hw; in fm10k_mbx_test()
936 struct fm10k_hw *hw = &interface->hw; in fm10k_self_test()
972 struct fm10k_hw *hw = &interface->hw; in fm10k_write_reta()
[all …]
Dfm10k_netdev.c341 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 …]
Dfm10k_tlv.c544 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()
Dfm10k_dcbnl.c149 struct fm10k_hw *hw = &interface->hw; in fm10k_dcbnl_set_ops()
Dfm10k_main.c1113 struct fm10k_hw *hw = &interface->hw; in fm10k_get_tx_pending()
1276 struct fm10k_hw *hw = &interface->hw; in fm10k_clean_tx_irq()
1803 struct fm10k_hw *hw = &interface->hw; in fm10k_init_msix_capability()
Dfm10k.h346 struct fm10k_hw hw;