Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.h29 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg);
32 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg);
52 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw);
53 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw);
54 s32 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt);
55 s32 fm10k_start_hw_generic(struct fm10k_hw *hw);
56 s32 fm10k_stop_hw_generic(struct fm10k_hw *hw);
57 u32 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr,
60 void fm10k_update_hw_stats_q(struct fm10k_hw *hw, struct fm10k_hw_stats_q *q,
64 s32 fm10k_get_host_state_generic(struct fm10k_hw *hw, bool *host_ready);
Dfm10k_type.h25 struct fm10k_hw;
518 s32 (*reset_hw)(struct fm10k_hw *);
519 s32 (*init_hw)(struct fm10k_hw *);
520 s32 (*start_hw)(struct fm10k_hw *);
521 s32 (*stop_hw)(struct fm10k_hw *);
522 s32 (*get_bus_info)(struct fm10k_hw *);
523 s32 (*get_host_state)(struct fm10k_hw *, bool *);
524 s32 (*update_vlan)(struct fm10k_hw *, u32, u8, bool);
525 s32 (*read_mac_addr)(struct fm10k_hw *);
526 s32 (*update_uc_addr)(struct fm10k_hw *, u16, const u8 *,
[all …]
Dfm10k_pf.h27 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort);
28 u16 fm10k_queues_per_pool(struct fm10k_hw *hw);
29 u16 fm10k_vf_queue_index(struct fm10k_hw *hw, u16 vf_idx);
105 s32 fm10k_msg_lport_map_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
110 s32 fm10k_msg_update_pvid_pf(struct fm10k_hw *, u32 **,
117 s32 fm10k_msg_err_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
127 s32 fm10k_iov_msg_msix_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
128 s32 fm10k_iov_msg_mac_vlan_pf(struct fm10k_hw *, u32 **,
130 s32 fm10k_iov_msg_lport_state_pf(struct fm10k_hw *, u32 **,
Dfm10k_vf.c28 static s32 fm10k_stop_hw_vf(struct fm10k_hw *hw) in fm10k_stop_hw_vf()
71 static s32 fm10k_reset_hw_vf(struct fm10k_hw *hw) in fm10k_reset_hw_vf()
100 static s32 fm10k_init_hw_vf(struct fm10k_hw *hw) in fm10k_init_hw_vf()
154 static s32 fm10k_update_vlan_vf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_vf()
187 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_mac_vlan_vf()
214 static s32 fm10k_read_mac_addr_vf(struct fm10k_hw *hw) in fm10k_read_mac_addr_vf()
257 static s32 fm10k_update_uc_addr_vf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_vf()
299 static s32 fm10k_update_mc_addr_vf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_vf()
333 static void fm10k_update_int_moderator_vf(struct fm10k_hw *hw) in fm10k_update_int_moderator_vf()
362 s32 fm10k_msg_lport_state_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_lport_state_vf()
[all …]
Dfm10k_common.c30 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw) in fm10k_get_bus_info_generic()
145 static u16 fm10k_get_pcie_msix_count_generic(struct fm10k_hw *hw) in fm10k_get_pcie_msix_count_generic()
168 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw) in fm10k_get_invariants_generic()
188 s32 fm10k_start_hw_generic(struct fm10k_hw *hw) in fm10k_start_hw_generic()
202 s32 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt) in fm10k_disable_queues_generic()
253 s32 fm10k_stop_hw_generic(struct fm10k_hw *hw) in fm10k_stop_hw_generic()
266 u32 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, in fm10k_read_hw_stats_32b()
287 static u64 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, in fm10k_read_hw_stats_48b()
340 static void fm10k_update_hw_stats_tx_q(struct fm10k_hw *hw, in fm10k_update_hw_stats_tx_q()
391 static void fm10k_update_hw_stats_rx_q(struct fm10k_hw *hw, in fm10k_update_hw_stats_rx_q()
[all …]
Dfm10k_pf.c31 static s32 fm10k_reset_hw_pf(struct fm10k_hw *hw) in fm10k_reset_hw_pf()
90 static bool fm10k_is_ari_hierarchy_pf(struct fm10k_hw *hw) in fm10k_is_ari_hierarchy_pf()
102 static s32 fm10k_init_hw_pf(struct fm10k_hw *hw) in fm10k_init_hw_pf()
205 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_pf()
258 static s32 fm10k_read_mac_addr_pf(struct fm10k_hw *hw) in fm10k_read_mac_addr_pf()
299 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort) in fm10k_glort_valid_pf()
318 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf()
365 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf()
386 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf()
406 static s32 fm10k_update_xcast_mode_pf(struct fm10k_hw *hw, u16 glort, u8 mode) in fm10k_update_xcast_mode_pf()
[all …]
Dfm10k_mbx.h232 s32 (*connect)(struct fm10k_hw *, struct fm10k_mbx_info *);
233 void (*disconnect)(struct fm10k_hw *, struct fm10k_mbx_info *);
237 s32 (*enqueue_tx)(struct fm10k_hw *, struct fm10k_mbx_info *,
239 s32 (*process)(struct fm10k_hw *, struct fm10k_mbx_info *);
302 s32 fm10k_pfvf_mbx_init(struct fm10k_hw *, struct fm10k_mbx_info *,
304 s32 fm10k_sm_mbx_init(struct fm10k_hw *, struct fm10k_mbx_info *,
Dfm10k_iov.c25 static s32 fm10k_iov_msg_error(struct fm10k_hw *hw, u32 **results, in fm10k_iov_msg_error()
48 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event()
97 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_mbx()
174 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_suspend()
198 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_resume()
247 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_update_pvid()
288 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_alloc_data()
406 struct fm10k_hw *hw = &interface->hw; in fm10k_reset_vf_info()
452 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_vlan()
485 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_bw()
Dfm10k_mbx.c345 static void fm10k_mbx_write_copy(struct fm10k_hw *hw, in fm10k_mbx_write_copy()
395 static void fm10k_mbx_pull_head(struct fm10k_hw *hw, in fm10k_mbx_pull_head()
436 static void fm10k_mbx_read_copy(struct fm10k_hw *hw, in fm10k_mbx_read_copy()
482 static s32 fm10k_mbx_push_tail(struct fm10k_hw *hw, in fm10k_mbx_push_tail()
713 static u16 fm10k_mbx_dequeue_rx(struct fm10k_hw *hw, in fm10k_mbx_dequeue_rx()
750 static s32 fm10k_mbx_enqueue_tx(struct fm10k_hw *hw, in fm10k_mbx_enqueue_tx()
798 static s32 fm10k_mbx_read(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_read()
825 static void fm10k_mbx_write(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_write()
1028 static s32 fm10k_mbx_create_reply(struct fm10k_hw *hw, in fm10k_mbx_create_reply()
1157 static s32 fm10k_mbx_process_connect(struct fm10k_hw *hw, in fm10k_mbx_process_connect()
[all …]
Dfm10k_pci.c48 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg) in fm10k_read_pci_cfg_word()
63 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) in fm10k_read_reg()
86 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready()
142 struct fm10k_hw *hw = &interface->hw; in fm10k_reinit()
222 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_swpri_map()
244 struct fm10k_hw *hw = &interface->hw; in fm10k_watchdog_update_host_state()
330 struct fm10k_hw *hw = &interface->hw; in fm10k_update_stats()
541 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_tx_ring()
596 struct fm10k_hw *hw = &interface->hw; in fm10k_enable_tx_ring()
645 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_rx_ring()
[all …]
Dfm10k_vf.h60 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
66 s32 fm10k_msg_lport_state_vf(struct fm10k_hw *, u32 **,
Dfm10k_tlv.h102 s32 (*func)(struct fm10k_hw *, u32 **,
153 s32 fm10k_tlv_msg_parse(struct fm10k_hw *, u32 *, struct fm10k_mbx_info *,
155 s32 fm10k_tlv_msg_error(struct fm10k_hw *hw, u32 **results,
180 s32 fm10k_tlv_msg_test(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
Dfm10k_netdev.c363 struct fm10k_hw *hw = &interface->hw; in fm10k_request_glort_range()
421 struct fm10k_hw *hw = &interface->hw; in fm10k_restore_vxlan_port()
720 struct fm10k_hw *hw = &interface->hw; in fm10k_uc_vlan_unsync()
741 struct fm10k_hw *hw = &interface->hw; in fm10k_mc_vlan_unsync()
761 struct fm10k_hw *hw = &interface->hw; in fm10k_update_vid()
846 struct fm10k_hw *hw = &interface->hw; in fm10k_find_next_vlan()
857 struct fm10k_hw *hw = &interface->hw; in fm10k_clear_unused_vlans()
877 struct fm10k_hw *hw = &interface->hw; in __fm10k_uc_sync()
912 struct fm10k_hw *hw = &interface->hw; in fm10k_set_mac()
944 struct fm10k_hw *hw = &interface->hw; in __fm10k_mc_sync()
[all …]
Dfm10k_ethtool.c244 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count()
360 static void fm10k_get_reg_q(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_q()
400 static void fm10k_get_reg_vsi(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_vsi()
417 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs()
495 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs_len()
536 struct fm10k_hw *hw = &interface->hw; in fm10k_set_pauseparam()
884 struct fm10k_hw *hw = &interface->hw; in fm10k_set_rss_hash_opt()
929 struct fm10k_hw *hw = &interface->hw; in fm10k_mbx_test()
982 struct fm10k_hw *hw = &interface->hw; in fm10k_self_test()
1052 struct fm10k_hw *hw = &interface->hw; in fm10k_set_reta()
[all …]
Dfm10k_ptp.c139 struct fm10k_hw *hw = &interface->hw; in fm10k_systime_read()
263 struct fm10k_hw *hw; in fm10k_ptp_adjfreq()
328 struct fm10k_hw *hw; in fm10k_ptp_enable()
Dfm10k_dcbnl.c169 struct fm10k_hw *hw = &interface->hw; in fm10k_dcbnl_set_ops()
Dfm10k_tlv.c558 s32 fm10k_tlv_msg_parse(struct fm10k_hw *hw, u32 *msg, in fm10k_tlv_msg_parse()
604 s32 fm10k_tlv_msg_error(struct fm10k_hw *hw, u32 **results, in fm10k_tlv_msg_error()
720 s32 fm10k_tlv_msg_test(struct fm10k_hw *hw, u32 **results, in fm10k_tlv_msg_test()
Dfm10k.h314 struct fm10k_hw hw;
Dfm10k_main.c1304 struct fm10k_hw *hw = &interface->hw; in fm10k_clean_tx_irq()
1790 struct fm10k_hw *hw = &interface->hw; in fm10k_init_msix_capability()