Home
last modified time | relevance | path

Searched refs:ice_hw (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_common.h42 int ice_init_hw(struct ice_hw *hw);
43 void ice_deinit_hw(struct ice_hw *hw);
44 int ice_check_reset(struct ice_hw *hw);
46 int ice_create_all_ctrlq(struct ice_hw *hw);
47 int ice_init_all_ctrlq(struct ice_hw *hw);
64 int ice_aq_alloc_free_res(struct ice_hw *hw,
73 void ice_clear_pxe_mode(struct ice_hw *hw);
74 int ice_get_caps(struct ice_hw *hw);
134 int ice_clear_pf_cfg(struct ice_hw *hw);
187 ice_aq_get_port_options(struct ice_hw *hw,
[all …]
H A Dice_flex_pipe.h13 void ice_release_change_lock(struct ice_hw *hw);
18 ice_get_sw_fv_bitmap(struct ice_hw *hw, enum ice_prof_type type,
21 ice_init_prof_result_bm(struct ice_hw *hw);
29 ice_get_open_tunnel_port(struct ice_hw *hw, u16 *port,
35 int ice_set_dvm_boost_entries(struct ice_hw *hw);
38 bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype);
58 int ice_init_hw_tbls(struct ice_hw *hw);
59 void ice_free_seg(struct ice_hw *hw);
60 void ice_fill_blk_tbls(struct ice_hw *hw);
61 void ice_clear_hw_tbls(struct ice_hw *hw);
[all …]
H A Dice_nvm.h15 int ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access);
16 void ice_release_nvm(struct ice_hw *hw);
17 int ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset,
21 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data,
27 int ice_get_inactive_nvm_ver(struct ice_hw *hw, struct ice_nvm_info *nvm);
31 int ice_init_nvm(struct ice_hw *hw);
32 int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data);
34 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset,
39 int ice_nvm_validate_checksum(struct ice_hw *hw);
41 int ice_aq_nvm_update_empr(struct ice_hw *hw);
[all …]
H A Dice_switch.h333 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle);
335 void ice_clear_all_vsi_ctx(struct ice_hw *hw);
337 int ice_get_initial_sw_cfg(struct ice_hw *hw);
356 int ice_update_sw_rule_bridge_mode(struct ice_hw *hw);
386 ice_rem_adv_rule_by_id(struct ice_hw *hw,
389 int ice_init_def_sw_recp(struct ice_hw *hw);
393 void ice_rm_all_sw_replay_rule_info(struct ice_hw *hw);
400 ice_update_recipe_lkup_idx(struct ice_hw *hw,
406 int ice_alloc_recipe(struct ice_hw *hw, u16 *rid);
407 int ice_aq_get_recipe(struct ice_hw *hw,
[all …]
H A Dice_ptp_hw.h330 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw);
332 bool ice_ptp_lock(struct ice_hw *hw);
333 void ice_ptp_unlock(struct ice_hw *hw);
335 int ice_ptp_init_time(struct ice_hw *hw, u64 time);
338 int ice_ptp_adj_clock(struct ice_hw *hw, s32 adj);
342 void ice_ptp_reset_ts_memory(struct ice_hw *hw);
343 int ice_ptp_init_phc(struct ice_hw *hw);
344 void ice_ptp_init_hw(struct ice_hw *hw);
397 int ice_read_sma_ctrl(struct ice_hw *hw, u8 *data);
398 int ice_write_sma_ctrl(struct ice_hw *hw, u8 data);
[all …]
H A Dice_fwlog.h8 struct ice_hw;
70 void ice_fwlog_set_supported(struct ice_hw *hw);
71 bool ice_fwlog_supported(struct ice_hw *hw);
72 int ice_fwlog_init(struct ice_hw *hw);
73 void ice_fwlog_deinit(struct ice_hw *hw);
74 int ice_fwlog_set(struct ice_hw *hw, struct ice_fwlog_cfg *cfg);
75 int ice_fwlog_get(struct ice_hw *hw, struct ice_fwlog_cfg *cfg);
76 int ice_fwlog_register(struct ice_hw *hw);
77 int ice_fwlog_unregister(struct ice_hw *hw);
78 void ice_fwlog_realloc_rings(struct ice_hw *hw, int index);
H A Dice_vf_mbx.h18 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval,
22 void ice_mbx_vf_dec_trig_e830(const struct ice_hw *hw,
24 void ice_mbx_vf_clear_cnt_e830(const struct ice_hw *hw, u16 vf_id);
26 ice_mbx_vf_state_handler(struct ice_hw *hw, struct ice_mbx_data *mbx_data,
29 void ice_mbx_init_vf_info(struct ice_hw *hw, struct ice_mbx_vf_info *vf_info);
30 void ice_mbx_init_snapshot(struct ice_hw *hw);
33 ice_aq_send_msg_to_vf(struct ice_hw __always_unused *hw, in ice_aq_send_msg_to_vf()
49 static inline void ice_mbx_init_snapshot(struct ice_hw *hw) in ice_mbx_init_snapshot()
54 ice_mbx_vf_dec_trig_e830(const struct ice_hw *hw, in ice_mbx_vf_dec_trig_e830()
H A Dice_sched.h82 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req,
109 int ice_sched_query_res_alloc(struct ice_hw *hw);
110 void ice_sched_get_psm_clk_freq(struct ice_hw *hw);
113 void ice_sched_cleanup_all(struct ice_hw *hw);
114 void ice_sched_clear_agg(struct ice_hw *hw);
155 int ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes);
162 u8 ice_sched_get_agg_layer(struct ice_hw *hw);
163 u8 ice_sched_get_vsi_layer(struct ice_hw *hw);
173 void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw);
174 void ice_sched_replay_agg(struct ice_hw *hw);
[all …]
H A Dice_dcb.h141 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 Dice_vlan_mode.c63 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 Dice_fdir.h214 int ice_alloc_fd_res_cntr(struct ice_hw *hw, u16 *cntr_id);
215 int ice_free_fd_res_cntr(struct ice_hw *hw, u16 cntr_id);
216 int ice_alloc_fd_guar_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr);
217 int ice_alloc_fd_shrd_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr);
219 ice_fdir_get_prgm_desc(struct ice_hw *hw, struct ice_fdir_fltr *input,
222 ice_fdir_get_gen_prgm_pkt(struct ice_hw *hw, struct ice_fdir_fltr *input,
224 int ice_get_fdir_cnt_all(struct ice_hw *hw);
225 int ice_fdir_num_avail_fltr(struct ice_hw *hw, struct ice_vsi *vsi);
226 bool ice_fdir_is_dup_fltr(struct ice_hw *hw, struct ice_fdir_fltr *input);
229 ice_fdir_find_fltr_by_idx(struct ice_hw *hw, u32 fltr_idx);
[all …]
H A Dice_ptp_hw.c204 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw) in ice_get_ptp_src_clock_index()
215 static u64 ice_ptp_read_src_incval(struct ice_hw *hw) in ice_ptp_read_src_incval()
350 static int ice_cfg_cgu_pll_e82x(struct ice_hw *hw, in ice_cfg_cgu_pll_e82x()
495 static int ice_cfg_cgu_pll_e825c(struct ice_hw *hw, in ice_cfg_cgu_pll_e825c()
743 static int ice_init_cgu_e82x(struct ice_hw *hw) in ice_init_cgu_e82x()
890 static void ice_ptp_exec_tmr_cmd(struct ice_hw *hw) in ice_ptp_exec_tmr_cmd()
5601 bool ice_ptp_lock(struct ice_hw *hw) in ice_ptp_lock()
5630 void ice_ptp_unlock(struct ice_hw *hw) in ice_ptp_unlock()
5642 void ice_ptp_init_hw(struct ice_hw *hw) in ice_ptp_init_hw()
6085 void ice_ptp_reset_ts_memory(struct ice_hw *hw) in ice_ptp_reset_ts_memory()
[all …]
H A Dice_nvm.c21 int ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, in ice_aq_read_nvm()
65 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, in ice_read_flat_nvm()
124 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, in ice_aq_update_nvm()
226 void ice_release_nvm(struct ice_hw *hw) in ice_release_nvm()
429 int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word()
856 static int ice_discover_flash_size(struct ice_hw *hw) in ice_discover_flash_size()
967 static int ice_determine_active_flash_banks(struct ice_hw *hw) in ice_determine_active_flash_banks()
1088 static int ice_determine_css_hdr_len(struct ice_hw *hw) in ice_determine_css_hdr_len()
1113 int ice_init_nvm(struct ice_hw *hw) in ice_init_nvm()
1182 int ice_nvm_validate_checksum(struct ice_hw *hw) in ice_nvm_validate_checksum()
[all …]
H A Dice_flow.h448 int ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id);
450 ice_flow_set_parser_prof(struct ice_hw *hw, u16 dest_vsi, u16 fdir_vsi,
453 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id,
456 int ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_h);
463 int ice_flow_rem_vsi_prof(struct ice_hw *hw, u16 vsi_handle, u64 prof_id);
464 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle);
465 int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
467 int ice_add_avf_rss_cfg(struct ice_hw *hw, struct ice_vsi *vsi,
469 int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
470 int ice_add_rss_cfg(struct ice_hw *hw, struct ice_vsi *vsi,
[all …]
H A Dice_vlan_mode.h7 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 Dice_common.c326 struct ice_hw *hw; in ice_aq_get_phy_caps()
685 struct ice_hw *hw; in ice_aq_get_link_info()
3039 struct ice_hw *hw = pi->hw; in ice_aq_set_port_params()
3584 struct ice_hw *hw; in ice_set_fc()
3724 struct ice_hw *hw; in ice_cfg_phy_fec()
3918 struct ice_hw *hw = pi->hw; in ice_aq_set_port_id_led()
4606 struct ice_hw *hw; in ice_ena_vsi_txq()
4713 struct ice_hw *hw; in ice_dis_vsi_txq()
4858 struct ice_hw *hw; in ice_ena_vsi_rdma_qset()
4933 struct ice_hw *hw; in ice_dis_vsi_rdma_qset()
[all …]
H A Dice_controlq.c34 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()
147 ice_alloc_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_rq_bufs()
498 static bool ice_aq_ver_check(struct ice_hw *hw) in ice_aq_ver_check()
570 static int ice_init_check_adminq(struct ice_hw *hw) in ice_init_check_adminq()
660 bool ice_is_sbq_supported(struct ice_hw *hw) in ice_is_sbq_supported()
672 struct ice_ctl_q_info *ice_get_sbq(struct ice_hw *hw) in ice_get_sbq()
745 int ice_init_all_ctrlq(struct ice_hw *hw) in ice_init_all_ctrlq()
808 int ice_create_all_ctrlq(struct ice_hw *hw) in ice_create_all_ctrlq()
[all …]
H A Dice_fwlog.c80 void ice_fwlog_realloc_rings(struct ice_hw *hw, int index) in ice_fwlog_realloc_rings()
133 int ice_fwlog_init(struct ice_hw *hw) in ice_fwlog_init()
182 void ice_fwlog_deinit(struct ice_hw *hw) in ice_fwlog_deinit()
224 bool ice_fwlog_supported(struct ice_hw *hw) in ice_fwlog_supported()
293 int ice_fwlog_set(struct ice_hw *hw, struct ice_fwlog_cfg *cfg) in ice_fwlog_set()
308 static int ice_aq_fwlog_get(struct ice_hw *hw, struct ice_fwlog_cfg *cfg) in ice_aq_fwlog_get()
372 int ice_fwlog_get(struct ice_hw *hw, struct ice_fwlog_cfg *cfg) in ice_fwlog_get()
385 static int ice_aq_fwlog_register(struct ice_hw *hw, bool reg) in ice_aq_fwlog_register()
404 int ice_fwlog_register(struct ice_hw *hw) in ice_fwlog_register()
424 int ice_fwlog_unregister(struct ice_hw *hw) in ice_fwlog_unregister()
[all …]
H A Dice_vf_mbx.c22 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()
222 void ice_mbx_vf_dec_trig_e830(const struct ice_hw *hw, in ice_mbx_vf_dec_trig_e830()
238 void ice_mbx_vf_clear_cnt_e830(const struct ice_hw *hw, u16 vf_id) in ice_mbx_vf_clear_cnt_e830()
269 ice_mbx_vf_state_handler(struct ice_hw *hw, struct ice_mbx_data *mbx_data, in ice_mbx_vf_state_handler()
392 void ice_mbx_init_vf_info(struct ice_hw *hw, struct ice_mbx_vf_info *vf_info) in ice_mbx_init_vf_info()
406 void ice_mbx_init_snapshot(struct ice_hw *hw) in ice_mbx_init_snapshot()
H A Dice_parser.c91 ice_parser_create_table(struct ice_hw *hw, u32 sect_type, in ice_parser_create_table()
93 void (*parse_item)(struct ice_hw *hw, u16 idx, in ice_parser_create_table()
143 static void ice_imem_bst_kb_dump(struct ice_hw *hw, in ice_imem_bst_kb_dump()
153 static void ice_imem_np_kb_dump(struct ice_hw *hw, in ice_imem_np_kb_dump()
164 static void ice_imem_pg_kb_dump(struct ice_hw *hw, in ice_imem_pg_kb_dump()
181 static void ice_imem_alu_dump(struct ice_hw *hw, in ice_imem_alu_dump()
645 static void ice_pg_nm_cam_key_dump(struct ice_hw *hw, in ice_pg_nm_cam_key_dump()
695 static void ice_pg_nm_cam_dump(struct ice_hw *hw, in ice_pg_nm_cam_dump()
1560 static void ice_proto_off_dump(struct ice_hw *hw, in ice_proto_off_dump()
1576 static void ice_proto_grp_dump(struct ice_hw *hw, in ice_proto_grp_dump()
[all …]
H A Dice_flex_pipe.c94 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()
1865 static void ice_init_sw_db(struct ice_hw *hw) in ice_init_sw_db()
2013 void ice_fill_blk_tbls(struct ice_hw *hw) in ice_fill_blk_tbls()
2100 void ice_free_hw_tbls(struct ice_hw *hw) in ice_free_hw_tbls()
2158 void ice_clear_hw_tbls(struct ice_hw *hw) in ice_clear_hw_tbls()
2205 int ice_init_hw_tbls(struct ice_hw *hw) in ice_init_hw_tbls()
[all …]
H A Dice_ddp.c83 void ice_free_seg(struct ice_hw *hw) in ice_free_seg()
370 static int ice_get_prof_index_max(struct ice_hw *hw) in ice_get_prof_index_max()
444 static void ice_init_pkg_regs(struct ice_hw *hw) in ice_init_pkg_regs()
892 void ice_init_prof_result_bm(struct ice_hw *hw) in ice_init_prof_result_bm()
1231 struct ice_hw *hw;
1260 struct ice_hw *hw = ctx->hw; in ice_ddp_send_hunk()
1516 ice_post_dwnld_pkg_actions(struct ice_hw *hw) in ice_post_dwnld_pkg_actions()
1686 static int ice_aq_get_pkg_info_list(struct ice_hw *hw, in ice_aq_get_pkg_info_list()
1828 ice_find_seg_in_pkg(struct ice_hw *hw, u32 seg_type, in ice_find_seg_in_pkg()
1916 static void ice_get_signing_req(struct ice_hw *hw) in ice_get_signing_req()
[all …]
H A Dice_fltr.h11 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 Dice_sched.c20 struct ice_hw *hw; in ice_sched_add_root_node()
157 struct ice_hw *hw; in ice_sched_add_node()
302 struct ice_hw *hw = pi->hw; in ice_free_sched_node()
891 struct ice_hw *hw = pi->hw; in ice_sched_add_elems()
1224 struct ice_hw *hw; in ice_sched_init_port()
1586 struct ice_hw *hw = pi->hw; in ice_sched_get_agg_node()
1649 struct ice_hw *hw = pi->hw; in ice_sched_add_vsi_child_nodes()
2227 struct ice_hw *hw; in ice_sched_move_nodes()
3199 struct ice_hw *hw; in ice_sched_add_rl_profile()
3487 struct ice_hw *hw; in ice_sched_set_node_bw_dflt()
[all …]
H A Dice_switch.c1461 int ice_init_def_sw_recp(struct ice_hw *hw) in ice_init_def_sw_recp()
1740 void ice_clear_all_vsi_ctx(struct ice_hw *hw) in ice_clear_all_vsi_ctx()
1987 ice_aq_add_recipe(struct ice_hw *hw, in ice_aq_add_recipe()
2024 ice_aq_get_recipe(struct ice_hw *hw, in ice_aq_get_recipe()
2064 ice_update_recipe_lkup_idx(struct ice_hw *hw, in ice_update_recipe_lkup_idx()
2469 int ice_get_initial_sw_cfg(struct ice_hw *hw) in ice_get_initial_sw_cfg()
2971 ice_create_pkt_fwd_rule(struct ice_hw *hw, in ice_create_pkt_fwd_rule()
3122 ice_add_update_vsi_list(struct ice_hw *hw, in ice_add_update_vsi_list()
3941 struct ice_hw *hw = pi->hw; in ice_cfg_dflt_vsi()
5914 ice_adv_add_update_vsi_list(struct ice_hw *hw, in ice_adv_add_update_vsi_list()
[all …]

123