Home
last modified time | relevance | path

Searched refs:i40e_hw (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h19 i40e_status i40e_init_adminq(struct i40e_hw *hw);
20 i40e_status i40e_shutdown_adminq(struct i40e_hw *hw);
21 void i40e_adminq_init_ring_data(struct i40e_hw *hw);
22 i40e_status i40e_clean_arq_element(struct i40e_hw *hw,
25 i40e_status i40e_asq_send_command(struct i40e_hw *hw,
32 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask,
35 void i40e_idle_aq(struct i40e_hw *hw);
36 bool i40e_check_asq_alive(struct i40e_hw *hw);
37 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading);
38 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err);
[all …]
Di40e_lan_hmc.h8 struct i40e_hw;
140 i40e_status i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
143 i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw,
145 i40e_status i40e_shutdown_lan_hmc(struct i40e_hw *hw);
147 i40e_status i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
149 i40e_status i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
152 i40e_status i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
154 i40e_status i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
Di40e_alloc.h7 struct i40e_hw;
23 i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw,
27 i40e_status i40e_free_dma_mem(struct i40e_hw *hw,
29 i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw,
32 i40e_status i40e_free_virt_mem(struct i40e_hw *hw,
Di40e_nvm.c16 i40e_status i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm()
55 i40e_status i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm()
112 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm()
141 static i40e_status i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) in i40e_poll_sr_srctl_done_bit()
168 static i40e_status i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_srctl()
219 static i40e_status i40e_read_nvm_aq(struct i40e_hw *hw, in i40e_read_nvm_aq()
267 static i40e_status i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_aq()
289 static i40e_status __i40e_read_nvm_word(struct i40e_hw *hw, in __i40e_read_nvm_word()
306 i40e_status i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word()
332 i40e_status i40e_read_nvm_module_data(struct i40e_hw *hw, in i40e_read_nvm_module_data()
[all …]
Di40e_common.c17 i40e_status i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
68 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str()
128 const char *i40e_stat_str(struct i40e_hw *hw, i40e_status stat_err) in i40e_stat_str()
281 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq()
337 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
354 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown()
383 static i40e_status i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
436 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut()
453 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut()
468 static i40e_status i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
[all …]
Di40e_adminq.c10 static void i40e_resume_aq(struct i40e_hw *hw);
18 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
50 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring()
77 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring()
97 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
109 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
118 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
185 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs()
225 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
244 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
[all …]
Di40e_hmc.h10 struct i40e_hw;
191 i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw,
197 i40e_status i40e_add_pd_table_entry(struct i40e_hw *hw,
201 i40e_status i40e_remove_pd_bp(struct i40e_hw *hw,
206 i40e_status i40e_remove_sd_bp_new(struct i40e_hw *hw,
211 i40e_status i40e_remove_pd_page_new(struct i40e_hw *hw,
Di40e_dcb.h121 i40e_status i40e_get_dcbx_status(struct i40e_hw *hw,
125 i40e_status i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
128 i40e_status i40e_get_dcb_config(struct i40e_hw *hw);
129 i40e_status i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change);
Di40e_ptp.c40 struct i40e_hw *hw = &pf->hw; in i40e_ptp_read()
66 struct i40e_hw *hw = &pf->hw; in i40e_ptp_write()
104 struct i40e_hw *hw = &pf->hw; in i40e_ptp_adjfreq()
232 struct i40e_hw *hw = &pf->hw; in i40e_ptp_get_rx_events()
271 struct i40e_hw *hw = &pf->hw; in i40e_ptp_rx_hang()
366 struct i40e_hw *hw = &pf->hw; in i40e_ptp_tx_hwtstamp()
411 struct i40e_hw *hw; in i40e_ptp_rx_hwtstamp()
457 struct i40e_hw *hw = &pf->hw; in i40e_ptp_set_increment()
542 struct i40e_hw *hw = &pf->hw; in i40e_ptp_set_timestamp_mode()
793 struct i40e_hw *hw = &pf->hw; in i40e_ptp_init()
Di40e_diag.h25 i40e_status i40e_diag_reg_test(struct i40e_hw *hw);
26 i40e_status i40e_diag_eeprom_test(struct i40e_hw *hw);
Di40e_hmc.c20 i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw, in i40e_add_sd_table_entry()
109 i40e_status i40e_add_pd_table_entry(struct i40e_hw *hw, in i40e_add_pd_table_entry()
188 i40e_status i40e_remove_pd_bp(struct i40e_hw *hw, in i40e_remove_pd_bp()
272 i40e_status i40e_remove_sd_bp_new(struct i40e_hw *hw, in i40e_remove_sd_bp_new()
321 i40e_status i40e_remove_pd_page_new(struct i40e_hw *hw, in i40e_remove_pd_page_new()
Di40e_diag.c13 static i40e_status i40e_diag_reg_pattern_test(struct i40e_hw *hw, in i40e_diag_reg_pattern_test()
77 i40e_status i40e_diag_reg_test(struct i40e_hw *hw) in i40e_diag_reg_test()
117 i40e_status i40e_diag_eeprom_test(struct i40e_hw *hw) in i40e_diag_eeprom_test()
Di40e_lan_hmc.c77 i40e_status i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, in i40e_init_lan_hmc()
232 static i40e_status i40e_remove_pd_page(struct i40e_hw *hw, in i40e_remove_pd_page()
259 static i40e_status i40e_remove_sd_bp(struct i40e_hw *hw, in i40e_remove_sd_bp()
279 static i40e_status i40e_create_lan_hmc_object(struct i40e_hw *hw, in i40e_create_lan_hmc_object()
438 i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw, in i40e_configure_lan_hmc()
523 static i40e_status i40e_delete_lan_hmc_object(struct i40e_hw *hw, in i40e_delete_lan_hmc_object()
635 i40e_status i40e_shutdown_lan_hmc(struct i40e_hw *hw) in i40e_shutdown_lan_hmc()
918 static i40e_status i40e_clear_hmc_context(struct i40e_hw *hw, in i40e_clear_hmc_context()
976 i40e_status i40e_hmc_get_object_va(struct i40e_hw *hw, u8 **object_base, in i40e_hmc_get_object_va()
1045 i40e_status i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, in i40e_clear_lan_tx_queue_context()
[all …]
Di40e_dcb_nl.c15 static void i40e_get_pfc_delay(struct i40e_hw *hw, u16 *delay) in i40e_get_pfc_delay()
36 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getets()
75 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc()
150 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_set_all()
Di40e_ddp.c34 static int i40e_ddp_does_profile_exist(struct i40e_hw *hw, in i40e_ddp_does_profile_exist()
89 static int i40e_ddp_does_profile_overlap(struct i40e_hw *hw, in i40e_ddp_does_profile_overlap()
121 i40e_add_pinfo(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_add_pinfo()
161 i40e_del_pinfo(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_del_pinfo()
Di40e_dcb.c15 i40e_status i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) in i40e_get_dcbx_status()
554 i40e_status i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, in i40e_aq_get_dcb_config()
770 static i40e_status i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config()
800 i40e_status i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config()
870 i40e_status i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) in i40e_init_dcb()
942 static i40e_status _i40e_read_lldp_cfg(struct i40e_hw *hw, in _i40e_read_lldp_cfg()
1004 i40e_status i40e_read_lldp_cfg(struct i40e_hw *hw, in i40e_read_lldp_cfg()
Di40e_virtchnl_pf.c23 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast()
52 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state()
288 struct i40e_hw *hw = &pf->hw; in i40e_config_irq_link_list()
403 struct i40e_hw *hw = &pf->hw; in i40e_release_iwarp_qvlist()
445 struct i40e_hw *hw = &pf->hw; in i40e_config_iwarp_qvlist()
548 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_tx_queue()
625 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_rx_queue()
802 struct i40e_hw *hw = &pf->hw; in i40e_map_pf_queues_to_vsi()
849 struct i40e_hw *hw = &pf->hw; in i40e_map_pf_to_vf_queues()
887 struct i40e_hw *hw = &pf->hw; in i40e_enable_vf_mappings()
[all …]
Di40e_main.c52 static int i40e_init_recovery_mode(struct i40e_pf *pf, struct i40e_hw *hw);
115 int i40e_allocate_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem, in i40e_allocate_dma_mem_d()
134 int i40e_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem) in i40e_free_dma_mem_d()
152 int i40e_allocate_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem, in i40e_allocate_virt_mem_d()
169 int i40e_free_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem) in i40e_free_virt_mem_d()
563 static void i40e_stat_update48(struct i40e_hw *hw, u32 hireg, u32 loreg, in i40e_stat_update48()
591 static void i40e_stat_update32(struct i40e_hw *hw, u32 reg, in i40e_stat_update32()
611 static void i40e_stat_update_and_clear32(struct i40e_hw *hw, u32 reg, u64 *stat) in i40e_stat_update_and_clear32()
627 struct i40e_hw *hw = &pf->hw; in i40e_update_eth_stats()
688 struct i40e_hw *hw = &pf->hw; in i40e_update_veb_stats()
[all …]
Di40e_ethtool.c749 static void i40e_get_settings_link_up(struct i40e_hw *hw, in i40e_get_settings_link_up()
1023 static void i40e_get_settings_link_down(struct i40e_hw *hw, in i40e_get_settings_link_down()
1049 struct i40e_hw *hw = &pf->hw; in i40e_get_link_ksettings()
1141 struct i40e_hw *hw = &pf->hw; in i40e_set_link_ksettings()
1376 struct i40e_hw *hw = &pf->hw; in i40e_set_fec_cfg()
1437 struct i40e_hw *hw = &pf->hw; in i40e_get_fec_param()
1480 struct i40e_hw *hw = &pf->hw; in i40e_set_fec_param()
1524 struct i40e_hw *hw = &pf->hw; in i40e_nway_reset()
1551 struct i40e_hw *hw = &pf->hw; in i40e_get_pauseparam()
1587 struct i40e_hw *hw = &pf->hw; in i40e_set_pauseparam()
[all …]
Di40e_type.h33 struct i40e_hw;
34 typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *);
560 struct i40e_hw { struct
640 static inline bool i40e_is_vf(struct i40e_hw *hw) in i40e_is_vf() argument
Di40e.h456 struct i40e_hw hw;
887 static inline char *i40e_nvm_version_str(struct i40e_hw *hw) in i40e_nvm_version_str()
1096 struct i40e_hw *hw = &pf->hw; in i40e_irq_dynamic_enable()
Di40e_client.c553 struct i40e_hw *hw = &pf->hw; in i40e_client_virtchnl_send()
578 struct i40e_hw *hw = &pf->hw; in i40e_client_setup_qvlist()
Di40e_debugfs.c449 struct i40e_hw *hw = &pf->hw; in i40e_dbg_dump_aq_desc()
Di40e_txrx.c2505 struct i40e_hw *hw = &vsi->back->hw; in i40e_update_enable_itr()