Searched refs:num_bands (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | ctrl.c | 146 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()
|
H A D | qdisc.c | 55 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() 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() 724 qdisc->red.num_bands = 1; in nfp_abm_red_replace() [all …]
|
H A D | main.h | 69 unsigned int num_bands; member 173 unsigned int num_bands; member 227 return abm->num_bands > 1; in nfp_abm_has_prio()
|
H A D | cls.c | 57 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()
|
H A D | main.c | 435 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()
|
/linux/sound/pci/asihpi/ |
H A D | asihpi.c | 1843 int num_bands = 0; in snd_asihpi_tuner_band_info() local 1845 num_bands = asihpi_tuner_band_query(kcontrol, tuner_bands, in snd_asihpi_tuner_band_info() 1848 if (num_bands < 0) in snd_asihpi_tuner_band_info() 1849 return num_bands; in snd_asihpi_tuner_band_info() 1863 __always_unused u32 num_bands; in snd_asihpi_tuner_band_get() local 1865 num_bands = asihpi_tuner_band_query(kcontrol, tuner_bands, in snd_asihpi_tuner_band_get() 1890 __always_unused u32 num_bands; in snd_asihpi_tuner_band_put() local 1892 num_bands = asihpi_tuner_band_query(kcontrol, tuner_bands, in snd_asihpi_tuner_band_put() 1912 u16 num_bands = 0, band_iter, idx; in snd_asihpi_tuner_freq_info() local 1915 num_bands = asihpi_tuner_band_query(kcontrol, tuner_bands, in snd_asihpi_tuner_freq_info() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 686 u8 num_bands, num_profiles; in iwl_acpi_get_wgds_table() local 743 num_bands = rev_data[idx].bands; in iwl_acpi_get_wgds_table() 794 if (j >= num_bands) { in iwl_acpi_get_wgds_table() 812 if (j >= num_bands) { in iwl_acpi_get_wgds_table()
|
/linux/drivers/media/dvb-frontends/ |
H A D | cx24123.c | 510 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()
|
/linux/net/mac80211/ |
H A D | scan.c | 1303 int ret, i, iebufsz, num_bands = 0; in __ieee80211_request_sched_scan_start() local 1320 num_bands++; in __ieee80211_request_sched_scan_start() 1327 ie = kcalloc(iebufsz, num_bands, GFP_KERNEL); in __ieee80211_request_sched_scan_start() 1335 ret = ieee80211_build_preq_ies(sdata, ie, num_bands * iebufsz, in __ieee80211_request_sched_scan_start()
|