/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.h | 19 int ice_init_hw(struct ice_hw *hw); 20 void ice_deinit_hw(struct ice_hw *hw); 21 int ice_check_reset(struct ice_hw *hw); 23 int ice_create_all_ctrlq(struct ice_hw *hw); 24 int ice_init_all_ctrlq(struct ice_hw *hw); 51 int ice_get_caps(struct ice_hw *hw); 95 bool ice_is_pf_c827(struct ice_hw *hw); 107 bool ice_is_e810(struct ice_hw *hw); 108 int ice_clear_pf_cfg(struct ice_hw *hw); 205 bool ice_is_e810t(struct ice_hw *hw); [all …]
|
H A D | ice_flex_pipe.h | 11 void ice_release_change_lock(struct ice_hw *hw); 16 ice_get_sw_fv_bitmap(struct ice_hw *hw, enum ice_prof_type type, 19 ice_init_prof_result_bm(struct ice_hw *hw); 30 ice_get_open_tunnel_port(struct ice_hw *hw, u16 *port, 36 int ice_set_dvm_boost_entries(struct ice_hw *hw); 39 bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype); 54 int ice_init_hw_tbls(struct ice_hw *hw); 55 void ice_free_seg(struct ice_hw *hw); 56 void ice_fill_blk_tbls(struct ice_hw *hw); 57 void ice_clear_hw_tbls(struct ice_hw *hw); [all …]
|
H A D | ice_nvm.h | 15 int ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access); 16 void ice_release_nvm(struct ice_hw *hw); 18 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, 24 int ice_get_inactive_nvm_ver(struct ice_hw *hw, struct ice_nvm_info *nvm); 27 int ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size); 28 int ice_init_nvm(struct ice_hw *hw); 29 int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data); 31 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, 36 int ice_nvm_validate_checksum(struct ice_hw *hw); 38 int ice_aq_nvm_update_empr(struct ice_hw *hw); [all …]
|
H A D | ice_switch.h | 346 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 348 void ice_clear_all_vsi_ctx(struct ice_hw *hw); 350 int ice_get_initial_sw_cfg(struct ice_hw *hw); 369 int ice_update_sw_rule_bridge_mode(struct ice_hw *hw); 399 ice_rem_adv_rule_by_id(struct ice_hw *hw, 402 int ice_init_def_sw_recp(struct ice_hw *hw); 406 void ice_rm_all_sw_replay_rule_info(struct ice_hw *hw); 413 ice_update_recipe_lkup_idx(struct ice_hw *hw, 419 int ice_alloc_recipe(struct ice_hw *hw, u16 *rid); 420 int ice_aq_get_recipe(struct ice_hw *hw, [all …]
|
H A D | ice_ptp_hw.h | 131 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw); 132 bool ice_ptp_lock(struct ice_hw *hw); 133 void ice_ptp_unlock(struct ice_hw *hw); 134 int ice_ptp_init_time(struct ice_hw *hw, u64 time); 135 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval); 137 int ice_ptp_adj_clock(struct ice_hw *hw, s32 adj); 140 void ice_ptp_reset_ts_memory(struct ice_hw *hw); 141 int ice_ptp_init_phc(struct ice_hw *hw); 191 int ice_start_phy_timer_e822(struct ice_hw *hw, u8 port); 196 int ice_ptp_init_phy_e810(struct ice_hw *hw); [all …]
|
H A D | ice_sched.h | 71 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req, 98 int ice_sched_query_res_alloc(struct ice_hw *hw); 99 void ice_sched_get_psm_clk_freq(struct ice_hw *hw); 102 void ice_sched_cleanup_all(struct ice_hw *hw); 103 void ice_sched_clear_agg(struct ice_hw *hw); 144 int ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes); 151 u8 ice_sched_get_agg_layer(struct ice_hw *hw); 152 u8 ice_sched_get_vsi_layer(struct ice_hw *hw); 162 void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw); 163 void ice_sched_replay_agg(struct ice_hw *hw); [all …]
|
H A D | ice_dcb.h | 141 int ice_aq_set_pfc_mode(struct ice_hw *hw, u8 pfc_mode, struct ice_sq_cd *cd); 143 ice_aq_get_dcb_cfg(struct ice_hw *hw, u8 mib_type, u8 bridgetype, 149 int ice_init_dcb(struct ice_hw *hw, bool enable_mib_change); 156 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 158 int ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 160 ice_aq_start_stop_dcbx(struct ice_hw *hw, bool start_dcbx_agent, 162 int ice_cfg_lldp_mib_change(struct ice_hw *hw, bool ena_mib); 165 ice_aq_stop_lldp(struct ice_hw __always_unused *hw, in ice_aq_stop_lldp() 174 ice_aq_start_lldp(struct ice_hw __always_unused *hw, in ice_aq_start_lldp() 182 ice_aq_start_stop_dcbx(struct ice_hw __always_unused *hw, in ice_aq_start_stop_dcbx() [all …]
|
H A D | ice_vlan_mode.c | 63 ice_aq_get_vlan_mode(struct ice_hw *hw, in ice_aq_get_vlan_mode() 89 static bool ice_aq_is_dvm_ena(struct ice_hw *hw) in ice_aq_is_dvm_ena() 113 bool ice_is_dvm_ena(struct ice_hw *hw) in ice_is_dvm_ena() 126 static void ice_cache_vlan_mode(struct ice_hw *hw) in ice_cache_vlan_mode() 135 static bool ice_pkg_supports_dvm(struct ice_hw *hw) in ice_pkg_supports_dvm() 154 static bool ice_fw_supports_dvm(struct ice_hw *hw) in ice_fw_supports_dvm() 182 static bool ice_is_dvm_supported(struct ice_hw *hw) in ice_is_dvm_supported() 274 ice_aq_set_vlan_mode(struct ice_hw *hw, in ice_aq_set_vlan_mode() 308 static int ice_set_dvm(struct ice_hw *hw) in ice_set_dvm() 352 static int ice_set_svm(struct ice_hw *hw) in ice_set_svm() [all …]
|
H A D | ice_fdir.h | 209 int ice_alloc_fd_res_cntr(struct ice_hw *hw, u16 *cntr_id); 210 int ice_free_fd_res_cntr(struct ice_hw *hw, u16 cntr_id); 211 int ice_alloc_fd_guar_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 212 int ice_alloc_fd_shrd_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 214 ice_fdir_get_prgm_desc(struct ice_hw *hw, struct ice_fdir_fltr *input, 217 ice_fdir_get_gen_prgm_pkt(struct ice_hw *hw, struct ice_fdir_fltr *input, 219 int ice_get_fdir_cnt_all(struct ice_hw *hw); 220 int ice_fdir_num_avail_fltr(struct ice_hw *hw, struct ice_vsi *vsi); 221 bool ice_fdir_is_dup_fltr(struct ice_hw *hw, struct ice_fdir_fltr *input); 224 ice_fdir_find_fltr_by_idx(struct ice_hw *hw, u32 fltr_idx); [all …]
|
H A D | ice_vf_mbx.h | 18 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, 23 ice_mbx_vf_state_handler(struct ice_hw *hw, struct ice_mbx_data *mbx_data, 26 void ice_mbx_init_vf_info(struct ice_hw *hw, struct ice_mbx_vf_info *vf_info); 27 void ice_mbx_init_snapshot(struct ice_hw *hw); 30 ice_aq_send_msg_to_vf(struct ice_hw __always_unused *hw, in ice_aq_send_msg_to_vf() 46 static inline void ice_mbx_init_snapshot(struct ice_hw *hw) in ice_mbx_init_snapshot()
|
H A D | ice_ptp_hw.c | 79 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw) in ice_get_ptp_src_clock_index() 90 static u64 ice_ptp_read_src_incval(struct ice_hw *hw) in ice_ptp_read_src_incval() 149 static void ice_ptp_exec_tmr_cmd(struct ice_hw *hw) in ice_ptp_exec_tmr_cmd() 938 static int ice_init_cgu_e822(struct ice_hw *hw) in ice_init_cgu_e822() 1000 static int ice_ptp_init_phc_e822(struct ice_hw *hw) in ice_ptp_init_phc_e822() 2723 int ice_ptp_init_phy_e810(struct ice_hw *hw) in ice_ptp_init_phy_e810() 3118 bool ice_ptp_lock(struct ice_hw *hw) in ice_ptp_lock() 3147 void ice_ptp_unlock(struct ice_hw *hw) in ice_ptp_unlock() 3294 int ice_ptp_adj_clock(struct ice_hw *hw, s32 adj) in ice_ptp_adj_clock() 3360 void ice_ptp_reset_ts_memory(struct ice_hw *hw) in ice_ptp_reset_ts_memory() [all …]
|
H A D | ice_nvm.c | 66 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, in ice_read_flat_nvm() 125 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, in ice_aq_update_nvm() 227 void ice_release_nvm(struct ice_hw *hw) in ice_release_nvm() 416 int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word() 631 ice_get_orom_civd_data(struct ice_hw *hw, enum ice_bank_select bank, in ice_get_orom_civd_data() 755 ice_get_netlist_info(struct ice_hw *hw, enum ice_bank_select bank, in ice_get_netlist_info() 843 static int ice_discover_flash_size(struct ice_hw *hw) in ice_discover_flash_size() 954 static int ice_determine_active_flash_banks(struct ice_hw *hw) in ice_determine_active_flash_banks() 1033 int ice_init_nvm(struct ice_hw *hw) in ice_init_nvm() 1096 int ice_nvm_validate_checksum(struct ice_hw *hw) in ice_nvm_validate_checksum() [all …]
|
H A D | ice_vlan_mode.h | 7 struct ice_hw; 9 bool ice_is_dvm_ena(struct ice_hw *hw); 10 int ice_set_vlan_mode(struct ice_hw *hw); 11 void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw);
|
H A D | ice_flow.h | 392 int ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id); 394 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id, 397 int ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_h); 404 int ice_flow_rem_vsi_prof(struct ice_hw *hw, u16 vsi_handle, u64 prof_id); 405 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle); 406 int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 407 int ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds); 408 int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 410 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, 413 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, [all …]
|
H A D | ice_controlq.c | 34 static void ice_adminq_init_regs(struct ice_hw *hw) in ice_adminq_init_regs() 47 static void ice_mailbox_init_regs(struct ice_hw *hw) in ice_mailbox_init_regs() 60 static void ice_sb_init_regs(struct ice_hw *hw) in ice_sb_init_regs() 511 static bool ice_aq_ver_check(struct ice_hw *hw) in ice_aq_ver_check() 574 static int ice_init_check_adminq(struct ice_hw *hw) in ice_init_check_adminq() 664 bool ice_is_sbq_supported(struct ice_hw *hw) in ice_is_sbq_supported() 676 struct ice_ctl_q_info *ice_get_sbq(struct ice_hw *hw) in ice_get_sbq() 722 void ice_shutdown_all_ctrlq(struct ice_hw *hw) in ice_shutdown_all_ctrlq() 746 int ice_init_all_ctrlq(struct ice_hw *hw) in ice_init_all_ctrlq() 809 int ice_create_all_ctrlq(struct ice_hw *hw) in ice_create_all_ctrlq() [all …]
|
H A D | ice_common.c | 329 struct ice_hw *hw; in ice_aq_get_phy_caps() 593 struct ice_hw *hw; in ice_aq_get_link_info() 2980 struct ice_hw *hw = pi->hw; in ice_aq_set_port_params() 3267 struct ice_hw *hw; in ice_update_link_info() 3421 struct ice_hw *hw; in ice_set_fc() 3562 struct ice_hw *hw; in ice_cfg_phy_fec() 3758 struct ice_hw *hw = pi->hw; in ice_aq_set_port_id_led() 4626 struct ice_hw *hw; in ice_ena_vsi_txq() 4732 struct ice_hw *hw; in ice_dis_vsi_txq() 4884 struct ice_hw *hw; in ice_ena_vsi_rdma_qset() [all …]
|
H A D | ice_flex_pipe.c | 94 bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype) in ice_hw_ptype_ena() 290 void ice_release_change_lock(struct ice_hw *hw) in ice_release_change_lock() 302 ice_get_open_tunnel_port(struct ice_hw *hw, u16 *port, in ice_get_open_tunnel_port() 392 int ice_set_dvm_boost_entries(struct ice_hw *hw) in ice_set_dvm_boost_entries() 444 ice_create_tunnel(struct ice_hw *hw, u16 index, in ice_create_tunnel() 1490 static void ice_init_all_prof_masks(struct ice_hw *hw) in ice_init_all_prof_masks() 1856 static void ice_init_sw_db(struct ice_hw *hw) in ice_init_sw_db() 2004 void ice_fill_blk_tbls(struct ice_hw *hw) in ice_fill_blk_tbls() 2091 void ice_free_hw_tbls(struct ice_hw *hw) in ice_free_hw_tbls() 2147 void ice_clear_hw_tbls(struct ice_hw *hw) in ice_clear_hw_tbls() [all …]
|
H A D | ice_fltr.h | 11 ice_fltr_set_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, 14 ice_fltr_clear_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, 17 ice_fltr_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, 20 ice_fltr_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask,
|
H A D | ice_ddp.c | 82 void ice_free_seg(struct ice_hw *hw) in ice_free_seg() 369 static int ice_get_prof_index_max(struct ice_hw *hw) in ice_get_prof_index_max() 443 static void ice_init_pkg_regs(struct ice_hw *hw) in ice_init_pkg_regs() 689 struct ice_buf_build *ice_pkg_buf_alloc(struct ice_hw *hw) in ice_pkg_buf_alloc() 882 void ice_init_prof_result_bm(struct ice_hw *hw) in ice_init_prof_result_bm() 1126 static int ice_acquire_global_cfg_lock(struct ice_hw *hw, in ice_acquire_global_cfg_lock() 1149 static void ice_release_global_cfg_lock(struct ice_hw *hw) in ice_release_global_cfg_lock() 1297 static int ice_aq_get_pkg_info_list(struct ice_hw *hw, in ice_aq_get_pkg_info_list() 1315 static enum ice_ddp_state ice_download_pkg(struct ice_hw *hw, in ice_download_pkg() 1475 ice_find_seg_in_pkg(struct ice_hw *hw, u32 seg_type, in ice_find_seg_in_pkg() [all …]
|
H A D | ice_vf_mbx.c | 22 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, in ice_aq_send_msg_to_vf() 156 ice_mbx_traverse(struct ice_hw *hw, in ice_mbx_traverse() 197 ice_mbx_detect_malvf(struct ice_hw *hw, struct ice_mbx_vf_info *vf_info, in ice_mbx_detect_malvf() 237 ice_mbx_vf_state_handler(struct ice_hw *hw, struct ice_mbx_data *mbx_data, in ice_mbx_vf_state_handler() 360 void ice_mbx_init_vf_info(struct ice_hw *hw, struct ice_mbx_vf_info *vf_info) in ice_mbx_init_vf_info() 374 void ice_mbx_init_snapshot(struct ice_hw *hw) in ice_mbx_init_snapshot()
|
H A D | ice_sched.c | 20 struct ice_hw *hw; in ice_sched_add_root_node() 157 struct ice_hw *hw; in ice_sched_add_node() 310 struct ice_hw *hw = pi->hw; in ice_free_sched_node() 903 struct ice_hw *hw = pi->hw; in ice_sched_add_elems() 1240 struct ice_hw *hw; in ice_sched_init_port() 1596 struct ice_hw *hw = pi->hw; in ice_sched_get_agg_node() 1659 struct ice_hw *hw = pi->hw; in ice_sched_add_vsi_child_nodes() 2236 struct ice_hw *hw; in ice_sched_move_nodes() 3217 struct ice_hw *hw; in ice_sched_add_rl_profile() 3507 struct ice_hw *hw; in ice_sched_set_node_bw_dflt() [all …]
|
H A D | ice_switch.c | 1386 int ice_init_def_sw_recp(struct ice_hw *hw) in ice_init_def_sw_recp() 1666 void ice_clear_all_vsi_ctx(struct ice_hw *hw) in ice_clear_all_vsi_ctx() 1911 ice_aq_add_recipe(struct ice_hw *hw, in ice_aq_add_recipe() 1948 ice_aq_get_recipe(struct ice_hw *hw, in ice_aq_get_recipe() 1988 ice_update_recipe_lkup_idx(struct ice_hw *hw, in ice_update_recipe_lkup_idx() 2347 int ice_get_initial_sw_cfg(struct ice_hw *hw) in ice_get_initial_sw_cfg() 2849 ice_create_pkt_fwd_rule(struct ice_hw *hw, in ice_create_pkt_fwd_rule() 3000 ice_add_update_vsi_list(struct ice_hw *hw, in ice_add_update_vsi_list() 3819 struct ice_hw *hw = pi->hw; in ice_cfg_dflt_vsi() 5927 ice_adv_add_update_vsi_list(struct ice_hw *hw, in ice_adv_add_update_vsi_list() [all …]
|
H A D | ice_flow.c | 1177 ice_flow_create_xtrct_seq(struct ice_hw *hw, in ice_flow_create_xtrct_seq() 1250 ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk, in ice_flow_find_prof_conds() 1340 ice_flow_add_prof_sync(struct ice_hw *hw, enum ice_block blk, in ice_flow_add_prof_sync() 1417 ice_flow_rem_prof_sync(struct ice_hw *hw, enum ice_block blk, in ice_flow_rem_prof_sync() 1459 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, in ice_flow_assoc_prof() 1490 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, in ice_flow_disassoc_prof() 1905 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle) in ice_rem_vsi_rss_list() 1931 int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle) in ice_rem_vsi_rss_cfg() 2161 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_add_rss_cfg() 2399 int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle) in ice_replay_rss_cfg() [all …]
|
H A D | ice_osdep.h | 35 struct ice_hw; 36 struct device *ice_hw_to_dev(struct ice_hw *hw); 65 struct ice_hw *hw_l = hw; \
|
H A D | ice_gnss.h | 40 bool ice_gnss_is_gps_present(struct ice_hw *hw); 44 static inline bool ice_gnss_is_gps_present(struct ice_hw *hw) in ice_gnss_is_gps_present()
|