Home
last modified time | relevance | path

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

/linux-4.1.27/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 bool (*is_slot_appropriate)(struct fm10k_hw *);
525 s32 (*update_vlan)(struct fm10k_hw *, u32, u8, bool);
526 s32 (*read_mac_addr)(struct fm10k_hw *);
[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()
142 static bool fm10k_is_slot_appropriate_vf(struct fm10k_hw *hw) in fm10k_is_slot_appropriate_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, u16 glort, in fm10k_update_uc_addr_vf()
312 static s32 fm10k_update_mc_addr_vf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_vf()
346 static void fm10k_update_int_moderator_vf(struct fm10k_hw *hw) in fm10k_update_int_moderator_vf()
[all …]
Dfm10k_pf.c31 static s32 fm10k_reset_hw_pf(struct fm10k_hw *hw) in fm10k_reset_hw_pf()
84 static bool fm10k_is_ari_hierarchy_pf(struct fm10k_hw *hw) in fm10k_is_ari_hierarchy_pf()
96 static s32 fm10k_init_hw_pf(struct fm10k_hw *hw) in fm10k_init_hw_pf()
194 static bool fm10k_is_slot_appropriate_pf(struct fm10k_hw *hw) in fm10k_is_slot_appropriate_pf()
212 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_pf()
265 static s32 fm10k_read_mac_addr_pf(struct fm10k_hw *hw) in fm10k_read_mac_addr_pf()
306 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort) in fm10k_glort_valid_pf()
325 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf()
372 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf()
393 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf()
[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_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_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()
1007 static s32 fm10k_mbx_create_reply(struct fm10k_hw *hw, in fm10k_mbx_create_reply()
1119 static s32 fm10k_mbx_process_connect(struct fm10k_hw *hw, in fm10k_mbx_process_connect()
[all …]
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()
171 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_suspend()
195 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()
407 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_mac()
438 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_vlan()
477 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_bw()
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()
207 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_swpri_map()
229 struct fm10k_hw *hw = &interface->hw; in fm10k_watchdog_update_host_state()
317 struct fm10k_hw *hw = &interface->hw; in fm10k_update_stats()
510 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_tx_ring()
565 struct fm10k_hw *hw = &interface->hw; in fm10k_enable_tx_ring()
614 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()
718 struct fm10k_hw *hw = &interface->hw; in fm10k_uc_vlan_unsync()
739 struct fm10k_hw *hw = &interface->hw; in fm10k_mc_vlan_unsync()
759 struct fm10k_hw *hw = &interface->hw; in fm10k_update_vid()
826 struct fm10k_hw *hw = &interface->hw; in fm10k_find_next_vlan()
837 struct fm10k_hw *hw = &interface->hw; in fm10k_clear_unused_vlans()
857 struct fm10k_hw *hw = &interface->hw; in __fm10k_uc_sync()
892 struct fm10k_hw *hw = &interface->hw; in fm10k_set_mac()
924 struct fm10k_hw *hw = &interface->hw; in __fm10k_mc_sync()
[all …]
Dfm10k_ethtool.c170 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count()
242 static void fm10k_get_reg_q(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_q()
282 static void fm10k_get_reg_vsi(struct fm10k_hw *hw, u32 *buff, int i) in fm10k_get_reg_vsi()
299 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs()
377 struct fm10k_hw *hw = &interface->hw; in fm10k_get_regs_len()
422 struct fm10k_hw *hw = &interface->hw; in fm10k_set_pauseparam()
770 struct fm10k_hw *hw = &interface->hw; in fm10k_set_rss_hash_opt()
815 struct fm10k_hw *hw = &interface->hw; in fm10k_mbx_test()
868 struct fm10k_hw *hw = &interface->hw; in fm10k_self_test()
911 struct fm10k_hw *hw = &interface->hw; in fm10k_set_reta()
[all …]
Dfm10k_ptp.c138 struct fm10k_hw *hw = &interface->hw; in fm10k_systime_read()
262 struct fm10k_hw *hw; in fm10k_ptp_adjfreq()
327 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.h295 struct fm10k_hw hw;
Dfm10k_main.c1317 struct fm10k_hw *hw = &interface->hw; in fm10k_clean_tx_irq()
1800 struct fm10k_hw *hw = &interface->hw; in fm10k_init_msix_capability()