| /Linux-v5.4/drivers/net/ethernet/intel/ice/ |
| D | ice_common.h | 13 enum ice_status ice_nvm_validate_checksum(struct ice_hw *hw); 16 ice_debug_cq(struct ice_hw *hw, u32 mask, void *desc, void *buf, u16 buf_len); 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); 20 enum ice_status ice_reset(struct ice_hw *hw, enum ice_reset_req req); 21 enum ice_status ice_create_all_ctrlq(struct ice_hw *hw); 22 enum ice_status ice_init_all_ctrlq(struct ice_hw *hw); 23 void ice_shutdown_all_ctrlq(struct ice_hw *hw); 24 void ice_destroy_all_ctrlq(struct ice_hw *hw); [all …]
|
| D | ice_switch.h | 202 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 205 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 208 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 210 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 211 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle); 212 void ice_clear_all_vsi_ctx(struct ice_hw *hw); 214 enum ice_status ice_get_initial_sw_cfg(struct ice_hw *hw); 217 enum ice_status ice_update_sw_rule_bridge_mode(struct ice_hw *hw); 218 enum ice_status ice_add_mac(struct ice_hw *hw, struct list_head *m_lst); 219 enum ice_status ice_remove_mac(struct ice_hw *hw, struct list_head *m_lst); [all …]
|
| D | ice_flex_pipe.h | 21 enum ice_status ice_init_pkg(struct ice_hw *hw, u8 *buff, u32 len); 23 ice_copy_and_init_pkg(struct ice_hw *hw, const u8 *buf, u32 len); 24 enum ice_status ice_init_hw_tbls(struct ice_hw *hw); 25 void ice_free_seg(struct ice_hw *hw); 26 void ice_fill_blk_tbls(struct ice_hw *hw); 27 void ice_clear_hw_tbls(struct ice_hw *hw); 28 void ice_free_hw_tbls(struct ice_hw *hw);
|
| D | ice_dcb.h | 124 ice_aq_get_dcb_cfg(struct ice_hw *hw, u8 mib_type, u8 bridgetype, 128 enum ice_status ice_init_dcb(struct ice_hw *hw, bool enable_mib_change); 135 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 138 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 140 ice_aq_start_stop_dcbx(struct ice_hw *hw, bool start_dcbx_agent, 142 enum ice_status ice_cfg_lldp_mib_change(struct ice_hw *hw, bool ena_mib); 145 ice_aq_stop_lldp(struct ice_hw __always_unused *hw, in ice_aq_stop_lldp() 154 ice_aq_start_lldp(struct ice_hw __always_unused *hw, in ice_aq_start_lldp() 162 ice_aq_start_stop_dcbx(struct ice_hw __always_unused *hw, in ice_aq_start_stop_dcbx() 173 ice_cfg_lldp_mib_change(struct ice_hw __always_unused *hw, in ice_cfg_lldp_mib_change()
|
| D | ice_nvm.c | 19 ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length, in ice_aq_read_nvm() 51 ice_check_sr_access_params(struct ice_hw *hw, u32 offset, u16 words) in ice_check_sr_access_params() 89 ice_read_sr_aq(struct ice_hw *hw, u32 offset, u16 words, u16 *data, in ice_read_sr_aq() 116 ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word_aq() 139 ice_read_sr_buf_aq(struct ice_hw *hw, u16 offset, u16 *words, u16 *data) in ice_read_sr_buf_aq() 192 ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access) in ice_acquire_nvm() 206 static void ice_release_nvm(struct ice_hw *hw) in ice_release_nvm() 223 ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word() 243 enum ice_status ice_init_nvm(struct ice_hw *hw) in ice_init_nvm() 307 ice_read_sr_buf(struct ice_hw *hw, u16 offset, u16 *words, u16 *data) in ice_read_sr_buf() [all …]
|
| D | ice_controlq.c | 32 static void ice_adminq_init_regs(struct ice_hw *hw) in ice_adminq_init_regs() 45 static void ice_mailbox_init_regs(struct ice_hw *hw) in ice_mailbox_init_regs() 59 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive() 76 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring() 107 ice_alloc_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_rq_ring() 128 static void ice_free_cq_ring(struct ice_hw *hw, struct ice_ctl_q_ring *ring) in ice_free_cq_ring() 143 ice_alloc_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_rq_bufs() 213 ice_alloc_sq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_sq_bufs() 254 ice_cfg_cq_regs(struct ice_hw *hw, struct ice_ctl_q_ring *ring, u16 num_entries) in ice_cfg_cq_regs() 280 ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_sq_regs() [all …]
|
| D | ice_sched.c | 19 struct ice_hw *hw; in ice_sched_add_root_node() 100 ice_aqc_send_sched_elem_cmd(struct ice_hw *hw, enum ice_adminq_opc cmd_opc, in ice_aqc_send_sched_elem_cmd() 131 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req, in ice_aq_query_sched_elems() 156 struct ice_hw *hw; in ice_sched_add_node() 214 ice_aq_delete_sched_elems(struct ice_hw *hw, u16 grps_req, in ice_aq_delete_sched_elems() 233 ice_sched_remove_elems(struct ice_hw *hw, struct ice_sched_node *parent, in ice_sched_remove_elems() 307 struct ice_hw *hw = pi->hw; in ice_free_sched_node() 374 ice_aq_get_dflt_topo(struct ice_hw *hw, u8 lport, in ice_aq_get_dflt_topo() 404 ice_aq_add_sched_elems(struct ice_hw *hw, u16 grps_req, in ice_aq_add_sched_elems() 425 ice_aq_suspend_sched_elems(struct ice_hw *hw, u16 elems_req, in ice_aq_suspend_sched_elems() [all …]
|
| D | ice_switch.c | 64 ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries, in ice_aq_alloc_free_res() 95 enum ice_status ice_init_def_sw_recp(struct ice_hw *hw) in ice_init_def_sw_recp() 143 ice_aq_get_sw_cfg(struct ice_hw *hw, struct ice_aqc_get_sw_cfg_resp *buf, in ice_aq_get_sw_cfg() 173 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi() 217 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_free_vsi() 252 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_update_vsi() 287 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle) in ice_is_vsi_valid() 300 u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle) in ice_get_hw_vsi_num() 312 struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle) in ice_get_vsi_ctx() 326 ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi) in ice_save_vsi_ctx() [all …]
|
| D | ice_sched.h | 28 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req, 32 enum ice_status ice_sched_query_res_alloc(struct ice_hw *hw); 34 void ice_sched_cleanup_all(struct ice_hw *hw); 35 void ice_sched_clear_agg(struct ice_hw *hw);
|
| D | ice_common.c | 36 static enum ice_status ice_set_mac_type(struct ice_hw *hw) in ice_set_mac_type() 52 void ice_dev_onetime_setup(struct ice_hw *hw) in ice_dev_onetime_setup() 66 enum ice_status ice_clear_pf_cfg(struct ice_hw *hw) in ice_clear_pf_cfg() 90 ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size, in ice_aq_manage_mac_read() 274 struct ice_hw *hw; in ice_aq_get_link_info() 357 static void ice_init_flex_flags(struct ice_hw *hw, enum ice_rxdid prof_id) in ice_init_flex_flags() 406 static void ice_init_flex_flds(struct ice_hw *hw, enum ice_rxdid prof_id) in ice_init_flex_flds() 436 static enum ice_status ice_init_fltr_mgmt_struct(struct ice_hw *hw) in ice_init_fltr_mgmt_struct() 456 static void ice_cleanup_fltr_mgmt_struct(struct ice_hw *hw) in ice_cleanup_fltr_mgmt_struct() 495 static enum ice_status ice_get_fw_log_cfg(struct ice_hw *hw) in ice_get_fw_log_cfg() [all …]
|
| D | ice_flex_pipe.c | 178 ice_acquire_global_cfg_lock(struct ice_hw *hw, in ice_acquire_global_cfg_lock() 201 static void ice_release_global_cfg_lock(struct ice_hw *hw) in ice_release_global_cfg_lock() 220 ice_aq_download_pkg(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, in ice_aq_download_pkg() 266 ice_find_seg_in_pkg(struct ice_hw *hw, u32 seg_type, in ice_find_seg_in_pkg() 300 ice_dwnld_cfg_bufs(struct ice_hw *hw, struct ice_buf *bufs, u32 count) in ice_dwnld_cfg_bufs() 382 ice_aq_get_pkg_info_list(struct ice_hw *hw, in ice_aq_get_pkg_info_list() 401 ice_download_pkg(struct ice_hw *hw, struct ice_seg *ice_seg) in ice_download_pkg() 430 ice_init_pkg_info(struct ice_hw *hw, struct ice_pkg_hdr *pkg_hdr) in ice_init_pkg_info() 479 static enum ice_status ice_get_pkg_info(struct ice_hw *hw) in ice_get_pkg_info() 587 void ice_free_seg(struct ice_hw *hw) in ice_free_seg() [all …]
|
| D | ice_sriov.h | 11 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, 17 ice_aq_send_msg_to_vf(struct ice_hw __always_unused *hw, in ice_aq_send_msg_to_vf()
|
| D | ice_dcb.c | 22 ice_aq_get_lldp_mib(struct ice_hw *hw, u8 bridge_type, u8 mib_type, void *buf, in ice_aq_get_lldp_mib() 64 ice_aq_cfg_lldp_mib_change(struct ice_hw *hw, bool ena_update, in ice_aq_cfg_lldp_mib_change() 92 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, in ice_aq_stop_lldp() 120 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd) in ice_aq_start_lldp() 148 ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size, in ice_aq_set_lldp_mib() 176 static u8 ice_get_dcbx_status(struct ice_hw *hw) in ice_get_dcbx_status() 685 ice_aq_get_dcb_cfg(struct ice_hw *hw, u8 mib_type, u8 bridgetype, in ice_aq_get_dcb_cfg() 723 ice_aq_start_stop_dcbx(struct ice_hw *hw, bool start_dcbx_agent, in ice_aq_start_stop_dcbx() 760 ice_aq_get_cee_dcb_cfg(struct ice_hw *hw, in ice_aq_get_cee_dcb_cfg() 950 enum ice_status ice_init_dcb(struct ice_hw *hw, bool enable_mib_change) in ice_init_dcb() [all …]
|
| D | ice_lib.h | 103 void ice_trigger_sw_intr(struct ice_hw *hw, struct ice_q_vector *q_vector); 123 char *ice_nvm_version_str(struct ice_hw *hw);
|
| D | ice_main.c | 74 struct ice_hw *hw; in ice_check_for_hang_subtask() 237 struct ice_hw *hw = &vsi->back->hw; in ice_cfg_promisc() 273 struct ice_hw *hw = &pf->hw; in ice_vsi_sync_fltr() 491 struct ice_hw *hw = &pf->hw; in ice_prepare_for_reset() 528 struct ice_hw *hw = &pf->hw; in ice_do_reset() 964 struct ice_hw *hw = &pf->hw; in __ice_clean_ctrlq() 1093 static bool ice_ctrlq_pending(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_ctrlq_pending() 1107 struct ice_hw *hw = &pf->hw; in ice_clean_adminq_subtask() 1134 struct ice_hw *hw = &pf->hw; in ice_clean_mailboxq_subtask() 1225 struct ice_hw *hw = &pf->hw; in ice_handle_mdd_event() [all …]
|
| D | ice_virtchnl_pf.c | 50 struct ice_hw *hw = &pf->hw; in ice_vc_vf_broadcast() 124 struct ice_hw *hw; in ice_vc_notify_vf_link_state() 188 struct ice_hw *hw; in ice_dis_vf_mappings() 292 struct ice_hw *hw = &pf->hw; in ice_free_vfs() 369 struct ice_hw *hw; in ice_trigger_vf_reset() 461 struct ice_hw *hw = &vsi->back->hw; in ice_vsi_manage_pvid() 638 struct ice_hw *hw; in ice_ena_vf_mappings() 936 struct ice_hw *hw; in ice_cleanup_and_realloc_vf() 989 struct ice_hw *hw; in ice_vf_set_vsi_promisc() 1025 struct ice_hw *hw = &pf->hw; in ice_config_res_vfs() [all …]
|
| D | ice_lib.c | 17 struct ice_hw *hw = &vsi->back->hw; in ice_setup_rx_ctx() 119 struct ice_hw *hw = &vsi->back->hw; in ice_setup_tx_ctx() 206 struct ice_hw *hw = &pf->hw; in ice_vsi_ctrl_rx_ring() 1032 struct ice_hw *hw = &pf->hw; in ice_vsi_init() 1536 struct ice_hw *hw = &vsi->back->hw; in ice_update_eth_stats() 1846 static void ice_cfg_itr_gran(struct ice_hw *hw) in ice_cfg_itr_gran() 1882 ice_cfg_itr(struct ice_hw *hw, struct ice_q_vector *q_vector) in ice_cfg_itr() 1934 struct ice_hw *hw = &pf->hw; in ice_cfg_txq_interrupt() 1964 struct ice_hw *hw = &pf->hw; in ice_cfg_rxq_interrupt() 1987 struct ice_hw *hw = &pf->hw; in ice_vsi_cfg_msix() [all …]
|
| D | ice_sriov.c | 23 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()
|
| D | ice_osdep.h | 57 struct ice_hw *hw_l = hw; \
|
| D | ice.h | 367 struct ice_hw hw; 390 ice_irq_dynamic_ena(struct ice_hw *hw, struct ice_vsi *vsi, in ice_irq_dynamic_ena()
|
| D | ice_type.h | 348 struct ice_hw *hw; /* back pointer to HW instance */ 401 struct ice_hw { struct
|
| D | ice_dcb_lib.c | 447 struct ice_hw *hw; in ice_dcb_sw_dflt_cfg() 491 struct ice_hw *hw = &pf->hw; in ice_init_pf_dcb() 545 struct ice_hw *hw = &pf->hw; in ice_update_dcb_stats()
|
| D | ice_ethtool.c | 189 struct ice_hw *hw = &pf->hw; in ice_get_regs() 244 struct ice_hw *hw = &pf->hw; in ice_get_eeprom() 342 static int ice_reg_pattern_test(struct ice_hw *hw, u32 reg, u32 mask) in ice_reg_pattern_test() 388 struct ice_hw *hw = np->vsi->port_info->hw; in ice_reg_test() 2848 struct ice_hw *hw = &pf->hw; in ice_set_pauseparam()
|