Searched refs:bits_per_prio (Results 1 – 1 of 1) sorted by relevance
121 unsigned int i, bits_per_prio, prios_per_word, base_shift; in nfp_abm_update_band_map() local127 bits_per_prio = roundup_pow_of_two(order_base_2(abm->num_bands)); in nfp_abm_update_band_map()128 field_mask = (1 << bits_per_prio) - 1; in nfp_abm_update_band_map()129 prios_per_word = sizeof(u32) * BITS_PER_BYTE / bits_per_prio; in nfp_abm_update_band_map()140 offset = (i % prios_per_word) * bits_per_prio; in nfp_abm_update_band_map()