Lines Matching refs:res_id

3639 const char *qed_hw_get_resc_name(enum qed_resources res_id)  in qed_hw_get_resc_name()  argument
3641 switch (res_id) { in qed_hw_get_resc_name()
3680 enum qed_resources res_id, in __qed_hw_set_soft_resc_size() argument
3685 rc = qed_mcp_set_resc_max_val(p_hwfn, p_ptt, res_id, in __qed_hw_set_soft_resc_size()
3690 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_soft_resc_size()
3697 res_id, qed_hw_get_resc_name(res_id), *p_mcp_resp); in __qed_hw_set_soft_resc_size()
3734 u8 res_id; in qed_hw_set_soft_resc_size() local
3737 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_soft_resc_size()
3738 switch (res_id) { in qed_hw_set_soft_resc_size()
3762 rc = __qed_hw_set_soft_resc_size(p_hwfn, p_ptt, res_id, in qed_hw_set_soft_resc_size()
3782 enum qed_resources res_id, in qed_hw_get_dflt_resc() argument
3788 switch (res_id) { in qed_hw_get_dflt_resc()
3845 switch (res_id) { in qed_hw_get_dflt_resc()
3866 enum qed_resources res_id) in __qed_hw_set_resc_info() argument
3872 p_resc_num = &RESC_NUM(p_hwfn, res_id); in __qed_hw_set_resc_info()
3873 p_resc_start = &RESC_START(p_hwfn, res_id); in __qed_hw_set_resc_info()
3875 rc = qed_hw_get_dflt_resc(p_hwfn, res_id, &dflt_resc_num, in __qed_hw_set_resc_info()
3880 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_resc_info()
3884 rc = qed_mcp_get_resc_info(p_hwfn, p_hwfn->p_main_ptt, res_id, in __qed_hw_set_resc_info()
3889 res_id, qed_hw_get_resc_name(res_id)); in __qed_hw_set_resc_info()
3901 res_id, in __qed_hw_set_resc_info()
3902 qed_hw_get_resc_name(res_id), in __qed_hw_set_resc_info()
3913 if ((res_id == QED_PQ) && ((*p_resc_num % 8) || (*p_resc_start % 8))) { in __qed_hw_set_resc_info()
3929 u8 res_id; in qed_hw_set_resc_info() local
3931 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) { in qed_hw_set_resc_info()
3932 rc = __qed_hw_set_resc_info(p_hwfn, res_id); in qed_hw_set_resc_info()
3975 u8 res_id; in qed_hw_get_resc() local
4049 for (res_id = 0; res_id < QED_MAX_RESC; res_id++) in qed_hw_get_resc()
4051 qed_hw_get_resc_name(res_id), in qed_hw_get_resc()
4052 RESC_NUM(p_hwfn, res_id), in qed_hw_get_resc()
4053 RESC_START(p_hwfn, res_id)); in qed_hw_get_resc()