num_rates 111 drivers/cpufreq/tegra186-cpufreq.c int err, i, j, num_rates = 0; num_rates 147 drivers/cpufreq/tegra186-cpufreq.c num_rates++; num_rates 150 drivers/cpufreq/tegra186-cpufreq.c table = devm_kcalloc(&pdev->dev, num_rates + 1, sizeof(*table), num_rates 187 drivers/firmware/arm_scmi/clock.c clk->list.num_rates = tot_rate_cnt; num_rates 1075 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->rl_caps.num_rates = size; num_rates 1076 drivers/net/ethernet/mellanox/mlx4/fw.c if (dev_cap->rl_caps.num_rates) { num_rates 1175 drivers/net/ethernet/mellanox/mlx4/fw.c rl_caps->num_rates, rl_caps->max_unit, rl_caps->max_val, num_rates 2245 drivers/net/wireless/ath/ath10k/mac.c rateset->num_rates = 0; num_rates 2252 drivers/net/wireless/ath/ath10k/mac.c rateset->rates[rateset->num_rates] = rate; num_rates 2253 drivers/net/wireless/ath/ath10k/mac.c rateset->num_rates++; num_rates 2373 drivers/net/wireless/ath/ath10k/mac.c arg->peer_ht_rates.num_rates = 8; num_rates 2374 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < arg->peer_ht_rates.num_rates; i++) num_rates 2377 drivers/net/wireless/ath/ath10k/mac.c arg->peer_ht_rates.num_rates = n; num_rates 2383 drivers/net/wireless/ath/ath10k/mac.c arg->peer_ht_rates.num_rates, num_rates 7204 drivers/net/wireless/ath/ath10k/mac.c int num_rates = 0; num_rates 7207 drivers/net/wireless/ath/ath10k/mac.c num_rates += hweight32(mask->control[band].legacy); num_rates 7210 drivers/net/wireless/ath/ath10k/mac.c num_rates += hweight8(mask->control[band].ht_mcs[i]); num_rates 7215 drivers/net/wireless/ath/ath10k/mac.c num_rates += tmp; num_rates 7219 drivers/net/wireless/ath/ath10k/mac.c return num_rates == 1; num_rates 2509 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (arg->peer_legacy_rates.num_rates > MAX_SUPPORTED_RATES) num_rates 2511 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (arg->peer_ht_rates.num_rates > MAX_SUPPORTED_RATES) num_rates 2514 drivers/net/wireless/ath/ath10k/wmi-tlv.c legacy_rate_len = roundup(arg->peer_legacy_rates.num_rates, num_rates 2516 drivers/net/wireless/ath/ath10k/wmi-tlv.c ht_rate_len = roundup(arg->peer_ht_rates.num_rates, sizeof(__le32)); num_rates 2544 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->num_legacy_rates = __cpu_to_le32(arg->peer_legacy_rates.num_rates); num_rates 2545 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->num_ht_rates = __cpu_to_le32(arg->peer_ht_rates.num_rates); num_rates 2555 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->peer_legacy_rates.num_rates); num_rates 2564 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->peer_ht_rates.num_rates); num_rates 7492 drivers/net/wireless/ath/ath10k/wmi.c cmd->peer_legacy_rates.num_rates = num_rates 7493 drivers/net/wireless/ath/ath10k/wmi.c __cpu_to_le32(arg->peer_legacy_rates.num_rates); num_rates 7495 drivers/net/wireless/ath/ath10k/wmi.c arg->peer_legacy_rates.num_rates); num_rates 7497 drivers/net/wireless/ath/ath10k/wmi.c cmd->peer_ht_rates.num_rates = num_rates 7498 drivers/net/wireless/ath/ath10k/wmi.c __cpu_to_le32(arg->peer_ht_rates.num_rates); num_rates 7500 drivers/net/wireless/ath/ath10k/wmi.c arg->peer_ht_rates.num_rates); num_rates 7568 drivers/net/wireless/ath/ath10k/wmi.c if (arg->peer_legacy_rates.num_rates > MAX_SUPPORTED_RATES) num_rates 7570 drivers/net/wireless/ath/ath10k/wmi.c if (arg->peer_ht_rates.num_rates > MAX_SUPPORTED_RATES) num_rates 6288 drivers/net/wireless/ath/ath10k/wmi.h __le32 num_rates; num_rates 6298 drivers/net/wireless/ath/ath10k/wmi.h unsigned int num_rates; num_rates 2020 drivers/net/wireless/ath/ath6kl/wmi.c int num_rates; num_rates 2067 drivers/net/wireless/ath/ath6kl/wmi.c num_rates = 0; num_rates 2072 drivers/net/wireless/ath/ath6kl/wmi.c supp_rates[num_rates++] = num_rates 2075 drivers/net/wireless/ath/ath6kl/wmi.c sc->supp_rates[band].nrates = num_rates; num_rates 1582 drivers/net/wireless/ath/wcn36xx/hal.h u8 num_rates; num_rates 2031 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c uint rate, num_rates; num_rates 2053 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c num_rates = ((ISNPHY(pi)) ? (TXP_NUM_RATES) : num_rates 2057 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c for (rate = 0; rate < num_rates; rate++) { num_rates 5347 drivers/net/wireless/intel/ipw2x00/ipw2200.c int num_rates, i; num_rates 5350 drivers/net/wireless/intel/ipw2x00/ipw2200.c num_rates = min(network->rates_len, (u8) IPW_MAX_RATES); num_rates 5351 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->num_rates = 0; num_rates 5352 drivers/net/wireless/intel/ipw2x00/ipw2200.c for (i = 0; i < num_rates; i++) { num_rates 5360 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5370 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = network->rates[i]; num_rates 5373 drivers/net/wireless/intel/ipw2x00/ipw2200.c num_rates = min(network->rates_ex_len, num_rates 5374 drivers/net/wireless/intel/ipw2x00/ipw2200.c (u8) (IPW_MAX_RATES - num_rates)); num_rates 5375 drivers/net/wireless/intel/ipw2x00/ipw2200.c for (i = 0; i < num_rates; i++) { num_rates 5382 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5392 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5403 drivers/net/wireless/intel/ipw2x00/ipw2200.c for (i = 0; i < src->num_rates; i++) num_rates 5405 drivers/net/wireless/intel/ipw2x00/ipw2200.c dest->num_rates = src->num_rates; num_rates 5418 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5422 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5426 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | num_rates 5430 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | num_rates 5441 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | num_rates 5445 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5449 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | num_rates 5453 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5457 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | num_rates 5461 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5465 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5469 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = num_rates 5592 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (rates.num_rates == 0) { num_rates 5787 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (rates.num_rates == 0) { num_rates 5876 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates_len = min(priv->rates.num_rates, MAX_RATES_LENGTH); num_rates 5878 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates_ex_len = priv->rates.num_rates - network->rates_len; num_rates 7347 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->num_rates, num_rates 8841 drivers/net/wireless/intel/ipw2x00/ipw2200.c range->num_bitrates = min(priv->rates.num_rates, (u8) IW_MAX_BITRATES); num_rates 737 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 num_rates; num_rates 893 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 num_rates; num_rates 3319 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int num_rates = ARRAY_SIZE(lq_cmd->rs_table); num_rates 3323 drivers/net/wireless/intel/iwlwifi/mvm/rs.c for (i = 0; i < num_rates; i++) num_rates 3332 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_cmd->mimo_delim = num_rates - 1; num_rates 3353 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int num_rates, int num_retries, num_rates 3363 drivers/net/wireless/intel/iwlwifi/mvm/rs.c for (i = 0; i < num_rates && index < end; i++) { num_rates 3410 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int num_rates, num_retries, index = 0; num_rates 3426 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates = IWL_MVM_RS_INITIAL_SISO_NUM_RATES; num_rates 3429 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates = IWL_MVM_RS_INITIAL_MIMO_NUM_RATES; num_rates 3432 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates = IWL_MVM_RS_INITIAL_LEGACY_NUM_RATES; num_rates 3438 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates, num_retries, valid_tx_ant, num_rates 3444 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates = IWL_MVM_RS_SECONDARY_SISO_NUM_RATES; num_rates 3448 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates = IWL_MVM_RS_SECONDARY_LEGACY_NUM_RATES; num_rates 3457 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates, num_retries, valid_tx_ant, num_rates 3462 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates = IWL_MVM_RS_SECONDARY_LEGACY_NUM_RATES; num_rates 3466 drivers/net/wireless/intel/iwlwifi/mvm/rs.c num_rates, num_retries, valid_tx_ant, num_rates 395 drivers/net/wireless/marvell/mwifiex/cfp.c u32 num_rates, rate_mask; num_rates 411 drivers/net/wireless/marvell/mwifiex/cfp.c num_rates = 0; num_rates 415 drivers/net/wireless/marvell/mwifiex/cfp.c rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5); num_rates 418 drivers/net/wireless/marvell/mwifiex/cfp.c return num_rates; num_rates 3565 drivers/net/wireless/marvell/mwl8k.c __le32 num_rates; num_rates 3607 drivers/net/wireless/marvell/mwl8k.c __le32 num_rates; num_rates 1012 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c unsigned int num_rates; num_rates 1015 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c num_rates = 0; num_rates 1017 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c num_rates += 4; num_rates 1019 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c num_rates += 8; num_rates 1025 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); num_rates 1032 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c for (i = 0; i < num_rates; i++) num_rates 1051 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; num_rates 1069 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c num_rates - 4; num_rates 505 include/linux/mlx4/device.h u16 num_rates; /* Number of different rates */ num_rates 42 include/linux/scmi_protocol.h int num_rates; num_rates 1647 net/mac80211/util.c int num_rates; num_rates 1662 net/mac80211/util.c num_rates = 0; num_rates 1669 net/mac80211/util.c rates[num_rates++] = num_rates 1674 net/mac80211/util.c supp_rates_len = min_t(int, num_rates, 8); num_rates 1701 net/mac80211/util.c ext_rates_len = num_rates - supp_rates_len; num_rates 1931 net/mac80211/util.c size_t num_rates; num_rates 1942 net/mac80211/util.c num_rates = sband->n_bitrates; num_rates 1960 net/mac80211/util.c for (j = 0; j < num_rates; j++) { num_rates 3081 sound/soc/codecs/madera.c int bclk, lrclk, wl, frame, bclk_target, num_rates; num_rates 3087 sound/soc/codecs/madera.c num_rates = ARRAY_SIZE(madera_44k1_bclk_rates); num_rates 3090 sound/soc/codecs/madera.c num_rates = ARRAY_SIZE(madera_48k_bclk_rates); num_rates 3123 sound/soc/codecs/madera.c for (i = 0; i < num_rates; i++) { num_rates 3130 sound/soc/codecs/madera.c if (i == num_rates) { num_rates 278 sound/soc/codecs/sigmadsp.c unsigned int num_rates; num_rates 284 sound/soc/codecs/sigmadsp.c num_rates = (length - sizeof(*rate_chunk)) / sizeof(__le32); num_rates 286 sound/soc/codecs/sigmadsp.c if (num_rates > 32 || num_rates == 0) num_rates 293 sound/soc/codecs/sigmadsp.c rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); num_rates 297 sound/soc/codecs/sigmadsp.c for (i = 0; i < num_rates; i++) num_rates 300 sound/soc/codecs/sigmadsp.c sigmadsp->rate_constraints.count = num_rates; num_rates 112 sound/soc/codecs/wm8994.c int num_rates; num_rates 124 sound/soc/codecs/wm8994.c num_rates = control->pdata.num_micd_rates; num_rates 127 sound/soc/codecs/wm8994.c num_rates = ARRAY_SIZE(jackdet_rates); num_rates 130 sound/soc/codecs/wm8994.c num_rates = ARRAY_SIZE(micdet_rates); num_rates 134 sound/soc/codecs/wm8994.c for (i = 0; i < num_rates; i++) {