Searched refs:num_prios (Results 1 – 3 of 3) sorted by relevance
320 size = DIV_ROUND_UP(size * abm->num_prios, BITS_PER_BYTE); in nfp_abm_ctrl_prio_map_size()382 abm->num_prios = res; in nfp_abm_ctrl_find_addrs()392 abm->dscp_mask = GENMASK(7, 8 - order_base_2(abm->num_prios)); in nfp_abm_ctrl_find_addrs()395 if (!is_power_of_2(abm->num_bands) || !is_power_of_2(abm->num_prios) || in nfp_abm_ctrl_find_addrs()396 abm->num_bands > U16_MAX || abm->num_prios > U16_MAX || in nfp_abm_ctrl_find_addrs()397 (abm->num_bands == 1) != (abm->num_prios == 1)) { in nfp_abm_ctrl_find_addrs()400 abm->num_bands, abm->num_prios); in nfp_abm_ctrl_find_addrs()
132 base_shift = 8 - order_base_2(abm->num_prios); in nfp_abm_update_band_map()134 for (i = 0; i < abm->num_prios; i++) { in nfp_abm_update_band_map()
68 unsigned int num_prios; member