Lines Matching refs:pow
1923 int i, override_q, pow, num_qps, ret; in i40e_vsi_setup_queue_map_mqprio() local
1935 pow = ilog2(num_qps); in i40e_vsi_setup_queue_map_mqprio()
1937 pow++; in i40e_vsi_setup_queue_map_mqprio()
1939 (pow << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT); in i40e_vsi_setup_queue_map_mqprio()
2078 int pow, num_qps; in i40e_vsi_setup_queue_map() local
2103 pow = 0; in i40e_vsi_setup_queue_map()
2104 while (num_qps && (BIT_ULL(pow) < qcount)) { in i40e_vsi_setup_queue_map()
2105 pow++; in i40e_vsi_setup_queue_map()
2112 (pow << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT); in i40e_vsi_setup_queue_map()
6209 int pow; in i40e_channel_setup_queue_map() local
6218 pow = ilog2(qcount); in i40e_channel_setup_queue_map()
6220 pow++; in i40e_channel_setup_queue_map()
6223 (pow << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT); in i40e_channel_setup_queue_map()
7864 int i, pow, ret = 0; in i40e_setup_macvlans() local
7873 pow = fls(roundup_pow_of_two(num_qps) - 1); in i40e_setup_macvlans()
7876 (pow << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT); in i40e_setup_macvlans()
12705 u16 pow; in i40e_sw_init() local
12726 pow = roundup_pow_of_two(num_online_cpus()); in i40e_sw_init()
12727 pf->rss_size_max = min_t(int, pf->rss_size_max, pow); in i40e_sw_init()