Lines Matching refs:recp_cnt
2196 hw->switch_info->recp_cnt++; in ice_alloc_recipe()
2215 hw->switch_info->recp_cnt--; in ice_free_recipe_res()
5074 int recp_cnt; in ice_add_sw_recipe() local
5079 recp_cnt = ice_calc_recp_cnt(rm->n_ext_words); in ice_add_sw_recipe()
5088 free_res_idx, recp_cnt); in ice_add_sw_recipe()
5091 if (recp_cnt - 1 > free_res_idx) in ice_add_sw_recipe()
5094 if (recp_cnt > ICE_MAX_CHAIN_RECIPE_RES) in ice_add_sw_recipe()
5097 buf = kcalloc(recp_cnt, sizeof(*buf), GFP_KERNEL); in ice_add_sw_recipe()
5107 for (i = 0; i < recp_cnt - 1; i++) { in ice_add_sw_recipe()
5156 root = &buf[recp_cnt - 1]; in ice_add_sw_recipe()
5181 while (i < recp_cnt - 1 && in ice_add_sw_recipe()
5203 status = ice_aq_add_recipe(hw, buf, recp_cnt, NULL); in ice_add_sw_recipe()