Lines Matching defs:res
50 unsigned int queue, bool is_u64, u64 *res)
71 *res = is_u64 ? val : val32;
363 int res;
368 res = nfp_pf_rtsym_read_optional(pf, NFP_RED_SUPPORT_SYM_NAME, 1);
369 if (res < 0)
370 return res;
371 abm->red_support = res;
374 res = nfp_pf_rtsym_read_optional(pf, NFP_NUM_BANDS_SYM_NAME, 1);
375 if (res < 0)
376 return res;
377 abm->num_bands = res;
379 res = nfp_pf_rtsym_read_optional(pf, NFP_NUM_PRIOS_SYM_NAME, 1);
380 if (res < 0)
381 return res;
382 abm->num_prios = res;
385 res = nfp_pf_rtsym_read_optional(pf, NFP_ACT_MASK_SYM_NAME,
387 if (res < 0)
388 return res;
389 abm->action_mask = res;