Lines Matching refs:ice_hw
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);
22 int ice_reset(struct ice_hw *hw, enum ice_reset_req req);
23 int ice_create_all_ctrlq(struct ice_hw *hw);
24 int ice_init_all_ctrlq(struct ice_hw *hw);
25 void ice_shutdown_all_ctrlq(struct ice_hw *hw);
26 void ice_destroy_all_ctrlq(struct ice_hw *hw);
28 ice_clean_rq_elem(struct ice_hw *hw, struct ice_ctl_q_info *cq,
34 ice_acquire_res(struct ice_hw *hw, enum ice_aq_res_ids res,
36 void ice_release_res(struct ice_hw *hw, enum ice_aq_res_ids res);
38 ice_alloc_hw_res(struct ice_hw *hw, u16 type, u16 num, bool btm, u16 *res);
40 ice_free_hw_res(struct ice_hw *hw, u16 type, u16 num, u16 *res);
41 int ice_aq_alloc_free_res(struct ice_hw *hw,
44 bool ice_is_sbq_supported(struct ice_hw *hw);
45 struct ice_ctl_q_info *ice_get_sbq(struct ice_hw *hw);
47 ice_sq_send_cmd(struct ice_hw *hw, struct ice_ctl_q_info *cq,
50 void ice_clear_pxe_mode(struct ice_hw *hw);
51 int ice_get_caps(struct ice_hw *hw);
53 void ice_set_safe_mode_caps(struct ice_hw *hw);
56 ice_write_rxq_ctx(struct ice_hw *hw, struct ice_rlan_ctx *rlan_ctx,
60 ice_aq_get_rss_lut(struct ice_hw *hw, struct ice_aq_get_set_rss_lut_params *get_params);
62 ice_aq_set_rss_lut(struct ice_hw *hw, struct ice_aq_get_set_rss_lut_params *set_params);
64 ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle,
67 ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle,
70 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq);
71 int ice_aq_q_shutdown(struct ice_hw *hw, bool unloading);
75 ice_set_ctx(struct ice_hw *hw, u8 *src_ctx, u8 *dest_ctx,
81 ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc,
83 int ice_aq_get_fw_ver(struct ice_hw *hw, struct ice_sq_cd *cd);
86 ice_aq_send_driver_ver(struct ice_hw *hw, struct ice_driver_ver *dv,
95 bool ice_is_pf_c827(struct ice_hw *hw);
97 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
100 ice_discover_dev_caps(struct ice_hw *hw, struct ice_hw_dev_caps *dev_caps);
105 ice_aq_manage_mac_write(struct ice_hw *hw, const u8 *mac_addr, u8 flags,
107 bool ice_is_e810(struct ice_hw *hw);
108 int ice_clear_pf_cfg(struct ice_hw *hw);
110 ice_aq_set_phy_cfg(struct ice_hw *hw, struct ice_port_info *pi,
112 bool ice_fw_supports_link_override(struct ice_hw *hw);
140 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd);
145 ice_aq_set_event_mask(struct ice_hw *hw, u8 port_num, u16 mask,
148 ice_aq_set_mac_loopback(struct ice_hw *hw, bool ena_lpbk, struct ice_sq_cd *cd);
154 ice_aq_get_port_options(struct ice_hw *hw,
160 ice_aq_set_port_option(struct ice_hw *hw, u8 lport, u8 lport_valid,
163 ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr,
190 ice_aq_cfg_lan_txq(struct ice_hw *hw, struct ice_aqc_cfg_txqs_buf *buf,
193 int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle);
194 void ice_replay_post(struct ice_hw *hw);
195 void ice_output_fw_log(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf);
197 ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
198 int ice_sbq_rw_reg(struct ice_hw *hw, struct ice_sbq_msg_input *in);
200 ice_stat_update40(struct ice_hw *hw, u32 reg, bool prev_stat_loaded,
203 ice_stat_update32(struct ice_hw *hw, u32 reg, bool prev_stat_loaded,
205 bool ice_is_e810t(struct ice_hw *hw);
206 bool ice_is_e823(struct ice_hw *hw);
208 ice_sched_query_elem(struct ice_hw *hw, u32 node_teid,
211 ice_aq_set_driver_param(struct ice_hw *hw, enum ice_aqc_driver_params idx,
214 ice_aq_get_driver_param(struct ice_hw *hw, enum ice_aqc_driver_params idx,
217 ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value,
220 ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
222 bool ice_is_100m_speed_supported(struct ice_hw *hw);
224 ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size,
226 bool ice_fw_supports_lldp_fltr_ctrl(struct ice_hw *hw);
228 ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add);
229 int ice_lldp_execute_pending_mib(struct ice_hw *hw);
231 ice_aq_read_i2c(struct ice_hw *hw, struct ice_aqc_link_topo_addr topo_addr,
235 ice_aq_write_i2c(struct ice_hw *hw, struct ice_aqc_link_topo_addr topo_addr,
238 bool ice_fw_supports_report_dflt_cfg(struct ice_hw *hw);