Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c648 struct iwl_per_chain_offset *table, u32 n_bands) in iwl_sar_geo_init() argument
665 for (j = 0; j < n_bands; j++) { in iwl_sar_geo_init()
667 &table[i * n_bands + j]; in iwl_sar_geo_init()
Dacpi.h198 struct iwl_per_chain_offset *table, u32 n_bands);
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c883 u32 n_bands; in iwl_mvm_sar_geo_init() local
898 n_bands = ARRAY_SIZE(cmd.v3.table[0]); in iwl_mvm_sar_geo_init()
902 n_bands = ARRAY_SIZE(cmd.v2.table[0]); in iwl_mvm_sar_geo_init()
905 n_bands = ARRAY_SIZE(cmd.v1.table[0]); in iwl_mvm_sar_geo_init()
913 ret = iwl_sar_geo_init(&mvm->fwrt, &cmd.v1.table[0][0], n_bands); in iwl_mvm_sar_geo_init()
/kernel/linux/linux-5.10/net/mac80211/
Dscan.c717 int i, n_bands = 0; in __ieee80211_start_scan() local
724 n_bands++; in __ieee80211_start_scan()
727 local->hw_scan_ies_bufsize *= n_bands; in __ieee80211_start_scan()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c7058 u32 n_bands; in brcmf_setup_wiphy() local
7140 n_bands = le32_to_cpu(bandlist[0]); in brcmf_setup_wiphy()
7141 for (i = 1; i <= n_bands && i < ARRAY_SIZE(bandlist); i++) { in brcmf_setup_wiphy()