Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/fm10k/
H A 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);
H A 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 …]
H A 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 **,
H A Dfm10k_vf.c12 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()
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 …]
H A Dfm10k_pf.c15 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()
195 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_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()
305 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf()
352 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf()
373 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf()
393 static s32 fm10k_update_xcast_mode_pf(struct fm10k_hw *hw, u16 glort, u8 mode) in fm10k_update_xcast_mode_pf()
[all …]
H A 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 …]
H A 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 *,
H A 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()
1147 static s32 fm10k_mbx_process_connect(struct fm10k_hw *hw, in fm10k_mbx_process_connect()
[all …]
H A 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 …]
H A Dfm10k_pci.c33 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg) in fm10k_read_pci_cfg_word()
48 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) in fm10k_read_reg()
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()
[all …]
H A 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 *);
H A 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 **,
H A Dfm10k_ethtool.c201 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 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 …]
H A 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()
H A Dfm10k_dcbnl.c149 struct fm10k_hw *hw = &interface->hw; in fm10k_dcbnl_set_ops()
H A Dfm10k_main.c1115 struct fm10k_hw *hw = &interface->hw; in fm10k_get_tx_pending()
1278 struct fm10k_hw *hw = &interface->hw; in fm10k_clean_tx_irq()
1804 struct fm10k_hw *hw = &interface->hw; in fm10k_init_msix_capability()
H A Dfm10k.h346 struct fm10k_hw hw;