Searched refs:n_bands (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/net/openvswitch/ |
| H A D | meter.h | 37 u16 n_bands; member 41 struct dp_meter_band bands[] __counted_by(n_bands);
|
| H A D | meter.c | 256 for (i = 0; i < meter->n_bands; ++i, ++band) { in ovs_meter_cmd_reply_stats() 330 u16 n_bands = 0; in dp_meter_create() local 340 if (++n_bands > DP_MAX_BANDS) in dp_meter_create() 344 meter = kzalloc(struct_size(meter, bands, n_bands), GFP_KERNEL_ACCOUNT); in dp_meter_create() 357 meter->n_bands = n_bands; in dp_meter_create() 647 for (i = 0; i < meter->n_bands; ++i) { in ovs_meter_execute()
|
| /linux-6.15/fs/hpfs/ |
| H A D | map.c | 22 unsigned n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in hpfs_map_bitmap() local 23 if (hpfs_sb(s)->sb_chk) if (bmp_block >= n_bands) { in hpfs_map_bitmap() 40 unsigned n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in hpfs_prefetch_bitmap() local 41 if (unlikely(bmp_block >= n_bands)) in hpfs_prefetch_bitmap() 44 if (unlikely(bmp_block + 1 >= n_bands)) in hpfs_prefetch_bitmap()
|
| H A D | super.c | 150 unsigned n, count, n_bands; in count_bitmaps() local 151 n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in count_bitmaps() 156 for (n = 0; n < n_bands; n++) { in count_bitmaps()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | regulatory.c | 76 u32 n_bands; in iwl_mld_geo_sar_init() local 93 n_bands = ARRAY_SIZE(cmd.v5.table[0]); in iwl_mld_geo_sar_init() 97 n_bands = ARRAY_SIZE(cmd.v4.table[0]); in iwl_mld_geo_sar_init() 107 n_bands, BIOS_GEO_MAX_PROFILE_NUM); in iwl_mld_geo_sar_init()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | regulatory.c | 192 u32 n_bands, u32 n_profiles) in iwl_sar_geo_fill_table() argument 203 for (j = 0; j < n_bands; j++) { in iwl_sar_geo_fill_table() 205 &table[i * n_bands + j]; in iwl_sar_geo_fill_table()
|
| H A D | regulatory.h | 182 u32 n_bands, u32 n_profiles);
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | fw.c | 995 u32 n_bands; in iwl_mvm_sar_geo_init() local 1020 n_bands = ARRAY_SIZE(cmd.v5.table[0]); in iwl_mvm_sar_geo_init() 1025 n_bands = ARRAY_SIZE(cmd.v4.table[0]); in iwl_mvm_sar_geo_init() 1030 n_bands = ARRAY_SIZE(cmd.v3.table[0]); in iwl_mvm_sar_geo_init() 1036 n_bands = ARRAY_SIZE(cmd.v2.table[0]); in iwl_mvm_sar_geo_init() 1041 n_bands = ARRAY_SIZE(cmd.v1.table[0]); in iwl_mvm_sar_geo_init() 1055 n_bands, n_profiles); in iwl_mvm_sar_geo_init()
|
| /linux-6.15/net/mac80211/ |
| H A D | scan.c | 737 int i, n_bands = 0; in __ieee80211_start_scan() local 744 n_bands++; in __ieee80211_start_scan() 747 local->hw_scan_ies_bufsize *= n_bands; in __ieee80211_start_scan()
|
| /linux-6.15/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 5174 int n_bands = 0; in mac80211_hwsim_new_radio() local 5493 radio_range = &data->radio_range[n_bands]; in mac80211_hwsim_new_radio() 5499 radio = &data->radio[n_bands++]; in mac80211_hwsim_new_radio() 5508 hw->wiphy->n_radio = n_bands; in mac80211_hwsim_new_radio() 5512 data->if_combination.num_different_channels *= n_bands; in mac80211_hwsim_new_radio()
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 7593 u32 n_bands; in brcmf_setup_wiphy() local 7675 n_bands = le32_to_cpu(bandlist[0]); in brcmf_setup_wiphy() 7676 for (i = 1; i <= n_bands && i < ARRAY_SIZE(bandlist); i++) { in brcmf_setup_wiphy()
|