Home
last modified time | relevance | path

Searched refs:num_bands (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/netronome/nfp/abm/
Dctrl.c146 for (band = 0; band < alink->abm->num_bands; band++) { in nfp_abm_ctrl_stat_non_sto()
162 for (band = 0; band < alink->abm->num_bands; band++) { in nfp_abm_ctrl_stat_sto()
319 size = roundup_pow_of_two(order_base_2(abm->num_bands)); in nfp_abm_ctrl_prio_map_size()
352 size = array3_size(size, abm->num_bands, NFP_NET_MAX_RX_RINGS); in nfp_abm_ctrl_find_q_rtsym()
377 abm->num_bands = res; 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()
Dqdisc.c55 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_stats_update_red()
131 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_qdisc_offload_stop()
179 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_stats_init()
215 for (i = 0; i < alink->abm->num_bands; i++) { in nfp_abm_offload_compile_red()
254 for (i = 0; i < abm->num_bands; i++) in nfp_abm_qdisc_offload_update()
497 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_gred_stats()
533 if (opt->set.dp_cnt != abm->num_bands) { in nfp_abm_gred_check_params()
535 abm->num_bands, opt->parent, opt->handle); in nfp_abm_gred_check_params()
539 for (i = 0; i < abm->num_bands; i++) { in nfp_abm_gred_check_params()
590 qdisc->red.num_bands = opt->set.dp_cnt; in nfp_abm_gred_replace()
[all …]
Dmain.h69 unsigned int num_bands; member
173 unsigned int num_bands; member
227 return abm->num_bands > 1; in nfp_abm_has_prio()
Dcls.c57 if (knode->res && knode->res->classid >= abm->num_bands) { in nfp_abm_u32_check_knode()
127 bits_per_prio = roundup_pow_of_two(order_base_2(abm->num_bands)); in nfp_abm_update_band_map()
Dmain.c435 for (i = 0; i < abm->num_bands * NFP_NET_MAX_RX_RINGS; i++) { in nfp_abm_fw_init_reset()
475 abm->num_thresholds = array_size(abm->num_bands, NFP_NET_MAX_RX_RINGS); in nfp_abm_init()
/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c761 u8 num_bands, num_profiles; in iwl_sar_get_wgds_table() local
818 num_bands = rev_data[idx].bands; in iwl_sar_get_wgds_table()
866 if (j >= num_bands) { in iwl_sar_get_wgds_table()
884 if (j >= num_bands) { in iwl_sar_get_wgds_table()
/drivers/media/dvb-frontends/
Dcx24123.c510 int num_bands = ARRAY_SIZE(cx24123_bandselect_vals); in cx24123_pll_calculate() local
533 if (force_band < 1 || force_band > num_bands) { in cx24123_pll_calculate()
534 for (i = 0; i < num_bands; i++) { in cx24123_pll_calculate()