Home
last modified time | relevance | path

Searched refs:n_bands (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/fs/hpfs/
Dmap.c22 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()
Dsuper.c149 unsigned n, count, n_bands; in count_bitmaps() local
150 n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in count_bitmaps()
155 for (n = 0; n < n_bands; n++) { in count_bitmaps()
/Linux-v5.15/net/openvswitch/
Dmeter.c259 for (i = 0; i < meter->n_bands; ++i, ++band) { in ovs_meter_cmd_reply_stats()
333 u16 n_bands = 0; in dp_meter_create() local
343 if (++n_bands > DP_MAX_BANDS) in dp_meter_create()
347 meter = kzalloc(struct_size(meter, bands, n_bands), GFP_KERNEL); in dp_meter_create()
360 meter->n_bands = n_bands; in dp_meter_create()
648 for (i = 0; i < meter->n_bands; ++i) { in ovs_meter_execute()
Dmeter.h38 u16 n_bands; member
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.h201 struct iwl_per_chain_offset *table, u32 n_bands);
Dacpi.c825 struct iwl_per_chain_offset *table, u32 n_bands) in iwl_sar_geo_init() argument
833 for (j = 0; j < n_bands; j++) { in iwl_sar_geo_init()
835 &table[i * n_bands + j]; in iwl_sar_geo_init()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c811 u32 n_bands; in iwl_mvm_sar_geo_init() local
826 n_bands = ARRAY_SIZE(cmd.v3.table[0]); in iwl_mvm_sar_geo_init()
830 n_bands = ARRAY_SIZE(cmd.v2.table[0]); in iwl_mvm_sar_geo_init()
833 n_bands = ARRAY_SIZE(cmd.v1.table[0]); in iwl_mvm_sar_geo_init()
841 ret = iwl_sar_geo_init(&mvm->fwrt, &cmd.v1.table[0][0], n_bands); in iwl_mvm_sar_geo_init()
/Linux-v5.15/net/mac80211/
Dscan.c702 int i, n_bands = 0; in __ieee80211_start_scan() local
709 n_bands++; in __ieee80211_start_scan()
712 local->hw_scan_ies_bufsize *= n_bands; in __ieee80211_start_scan()
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c7156 u32 n_bands; in brcmf_setup_wiphy() local
7238 n_bands = le32_to_cpu(bandlist[0]); in brcmf_setup_wiphy()
7239 for (i = 1; i <= n_bands && i < ARRAY_SIZE(bandlist); i++) { in brcmf_setup_wiphy()