Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_prototype.h20 int i40e_init_adminq(struct i40e_hw *hw);
21 void i40e_shutdown_adminq(struct i40e_hw *hw);
22 int i40e_clean_arq_element(struct i40e_hw *hw,
30 i40e_asq_send_command_v2(struct i40e_hw *hw,
62 int i40e_aq_get_rss_key(struct i40e_hw *hw,
65 int i40e_aq_set_rss_key(struct i40e_hw *hw,
69 u32 i40e_led_get(struct i40e_hw *hw);
122 int i40e_aq_add_vsi(struct i40e_hw *hw,
330 int i40e_pf_reset(struct i40e_hw *hw);
331 void i40e_clear_hw(struct i40e_hw *hw);
[all …]
H A Di40e_dcb.h247 void i40e_dcb_hw_rx_fifo_config(struct i40e_hw *hw,
251 void i40e_dcb_hw_rx_cmd_monitor_config(struct i40e_hw *hw,
253 void i40e_dcb_hw_pfc_config(struct i40e_hw *hw,
256 u8 i40e_dcb_hw_get_num_tc(struct i40e_hw *hw);
260 void i40e_dcb_hw_calculate_pool_sizes(struct i40e_hw *hw,
264 void i40e_dcb_hw_rx_pb_config(struct i40e_hw *hw,
267 int i40e_get_dcbx_status(struct i40e_hw *hw,
274 int i40e_get_dcb_config(struct i40e_hw *hw);
275 int i40e_init_dcb(struct i40e_hw *hw,
278 i40e_get_fw_lldp_status(struct i40e_hw *hw,
[all …]
H A Di40e_lan_hmc.h10 struct i40e_hw;
142 int i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
145 int i40e_configure_lan_hmc(struct i40e_hw *hw,
147 int i40e_shutdown_lan_hmc(struct i40e_hw *hw);
149 int i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
151 int i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
154 int i40e_clear_lan_rx_queue_context(struct i40e_hw *hw,
156 int i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
H A Di40e_alloc.h9 struct i40e_hw;
24 int i40e_allocate_dma_mem(struct i40e_hw *hw,
27 int i40e_free_dma_mem(struct i40e_hw *hw,
29 int i40e_allocate_virt_mem(struct i40e_hw *hw,
32 int i40e_free_virt_mem(struct i40e_hw *hw,
H A Di40e_common.c21 int i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
197 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
362 int i40e_aq_get_rss_key(struct i40e_hw *hw, in i40e_aq_get_rss_key()
377 int i40e_aq_set_rss_key(struct i40e_hw *hw, in i40e_aq_set_rss_key()
437 i40e_aq_mac_address_read(struct i40e_hw *hw, in i40e_aq_mac_address_read()
725 int i40e_pf_reset(struct i40e_hw *hw) in i40e_pf_reset()
817 void i40e_clear_hw(struct i40e_hw *hw) in i40e_clear_hw()
967 u32 i40e_led_get(struct i40e_hw *hw) in i40e_led_get()
1158 i40e_set_fc_status(struct i40e_hw *hw, in i40e_set_fc_status()
1492 int i40e_aq_add_vsi(struct i40e_hw *hw, in i40e_aq_add_vsi()
[all …]
H A Di40e_nvm.c19 int i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm()
57 int i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm()
114 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm()
220 static int i40e_read_nvm_aq(struct i40e_hw *hw, in i40e_read_nvm_aq()
290 static int __i40e_read_nvm_word(struct i40e_hw *hw, in __i40e_read_nvm_word()
334 int i40e_read_nvm_module_data(struct i40e_hw *hw, in i40e_read_nvm_module_data()
679 int i40e_update_nvm_checksum(struct i40e_hw *hw) in i40e_update_nvm_checksum()
703 int i40e_validate_nvm_checksum(struct i40e_hw *hw, in i40e_validate_nvm_checksum()
955 static int i40e_nvmupd_nvm_read(struct i40e_hw *hw, in i40e_nvmupd_nvm_read()
995 static int i40e_nvmupd_exec_aq(struct i40e_hw *hw, in i40e_nvmupd_exec_aq()
[all …]
H A Di40e_adminq.c9 static void i40e_resume_aq(struct i40e_hw *hw);
60 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
81 static int i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
298 static int i40e_init_asq(struct i40e_hw *hw) in i40e_init_asq()
357 static int i40e_init_arq(struct i40e_hw *hw) in i40e_init_arq()
574 int i40e_init_adminq(struct i40e_hw *hw) in i40e_init_adminq()
671 void i40e_shutdown_adminq(struct i40e_hw *hw) in i40e_shutdown_adminq()
689 static u16 i40e_clean_asq(struct i40e_hw *hw) in i40e_clean_asq()
730 static bool i40e_asq_done(struct i40e_hw *hw) in i40e_asq_done()
1055 int i40e_clean_arq_element(struct i40e_hw *hw, in i40e_clean_arq_element()
[all …]
H A Di40e_hmc.h14 struct i40e_hw;
195 int i40e_add_sd_table_entry(struct i40e_hw *hw,
200 int i40e_add_pd_table_entry(struct i40e_hw *hw,
204 int i40e_remove_pd_bp(struct i40e_hw *hw,
209 int i40e_remove_sd_bp_new(struct i40e_hw *hw,
214 int i40e_remove_pd_page_new(struct i40e_hw *hw,
H A Di40e_diag.h11 struct i40e_hw;
29 int i40e_diag_reg_test(struct i40e_hw *hw);
30 int i40e_diag_eeprom_test(struct i40e_hw *hw);
H A Di40e_devlink.c17 static void i40e_info_fw_mgmt(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_fw_mgmt()
24 static void i40e_info_fw_mgmt_build(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_fw_mgmt_build()
31 static void i40e_info_fw_api(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_fw_api()
38 static void i40e_info_pba(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_pba()
71 struct i40e_hw *hw = &pf->hw; in i40e_devlink_info_get()
H A Di40e_ptp.c154 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work()
284 struct i40e_hw *hw = &pf->hw; in i40e_ptp_read()
310 struct i40e_hw *hw = &pf->hw; in i40e_ptp_write()
350 struct i40e_hw *hw = &pf->hw; in i40e_ptp_adjfine()
372 struct i40e_hw *hw = &pf->hw; in i40e_ptp_set_1pps_signal_hw()
405 struct i40e_hw *hw = &pf->hw; in i40e_ptp_adjtime()
637 struct i40e_hw *hw = &pf->hw; in i40e_ptp_get_rx_events()
675 struct i40e_hw *hw = &pf->hw; in i40e_ptp_rx_hang()
770 struct i40e_hw *hw = &pf->hw; in i40e_ptp_tx_hwtstamp()
815 struct i40e_hw *hw; in i40e_ptp_rx_hwtstamp()
[all …]
H A Di40e_hmc.c17 int i40e_add_sd_table_entry(struct i40e_hw *hw, in i40e_add_sd_table_entry()
102 int i40e_add_pd_table_entry(struct i40e_hw *hw, in i40e_add_pd_table_entry()
181 int i40e_remove_pd_bp(struct i40e_hw *hw, in i40e_remove_pd_bp()
265 int i40e_remove_sd_bp_new(struct i40e_hw *hw, in i40e_remove_sd_bp_new()
314 int i40e_remove_pd_page_new(struct i40e_hw *hw, in i40e_remove_pd_page_new()
H A Di40e_diag.c13 static int i40e_diag_reg_pattern_test(struct i40e_hw *hw, in i40e_diag_reg_pattern_test()
77 int i40e_diag_reg_test(struct i40e_hw *hw) in i40e_diag_reg_test()
118 int i40e_diag_eeprom_test(struct i40e_hw *hw) in i40e_diag_eeprom_test()
H A Di40e_debug.h36 struct i40e_hw;
37 struct device *i40e_hw_to_dev(struct i40e_hw *hw);
H A Di40e_lan_hmc.c74 int i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, in i40e_init_lan_hmc()
229 static int i40e_remove_pd_page(struct i40e_hw *hw, in i40e_remove_pd_page()
256 static int i40e_remove_sd_bp(struct i40e_hw *hw, in i40e_remove_sd_bp()
276 static int i40e_create_lan_hmc_object(struct i40e_hw *hw, in i40e_create_lan_hmc_object()
435 int i40e_configure_lan_hmc(struct i40e_hw *hw, in i40e_configure_lan_hmc()
632 int i40e_shutdown_lan_hmc(struct i40e_hw *hw) in i40e_shutdown_lan_hmc()
915 static int i40e_clear_hmc_context(struct i40e_hw *hw, in i40e_clear_hmc_context()
1042 int i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, in i40e_clear_lan_tx_queue_context()
1062 int i40e_set_lan_tx_queue_context(struct i40e_hw *hw, in i40e_set_lan_tx_queue_context()
1083 int i40e_clear_lan_rx_queue_context(struct i40e_hw *hw, in i40e_clear_lan_rx_queue_context()
[all …]
H A Di40e_dcb.c17 int i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) in i40e_get_dcbx_status()
736 static int i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config()
766 int i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config()
907 i40e_get_fw_lldp_status(struct i40e_hw *hw, in i40e_get_fw_lldp_status()
1204 int i40e_set_dcb_config(struct i40e_hw *hw) in i40e_set_dcb_config()
1277 void i40e_dcb_hw_rx_fifo_config(struct i40e_hw *hw, in i40e_dcb_hw_rx_fifo_config()
1367 void i40e_dcb_hw_pfc_config(struct i40e_hw *hw, in i40e_dcb_hw_pfc_config()
1499 u8 i40e_dcb_hw_get_num_tc(struct i40e_hw *hw) in i40e_dcb_hw_get_num_tc()
1652 void i40e_dcb_hw_rx_pb_config(struct i40e_hw *hw, in i40e_dcb_hw_rx_pb_config()
1832 static int _i40e_read_lldp_cfg(struct i40e_hw *hw, in _i40e_read_lldp_cfg()
[all …]
H A Di40e_ddp.c52 static int i40e_ddp_does_profile_exist(struct i40e_hw *hw, in i40e_ddp_does_profile_exist()
107 static int i40e_ddp_does_profile_overlap(struct i40e_hw *hw, in i40e_ddp_does_profile_overlap()
139 i40e_add_pinfo(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_add_pinfo()
179 i40e_del_pinfo(struct i40e_hw *hw, struct i40e_profile_segment *profile, in i40e_del_pinfo()
H A Di40e.h468 struct i40e_hw hw;
977 static inline void i40e_info_nvm_ver(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_nvm_ver()
1008 static inline void i40e_info_eetrack(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_eetrack()
1026 static inline void i40e_info_civd_ver(struct i40e_hw *hw, char *buf, size_t len) in i40e_info_civd_ver()
1049 static inline char *i40e_nvm_version_str(struct i40e_hw *hw, char *buf, in i40e_nvm_version_str()
1145 static inline u32 i40e_get_pf_count(struct i40e_hw *hw) in i40e_get_pf_count()
1253 struct i40e_hw *hw = &pf->hw; in i40e_irq_dynamic_enable()
1350 static inline struct i40e_pf *i40e_hw_to_pf(struct i40e_hw *hw) in i40e_hw_to_pf()
1355 struct device *i40e_hw_to_dev(struct i40e_hw *hw);
H A Di40e_virtchnl_pf.c25 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast()
114 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state()
375 struct i40e_hw *hw = &pf->hw; in i40e_config_irq_link_list()
490 struct i40e_hw *hw = &pf->hw; in i40e_release_rdma_qvlist()
531 struct i40e_hw *hw = &pf->hw; in i40e_config_rdma_qvlist()
633 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_tx_queue()
710 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_rx_queue()
888 struct i40e_hw *hw = &pf->hw; in i40e_map_pf_queues_to_vsi()
935 struct i40e_hw *hw = &pf->hw; in i40e_map_pf_to_vf_queues()
973 struct i40e_hw *hw = &pf->hw; in i40e_enable_vf_mappings()
[all …]
H A Di40e_main.c718 struct i40e_hw *hw = &pf->hw; in i40e_update_eth_stats()
780 struct i40e_hw *hw = &pf->hw; in i40e_update_veb_stats()
1008 struct i40e_hw *hw = &pf->hw; in i40e_update_pf_stats()
1799 struct i40e_hw *hw = &pf->hw; in i40e_set_mac()
1856 struct i40e_hw *hw = &pf->hw; in i40e_config_rss_aq()
2480 struct i40e_hw *hw = &pf->hw; in i40e_set_promiscuous()
3890 struct i40e_hw *hw = &pf->hw; in i40e_vsi_configure_msix()
3980 struct i40e_hw *hw = &pf->hw; in i40e_enable_misc_int_causes()
4021 struct i40e_hw *hw = &pf->hw; in i40e_configure_msi_and_legacy()
5741 struct i40e_hw *hw; in i40e_update_adq_vsi_queues()
[all …]
H A Di40e_ethtool.c1070 struct i40e_hw *hw = &pf->hw; in i40e_get_link_ksettings()
1229 struct i40e_hw *hw = &pf->hw; in i40e_set_link_ksettings()
1489 struct i40e_hw *hw = &pf->hw; in i40e_set_fec_cfg()
1547 struct i40e_hw *hw = &pf->hw; in i40e_get_fec_param()
1589 struct i40e_hw *hw = &pf->hw; in i40e_set_fec_param()
1633 struct i40e_hw *hw = &pf->hw; in i40e_nway_reset()
1660 struct i40e_hw *hw = &pf->hw; in i40e_get_pauseparam()
1696 struct i40e_hw *hw = &pf->hw; in i40e_set_pauseparam()
1823 struct i40e_hw *hw = &pf->hw; in i40e_get_regs()
2015 struct i40e_hw *hw = &pf->hw; in i40e_get_max_num_descriptors()
[all …]
H A Di40e_dcb_nl.c19 static void i40e_get_pfc_delay(struct i40e_hw *hw, u16 *delay) in i40e_get_pfc_delay()
77 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc()
880 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_set_all()
H A Di40e_type.h26 struct i40e_hw;
27 typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *);
512 struct i40e_hw { struct
H A Di40e_client.c540 struct i40e_hw *hw = &pf->hw; in i40e_client_virtchnl_send()
565 struct i40e_hw *hw = &pf->hw; in i40e_client_setup_qvlist()
H A Di40e_txrx.c2670 struct i40e_hw *hw = &vsi->back->hw; in i40e_update_enable_itr()
3746 struct i40e_hw *hw; in i40e_lan_select_queue()

12