Lines Matching refs:res_id

3642 const char *qed_hw_get_resc_name(enum qed_resources res_id)  in qed_hw_get_resc_name()  argument
3644 switch (res_id) { in qed_hw_get_resc_name()
3683 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument
3688 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size()
3693 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size()
3700 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size()
3737 u8 res_id; in qed_hw_set_soft_resc_size() local
3740 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size()
3741 switch (res_id) { in qed_hw_set_soft_resc_size()
3765 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size()
3785 enum qed_resources res_id, in qed_hw_get_dflt_resc() argument
3791 switch (res_id) { in qed_hw_get_dflt_resc()
3848 switch (res_id) { in qed_hw_get_dflt_resc()
3869 enum qed_resources res_id) in __qed_hw_set_resc_info() argument
3875 p_resc_num = &RESC_NUM(p_hwfn, res_id); in __qed_hw_set_resc_info()
3876 p_resc_start = &RESC_START(p_hwfn, res_id); in __qed_hw_set_resc_info()
3878 rc = qed_hw_get_dflt_resc(p_hwfn, res_id, &dflt_resc_num, in __qed_hw_set_resc_info()
3883 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_resc_info()
3887 rc = qed_mcp_get_resc_info(p_hwfn, p_hwfn->p_main_ptt, res_id, in __qed_hw_set_resc_info()
3892 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_resc_info()
3904 res_id, in __qed_hw_set_resc_info()
3905 qed_hw_get_resc_name(res_id), in __qed_hw_set_resc_info()
3916 if ((res_id == QED_PQ) && ((*p_resc_num % 8) || (*p_resc_start % 8))) { in __qed_hw_set_resc_info()
3932 u8 res_id; in qed_hw_set_resc_info() local
3934 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_resc_info()
3935 rc = __qed_hw_set_resc_info(p_hwfn, res_id); in qed_hw_set_resc_info()
3978 u8 res_id; in qed_hw_get_resc() local
4052 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) in qed_hw_get_resc()
4054 qed_hw_get_resc_name(res_id), in qed_hw_get_resc()
4055 RESC_NUM(p_hwfn, res_id), in qed_hw_get_resc()
4056 RESC_START(p_hwfn, res_id)); in qed_hw_get_resc()