Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h42 i40e_status i40e_init_adminq(struct i40e_hw *hw);
43 i40e_status i40e_shutdown_adminq(struct i40e_hw *hw);
44 void i40e_adminq_init_ring_data(struct i40e_hw *hw);
45 i40e_status i40e_clean_arq_element(struct i40e_hw *hw,
48 i40e_status i40e_asq_send_command(struct i40e_hw *hw,
55 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask,
58 void i40e_idle_aq(struct i40e_hw *hw);
59 bool i40e_check_asq_alive(struct i40e_hw *hw);
60 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading);
61 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err);
[all …]
Di40e_lan_hmc.h31 struct i40e_hw;
163 i40e_status i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
166 i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw,
168 i40e_status i40e_shutdown_lan_hmc(struct i40e_hw *hw);
170 i40e_status i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
172 i40e_status i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
175 i40e_status i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
177 i40e_status i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
Di40e_nvm.c39 i40e_status i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm()
78 i40e_status i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm()
135 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm()
147 static i40e_status i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) in i40e_poll_sr_srctl_done_bit()
174 static i40e_status i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_srctl()
225 static i40e_status i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, in i40e_read_nvm_aq()
271 static i40e_status i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_aq()
293 static i40e_status __i40e_read_nvm_word(struct i40e_hw *hw, in __i40e_read_nvm_word()
313 i40e_status i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word()
340 static i40e_status i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_buffer_srctl()
[all …]
Di40e_common.c39 static i40e_status i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
90 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str()
150 const char *i40e_stat_str(struct i40e_hw *hw, i40e_status stat_err) in i40e_stat_str()
301 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq()
350 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
367 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown()
396 static i40e_status i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
449 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut()
466 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut()
481 static i40e_status i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
[all …]
Di40e_alloc.h30 struct i40e_hw;
46 i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw,
50 i40e_status i40e_free_dma_mem(struct i40e_hw *hw,
52 i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw,
55 i40e_status i40e_free_virt_mem(struct i40e_hw *hw,
Di40e_adminq.c33 static void i40e_resume_aq(struct i40e_hw *hw);
51 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
83 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring()
110 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring()
130 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
142 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
151 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
218 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs()
258 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
277 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
[all …]
Di40e_hmc.h33 struct i40e_hw;
214 i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw,
220 i40e_status i40e_add_pd_table_entry(struct i40e_hw *hw,
224 i40e_status i40e_remove_pd_bp(struct i40e_hw *hw,
229 i40e_status i40e_remove_sd_bp_new(struct i40e_hw *hw,
234 i40e_status i40e_remove_pd_page_new(struct i40e_hw *hw,
Di40e_dcb.h142 i40e_status i40e_get_dcbx_status(struct i40e_hw *hw,
146 i40e_status i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
149 i40e_status i40e_get_dcb_config(struct i40e_hw *hw);
150 i40e_status i40e_init_dcb(struct i40e_hw *hw);
Di40e_ptp.c61 struct i40e_hw *hw = &pf->hw; in i40e_ptp_read()
85 struct i40e_hw *hw = &pf->hw; in i40e_ptp_write()
123 struct i40e_hw *hw = &pf->hw; in i40e_ptp_adjfreq()
243 struct i40e_hw *hw = &pf->hw; in i40e_ptp_rx_hang()
308 struct i40e_hw *hw = &pf->hw; in i40e_ptp_tx_hwtstamp()
346 struct i40e_hw *hw; in i40e_ptp_rx_hwtstamp()
381 struct i40e_hw *hw = &pf->hw; in i40e_ptp_set_increment()
460 struct i40e_hw *hw = &pf->hw; in i40e_ptp_set_timestamp_mode()
646 struct i40e_hw *hw = &pf->hw; in i40e_ptp_init()
Di40e_hmc.c42 i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw, in i40e_add_sd_table_entry()
131 i40e_status i40e_add_pd_table_entry(struct i40e_hw *hw, in i40e_add_pd_table_entry()
211 i40e_status i40e_remove_pd_bp(struct i40e_hw *hw, in i40e_remove_pd_bp()
295 i40e_status i40e_remove_sd_bp_new(struct i40e_hw *hw, in i40e_remove_sd_bp_new()
344 i40e_status i40e_remove_pd_page_new(struct i40e_hw *hw, in i40e_remove_pd_page_new()
Di40e_diag.h48 i40e_status i40e_diag_reg_test(struct i40e_hw *hw);
49 i40e_status i40e_diag_eeprom_test(struct i40e_hw *hw);
Di40e_diag.c36 static i40e_status i40e_diag_reg_pattern_test(struct i40e_hw *hw, in i40e_diag_reg_pattern_test()
98 i40e_status i40e_diag_reg_test(struct i40e_hw *hw) in i40e_diag_reg_test()
138 i40e_status i40e_diag_eeprom_test(struct i40e_hw *hw) in i40e_diag_eeprom_test()
Di40e_lan_hmc.c99 i40e_status i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, in i40e_init_lan_hmc()
254 static i40e_status i40e_remove_pd_page(struct i40e_hw *hw, in i40e_remove_pd_page()
281 static i40e_status i40e_remove_sd_bp(struct i40e_hw *hw, in i40e_remove_sd_bp()
301 static i40e_status i40e_create_lan_hmc_object(struct i40e_hw *hw, in i40e_create_lan_hmc_object()
460 i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw, in i40e_configure_lan_hmc()
545 static i40e_status i40e_delete_lan_hmc_object(struct i40e_hw *hw, in i40e_delete_lan_hmc_object()
657 i40e_status i40e_shutdown_lan_hmc(struct i40e_hw *hw) in i40e_shutdown_lan_hmc()
940 static i40e_status i40e_clear_hmc_context(struct i40e_hw *hw, in i40e_clear_hmc_context()
1067 i40e_status i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, in i40e_clear_lan_tx_queue_context()
1087 i40e_status i40e_set_lan_tx_queue_context(struct i40e_hw *hw, in i40e_set_lan_tx_queue_context()
[all …]
Di40e_dcb_nl.c38 static void i40e_get_pfc_delay(struct i40e_hw *hw, u16 *delay) in i40e_get_pfc_delay()
59 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getets()
98 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc()
172 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_set_all()
Di40e_virtchnl_pf.c46 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast()
75 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state()
257 struct i40e_hw *hw = &pf->hw; in i40e_config_irq_link_list()
368 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_tx_queue()
437 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_rx_queue()
597 struct i40e_hw *hw = &pf->hw; in i40e_enable_vf_mappings()
648 struct i40e_hw *hw = &pf->hw; in i40e_disable_vf_mappings()
668 struct i40e_hw *hw = &pf->hw; in i40e_free_vf_res()
761 struct i40e_hw *hw = &pf->hw; in i40e_quiesce_vf_pci()
788 struct i40e_hw *hw = &pf->hw; in i40e_reset_vf()
[all …]
Di40e_dcb.c38 i40e_status i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) in i40e_get_dcbx_status()
568 i40e_status i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, in i40e_aq_get_dcb_config()
781 static i40e_status i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config()
811 i40e_status i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config()
878 i40e_status i40e_init_dcb(struct i40e_hw *hw) in i40e_init_dcb()
939 i40e_status i40e_read_lldp_cfg(struct i40e_hw *hw, in i40e_read_lldp_cfg()
Di40e_ethtool.c254 static void i40e_get_settings_link_up(struct i40e_hw *hw, in i40e_get_settings_link_up()
393 static void i40e_get_settings_link_down(struct i40e_hw *hw, in i40e_get_settings_link_down()
479 struct i40e_hw *hw = &pf->hw; in i40e_get_settings()
595 struct i40e_hw *hw = &pf->hw; in i40e_set_settings()
770 struct i40e_hw *hw = &pf->hw; in i40e_nway_reset()
794 struct i40e_hw *hw = &pf->hw; in i40e_get_pauseparam()
830 struct i40e_hw *hw = &pf->hw; in i40e_set_pauseparam()
952 struct i40e_hw *hw = &pf->hw; in i40e_get_regs()
982 struct i40e_hw *hw = &np->vsi->back->hw; in i40e_get_eeprom()
1073 struct i40e_hw *hw = &np->vsi->back->hw; in i40e_get_eeprom_len()
[all …]
/drivers/net/ethernet/intel/i40evf/
Di40e_prototype.h42 i40e_status i40evf_init_adminq(struct i40e_hw *hw);
43 i40e_status i40evf_shutdown_adminq(struct i40e_hw *hw);
44 void i40e_adminq_init_ring_data(struct i40e_hw *hw);
45 i40e_status i40evf_clean_arq_element(struct i40e_hw *hw,
48 i40e_status i40evf_asq_send_command(struct i40e_hw *hw,
53 bool i40evf_asq_done(struct i40e_hw *hw);
56 void i40evf_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask,
59 void i40e_idle_aq(struct i40e_hw *hw);
60 void i40evf_resume_aq(struct i40e_hw *hw);
61 bool i40evf_check_asq_alive(struct i40e_hw *hw);
[all …]
Di40e_lan_hmc.h31 struct i40e_hw;
163 i40e_status i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
166 i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw,
168 i40e_status i40e_shutdown_lan_hmc(struct i40e_hw *hw);
170 i40e_status i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
172 i40e_status i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
175 i40e_status i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
177 i40e_status i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
Di40e_alloc.h30 struct i40e_hw;
46 i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw,
50 i40e_status i40e_free_dma_mem(struct i40e_hw *hw,
52 i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw,
55 i40e_status i40e_free_virt_mem(struct i40e_hw *hw,
Di40e_adminq.c49 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
70 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring()
97 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring()
117 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
129 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
138 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
205 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs()
245 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
264 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
289 static i40e_status i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs()
[all …]
Di40e_hmc.h33 struct i40e_hw;
214 i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw,
220 i40e_status i40e_add_pd_table_entry(struct i40e_hw *hw,
224 i40e_status i40e_remove_pd_bp(struct i40e_hw *hw,
229 i40e_status i40e_remove_sd_bp_new(struct i40e_hw *hw,
234 i40e_status i40e_remove_pd_page_new(struct i40e_hw *hw,
Di40e_common.c39 i40e_status i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
90 const char *i40evf_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40evf_aq_str()
150 const char *i40evf_stat_str(struct i40e_hw *hw, i40e_status stat_err) in i40evf_stat_str()
301 void i40evf_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40evf_debug_aq()
348 bool i40evf_check_asq_alive(struct i40e_hw *hw) in i40evf_check_asq_alive()
365 i40e_status i40evf_aq_queue_shutdown(struct i40e_hw *hw, in i40evf_aq_queue_shutdown()
394 static i40e_status i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
447 i40e_status i40evf_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40evf_aq_get_rss_lut()
464 i40e_status i40evf_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40evf_aq_set_rss_lut()
479 static i40e_status i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
[all …]
Di40evf_main.c71 i40e_status i40evf_allocate_dma_mem_d(struct i40e_hw *hw, in i40evf_allocate_dma_mem_d()
94 i40e_status i40evf_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem) in i40evf_free_dma_mem_d()
111 i40e_status i40evf_allocate_virt_mem_d(struct i40e_hw *hw, in i40evf_allocate_virt_mem_d()
131 i40e_status i40evf_free_virt_mem_d(struct i40e_hw *hw, in i40evf_free_virt_mem_d()
154 if (!(mask & ((struct i40e_hw *)hw)->debug_mask)) in i40evf_debug_d()
187 struct i40e_hw *hw = &adapter->hw; in i40evf_misc_irq_disable()
203 struct i40e_hw *hw = &adapter->hw; in i40evf_misc_irq_enable()
220 struct i40e_hw *hw = &adapter->hw; in i40evf_irq_disable()
240 struct i40e_hw *hw = &adapter->hw; in i40evf_irq_enable_queues()
260 struct i40e_hw *hw = &adapter->hw; in i40evf_fire_sw_int()
[all …]
Di40evf_ethtool.c319 struct i40e_hw *hw = &adapter->hw; in i40evf_set_coalesce()
375 struct i40e_hw *hw = &adapter->hw; in i40evf_get_rss_hash_opts()
461 struct i40e_hw *hw = &adapter->hw; in i40evf_set_rss_hash_opt()
613 struct i40e_hw *hw = &adapter->hw; in i40evf_get_rxfh()
647 struct i40e_hw *hw = &adapter->hw; in i40evf_set_rxfh()

12