| /linux/drivers/net/ethernet/intel/ice/ |
| A D | ice_common.h | 17 enum ice_status ice_init_hw(struct ice_hw *hw); 18 void ice_deinit_hw(struct ice_hw *hw); 19 enum ice_status ice_check_reset(struct ice_hw *hw); 23 void ice_shutdown_all_ctrlq(struct ice_hw *hw); 24 void ice_destroy_all_ctrlq(struct ice_hw *hw); 43 bool ice_is_sbq_supported(struct ice_hw *hw); 49 void ice_clear_pxe_mode(struct ice_hw *hw); 52 void ice_set_safe_mode_caps(struct ice_hw *hw); 102 bool ice_is_e810(struct ice_hw *hw); 175 void ice_replay_post(struct ice_hw *hw); [all …]
|
| A D | ice_flex_pipe.h | 23 void ice_release_change_lock(struct ice_hw *hw); 28 ice_get_sw_fv_bitmap(struct ice_hw *hw, enum ice_prof_type type, 31 ice_init_prof_result_bm(struct ice_hw *hw); 33 ice_get_sw_fv_list(struct ice_hw *hw, u8 *prot_ids, u16 ids_cnt, 36 ice_get_open_tunnel_port(struct ice_hw *hw, u16 *port, 54 enum ice_status 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); 58 void ice_free_hw_tbls(struct ice_hw *hw); [all …]
|
| A D | ice_switch.h | 314 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 316 void ice_clear_all_vsi_ctx(struct ice_hw *hw); 318 enum ice_status ice_get_initial_sw_cfg(struct ice_hw *hw); 336 ice_add_eth_mac(struct ice_hw *hw, struct list_head *em_list); 343 void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle); 345 ice_add_vlan(struct ice_hw *hw, struct list_head *m_list); 362 ice_rem_adv_rule_for_vsi(struct ice_hw *hw, u16 vsi_handle); 364 ice_rem_adv_rule_by_id(struct ice_hw *hw, 367 enum ice_status ice_init_def_sw_recp(struct ice_hw *hw); 368 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle); [all …]
|
| A D | ice_nvm.h | 16 ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access); 17 void ice_release_nvm(struct ice_hw *hw); 19 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, 25 ice_get_inactive_orom_ver(struct ice_hw *hw, struct ice_orom_info *orom); 27 ice_get_inactive_nvm_ver(struct ice_hw *hw, struct ice_nvm_info *nvm); 31 ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size); 32 enum ice_status ice_init_nvm(struct ice_hw *hw); 35 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, 40 enum ice_status ice_nvm_validate_checksum(struct ice_hw *hw); 42 enum ice_status ice_aq_nvm_update_empr(struct ice_hw *hw); [all …]
|
| A D | ice_ptp_hw.h | 21 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw); 22 bool ice_ptp_lock(struct ice_hw *hw); 23 void ice_ptp_unlock(struct ice_hw *hw); 24 int ice_ptp_init_time(struct ice_hw *hw, u64 time); 25 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval); 27 int ice_ptp_adj_clock(struct ice_hw *hw, s32 adj); 29 int ice_clear_phy_tstamp(struct ice_hw *hw, u8 block, u8 idx); 32 int ice_ptp_init_phy_e810(struct ice_hw *hw); 33 int ice_read_sma_ctrl_e810t(struct ice_hw *hw, u8 *data); 34 int ice_write_sma_ctrl_e810t(struct ice_hw *hw, u8 data); [all …]
|
| A D | ice_ptp_hw.c | 49 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw) in ice_get_ptp_src_clock_index() 201 int ice_ptp_init_phy_e810(struct ice_hw *hw) in ice_ptp_init_phy_e810() 403 bool ice_ptp_lock(struct ice_hw *hw) in ice_ptp_lock() 430 void ice_ptp_unlock(struct ice_hw *hw) in ice_ptp_unlock() 517 int ice_ptp_init_time(struct ice_hw *hw, u64 time) in ice_ptp_init_time() 552 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval) in ice_ptp_write_incval() 604 int ice_ptp_adj_clock(struct ice_hw *hw, s32 adj) in ice_ptp_adj_clock() 648 int ice_clear_phy_tstamp(struct ice_hw *hw, u8 block, u8 idx) in ice_clear_phy_tstamp() 729 int ice_read_sma_ctrl_e810t(struct ice_hw *hw, u8 *data) in ice_read_sma_ctrl_e810t() 762 int ice_write_sma_ctrl_e810t(struct ice_hw *hw, u8 data) in ice_write_sma_ctrl_e810t() [all …]
|
| A D | ice_dcb.h | 140 int ice_aq_set_pfc_mode(struct ice_hw *hw, u8 pfc_mode, struct ice_sq_cd *cd); 142 ice_aq_get_dcb_cfg(struct ice_hw *hw, u8 mib_type, u8 bridgetype, 146 enum ice_status ice_init_dcb(struct ice_hw *hw, bool enable_mib_change); 153 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 156 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 158 ice_aq_start_stop_dcbx(struct ice_hw *hw, bool start_dcbx_agent, 160 enum ice_status ice_cfg_lldp_mib_change(struct ice_hw *hw, bool ena_mib); 163 ice_aq_stop_lldp(struct ice_hw __always_unused *hw, in ice_aq_stop_lldp() 172 ice_aq_start_lldp(struct ice_hw __always_unused *hw, in ice_aq_start_lldp() 180 ice_aq_start_stop_dcbx(struct ice_hw __always_unused *hw, in ice_aq_start_stop_dcbx() [all …]
|
| A D | ice_nvm.c | 64 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, in ice_read_flat_nvm() 123 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, in ice_aq_update_nvm() 188 ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word_aq() 228 void ice_release_nvm(struct ice_hw *hw) in ice_release_nvm() 807 static enum ice_status ice_discover_flash_size(struct ice_hw *hw) in ice_discover_flash_size() 863 ice_read_sr_pointer(struct ice_hw *hw, u16 offset, u32 *pointer) in ice_read_sr_pointer() 895 ice_read_sr_area_size(struct ice_hw *hw, u16 offset, u32 *size) in ice_read_sr_area_size() 921 ice_determine_active_flash_banks(struct ice_hw *hw) in ice_determine_active_flash_banks() 1000 enum ice_status ice_init_nvm(struct ice_hw *hw) in ice_init_nvm() 1063 enum ice_status ice_nvm_validate_checksum(struct ice_hw *hw) in ice_nvm_validate_checksum() [all …]
|
| A D | ice_fdir.h | 204 enum ice_status ice_alloc_fd_res_cntr(struct ice_hw *hw, u16 *cntr_id); 205 enum ice_status ice_free_fd_res_cntr(struct ice_hw *hw, u16 cntr_id); 207 ice_alloc_fd_guar_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 209 ice_alloc_fd_shrd_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 211 ice_fdir_get_prgm_desc(struct ice_hw *hw, struct ice_fdir_fltr *input, 214 ice_fdir_get_gen_prgm_pkt(struct ice_hw *hw, struct ice_fdir_fltr *input, 216 int ice_get_fdir_cnt_all(struct ice_hw *hw); 217 bool ice_fdir_is_dup_fltr(struct ice_hw *hw, struct ice_fdir_fltr *input); 220 ice_fdir_find_fltr_by_idx(struct ice_hw *hw, u32 fltr_idx); 222 ice_fdir_update_cntrs(struct ice_hw *hw, enum ice_fltr_ptype flow, bool add); [all …]
|
| A D | ice_sched.h | 69 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req, 73 enum ice_status ice_sched_query_res_alloc(struct ice_hw *hw); 74 void ice_sched_get_psm_clk_freq(struct ice_hw *hw); 77 void ice_sched_cleanup_all(struct ice_hw *hw); 78 void ice_sched_clear_agg(struct ice_hw *hw); 115 enum ice_status ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes); 116 void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw); 117 void ice_sched_replay_agg(struct ice_hw *hw); 118 enum ice_status ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle);
|
| A D | ice_sriov.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, 28 enum ice_status ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count); 29 void ice_mbx_deinit_snapshot(struct ice_hw *hw); 31 ice_mbx_report_malvf(struct ice_hw *hw, unsigned long *all_malvfs, 35 ice_aq_send_msg_to_vf(struct ice_hw __always_unused *hw, in ice_aq_send_msg_to_vf()
|
| A D | ice_common.c | 188 struct ice_hw *hw; in ice_aq_get_phy_caps() 433 struct ice_hw *hw; in ice_aq_get_link_info() 2971 struct ice_hw *hw; in ice_update_link_info() 3126 struct ice_hw *hw; in ice_set_fc() 3267 struct ice_hw *hw; in ice_cfg_phy_fec() 3461 struct ice_hw *hw = pi->hw; in ice_aq_set_port_id_led() 4197 struct ice_hw *hw; in ice_ena_vsi_txq() 4302 struct ice_hw *hw; in ice_dis_vsi_txq() 4455 struct ice_hw *hw; in ice_ena_vsi_rdma_qset() 4532 struct ice_hw *hw; in ice_dis_vsi_rdma_qset() [all …]
|
| 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() 299 ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_sq_regs() 515 static bool ice_aq_ver_check(struct ice_hw *hw) in ice_aq_ver_check() 672 bool ice_is_sbq_supported(struct ice_hw *hw) in ice_is_sbq_supported() 684 struct ice_ctl_q_info *ice_get_sbq(struct ice_hw *hw) in ice_get_sbq() 730 void ice_shutdown_all_ctrlq(struct ice_hw *hw) in ice_shutdown_all_ctrlq() 754 enum ice_status ice_init_all_ctrlq(struct ice_hw *hw) in ice_init_all_ctrlq() 817 enum ice_status ice_create_all_ctrlq(struct ice_hw *hw) in ice_create_all_ctrlq() [all …]
|
| A D | ice_flow.h | 387 ice_flow_add_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir, 391 ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id); 393 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id, 397 ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_h); 404 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle); 405 enum ice_status ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 407 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds); 408 enum ice_status 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 …]
|
| A D | ice_flex_pipe.c | 703 ice_acquire_global_cfg_lock(struct ice_hw *hw, in ice_acquire_global_cfg_lock() 751 void ice_release_change_lock(struct ice_hw *hw) in ice_release_change_lock() 1016 ice_aq_get_pkg_info_list(struct ice_hw *hw, in ice_aq_get_pkg_info_list() 1228 void ice_free_seg(struct ice_hw *hw) in ice_free_seg() 1242 static void ice_init_pkg_regs(struct ice_hw *hw) in ice_init_pkg_regs() 1721 void ice_init_prof_result_bm(struct ice_hw *hw) in ice_init_prof_result_bm() 1963 ice_create_tunnel(struct ice_hw *hw, u16 index, in ice_create_tunnel() 3380 static void ice_init_sw_db(struct ice_hw *hw) in ice_init_sw_db() 3528 void ice_fill_blk_tbls(struct ice_hw *hw) in ice_fill_blk_tbls() 3615 void ice_free_hw_tbls(struct ice_hw *hw) in ice_free_hw_tbls() [all …]
|
| A D | ice_sched.c | 19 struct ice_hw *hw; in ice_sched_add_root_node() 156 struct ice_hw *hw; in ice_sched_add_node() 306 struct ice_hw *hw = pi->hw; in ice_free_sched_node() 887 struct ice_hw *hw = pi->hw; in ice_sched_add_elems() 1205 struct ice_hw *hw; in ice_sched_init_port() 1560 struct ice_hw *hw = pi->hw; in ice_sched_get_agg_node() 1623 struct ice_hw *hw = pi->hw; in ice_sched_add_vsi_child_nodes() 2199 struct ice_hw *hw; in ice_sched_move_nodes() 3180 struct ice_hw *hw; in ice_sched_add_rl_profile() 3470 struct ice_hw *hw; in ice_sched_set_node_bw_dflt() [all …]
|
| A D | ice_switch.c | 531 enum ice_status ice_init_def_sw_recp(struct ice_hw *hw) in ice_init_def_sw_recp() 816 void ice_clear_all_vsi_ctx(struct ice_hw *hw) in ice_clear_all_vsi_ctx() 1036 ice_aq_add_recipe(struct ice_hw *hw, in ice_aq_add_recipe() 1073 ice_aq_get_recipe(struct ice_hw *hw, in ice_aq_get_recipe() 1899 ice_create_pkt_fwd_rule(struct ice_hw *hw, in ice_create_pkt_fwd_rule() 2048 ice_add_update_vsi_list(struct ice_hw *hw, in ice_add_update_vsi_list() 2213 ice_add_rule_internal(struct ice_hw *hw, u8 recp_id, in ice_add_rule_internal() 3353 ice_remove_promisc(struct ice_hw *hw, u8 recp_id, in ice_remove_promisc() 3945 ice_create_first_fit_recp_def(struct ice_hw *hw, in ice_create_first_fit_recp_def() 5058 ice_adv_add_update_vsi_list(struct ice_hw *hw, in ice_adv_add_update_vsi_list() [all …]
|
| A D | ice_sriov.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() 191 ice_mbx_traverse(struct ice_hw *hw, in ice_mbx_traverse() 232 ice_mbx_detect_malvf(struct ice_hw *hw, u16 vf_id, in ice_mbx_detect_malvf() 301 ice_mbx_vf_state_handler(struct ice_hw *hw, in ice_mbx_vf_state_handler() 409 ice_mbx_report_malvf(struct ice_hw *hw, unsigned long *all_malvfs, in ice_mbx_report_malvf() 485 enum ice_status ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count) in ice_mbx_init_snapshot() 522 void ice_mbx_deinit_snapshot(struct ice_hw *hw) in ice_mbx_deinit_snapshot()
|
| A D | ice_flow.c | 1180 ice_flow_create_xtrct_seq(struct ice_hw *hw, in ice_flow_create_xtrct_seq() 1253 ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk, in ice_flow_find_prof_conds() 1359 ice_flow_add_prof_sync(struct ice_hw *hw, enum ice_block blk, in ice_flow_add_prof_sync() 1436 ice_flow_rem_prof_sync(struct ice_hw *hw, enum ice_block blk, in ice_flow_rem_prof_sync() 1478 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, in ice_flow_assoc_prof() 1509 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, in ice_flow_disassoc_prof() 1876 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle) in ice_rem_vsi_rss_list() 2132 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_add_rss_cfg() 2220 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds, in ice_rem_rss_cfg() 2283 ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash) in ice_add_avf_rss_cfg() [all …]
|
| A D | ice_ptp.c | 190 struct ice_hw *hw = &pf->hw; in ice_ptp_set_sma_e810t() 348 struct ice_hw *hw = &pf->hw; in ice_get_ptp_clock_index() 394 struct ice_hw *hw = &pf->hw; in ice_set_ptp_clock_index() 434 struct ice_hw *hw = &pf->hw; in ice_clear_ptp_clock_index() 464 struct ice_hw *hw = &pf->hw; in ice_ptp_read_src_clk_reg() 664 struct ice_hw *hw = &pf->hw; in ice_ptp_write_init() 679 struct ice_hw *hw = &pf->hw; in ice_ptp_write_adj() 696 struct ice_hw *hw = &pf->hw; in ice_ptp_adjfine() 745 struct ice_hw *hw = &pf->hw; in ice_ptp_extts_work() 784 struct ice_hw *hw = &pf->hw; in ice_ptp_cfg_extts() [all …]
|
| A D | ice_ethtool_fdir.c | 532 struct ice_hw *hw = &pf->hw; in ice_fdir_set_hw_fltr_rule() 697 struct ice_hw *hw = &pf->hw; in ice_create_init_fdir_rule() 1063 struct ice_hw *hw = &pf->hw; in ice_cfg_fdir_xtrct_seq() 1190 struct ice_hw *hw = &pf->hw; in ice_fdir_write_fltr() 1287 struct ice_hw *hw = &pf->hw; in ice_fdir_replay_fltrs() 1335 struct ice_hw *hw = &pf->hw; in ice_vsi_manage_fdir() 1373 struct ice_hw *hw = &pf->hw; in ice_fdir_do_rem_flow() 1403 struct ice_hw *hw = &pf->hw; in ice_fdir_update_list_entry() 1443 struct ice_hw *hw = &pf->hw; in ice_del_fdir_ethtool() 1477 struct ice_hw *hw; in ice_set_fdir_input_set() [all …]
|
| A D | ice_devlink.c | 41 struct ice_hw *hw = &pf->hw; in ice_info_pba() 53 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt() 61 struct ice_hw *hw = &pf->hw; in ice_info_fw_api() 69 struct ice_hw *hw = &pf->hw; in ice_info_fw_build() 129 struct ice_hw *hw = &pf->hw; in ice_info_ddp_pkg_name() 252 struct ice_hw *hw = &pf->hw; in ice_devlink_info_get() 392 struct ice_hw *hw = &pf->hw; in ice_devlink_flash_update() 620 struct ice_hw *hw = &pf->hw; in ice_devlink_nvm_snapshot() 677 struct ice_hw *hw = &pf->hw; in ice_devlink_devcaps_snapshot()
|
| A D | ice_base.c | 191 static void ice_cfg_itr_gran(struct ice_hw *hw) in ice_cfg_itr_gran() 294 struct ice_hw *hw = &vsi->back->hw; in ice_setup_tx_ctx() 388 struct ice_hw *hw; in ice_setup_rx_ctx() 614 struct ice_hw *hw = &pf->hw; in ice_vsi_ctrl_one_rx_ring() 778 struct ice_hw *hw = &pf->hw; in ice_vsi_cfg_txq() 848 void ice_cfg_itr(struct ice_hw *hw, struct ice_q_vector *q_vector) in ice_cfg_itr() 875 struct ice_hw *hw = &pf->hw; in ice_cfg_txq_interrupt() 907 struct ice_hw *hw = &pf->hw; in ice_cfg_rxq_interrupt() 925 void ice_trigger_sw_intr(struct ice_hw *hw, struct ice_q_vector *q_vector) in ice_trigger_sw_intr() 948 struct ice_hw *hw = &pf->hw; in ice_vsi_stop_tx_ring()
|
| A D | ice_fdir.c | 667 ice_fdir_get_prgm_desc(struct ice_hw *hw, struct ice_fdir_fltr *input, in ice_fdir_get_prgm_desc() 715 enum ice_status ice_alloc_fd_res_cntr(struct ice_hw *hw, u16 *cntr_id) in ice_alloc_fd_res_cntr() 726 enum ice_status ice_free_fd_res_cntr(struct ice_hw *hw, u16 cntr_id) in ice_free_fd_res_cntr() 739 ice_alloc_fd_guar_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr) in ice_alloc_fd_guar_item() 753 ice_alloc_fd_shrd_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr) in ice_alloc_fd_shrd_item() 766 int ice_get_fdir_cnt_all(struct ice_hw *hw) in ice_get_fdir_cnt_all() 876 ice_fdir_get_gen_prgm_pkt(struct ice_hw *hw, struct ice_fdir_fltr *input, in ice_fdir_get_gen_prgm_pkt() 1145 ice_fdir_find_fltr_by_idx(struct ice_hw *hw, u32 fltr_idx) in ice_fdir_find_fltr_by_idx() 1164 void ice_fdir_list_add_fltr(struct ice_hw *hw, struct ice_fdir_fltr *fltr) in ice_fdir_list_add_fltr() 1188 ice_fdir_update_cntrs(struct ice_hw *hw, enum ice_fltr_ptype flow, bool add) in ice_fdir_update_cntrs() [all …]
|
| A D | ice_fw_update.c | 42 struct ice_hw *hw = &pf->hw; in ice_send_package_data() 205 struct ice_hw *hw = &pf->hw; in ice_send_component_table() 279 struct ice_hw *hw = &pf->hw; in ice_write_one_nvm_block() 446 struct ice_hw *hw = &pf->hw; in ice_erase_nvm_module() 526 struct ice_hw *hw = &pf->hw; in ice_switch_flash_banks() 671 struct ice_hw *hw = &pf->hw; in ice_flash_pldm_image() 738 struct ice_hw *hw = &pf->hw; in ice_check_for_pending_update()
|