Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_common.h11 void ice_debug_cq(struct ice_hw *hw, u32 mask, void *desc, void *buf,
13 enum ice_status ice_init_hw(struct ice_hw *hw);
14 void ice_deinit_hw(struct ice_hw *hw);
15 enum ice_status ice_check_reset(struct ice_hw *hw);
16 enum ice_status ice_reset(struct ice_hw *hw, enum ice_reset_req req);
17 enum ice_status ice_init_all_ctrlq(struct ice_hw *hw);
18 void ice_shutdown_all_ctrlq(struct ice_hw *hw);
20 ice_clean_rq_elem(struct ice_hw *hw, struct ice_ctl_q_info *cq,
25 ice_acquire_res(struct ice_hw *hw, enum ice_aq_res_ids res,
27 void ice_release_res(struct ice_hw *hw, enum ice_aq_res_ids res);
[all …]
Dice_switch.h141 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx,
144 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx,
147 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx,
150 enum ice_status ice_get_initial_sw_cfg(struct ice_hw *hw);
153 enum ice_status ice_add_mac(struct ice_hw *hw, struct list_head *m_lst);
154 enum ice_status ice_remove_mac(struct ice_hw *hw, struct list_head *m_lst);
155 void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_id);
156 enum ice_status ice_add_vlan(struct ice_hw *hw, struct list_head *m_list);
157 enum ice_status ice_remove_vlan(struct ice_hw *hw, struct list_head *v_list);
159 ice_cfg_dflt_vsi(struct ice_hw *hw, u16 vsi_id, bool set, u8 direction);
Dice_nvm.c19 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()
135 ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access) in ice_acquire_nvm()
149 static void ice_release_nvm(struct ice_hw *hw) in ice_release_nvm()
166 ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word()
186 enum ice_status ice_init_nvm(struct ice_hw *hw) in ice_init_nvm()
Dice_sched.c19 struct ice_hw *hw; in ice_sched_add_root_node()
102 struct ice_hw *hw; in ice_sched_add_node()
153 ice_aq_delete_sched_elems(struct ice_hw *hw, u16 grps_req, in ice_aq_delete_sched_elems()
183 ice_sched_remove_elems(struct ice_hw *hw, struct ice_sched_node *parent, in ice_sched_remove_elems()
216 ice_sched_get_first_node(struct ice_hw *hw, struct ice_sched_node *parent, in ice_sched_get_first_node()
269 struct ice_hw *hw = pi->hw; in ice_free_sched_node()
344 ice_aq_get_dflt_topo(struct ice_hw *hw, u8 lport, in ice_aq_get_dflt_topo()
374 ice_aq_add_sched_elems(struct ice_hw *hw, u16 grps_req, in ice_aq_add_sched_elems()
407 ice_suspend_resume_elems(struct ice_hw *hw, u16 elems_req, in ice_suspend_resume_elems()
438 ice_aq_suspend_sched_elems(struct ice_hw *hw, u16 elems_req, in ice_aq_suspend_sched_elems()
[all …]
Dice_controlq.c12 static void ice_adminq_init_regs(struct ice_hw *hw) in ice_adminq_init_regs()
42 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive()
59 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring()
90 ice_alloc_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_rq_ring()
111 static void ice_free_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_free_ctrlq_sq_ring()
128 static void ice_free_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_free_ctrlq_rq_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()
258 static void ice_free_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_free_rq_bufs()
280 static void ice_free_sq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_free_sq_bufs()
[all …]
Dice_common.c36 static enum ice_status ice_set_mac_type(struct ice_hw *hw) in ice_set_mac_type()
52 enum ice_status ice_clear_pf_cfg(struct ice_hw *hw) in ice_clear_pf_cfg()
76 ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size, in ice_aq_manage_mac_read()
298 static void ice_init_flex_parser(struct ice_hw *hw) in ice_init_flex_parser()
323 static enum ice_status ice_init_fltr_mgmt_struct(struct ice_hw *hw) in ice_init_fltr_mgmt_struct()
358 static void ice_cleanup_fltr_mgmt_struct(struct ice_hw *hw) in ice_cleanup_fltr_mgmt_struct()
383 enum ice_status ice_init_hw(struct ice_hw *hw) in ice_init_hw()
516 void ice_deinit_hw(struct ice_hw *hw) in ice_deinit_hw()
533 enum ice_status ice_check_reset(struct ice_hw *hw) in ice_check_reset()
588 static enum ice_status ice_pf_reset(struct ice_hw *hw) in ice_pf_reset()
[all …]
Dice_switch.c64 ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries, in ice_aq_alloc_free_res()
114 ice_aq_get_sw_cfg(struct ice_hw *hw, struct ice_aqc_get_sw_cfg_resp *buf, in ice_aq_get_sw_cfg()
144 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi()
186 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_update_vsi()
224 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_free_vsi()
260 ice_aq_alloc_free_vsi_list(struct ice_hw *hw, u16 *vsi_list_id, in ice_aq_alloc_free_vsi_list()
319 ice_aq_sw_rules(struct ice_hw *hw, void *rule_list, u16 rule_list_sz, in ice_aq_sw_rules()
368 enum ice_status ice_get_initial_sw_cfg(struct ice_hw *hw) in ice_get_initial_sw_cfg()
439 static void ice_fill_sw_info(struct ice_hw *hw, struct ice_fltr_info *f_info) in ice_fill_sw_info()
463 ice_fill_sw_rule(struct ice_hw *hw, struct ice_fltr_info *f_info, in ice_fill_sw_rule()
[all …]
Dice_sched.h28 enum ice_status ice_sched_query_res_alloc(struct ice_hw *hw);
29 void ice_sched_cleanup_all(struct ice_hw *hw);
Dice_main.c288 struct ice_hw *hw = &pf->hw; in ice_vsi_sync_fltr()
458 struct ice_hw *hw = &pf->hw; in ice_prepare_for_reset()
487 struct ice_hw *hw = &pf->hw; in ice_do_reset()
810 struct ice_hw *hw = &pf->hw; in __ice_clean_ctrlq()
926 static bool ice_ctrlq_pending(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_ctrlq_pending()
940 struct ice_hw *hw = &pf->hw; in ice_clean_adminq_subtask()
1040 static void ice_set_ctrlq_len(struct ice_hw *hw) in ice_set_ctrlq_len()
1082 struct ice_hw *hw = &pf->hw; in ice_vsi_dis_irq()
1133 struct ice_hw *hw = &pf->hw; in ice_vsi_ena_irq()
1433 struct ice_hw *hw = &pf->hw; in ice_vsi_add()
[all …]
Dice.h271 struct ice_hw hw;
286 static inline void ice_irq_dynamic_ena(struct ice_hw *hw, struct ice_vsi *vsi, in ice_irq_dynamic_ena()
Dice_type.h226 struct ice_hw *hw; /* back pointer to hw instance */
266 struct ice_hw { struct
Dice_osdep.h57 struct ice_hw *hw_l = hw; \
Dice_ethtool.c121 static char *ice_nvm_version_str(struct ice_hw *hw) in ice_nvm_version_str()
167 struct ice_hw *hw = &pf->hw; in ice_get_regs()
722 struct ice_hw *hw = &pf->hw; in ice_set_pauseparam()