/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_prototype.h | 19 int i40e_init_adminq(struct i40e_hw *hw); 20 void i40e_shutdown_adminq(struct i40e_hw *hw); 21 int i40e_clean_arq_element(struct i40e_hw *hw, 25 i40e_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc, 29 i40e_asq_send_command_v2(struct i40e_hw *hw, 36 i40e_asq_send_command_atomic(struct i40e_hw *hw, struct i40e_aq_desc *desc, 41 i40e_asq_send_command_atomic_v2(struct i40e_hw *hw, 50 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, 53 bool i40e_check_asq_alive(struct i40e_hw *hw); 54 int i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading); [all …]
|
H A D | i40e_dcb.h | 247 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, 255 void i40e_dcb_hw_set_num_tc(struct i40e_hw *hw, u8 num_tc); 256 u8 i40e_dcb_hw_get_num_tc(struct i40e_hw *hw); 257 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share, 259 void i40e_dcb_hw_rx_up2tc_config(struct i40e_hw *hw, u8 *prio_tc); 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, [all …]
|
H A D | i40e_lan_hmc.h | 10 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 D | i40e_alloc.h | 9 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 D | i40e_nvm.c | 19 int i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm() 58 int i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm() 115 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm() 144 static int i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) in i40e_poll_sr_srctl_done_bit() 171 static int i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_srctl() 222 static int i40e_read_nvm_aq(struct i40e_hw *hw, in i40e_read_nvm_aq() 270 static int i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_aq() 292 static int __i40e_read_nvm_word(struct i40e_hw *hw, in __i40e_read_nvm_word() 309 int i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word() 336 int i40e_read_nvm_module_data(struct i40e_hw *hw, in i40e_read_nvm_module_data() [all …]
|
H A D | i40e_common.c | 21 int i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type() 76 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str() 141 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq() 197 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive() 214 int i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown() 243 static int i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut() 296 int i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut() 313 int i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut() 328 static int i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key() 368 int i40e_aq_get_rss_key(struct i40e_hw *hw, in i40e_aq_get_rss_key() [all …]
|
H A D | i40e_adminq.c | 9 static void i40e_resume_aq(struct i40e_hw *hw); 17 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() 49 static int i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring() 75 static int i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring() 94 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq() 106 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq() 115 static int i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs() 181 static int i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs() 220 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs() 239 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs() [all …]
|
H A D | i40e_hmc.h | 14 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 D | i40e_diag.h | 11 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 D | i40e_ptp.c | 154 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work() 181 static bool i40e_is_ptp_pin_dev(struct i40e_hw *hw) in i40e_is_ptp_pin_dev() 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() [all …]
|
H A D | i40e_hmc.c | 17 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 D | i40e_diag.c | 13 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 D | i40e_debug.h | 36 struct i40e_hw; 37 struct device *i40e_hw_to_dev(struct i40e_hw *hw);
|
H A D | i40e_lan_hmc.c | 74 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() 520 static int i40e_delete_lan_hmc_object(struct i40e_hw *hw, in i40e_delete_lan_hmc_object() 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() 973 int i40e_hmc_get_object_va(struct i40e_hw *hw, u8 **object_base, in i40e_hmc_get_object_va() 1042 int i40e_clear_lan_tx_queue_context(struct i40e_hw *hw, in i40e_clear_lan_tx_queue_context() [all …]
|
H A D | i40e_dcb.c | 17 int i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) in i40e_get_dcbx_status() 556 int i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, in i40e_aq_get_dcb_config() 772 static int i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config() 802 int i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config() 872 int i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) in i40e_init_dcb() 946 i40e_get_fw_lldp_status(struct i40e_hw *hw, in i40e_get_fw_lldp_status() 1243 int i40e_set_dcb_config(struct i40e_hw *hw) in i40e_set_dcb_config() 1317 void i40e_dcb_hw_rx_fifo_config(struct i40e_hw *hw, in i40e_dcb_hw_rx_fifo_config() 1351 void i40e_dcb_hw_rx_cmd_monitor_config(struct i40e_hw *hw, in i40e_dcb_hw_rx_cmd_monitor_config() 1413 void i40e_dcb_hw_pfc_config(struct i40e_hw *hw, in i40e_dcb_hw_pfc_config() [all …]
|
H A D | i40e_ddp.c | 34 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()
|
H A D | i40e_virtchnl_pf.c | 25 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() 533 struct i40e_hw *hw = &pf->hw; in i40e_config_rdma_qvlist() 637 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_tx_queue() 716 struct i40e_hw *hw = &pf->hw; in i40e_config_vsi_rx_queue() 894 struct i40e_hw *hw = &pf->hw; in i40e_map_pf_queues_to_vsi() 941 struct i40e_hw *hw = &pf->hw; in i40e_map_pf_to_vf_queues() 979 struct i40e_hw *hw = &pf->hw; in i40e_enable_vf_mappings() [all …]
|
H A D | i40e_main.c | 50 static int i40e_init_recovery_mode(struct i40e_pf *pf, struct i40e_hw *hw); 135 struct device *i40e_hw_to_dev(struct i40e_hw *hw) in i40e_hw_to_dev() 149 int i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, in i40e_allocate_dma_mem() 168 int i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem) in i40e_free_dma_mem() 186 int i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, in i40e_allocate_virt_mem() 203 int i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem) in i40e_free_virt_mem() 581 static u32 i40e_compute_pci_to_hw_id(struct i40e_vsi *vsi, struct i40e_hw *hw) in i40e_compute_pci_to_hw_id() 605 static void i40e_stat_update64(struct i40e_hw *hw, u32 hireg, u32 loreg, in i40e_stat_update64() 632 static void i40e_stat_update48(struct i40e_hw *hw, u32 hireg, u32 loreg, in i40e_stat_update48() 660 static void i40e_stat_update32(struct i40e_hw *hw, u32 reg, in i40e_stat_update32() [all …]
|
H A D | i40e_ethtool.c | 768 static void i40e_get_settings_link_up(struct i40e_hw *hw, in i40e_get_settings_link_up() 1043 static void i40e_get_settings_link_down(struct i40e_hw *hw, in i40e_get_settings_link_down() 1069 struct i40e_hw *hw = &pf->hw; in i40e_get_link_ksettings() 1228 struct i40e_hw *hw = &pf->hw; in i40e_set_link_ksettings() 1488 struct i40e_hw *hw = &pf->hw; in i40e_set_fec_cfg() 1550 struct i40e_hw *hw = &pf->hw; in i40e_get_fec_param() 1592 struct i40e_hw *hw = &pf->hw; in i40e_set_fec_param() 1636 struct i40e_hw *hw = &pf->hw; in i40e_nway_reset() 1663 struct i40e_hw *hw = &pf->hw; in i40e_get_pauseparam() 1699 struct i40e_hw *hw = &pf->hw; in i40e_set_pauseparam() [all …]
|
H A D | i40e.h | 438 struct i40e_hw hw; 983 static inline char *i40e_nvm_version_str(struct i40e_hw *hw) in i40e_nvm_version_str() 1096 static inline u32 i40e_get_pf_count(struct i40e_hw *hw) in i40e_get_pf_count() 1206 struct i40e_hw *hw = &pf->hw; in i40e_irq_dynamic_enable() 1303 static inline struct i40e_pf *i40e_hw_to_pf(struct i40e_hw *hw) in i40e_hw_to_pf() 1308 struct device *i40e_hw_to_dev(struct i40e_hw *hw);
|
H A D | i40e_type.h | 29 struct i40e_hw; 30 typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *); 489 struct i40e_hw { struct 570 static inline bool i40e_is_vf(struct i40e_hw *hw) in i40e_is_vf() argument
|
H A D | i40e_dcb_nl.c | 19 static void i40e_get_pfc_delay(struct i40e_hw *hw, u16 *delay) in i40e_get_pfc_delay() 78 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc() 884 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_set_all()
|
H A D | i40e_client.c | 542 struct i40e_hw *hw = &pf->hw; in i40e_client_virtchnl_send() 567 struct i40e_hw *hw = &pf->hw; in i40e_client_setup_qvlist()
|
H A D | i40e_txrx.c | 2721 struct i40e_hw *hw = &vsi->back->hw; in i40e_update_enable_itr() 3800 struct i40e_hw *hw; in i40e_lan_select_queue()
|
H A D | i40e_debugfs.c | 498 struct i40e_hw *hw = &pf->hw; in i40e_dbg_dump_aq_desc()
|