Lines Matching refs:ice_hw
95 ice_dump_phy_type(struct ice_hw *hw, u64 low, u64 high, const char *prefix) in ice_dump_phy_type()
121 static int ice_set_mac_type(struct ice_hw *hw) in ice_set_mac_type()
177 bool ice_is_e810(struct ice_hw *hw) in ice_is_e810()
188 bool ice_is_e810t(struct ice_hw *hw) in ice_is_e810t()
223 bool ice_is_e823(struct ice_hw *hw) in ice_is_e823()
249 int ice_clear_pf_cfg(struct ice_hw *hw) in ice_clear_pf_cfg()
274 ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size, in ice_aq_manage_mac_read()
335 struct ice_hw *hw; in ice_aq_get_phy_caps()
599 struct ice_hw *hw; in ice_aq_get_link_info()
690 ice_fill_tx_timer_and_fc_thresh(struct ice_hw *hw, in ice_fill_tx_timer_and_fc_thresh()
739 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd) in ice_aq_set_mac_cfg()
762 static int ice_init_fltr_mgmt_struct(struct ice_hw *hw) in ice_init_fltr_mgmt_struct()
789 static void ice_cleanup_fltr_mgmt_struct(struct ice_hw *hw) in ice_cleanup_fltr_mgmt_struct()
847 static int ice_get_fw_log_cfg(struct ice_hw *hw) in ice_get_fw_log_cfg()
919 static int ice_cfg_fw_log(struct ice_hw *hw, bool enable) in ice_cfg_fw_log()
1045 void ice_output_fw_log(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf) in ice_output_fw_log()
1060 static void ice_get_itr_intrl_gran(struct ice_hw *hw) in ice_get_itr_intrl_gran()
1084 int ice_init_hw(struct ice_hw *hw) in ice_init_hw()
1253 void ice_deinit_hw(struct ice_hw *hw) in ice_deinit_hw()
1276 int ice_check_reset(struct ice_hw *hw) in ice_check_reset()
1336 static int ice_pf_reset(struct ice_hw *hw) in ice_pf_reset()
1392 int ice_reset(struct ice_hw *hw, enum ice_reset_req req) in ice_reset()
1428 ice_copy_rxq_ctx_to_hw(struct ice_hw *hw, u8 *ice_rxq_ctx, u32 rxq_index) in ice_copy_rxq_ctx_to_hw()
1487 ice_write_rxq_ctx(struct ice_hw *hw, struct ice_rlan_ctx *rlan_ctx, in ice_write_rxq_ctx()
1546 ice_sbq_send_cmd(struct ice_hw *hw, struct ice_sbq_cmd_desc *desc, in ice_sbq_send_cmd()
1558 int ice_sbq_rw_reg(struct ice_hw *hw, struct ice_sbq_msg_input *in) in ice_sbq_rw_reg()
1633 ice_sq_send_cmd_retry(struct ice_hw *hw, struct ice_ctl_q_info *cq, in ice_sq_send_cmd_retry()
1681 ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf, in ice_aq_send_cmd()
1736 int ice_aq_get_fw_ver(struct ice_hw *hw, struct ice_sq_cd *cd) in ice_aq_get_fw_ver()
1772 ice_aq_send_driver_ver(struct ice_hw *hw, struct ice_driver_ver *dv, in ice_aq_send_driver_ver()
1808 int ice_aq_q_shutdown(struct ice_hw *hw, bool unloading) in ice_aq_q_shutdown()
1850 ice_aq_req_res(struct ice_hw *hw, enum ice_aq_res_ids res, in ice_aq_req_res()
1919 ice_aq_release_res(struct ice_hw *hw, enum ice_aq_res_ids res, u8 sdp_number, in ice_aq_release_res()
1945 ice_acquire_res(struct ice_hw *hw, enum ice_aq_res_ids res, in ice_acquire_res()
2001 void ice_release_res(struct ice_hw *hw, enum ice_aq_res_ids res) in ice_release_res()
2027 int ice_aq_alloc_free_res(struct ice_hw *hw, in ice_aq_alloc_free_res()
2057 ice_alloc_hw_res(struct ice_hw *hw, u16 type, u16 num, bool btm, u16 *res) in ice_alloc_hw_res()
2093 int ice_free_hw_res(struct ice_hw *hw, u16 type, u16 num, u16 *res) in ice_free_hw_res()
2126 static u32 ice_get_num_per_func(struct ice_hw *hw, u32 max) in ice_get_num_per_func()
2154 ice_parse_common_caps(struct ice_hw *hw, struct ice_hw_common_caps *caps, in ice_parse_common_caps()
2281 ice_recalc_port_limited_caps(struct ice_hw *hw, struct ice_hw_common_caps *caps) in ice_recalc_port_limited_caps()
2313 ice_parse_vf_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, in ice_parse_vf_func_caps()
2336 ice_parse_vsi_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, in ice_parse_vsi_func_caps()
2355 ice_parse_1588_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, in ice_parse_1588_func_caps()
2408 ice_parse_fdir_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p) in ice_parse_fdir_func_caps()
2447 ice_parse_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_p, in ice_parse_func_caps()
2498 ice_parse_valid_functions_cap(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_valid_functions_cap()
2517 ice_parse_vf_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_vf_dev_caps()
2536 ice_parse_vsi_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_vsi_dev_caps()
2555 ice_parse_1588_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_1588_dev_caps()
2610 ice_parse_fdir_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_fdir_dev_caps()
2635 ice_parse_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_p, in ice_parse_dev_caps()
2688 ice_aq_get_netlist_node(struct ice_hw *hw, struct ice_aqc_get_link_topo *cmd, in ice_aq_get_netlist_node()
2711 bool ice_is_pf_c827(struct ice_hw *hw) in ice_is_pf_c827()
2761 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, in ice_aq_list_caps()
2792 ice_discover_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_caps) in ice_discover_dev_caps()
2826 ice_discover_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_caps) in ice_discover_func_caps()
2855 void ice_set_safe_mode_caps(struct ice_hw *hw) in ice_set_safe_mode_caps()
2924 int ice_get_caps(struct ice_hw *hw) in ice_get_caps()
2945 ice_aq_manage_mac_write(struct ice_hw *hw, const u8 *mac_addr, u8 flags, in ice_aq_manage_mac_write()
2966 static int ice_aq_clear_pxe_mode(struct ice_hw *hw) in ice_aq_clear_pxe_mode()
2983 void ice_clear_pxe_mode(struct ice_hw *hw) in ice_clear_pxe_mode()
3003 struct ice_hw *hw = pi->hw; in ice_aq_set_port_params()
3024 bool ice_is_100m_speed_supported(struct ice_hw *hw) in ice_is_100m_speed_supported()
3226 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi, in ice_aq_set_phy_cfg()
3290 struct ice_hw *hw; in ice_update_link_info()
3444 struct ice_hw *hw; in ice_set_fc()
3585 struct ice_hw *hw; in ice_cfg_phy_fec()
3729 ice_aq_set_event_mask(struct ice_hw *hw, u8 port_num, u16 mask, in ice_aq_set_event_mask()
3754 ice_aq_set_mac_loopback(struct ice_hw *hw, bool ena_lpbk, struct ice_sq_cd *cd) in ice_aq_set_mac_loopback()
3781 struct ice_hw *hw = pi->hw; in ice_aq_set_port_id_led()
3813 ice_aq_get_port_options(struct ice_hw *hw, in ice_aq_get_port_options()
3890 ice_aq_set_port_option(struct ice_hw *hw, u8 lport, u8 lport_valid, in ice_aq_set_port_option()
3927 ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr, in ice_aq_sff_eeprom()
3994 __ice_aq_get_set_rss_lut(struct ice_hw *hw, in __ice_aq_get_set_rss_lut()
4042 ice_aq_get_rss_lut(struct ice_hw *hw, struct ice_aq_get_set_rss_lut_params *get_params) in ice_aq_get_rss_lut()
4055 ice_aq_set_rss_lut(struct ice_hw *hw, struct ice_aq_get_set_rss_lut_params *set_params) in ice_aq_set_rss_lut()
4070 __ice_aq_get_set_rss_key(struct ice_hw *hw, u16 vsi_id, in __ice_aq_get_set_rss_key()
4099 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_get_rss_key()
4118 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle, in ice_aq_set_rss_key()
4150 ice_aq_add_lan_txq(struct ice_hw *hw, u8 num_qgrps, in ice_aq_add_lan_txq()
4198 ice_aq_dis_lan_txq(struct ice_hw *hw, u8 num_qgrps, in ice_aq_dis_lan_txq()
4298 ice_aq_cfg_lan_txq(struct ice_hw *hw, struct ice_aqc_cfg_txqs_buf *buf, in ice_aq_cfg_lan_txq()
4340 ice_aq_add_rdma_qsets(struct ice_hw *hw, u8 num_qset_grps, in ice_aq_add_rdma_qsets()
4568 ice_set_ctx(struct ice_hw *hw, u8 *src_ctx, u8 *dest_ctx, in ice_set_ctx()
4612 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle) in ice_get_lan_q_ctx()
4649 struct ice_hw *hw; in ice_ena_vsi_txq()
4755 struct ice_hw *hw; in ice_dis_vsi_txq()
4907 struct ice_hw *hw; in ice_ena_vsi_rdma_qset()
4981 struct ice_hw *hw; in ice_dis_vsi_rdma_qset()
5030 static int ice_replay_pre_init(struct ice_hw *hw) in ice_replay_pre_init()
5057 int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle) in ice_replay_vsi()
5087 void ice_replay_post(struct ice_hw *hw) in ice_replay_post()
5103 ice_stat_update40(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, in ice_stat_update40()
5140 ice_stat_update32(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, in ice_stat_update32()
5179 ice_sched_query_elem(struct ice_hw *hw, u32 node_teid, in ice_sched_query_elem()
5211 ice_aq_read_i2c(struct ice_hw *hw, struct ice_aqc_link_topo_addr topo_addr, in ice_aq_read_i2c()
5266 ice_aq_write_i2c(struct ice_hw *hw, struct ice_aqc_link_topo_addr topo_addr, in ice_aq_write_i2c()
5309 ice_aq_set_driver_param(struct ice_hw *hw, enum ice_aqc_driver_params idx, in ice_aq_set_driver_param()
5342 ice_aq_get_driver_param(struct ice_hw *hw, enum ice_aqc_driver_params idx, in ice_aq_get_driver_param()
5379 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value, in ice_aq_set_gpio()
5406 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, in ice_aq_get_gpio()
5435 static bool ice_is_fw_api_min_ver(struct ice_hw *hw, u8 maj, u8 min, u8 patch) in ice_is_fw_api_min_ver()
5455 bool ice_fw_supports_link_override(struct ice_hw *hw) in ice_fw_supports_link_override()
5474 struct ice_hw *hw = pi->hw; in ice_get_link_default_override()
5561 ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size, in ice_aq_set_lldp_mib()
5587 bool ice_fw_supports_lldp_fltr_ctrl(struct ice_hw *hw) in ice_fw_supports_lldp_fltr_ctrl()
5604 ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add) in ice_lldp_fltr_add_remove()
5627 int ice_lldp_execute_pending_mib(struct ice_hw *hw) in ice_lldp_execute_pending_mib()
5642 bool ice_fw_supports_report_dflt_cfg(struct ice_hw *hw) in ice_fw_supports_report_dflt_cfg()