rates 84 arch/mips/lantiq/clk.c if (clk->rates && *clk->rates) { rates 85 arch/mips/lantiq/clk.c unsigned long *r = clk->rates; rates 104 arch/mips/lantiq/clk.c if (clk->rates && *clk->rates) { rates 105 arch/mips/lantiq/clk.c unsigned long *r = clk->rates; rates 61 arch/mips/lantiq/clk.h unsigned long *rates; rates 293 arch/mips/lantiq/xway/sysctrl.c if (clk->rates[i] == clk->rate) { rates 359 arch/mips/lantiq/xway/sysctrl.c clk->rates = valid_pci_rates; rates 399 arch/mips/lantiq/xway/sysctrl.c clk->rates = valid_clkout_rates[i]; rates 74 drivers/clk/pistachio/clk-pll.c struct pistachio_pll_rate_table *rates; rates 135 drivers/clk/pistachio/clk-pll.c if (pll->rates[i].fref == fref && pll->rates[i].fout == fout) rates 136 drivers/clk/pistachio/clk-pll.c return &pll->rates[i]; rates 149 drivers/clk/pistachio/clk-pll.c if (i > 0 && pll->rates[i].fref == *parent_rate && rates 150 drivers/clk/pistachio/clk-pll.c pll->rates[i].fout <= rate) rates 151 drivers/clk/pistachio/clk-pll.c return pll->rates[i - 1].fout; rates 154 drivers/clk/pistachio/clk-pll.c return pll->rates[0].fout; rates 449 drivers/clk/pistachio/clk-pll.c struct pistachio_pll_rate_table *rates, rates 467 drivers/clk/pistachio/clk-pll.c if (rates) rates 473 drivers/clk/pistachio/clk-pll.c if (rates) rates 486 drivers/clk/pistachio/clk-pll.c pll->rates = rates; rates 506 drivers/clk/pistachio/clk-pll.c pll[i].type, pll[i].rates, rates 113 drivers/clk/pistachio/clk.h struct pistachio_pll_rate_table *rates; rates 124 drivers/clk/pistachio/clk.h .rates = _rates, \ rates 135 drivers/clk/pistachio/clk.h .rates = NULL, \ rates 249 drivers/clk/rockchip/clk-cpu.c const struct rockchip_cpuclk_rate_table *rates, rates 318 drivers/clk/rockchip/clk-cpu.c cpuclk->rate_table = kmemdup(rates, rates 319 drivers/clk/rockchip/clk-cpu.c sizeof(*rates) * nrates, rates 575 drivers/clk/rockchip/clk.c const struct rockchip_cpuclk_rate_table *rates, rates 581 drivers/clk/rockchip/clk.c reg_data, rates, nrates, rates 354 drivers/clk/rockchip/clk.h const struct rockchip_cpuclk_rate_table *rates, rates 847 drivers/clk/rockchip/clk.h const struct rockchip_cpuclk_rate_table *rates, rates 59 drivers/clk/sunxi-ng/ccu_frac.c return (cf->rates[0] == rate) || (cf->rates[1] == rate); rates 73 drivers/clk/sunxi-ng/ccu_frac.c clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); rates 80 drivers/clk/sunxi-ng/ccu_frac.c return (reg & cf->select) ? cf->rates[1] : cf->rates[0]; rates 93 drivers/clk/sunxi-ng/ccu_frac.c if (cf->rates[0] == rate) rates 95 drivers/clk/sunxi-ng/ccu_frac.c else if (cf->rates[1] == rate) rates 17 drivers/clk/sunxi-ng/ccu_frac.h unsigned long rates[2]; rates 24 drivers/clk/sunxi-ng/ccu_frac.h .rates = { _rate1, _rate2 }, \ rates 173 drivers/firmware/arm_scmi/clock.c rate = &clk->list.rates[tot_rate_cnt]; rates 911 drivers/gpu/drm/bridge/sil-sii8620.c } rates[] = { rates 921 drivers/gpu/drm/bridge/sil-sii8620.c for (i = 0; i < ARRAY_SIZE(rates) - 1; ++i) rates 922 drivers/gpu/drm/bridge/sil-sii8620.c if (rate <= rates[i].rate) rates 925 drivers/gpu/drm/bridge/sil-sii8620.c if (rate != rates[i].rate) rates 927 drivers/gpu/drm/bridge/sil-sii8620.c rate, rates[i].rate); rates 929 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_DIV_CTL_MAIN, rates[i].div); rates 930 drivers/gpu/drm/bridge/sil-sii8620.c sii8620_write(ctx, REG_HDCP2X_TP1, rates[i].tp1); rates 301 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c .rates = SNDRV_PCM_RATE_32000 | rates 2770 drivers/gpu/drm/drm_edid.c const int rates[] = { 60, 85, 75, 60, 50 }; rates 2799 drivers/gpu/drm/drm_edid.c rates[j], j == 0, rates 189 drivers/gpu/drm/i915/display/intel_dp.c static int intel_dp_rate_limit_len(const int *rates, int len, int max_rate) rates 195 drivers/gpu/drm/i915/display/intel_dp.c if (rates[len - i - 1] <= max_rate) rates 398 drivers/gpu/drm/i915/display/intel_dp.c static int intel_dp_rate_index(const int *rates, int len, int rate) rates 403 drivers/gpu/drm/i915/display/intel_dp.c if (rate == rates[i]) rates 1020 drivers/gpu/drm/vc4/vc4_hdmi.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 1048 drivers/gpu/drm/vc4/vc4_hdmi.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 1320 drivers/input/mouse/elantech.c static const unsigned char rates[] = { 200, 100, 80, 60, 40, 20, 10 }; rates 1337 drivers/input/mouse/elantech.c for (i = 0; i < ARRAY_SIZE(rates); i++) rates 1338 drivers/input/mouse/elantech.c if (param[2] == rates[i]) rates 471 drivers/input/mouse/psmouse-base.c static const u8 rates[] = { 200, 100, 80, 60, 40, 20, 10, 0 }; rates 475 drivers/input/mouse/psmouse-base.c while (rates[i] > rate) rates 477 drivers/input/mouse/psmouse-base.c r = rates[i]; rates 2478 drivers/media/i2c/tda1997x.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 42 drivers/media/pci/cobalt/cobalt-alsa-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 63 drivers/media/pci/cobalt/cobalt-alsa-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 46 drivers/media/pci/cx18/cx18-alsa-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 293 drivers/media/pci/cx23885/cx23885-alsa.c .rates = SNDRV_PCM_RATE_48000, rates 427 drivers/media/pci/cx25821/cx25821-alsa.c .rates = SNDRV_PCM_RATE_48000, rates 384 drivers/media/pci/cx88/cx88-alsa.c .rates = SNDRV_PCM_RATE_48000, rates 43 drivers/media/pci/ivtv/ivtv-alsa-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 36 drivers/media/pci/mantis/mantis_uart.c } rates[5] = { rates 152 drivers/media/pci/mantis/mantis_uart.c rates[params.baud_rate].string, rates 631 drivers/media/pci/saa7134/saa7134-alsa.c .rates = SNDRV_PCM_RATE_32000, rates 117 drivers/media/pci/solo6x10/solo6x10-g723.c .rates = SNDRV_PCM_RATE_8000, rates 103 drivers/media/pci/tw686x/tw686x-audio.c .rates = SNDRV_PCM_RATE_8000_48000, rates 406 drivers/media/usb/cx231xx/cx231xx-audio.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_KNOT, rates 227 drivers/media/usb/em28xx/em28xx-audio.c .rates = SNDRV_PCM_RATE_48000, rates 53 drivers/media/usb/go7007/snd-go7007.c .rates = SNDRV_PCM_RATE_48000, rates 1168 drivers/media/usb/gspca/gspca.c gspca_dev->cam.mode_framerates[mode].rates[i]; rates 45 drivers/media/usb/gspca/gspca.h const u8 *rates; rates 124 drivers/media/usb/gspca/ov534.c .rates = qvga_rates, rates 128 drivers/media/usb/gspca/ov534.c .rates = vga_rates, rates 132 drivers/media/usb/gspca/ov534.c .rates = qvga_rates, rates 136 drivers/media/usb/gspca/ov534.c .rates = vga_rates, rates 167 drivers/media/usb/gspca/topro.c static const u8 rates[] = {30, 20, 15, 10, 7, 5}; rates 170 drivers/media/usb/gspca/topro.c .rates = rates, rates 171 drivers/media/usb/gspca/topro.c .nrates = ARRAY_SIZE(rates) rates 174 drivers/media/usb/gspca/topro.c .rates = rates, rates 175 drivers/media/usb/gspca/topro.c .nrates = ARRAY_SIZE(rates) rates 181 drivers/media/usb/gspca/topro.c .rates = rates_6810, rates 185 drivers/media/usb/gspca/topro.c .rates = rates_6810, rates 3910 drivers/media/usb/gspca/topro.c for (i = 0; i < ARRAY_SIZE(rates) - 1; i++) { rates 3911 drivers/media/usb/gspca/topro.c if (sd->framerate >= rates[i]) rates 4775 drivers/media/usb/gspca/topro.c fr = rates[6 - (i & 0x07)]; rates 4779 drivers/media/usb/gspca/topro.c fr = rates[6 - i]; rates 4806 drivers/media/usb/gspca/topro.c fr = rates[6 - i]; rates 148 drivers/media/usb/tm6000/tm6000-alsa.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_KNOT, rates 53 drivers/media/usb/usbtv/usbtv-audio.c .rates = SNDRV_PCM_RATE_48000, rates 1688 drivers/net/wireless/admtek/adm8211.c rc_flags = info->control.rates[0].flags; rates 1724 drivers/net/wireless/admtek/adm8211.c txhdr->retry_limit = info->control.rates[0].count; rates 1222 drivers/net/wireless/ath/ar5523/ar5523.c struct ar5523_cmd_rates rates; rates 1224 drivers/net/wireless/ath/ar5523/ar5523.c memset(&rates, 0, sizeof(rates)); rates 1225 drivers/net/wireless/ath/ar5523/ar5523.c rates.connid = cpu_to_be32(2); /* XXX */ rates 1226 drivers/net/wireless/ath/ar5523/ar5523.c rates.size = cpu_to_be32(sizeof(struct ar5523_cmd_rateset)); rates 1227 drivers/net/wireless/ath/ar5523/ar5523.c ar5523_create_rateset(ar, bss, &rates.rateset, true); rates 1229 drivers/net/wireless/ath/ar5523/ar5523.c return ar5523_cmd_write(ar, WDCMSG_SET_BASIC_RATE, &rates, rates 1230 drivers/net/wireless/ath/ar5523/ar5523.c sizeof(rates), 0); rates 1465 drivers/net/wireless/ath/ar5523/ar5523.c BUILD_BUG_ON(sizeof(ar->rates) != sizeof(ar5523_rates)); rates 1468 drivers/net/wireless/ath/ar5523/ar5523.c memcpy(ar->rates, ar5523_rates, sizeof(ar5523_rates)); rates 1473 drivers/net/wireless/ath/ar5523/ar5523.c ar->band.bitrates = ar->rates; rates 128 drivers/net/wireless/ath/ar5523/ar5523.h struct ieee80211_rate rates[12]; rates 3514 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].idx = rate_idx - 4; rates 3517 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].idx = rate_idx; rates 3519 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= rates 3524 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].idx = rates 3527 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= rates 3529 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= IEEE80211_TX_RC_MCS; rates 3532 drivers/net/wireless/ath/ath10k/htt_rx.c ieee80211_rate_set_vht(&arsta->tx_info.status.rates[0], rates 3535 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= rates 3537 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= IEEE80211_TX_RC_VHT_MCS; rates 3549 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= rates 3553 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].flags |= rates 3560 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].count = 1; rates 2228 drivers/net/wireless/ath/ath10k/mac.c const struct ieee80211_rate *rates; rates 2243 drivers/net/wireless/ath/ath10k/mac.c rates = sband->bitrates; rates 2247 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < 32; i++, ratemask >>= 1, rates++) { rates 2251 drivers/net/wireless/ath/ath10k/mac.c rate = ath10k_mac_bitrate_to_rate(rates->bitrate); rates 2252 drivers/net/wireless/ath/ath10k/mac.c rateset->rates[rateset->num_rates] = rate; rates 2360 drivers/net/wireless/ath/ath10k/mac.c arg->peer_ht_rates.rates[n++] = i; rates 2375 drivers/net/wireless/ath/ath10k/mac.c arg->peer_ht_rates.rates[i] = i; rates 98 drivers/net/wireless/ath/ath10k/txrx.c info->status.rates[0].idx = -1; rates 2554 drivers/net/wireless/ath/ath10k/wmi-tlv.c memcpy(tlv->value, arg->peer_legacy_rates.rates, rates 2563 drivers/net/wireless/ath/ath10k/wmi-tlv.c memcpy(tlv->value, arg->peer_ht_rates.rates, rates 7494 drivers/net/wireless/ath/ath10k/wmi.c memcpy(cmd->peer_legacy_rates.rates, arg->peer_legacy_rates.rates, rates 7499 drivers/net/wireless/ath/ath10k/wmi.c memcpy(cmd->peer_ht_rates.rates, arg->peer_ht_rates.rates, rates 6294 drivers/net/wireless/ath/ath10k/wmi.h __le32 rates[(MAX_SUPPORTED_RATES / 4) + 1]; rates 6299 drivers/net/wireless/ath/ath10k/wmi.h u8 rates[MAX_SUPPORTED_RATES]; rates 1270 drivers/net/wireless/ath/ath5k/ath5k.h struct ieee80211_rate rates[NUM_NL80211_BANDS][AR5K_MAX_RATES]; rates 372 drivers/net/wireless/ath/ath5k/base.c sband->bitrates = &ah->rates[NL80211_BAND_2GHZ][0]; rates 420 drivers/net/wireless/ath/ath5k/base.c sband->bitrates = &ah->rates[NL80211_BAND_5GHZ][0]; rates 704 drivers/net/wireless/ath/ath5k/base.c if (bf->rates[idx].idx < 0) { rates 708 drivers/net/wireless/ath/ath5k/base.c return &hw->wiphy->bands[info->band]->bitrates[ bf->rates[idx].idx ]; rates 724 drivers/net/wireless/ath/ath5k/base.c rc_flags = bf->rates[idx].flags; rates 757 drivers/net/wireless/ath/ath5k/base.c ieee80211_get_tx_rates(info->control.vif, (control) ? control->sta : NULL, skb, bf->rates, rates 758 drivers/net/wireless/ath/ath5k/base.c ARRAY_SIZE(bf->rates)); rates 770 drivers/net/wireless/ath/ath5k/base.c rc_flags = bf->rates[0].flags; rates 801 drivers/net/wireless/ath/ath5k/base.c bf->rates[0].count, keyidx, ah->ah_tx_ant, flags, rates 818 drivers/net/wireless/ath/ath5k/base.c mrr_tries[i] = bf->rates[i].count; rates 1679 drivers/net/wireless/ath/ath5k/base.c size = min_t(int, sizeof(info->status.rates), sizeof(bf->rates)); rates 1680 drivers/net/wireless/ath/ath5k/base.c memcpy(info->status.rates, bf->rates, size); rates 1682 drivers/net/wireless/ath/ath5k/base.c tries[0] = info->status.rates[0].count; rates 1683 drivers/net/wireless/ath/ath5k/base.c tries[1] = info->status.rates[1].count; rates 1684 drivers/net/wireless/ath/ath5k/base.c tries[2] = info->status.rates[2].count; rates 1690 drivers/net/wireless/ath/ath5k/base.c &info->status.rates[i]; rates 1695 drivers/net/wireless/ath/ath5k/base.c info->status.rates[ts->ts_final_idx].count = ts->ts_final_retry; rates 1696 drivers/net/wireless/ath/ath5k/base.c info->status.rates[ts->ts_final_idx + 1].idx = -1; rates 1713 drivers/net/wireless/ath/ath5k/base.c info->status.rates[ts->ts_final_idx].count++; rates 70 drivers/net/wireless/ath/ath5k/base.h struct ieee80211_tx_rate rates[4]; /* number of multi-rate stages */ rates 2671 drivers/net/wireless/ath/ath5k/phy.c struct ath5k_rate_pcal_info *rates) rates 2727 drivers/net/wireless/ath/ath5k/phy.c rates->freq = target; rates 2729 drivers/net/wireless/ath/ath5k/phy.c rates->target_power_6to24 = rates 2735 drivers/net/wireless/ath/ath5k/phy.c rates->target_power_36 = rates 2741 drivers/net/wireless/ath/ath5k/phy.c rates->target_power_48 = rates 2747 drivers/net/wireless/ath/ath5k/phy.c rates->target_power_54 = rates 3511 drivers/net/wireless/ath/ath5k/phy.c u16 *rates; rates 3520 drivers/net/wireless/ath/ath5k/phy.c rates = ah->ah_txpower.txp_rates_power_table; rates 3524 drivers/net/wireless/ath/ath5k/phy.c rates[i] = min(max_pwr, rate_info->target_power_6to24); rates 3527 drivers/net/wireless/ath/ath5k/phy.c rates[5] = min(rates[0], rate_info->target_power_36); rates 3528 drivers/net/wireless/ath/ath5k/phy.c rates[6] = min(rates[0], rate_info->target_power_48); rates 3529 drivers/net/wireless/ath/ath5k/phy.c rates[7] = min(rates[0], rate_info->target_power_54); rates 3533 drivers/net/wireless/ath/ath5k/phy.c rates[8] = min(rates[0], rate_info->target_power_6to24); rates 3535 drivers/net/wireless/ath/ath5k/phy.c rates[9] = min(rates[0], rate_info->target_power_36); rates 3537 drivers/net/wireless/ath/ath5k/phy.c rates[10] = min(rates[0], rate_info->target_power_36); rates 3539 drivers/net/wireless/ath/ath5k/phy.c rates[11] = min(rates[0], rate_info->target_power_48); rates 3541 drivers/net/wireless/ath/ath5k/phy.c rates[12] = min(rates[0], rate_info->target_power_48); rates 3543 drivers/net/wireless/ath/ath5k/phy.c rates[13] = min(rates[0], rate_info->target_power_54); rates 3545 drivers/net/wireless/ath/ath5k/phy.c rates[14] = min(rates[0], rate_info->target_power_54); rates 3548 drivers/net/wireless/ath/ath5k/phy.c rates[15] = min(rates[0], rate_info->target_power_6to24); rates 3557 drivers/net/wireless/ath/ath5k/phy.c rates[i] -= ah->ah_txpower.txp_cck_ofdm_gainf_delta; rates 3565 drivers/net/wireless/ath/ath5k/phy.c ah->ah_txpower.txp_min_pwr = 2 * rates[7]; rates 3566 drivers/net/wireless/ath/ath5k/phy.c ah->ah_txpower.txp_cur_pwr = 2 * rates[0]; rates 3571 drivers/net/wireless/ath/ath5k/phy.c ah->ah_txpower.txp_ofdm = rates[7]; rates 3577 drivers/net/wireless/ath/ath5k/phy.c rate_idx_scaled = rates[i] + ah->ah_txpower.txp_offset; rates 3583 drivers/net/wireless/ath/ath5k/phy.c rates[i] = rate_idx_scaled; rates 1065 drivers/net/wireless/ath/ath6kl/cfg80211.c request->rates); rates 3542 drivers/net/wireless/ath/ath6kl/cfg80211.c u32 rates[NUM_NL80211_BANDS]; rates 3569 drivers/net/wireless/ath/ath6kl/cfg80211.c rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; rates 3574 drivers/net/wireless/ath/ath6kl/cfg80211.c 0, NULL, false, rates); rates 2012 drivers/net/wireless/ath/ath6kl/wmi.c s8 num_chan, u16 *ch_list, u32 no_cck, u32 *rates) rates 2065 drivers/net/wireless/ath/ath6kl/wmi.c ratemask = rates[band]; rates 2066 drivers/net/wireless/ath/ath6kl/wmi.c supp_rates = sc->supp_rates[band].rates; rates 838 drivers/net/wireless/ath/ath6kl/wmi.h u8 rates[ATH6KL_RATE_MAXSIZE]; rates 2575 drivers/net/wireless/ath/ath6kl/wmi.h u32 *rates); rates 238 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl2, set11nTries(i->rates, 0) rates 239 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nTries(i->rates, 1) rates 240 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nTries(i->rates, 2) rates 241 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nTries(i->rates, 3) rates 245 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl3, set11nRate(i->rates, 0) rates 246 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nRate(i->rates, 1) rates 247 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nRate(i->rates, 2) rates 248 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nRate(i->rates, 3)); rates 298 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl4, set11nPktDurRTSCTS(i->rates, 0) rates 299 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nPktDurRTSCTS(i->rates, 1)); rates 301 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl5, set11nPktDurRTSCTS(i->rates, 2) rates 302 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nPktDurRTSCTS(i->rates, 3)); rates 304 drivers/net/wireless/ath/ath9k/ar9002_mac.c WRITE_ONCE(ads->ds_ctl7, set11nRateFlags(i->rates, 0) rates 305 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nRateFlags(i->rates, 1) rates 306 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nRateFlags(i->rates, 2) rates 307 drivers/net/wireless/ath/ath9k/ar9002_mac.c | set11nRateFlags(i->rates, 3) rates 69 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl13, set11nTries(i->rates, 0) rates 70 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nTries(i->rates, 1) rates 71 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nTries(i->rates, 2) rates 72 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nTries(i->rates, 3) rates 76 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl14, set11nRate(i->rates, 0) rates 77 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nRate(i->rates, 1) rates 78 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nRate(i->rates, 2) rates 79 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nRate(i->rates, 3)); rates 141 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl15, set11nPktDurRTSCTS(i->rates, 0) rates 142 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nPktDurRTSCTS(i->rates, 1)); rates 144 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl16, set11nPktDurRTSCTS(i->rates, 2) rates 145 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nPktDurRTSCTS(i->rates, 3)); rates 147 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl18, set11nRateFlags(i->rates, 0) rates 148 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nRateFlags(i->rates, 1) rates 149 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nRateFlags(i->rates, 2) rates 150 drivers/net/wireless/ath/ath9k/ar9003_mac.c | set11nRateFlags(i->rates, 3) rates 227 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_tx_rate rates[4]; rates 105 drivers/net/wireless/ath/ath9k/beacon.c info.rates[0].Tries = 1; rates 106 drivers/net/wireless/ath/ath9k/beacon.c info.rates[0].Rate = rate; rates 107 drivers/net/wireless/ath/ath9k/beacon.c info.rates[0].ChSel = ath_txchainmask_reduction(sc, chainmask, rate); rates 187 drivers/net/wireless/ath/ath9k/beacon.c ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx); rates 253 drivers/net/wireless/ath/ath9k/dynack.c if (!(info->status.rates[ridx].flags & IEEE80211_TX_RC_MCS)) { rates 255 drivers/net/wireless/ath/ath9k/dynack.c struct ieee80211_tx_rate *rates = info->status.rates; rates 258 drivers/net/wireless/ath/ath9k/dynack.c rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; rates 163 drivers/net/wireless/ath/ath9k/htc.h struct ath9k_htc_rate rates; rates 606 drivers/net/wireless/ath/ath9k/htc_drv_main.c trate->rates.legacy_rates.rs_rates[j] rates 611 drivers/net/wireless/ath/ath9k/htc_drv_main.c trate->rates.legacy_rates.rs_nrates = j; rates 616 drivers/net/wireless/ath/ath9k/htc_drv_main.c trate->rates.ht_rates.rs_rates[j++] = i; rates 620 drivers/net/wireless/ath/ath9k/htc_drv_main.c trate->rates.ht_rates.rs_nrates = j; rates 463 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c rate = &tx_info->status.rates[0]; rates 187 drivers/net/wireless/ath/ath9k/link.c tx_info->control.rates[0].idx = 0; rates 188 drivers/net/wireless/ath/ath9k/link.c tx_info->control.rates[0].count = 1; rates 189 drivers/net/wireless/ath/ath9k/link.c tx_info->control.rates[0].flags = IEEE80211_TX_RC_MCS; rates 190 drivers/net/wireless/ath/ath9k/link.c tx_info->control.rates[1].idx = -1; rates 702 drivers/net/wireless/ath/ath9k/mac.h struct ath9k_11n_rate_series rates[4]; rates 82 drivers/net/wireless/ath/ath9k/tx99.c rate = &tx_info->control.rates[0]; rates 160 drivers/net/wireless/ath/ath9k/xmit.c ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, rates 161 drivers/net/wireless/ath/ath9k/xmit.c ARRAY_SIZE(bf->rates)); rates 455 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_tx_rate rates[4]; rates 465 drivers/net/wireless/ath/ath9k/xmit.c memcpy(rates, bf->rates, sizeof(rates)); rates 469 drivers/net/wireless/ath/ath9k/xmit.c retries += rates[i].count; rates 579 drivers/net/wireless/ath/ath9k/xmit.c memcpy(tx_info->control.rates, rates, sizeof(rates)); rates 675 drivers/net/wireless/ath/ath9k/xmit.c airtime += rate_dur * bf->rates[i].count; rates 716 drivers/net/wireless/ath/ath9k/xmit.c memcpy(info->control.rates, bf->rates, rates 717 drivers/net/wireless/ath/ath9k/xmit.c sizeof(info->control.rates)); rates 734 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_tx_rate *rates; rates 739 drivers/net/wireless/ath/ath9k/xmit.c rates = tx_info->control.rates; rates 742 drivers/net/wireless/ath/ath9k/xmit.c if (!rates[i].count || rates[i].idx < 0) rates 745 drivers/net/wireless/ath/ath9k/xmit.c if (!(rates[i].flags & IEEE80211_TX_RC_MCS)) rates 757 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_tx_rate *rates; rates 765 drivers/net/wireless/ath/ath9k/xmit.c rates = bf->rates; rates 776 drivers/net/wireless/ath/ath9k/xmit.c if (!rates[i].count) rates 779 drivers/net/wireless/ath/ath9k/xmit.c if (!(rates[i].flags & IEEE80211_TX_RC_MCS)) { rates 784 drivers/net/wireless/ath/ath9k/xmit.c if (rates[i].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) rates 789 drivers/net/wireless/ath/ath9k/xmit.c if (rates[i].flags & IEEE80211_TX_RC_SHORT_GI) rates 792 drivers/net/wireless/ath/ath9k/xmit.c frmlen = sc->tx.max_aggr_framelen[q][modeidx][rates[i].idx]; rates 868 drivers/net/wireless/ath/ath9k/xmit.c rix = bf->rates[0].idx; rates 869 drivers/net/wireless/ath/ath9k/xmit.c flags = bf->rates[0].flags; rates 1211 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_tx_rate *rates; rates 1221 drivers/net/wireless/ath/ath9k/xmit.c rates = bf->rates; rates 1228 drivers/net/wireless/ath/ath9k/xmit.c for (i = 0; i < ARRAY_SIZE(bf->rates); i++) { rates 1232 drivers/net/wireless/ath/ath9k/xmit.c if (!rates[i].count || (rates[i].idx < 0)) rates 1235 drivers/net/wireless/ath/ath9k/xmit.c rix = rates[i].idx; rates 1236 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].Tries = rates[i].count; rates 1242 drivers/net/wireless/ath/ath9k/xmit.c (rates[i].flags & IEEE80211_TX_RC_MCS) && rates 1248 drivers/net/wireless/ath/ath9k/xmit.c if (rts || rates[i].flags & IEEE80211_TX_RC_USE_RTS_CTS) { rates 1249 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].RateFlags |= ATH9K_RATESERIES_RTS_CTS; rates 1251 drivers/net/wireless/ath/ath9k/xmit.c } else if (rates[i].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { rates 1252 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].RateFlags |= ATH9K_RATESERIES_RTS_CTS; rates 1256 drivers/net/wireless/ath/ath9k/xmit.c if (rates[i].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) rates 1257 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].RateFlags |= ATH9K_RATESERIES_2040; rates 1258 drivers/net/wireless/ath/ath9k/xmit.c if (rates[i].flags & IEEE80211_TX_RC_SHORT_GI) rates 1259 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].RateFlags |= ATH9K_RATESERIES_HALFGI; rates 1261 drivers/net/wireless/ath/ath9k/xmit.c is_sgi = !!(rates[i].flags & IEEE80211_TX_RC_SHORT_GI); rates 1262 drivers/net/wireless/ath/ath9k/xmit.c is_40 = !!(rates[i].flags & IEEE80211_TX_RC_40_MHZ_WIDTH); rates 1263 drivers/net/wireless/ath/ath9k/xmit.c is_sp = !!(rates[i].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE); rates 1265 drivers/net/wireless/ath/ath9k/xmit.c if (rates[i].flags & IEEE80211_TX_RC_MCS) { rates 1267 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].Rate = rix | 0x80; rates 1268 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].ChSel = ath_txchainmask_reduction(sc, rates 1269 drivers/net/wireless/ath/ath9k/xmit.c ah->txchainmask, info->rates[i].Rate); rates 1270 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].PktDuration = ath_pkt_duration(sc, rix, len, rates 1273 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].RateFlags |= ATH9K_RATESERIES_STBC; rates 1281 drivers/net/wireless/ath/ath9k/xmit.c rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; rates 1288 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].Rate = rate->hw_value; rates 1290 drivers/net/wireless/ath/ath9k/xmit.c if (rates[i].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) rates 1291 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].Rate |= rate->hw_value_short; rates 1297 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].ChSel = ah->txchainmask; rates 1299 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].ChSel = ath_txchainmask_reduction(sc, rates 1300 drivers/net/wireless/ath/ath9k/xmit.c ah->txchainmask, info->rates[i].Rate); rates 1302 drivers/net/wireless/ath/ath9k/xmit.c info->rates[i].PktDuration = ath9k_hw_computetxtime(sc->sc_ah, rates 1305 drivers/net/wireless/ath/ath9k/xmit.c is_cck = IS_CCK_RATE(info->rates[i].Rate); rates 2362 drivers/net/wireless/ath/ath9k/xmit.c duration += info.rates[0].PktDuration; rates 2538 drivers/net/wireless/ath/ath9k/xmit.c tx_info->status.rates[tx_rateindex].count = rates 2543 drivers/net/wireless/ath/ath9k/xmit.c tx_info->status.rates[i].count = 0; rates 2544 drivers/net/wireless/ath/ath9k/xmit.c tx_info->status.rates[i].idx = -1; rates 2547 drivers/net/wireless/ath/ath9k/xmit.c tx_info->status.rates[tx_rateindex].count = ts->ts_longretry + 1; rates 416 drivers/net/wireless/ath/carl9170/tx.c if (txinfo->status.rates[0].count == 1) rates 542 drivers/net/wireless/ath/carl9170/tx.c if (txinfo->status.rates[i].idx < 0) rates 546 drivers/net/wireless/ath/carl9170/tx.c txinfo->status.rates[i].count = tries; rates 553 drivers/net/wireless/ath/carl9170/tx.c txinfo->status.rates[i].idx = -1; rates 554 drivers/net/wireless/ath/carl9170/tx.c txinfo->status.rates[i].count = 0; rates 884 drivers/net/wireless/ath/carl9170/tx.c info->control.rates, rates 916 drivers/net/wireless/ath/carl9170/tx.c txrate = &sinfo->control.rates[i]; rates 1576 drivers/net/wireless/ath/carl9170/tx.c rate = &txinfo->control.rates[0]; rates 1577 drivers/net/wireless/ath/carl9170/tx.c ht_rate = !!(txinfo->control.rates[0].flags & IEEE80211_TX_RC_MCS); rates 715 drivers/net/wireless/ath/wcn36xx/main.c u32 rates = sta->supp_rates[band]; rates 725 drivers/net/wireless/ath/wcn36xx/main.c if (rates & 0x01) { rates 727 drivers/net/wireless/ath/wcn36xx/main.c rates = rates >> 1; rates 735 drivers/net/wireless/ath/wcn36xx/main.c if (rates & 0x01) { rates 737 drivers/net/wireless/ath/wcn36xx/main.c rates = rates >> 1; rates 749 drivers/net/wireless/ath/wcn36xx/main.c void wcn36xx_set_default_rates(struct wcn36xx_hal_supported_rates *rates) rates 768 drivers/net/wireless/ath/wcn36xx/main.c rates->op_rate_mode = STA_11n; rates 769 drivers/net/wireless/ath/wcn36xx/main.c memcpy(rates->dsss_rates, dsss_rates, rates 771 drivers/net/wireless/ath/wcn36xx/main.c memcpy(rates->ofdm_rates, ofdm_rates, rates 773 drivers/net/wireless/ath/wcn36xx/main.c rates->supported_mcs_set[0] = 0xFF; rates 270 drivers/net/wireless/ath/wcn36xx/wcn36xx.h void wcn36xx_set_default_rates(struct wcn36xx_hal_supported_rates *rates); rates 2891 drivers/net/wireless/atmel/atmel.c u8 rates[4]; rates 3118 drivers/net/wireless/atmel/atmel.c u8 rates[4]; rates 3139 drivers/net/wireless/atmel/atmel.c PHY_MIB_RATE_SET_POS, ass_resp->rates, rates_len); rates 71 drivers/net/wireless/broadcom/b43/ppr.c struct b43_ppr_rates *rates = &ppr->rates; rates 121 drivers/net/wireless/broadcom/b43/ppr.c rates->cck[i] = maxpwr - off; rates 128 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm[i] = maxpwr - off; rates 132 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[0] = rates->ofdm[0]; rates 133 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[1] = rates->ofdm[2]; rates 134 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[2] = rates->ofdm[3]; rates 135 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[3] = rates->ofdm[4]; rates 136 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[4] = rates->ofdm[5]; rates 137 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[5] = rates->ofdm[6]; rates 138 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[6] = rates->ofdm[7]; rates 139 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20[7] = rates->ofdm[7]; rates 144 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_cdd[i] = maxpwr - off; rates 146 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_cdd[i] -= extra_cdd_po; rates 150 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_cdd[4 + i] = maxpwr - off; rates 152 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_cdd[4 + i] -= extra_cdd_po; rates 156 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[0] = rates->mcs_20_cdd[0]; rates 157 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[1] = rates->mcs_20_cdd[0]; rates 158 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[2] = rates->mcs_20_cdd[1]; rates 159 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[3] = rates->mcs_20_cdd[2]; rates 160 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[4] = rates->mcs_20_cdd[3]; rates 161 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[5] = rates->mcs_20_cdd[4]; rates 162 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[6] = rates->mcs_20_cdd[5]; rates 163 drivers/net/wireless/broadcom/b43/ppr.c rates->ofdm_20_cdd[7] = rates->mcs_20_cdd[6]; rates 168 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_stbc[i] = maxpwr - off; rates 170 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_stbc[i] -= extra_stbc_po; rates 174 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_stbc[4 + i] = maxpwr - off; rates 176 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_stbc[4 + i] -= extra_stbc_po; rates 182 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_sdm[i] = maxpwr - off; rates 186 drivers/net/wireless/broadcom/b43/ppr.c rates->mcs_20_sdm[4 + i] = maxpwr - off; rates 29 drivers/net/wireless/broadcom/b43/ppr.h struct b43_ppr_rates rates; rates 260 drivers/net/wireless/broadcom/b43/xmit.c struct ieee80211_tx_rate *rates; rates 374 drivers/net/wireless/broadcom/b43/xmit.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) rates 397 drivers/net/wireless/broadcom/b43/xmit.c rates = info->control.rates; rates 413 drivers/net/wireless/broadcom/b43/xmit.c if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || rates 414 drivers/net/wireless/broadcom/b43/xmit.c (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { rates 415 drivers/net/wireless/broadcom/b43/xmit.c rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; rates 418 drivers/net/wireless/broadcom/b43/xmit.c rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count; rates 422 drivers/net/wireless/broadcom/b43/xmit.c if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || rates 423 drivers/net/wireless/broadcom/b43/xmit.c (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) { rates 438 drivers/net/wireless/broadcom/b43/xmit.c if (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { rates 533 drivers/net/wireless/broadcom/b43/xmit.c if (rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS && rates 869 drivers/net/wireless/broadcom/b43/xmit.c retry_limit = report->status.rates[0].count; rates 884 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[0].count = 0; rates 893 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[0].count = 0; rates 894 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[1].count = status->frame_count; rates 897 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[0].count = retry_limit; rates 898 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[1].count = status->frame_count - rates 902 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[0].count = status->frame_count; rates 903 drivers/net/wireless/broadcom/b43/xmit.c report->status.rates[1].idx = -1; rates 1172 drivers/net/wireless/broadcom/b43legacy/dma.c retry_limit = info->status.rates[0].count; rates 1186 drivers/net/wireless/broadcom/b43legacy/dma.c info->status.rates[0].count = 0; rates 1187 drivers/net/wireless/broadcom/b43legacy/dma.c info->status.rates[1].count = status->frame_count; rates 1190 drivers/net/wireless/broadcom/b43legacy/dma.c info->status.rates[0].count = retry_limit; rates 1191 drivers/net/wireless/broadcom/b43legacy/dma.c info->status.rates[1].count = status->frame_count - rates 1195 drivers/net/wireless/broadcom/b43legacy/dma.c info->status.rates[0].count = status->frame_count; rates 1196 drivers/net/wireless/broadcom/b43legacy/dma.c info->status.rates[1].idx = -1; rates 498 drivers/net/wireless/broadcom/b43legacy/pio.c retry_limit = info->status.rates[0].count; rates 512 drivers/net/wireless/broadcom/b43legacy/pio.c info->status.rates[0].count = 0; rates 513 drivers/net/wireless/broadcom/b43legacy/pio.c info->status.rates[1].count = status->frame_count; rates 516 drivers/net/wireless/broadcom/b43legacy/pio.c info->status.rates[0].count = retry_limit; rates 517 drivers/net/wireless/broadcom/b43legacy/pio.c info->status.rates[1].count = status->frame_count - rates 521 drivers/net/wireless/broadcom/b43legacy/pio.c info->status.rates[0].count = status->frame_count; rates 522 drivers/net/wireless/broadcom/b43legacy/pio.c info->status.rates[1].idx = -1; rates 191 drivers/net/wireless/broadcom/b43legacy/xmit.c struct ieee80211_tx_rate *rates; rates 265 drivers/net/wireless/broadcom/b43legacy/xmit.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) rates 270 drivers/net/wireless/broadcom/b43legacy/xmit.c rates = info->control.rates; rates 284 drivers/net/wireless/broadcom/b43legacy/xmit.c if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || rates 285 drivers/net/wireless/broadcom/b43legacy/xmit.c (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { rates 286 drivers/net/wireless/broadcom/b43legacy/xmit.c rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; rates 289 drivers/net/wireless/broadcom/b43legacy/xmit.c rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count; rates 293 drivers/net/wireless/broadcom/b43legacy/xmit.c if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || rates 294 drivers/net/wireless/broadcom/b43legacy/xmit.c (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) { rates 307 drivers/net/wireless/broadcom/b43legacy/xmit.c if (rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { rates 315 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 rates[16]; /* rates in 500kbps units w/hi bit set if basic */ rates 343 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 rates[BRCMF_MAXRATES_IN_SET]; rates 542 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 rates[BRCMF_MAXRATES_IN_SET]; /* rates in 500kbps units */ rates 599 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 rates[BRCMF_MAXRATES_IN_SET]; /* rates in 500kbps units w/hi bit set if basic */ rates 613 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u8 rates[BRCMF_MAXRATES_IN_SET]; /* rates in 500kbps units w/hi bit set if basic */ rates 525 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c struct ieee80211_tx_rate *txrate = tx_info->status.rates; rates 684 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c txrate = tx_info->status.rates; rates 826 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c struct ieee80211_tx_rate *txrate = tx_info->status.rates; rates 267 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c if (rate != (rs->rates[i] & 0x7f)) rates 271 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c rs->rates[i] |= BRCMS_RATE_FLAG; rates 273 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c rs->rates[i] &= BRCMS_RATE_MASK; rates 953 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c txrate = tx_info->status.rates; rates 1672 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u8 rates[8] = { rates 1684 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c for (i = 0; i < ARRAY_SIZE(rates); i++) { rates 1685 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rate = rates[i]; rates 3444 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (!(rateset->rates[i] & BRCMS_RATE_FLAG)) rates 3448 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rate = (rateset->rates[i] & BRCMS_RATE_MASK); rates 3453 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rateset->rates[i]); rates 3475 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rate = wlc->band->hw_rateset.rates[i]; rates 3688 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rate = rs.rates[i] & BRCMS_RATE_MASK; rates 3698 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c basic_rate = rs.rates[0] & BRCMS_RATE_MASK; rates 5316 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (rs.rates[i] == BRCM_RATE_6M rates 5317 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c || rs.rates[i] == BRCM_RATE_12M rates 5318 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c || rs.rates[i] == BRCM_RATE_24M) rates 5319 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rs.rates[i] |= BRCMS_RATE_FLAG; rates 5325 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(wlc->default_bss->rateset.rates, rs.rates, rates 5326 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c sizeof(wlc->default_bss->rateset.rates)); rates 5408 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c r = wlc->bsscfg->current_bss->rateset.rates[0]; rates 5410 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c r = wlc->default_bss->rateset.rates[0]; rates 5481 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(&currs->rates, &rs->rates, rs->count); rates 5496 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memcpy(&internal_rs.rates, &rs->rates, internal_rs.count); rates 5865 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (hw_rateset->rates[i] == rspec2rate(rspec)) rates 6291 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c txrate[0] = tx_info->control.rates; rates 6459 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c && (tx_info->control.rates[0]. rates 7262 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rate = rs.rates[i] & BRCMS_RATE_MASK; rates 108 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h u8 rates[WL_NUMRATES]; rates 114 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h u8 rates[BRCMS_NUMRATES]; rates 284 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c if (rs->rates[idx] & BRCMS_RATE_FLAG) rates 316 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c r = (int)rs->rates[i] & BRCMS_RATE_MASK; rates 319 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c rateset[r] = rs->rates[i]; /* preserve basic bit! */ rates 325 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c r = hw_rs->rates[i] & BRCMS_RATE_MASK; rates 327 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c rs->rates[count++] = rateset[r]; rates 409 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c bool basic_only, u8 rates, uint xmask, bool mcsallow) rates 417 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c r = src->rates[i]; rates 420 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c if (rates == BRCMS_RATES_CCK && rates 423 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c if (rates == BRCMS_RATES_OFDM && rates 426 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c dst->rates[count++] = r & xmask; rates 431 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c if (mcsallow && rates != BRCMS_RATES_CCK) rates 231 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h u8 rates, uint xmask, bool mcsallow); rates 220 drivers/net/wireless/cisco/airo.c static int rates[8]; rates 254 drivers/net/wireless/cisco/airo.c module_param_array(rates, int, NULL, 0); rates 567 drivers/net/wireless/cisco/airo.c u8 rates[8]; rates 788 drivers/net/wireless/cisco/airo.c u8 rates[8]; /* Same as rates for config rid */ rates 1816 drivers/net/wireless/cisco/airo.c if (ai->config.rates[i] > maxencrypt) { rates 1817 drivers/net/wireless/cisco/airo.c ai->config.rates[i] = 0; rates 3896 drivers/net/wireless/cisco/airo.c if ( rates[0] ) { rates 3897 drivers/net/wireless/cisco/airo.c memset(ai->config.rates,0,sizeof(ai->config.rates)); rates 3898 drivers/net/wireless/cisco/airo.c for( i = 0; i < 8 && rates[i]; i++ ) { rates 3899 drivers/net/wireless/cisco/airo.c ai->config.rates[i] = rates[i]; rates 4872 drivers/net/wireless/cisco/airo.c ai->config.rates[k++] = (u8)v; rates 5045 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[0], rates 5046 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[1], rates 5047 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[2], rates 5048 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[3], rates 5049 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[4], rates 5050 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[5], rates 5051 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[6], rates 5052 drivers/net/wireless/cisco/airo.c (int)ai->config.rates[7], rates 6079 drivers/net/wireless/cisco/airo.c memset(local->config.rates, 0, 8); rates 6081 drivers/net/wireless/cisco/airo.c local->config.rates[i] = cap_rid.supportedRates[i]; rates 6082 drivers/net/wireless/cisco/airo.c if(local->config.rates[i] == brate) rates 6088 drivers/net/wireless/cisco/airo.c memset(local->config.rates, 0, 8); rates 6089 drivers/net/wireless/cisco/airo.c local->config.rates[0] = brate; rates 6113 drivers/net/wireless/cisco/airo.c vwrq->fixed = (local->config.rates[1] == 0); rates 7357 drivers/net/wireless/cisco/airo.c if(bss->rates[i] == 0) rates 7360 drivers/net/wireless/cisco/airo.c iwe.u.bitrate.value = ((bss->rates[i] & 0x7f) * 500000); rates 2419 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates *rates) rates 2421 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!priv || !rates) { rates 2426 drivers/net/wireless/intel/ipw2x00/ipw2200.c return ipw_send_cmd_pdu(priv, IPW_CMD_SUPPORTED_RATES, sizeof(*rates), rates 2427 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates); rates 5345 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates *rates) rates 5349 drivers/net/wireless/intel/ipw2x00/ipw2200.c memset(rates, 0, sizeof(*rates)); rates 5351 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->num_rates = 0; rates 5354 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates[i])) { rates 5356 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (network->rates[i] & LIBIPW_BASIC_RATE_MASK) { rates 5359 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates[i]); rates 5360 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5361 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates[i]; rates 5366 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates[i], priv->rates_mask); rates 5370 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = network->rates[i]; rates 5382 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5383 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates[i]; rates 5392 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5411 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void ipw_add_cck_scan_rates(struct ipw_supported_rates *rates, rates 5418 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5422 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5426 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | rates 5430 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | rates 5434 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void ipw_add_ofdm_scan_rates(struct ipw_supported_rates *rates, rates 5441 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | rates 5445 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5449 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | rates 5453 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5457 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = basic_mask | rates 5461 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5465 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5469 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->supported_rates[rates->num_rates++] = rates 5475 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates rates; rates 5483 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates rates; rates 5585 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!ipw_compatible_rates(priv, network, &rates)) { rates 5592 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (rates.num_rates == 0) { rates 5604 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_copy_rates(&match->rates, &rates); rates 5659 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates rates; rates 5780 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!ipw_compatible_rates(priv, network, &rates)) { rates 5787 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (rates.num_rates == 0) { rates 5799 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_copy_rates(&match->rates, &rates); rates 5876 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates_len = min(priv->rates.num_rates, MAX_RATES_LENGTH); rates 5877 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(network->rates, priv->rates.supported_rates, network->rates_len); rates 5878 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates_ex_len = priv->rates.num_rates - network->rates_len; rates 5880 drivers/net/wireless/intel/ipw2x00/ipw2200.c &priv->rates.supported_rates[network->rates_len], rates 7274 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates *rates, int roaming) rates 7347 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->num_rates, rates 7394 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->ieee_mode = priv->assoc_request.ieee_mode; rates 7395 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->purpose = IPW_RATE_CONNECT; rates 7396 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_send_supported_rates(priv, rates); rates 7509 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_compatible_rates(priv, priv->assoc_network, &match.rates); rates 7510 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_associate_network(priv, priv->assoc_network, &match.rates, 1); rates 7531 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates *rates; rates 7570 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates = &match.rates; rates 7601 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates = &priv->rates; rates 7623 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_associate_network(priv, network, rates, 0); rates 8841 drivers/net/wireless/intel/ipw2x00/ipw2200.c range->num_bitrates = min(priv->rates.num_rates, (u8) IW_MAX_BITRATES); rates 8844 drivers/net/wireless/intel/ipw2x00/ipw2200.c range->bitrate[i] = (priv->rates.supported_rates[i] & 0x7F) * rates 9684 drivers/net/wireless/intel/ipw2x00/ipw2200.c init_supported_rates(priv, &priv->rates); rates 9689 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_send_supported_rates(priv, &priv->rates); rates 10768 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_supported_rates *rates) rates 10772 drivers/net/wireless/intel/ipw2x00/ipw2200.c memset(rates, 0, sizeof(*rates)); rates 10776 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->ieee_mode = IPW_A_MODE; rates 10777 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->purpose = IPW_RATE_CAPABILITIES; rates 10778 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_add_ofdm_scan_rates(rates, LIBIPW_CCK_MODULATION, rates 10783 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->ieee_mode = IPW_G_MODE; rates 10784 drivers/net/wireless/intel/ipw2x00/ipw2200.c rates->purpose = IPW_RATE_CAPABILITIES; rates 10785 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_add_cck_scan_rates(rates, LIBIPW_CCK_MODULATION, rates 10788 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_add_ofdm_scan_rates(rates, LIBIPW_CCK_MODULATION, rates 10842 drivers/net/wireless/intel/ipw2x00/ipw2200.c init_supported_rates(priv, &priv->rates); rates 10843 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ipw_send_supported_rates(priv, &priv->rates)) rates 738 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 rates[IPW_MAX_RATES]; rates 1212 drivers/net/wireless/intel/ipw2x00/ipw2200.h struct ipw_supported_rates rates; rates 626 drivers/net/wireless/intel/ipw2x00/libipw.h u8 rates[MAX_RATES_LENGTH]; rates 1159 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->rates[i] = info_element->data[i]; rates 1163 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->rates[i]); rates 1474 drivers/net/wireless/intel/ipw2x00/libipw_rx.c memcpy(dst->rates, src->rates, src->rates_len); rates 119 drivers/net/wireless/intel/ipw2x00/libipw_wx.c (network->rates[i] & 0x7F))) rates 122 drivers/net/wireless/intel/ipw2x00/libipw_wx.c rate = network->rates[i++] & 0x7F; rates 1622 drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_init_hw_rates(struct il_priv *il, struct ieee80211_rate *rates) rates 1627 drivers/net/wireless/intel/iwlegacy/3945-mac.c rates[i].bitrate = il3945_rates[i].ieee * 5; rates 1628 drivers/net/wireless/intel/iwlegacy/3945-mac.c rates[i].hw_value = i; /* Rate scaling will work on idxes */ rates 1629 drivers/net/wireless/intel/iwlegacy/3945-mac.c rates[i].hw_value_short = i; rates 1630 drivers/net/wireless/intel/iwlegacy/3945-mac.c rates[i].flags = 0; rates 1635 drivers/net/wireless/intel/iwlegacy/3945-mac.c rates[i].flags |= rates 439 drivers/net/wireless/intel/iwlegacy/3945-rs.c retries = info->status.rates[0].count; rates 444 drivers/net/wireless/intel/iwlegacy/3945-rs.c first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; rates 791 drivers/net/wireless/intel/iwlegacy/3945-rs.c info->control.rates[0].idx = idx - IL_FIRST_OFDM_RATE; rates 794 drivers/net/wireless/intel/iwlegacy/3945-rs.c info->control.rates[0].idx = rs_sta->last_txrate_idx; rates 796 drivers/net/wireless/intel/iwlegacy/3945-rs.c info->control.rates[0].count = 1; rates 342 drivers/net/wireless/intel/iwlegacy/3945.c info->status.rates[0].idx = rate_idx; rates 343 drivers/net/wireless/intel/iwlegacy/3945.c info->status.rates[0].count = fail + 1; /* add final attempt */ rates 1571 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_idx = info->control.rates[0].idx; rates 1572 drivers/net/wireless/intel/iwlegacy/4965-mac.c if ((info->control.rates[0].flags & IEEE80211_TX_RC_MCS) || rate_idx < 0 rates 2676 drivers/net/wireless/intel/iwlegacy/4965-mac.c info->status.rates[0].count = tx_resp->failure_frame + 1; rates 2845 drivers/net/wireless/intel/iwlegacy/4965-mac.c info->status.rates[0].count = tx_resp->failure_frame + 1; rates 2882 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct ieee80211_tx_rate *r = &info->status.rates[0]; rates 6260 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_init_hw_rates(struct il_priv *il, struct ieee80211_rate *rates) rates 6265 drivers/net/wireless/intel/iwlegacy/4965-mac.c rates[i].bitrate = il_rates[i].ieee * 5; rates 6266 drivers/net/wireless/intel/iwlegacy/4965-mac.c rates[i].hw_value = i; /* Rate scaling will work on idxes */ rates 6267 drivers/net/wireless/intel/iwlegacy/4965-mac.c rates[i].hw_value_short = i; rates 6268 drivers/net/wireless/intel/iwlegacy/4965-mac.c rates[i].flags = 0; rates 6273 drivers/net/wireless/intel/iwlegacy/4965-mac.c rates[i].flags |= rates 841 drivers/net/wireless/intel/iwlegacy/4965-rs.c mac_flags = info->status.rates[0].flags; rates 842 drivers/net/wireless/intel/iwlegacy/4965-rs.c mac_idx = info->status.rates[0].idx; rates 936 drivers/net/wireless/intel/iwlegacy/4965-rs.c retries = info->status.rates[0].count - 1; rates 2224 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].flags = IEEE80211_TX_RC_MCS; rates 2226 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].flags |= rates 2229 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].flags |= rates 2232 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].flags |= rates 2235 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].flags |= rates 2246 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].flags = 0; rates 2248 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].idx = rate_idx; rates 2249 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].count = 1; rates 3430 drivers/net/wireless/intel/iwlegacy/common.c struct ieee80211_rate *rates; rates 3447 drivers/net/wireless/intel/iwlegacy/common.c rates = rates 3450 drivers/net/wireless/intel/iwlegacy/common.c if (!rates) { rates 3459 drivers/net/wireless/intel/iwlegacy/common.c sband->bitrates = &rates[IL_FIRST_OFDM_RATE]; rates 3468 drivers/net/wireless/intel/iwlegacy/common.c sband->bitrates = rates; rates 3475 drivers/net/wireless/intel/iwlegacy/common.c il->ieee_rates = rates; rates 5556 drivers/net/wireless/intel/iwlegacy/common.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) { rates 5573 drivers/net/wireless/intel/iwlegacy/common.c } else if (info->control.rates[0]. rates 658 drivers/net/wireless/intel/iwlegacy/common.h u16 rates; rates 92 drivers/net/wireless/intel/iwlwifi/dvm/dev.h u16 rates; rates 240 drivers/net/wireless/intel/iwlwifi/dvm/main.c if (info->control.rates[0].idx < 0 || rates 241 drivers/net/wireless/intel/iwlwifi/dvm/main.c info->control.rates[0].flags & IEEE80211_TX_RC_MCS) rates 244 drivers/net/wireless/intel/iwlwifi/dvm/main.c rate = info->control.rates[0].idx; rates 929 drivers/net/wireless/intel/iwlwifi/dvm/rs.c mac_flags = info->status.rates[0].flags; rates 930 drivers/net/wireless/intel/iwlwifi/dvm/rs.c mac_index = info->status.rates[0].idx; rates 1021 drivers/net/wireless/intel/iwlwifi/dvm/rs.c retries = info->status.rates[0].count - 1; rates 2735 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].flags = IEEE80211_TX_RC_MCS; rates 2737 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].flags |= IEEE80211_TX_RC_SHORT_GI; rates 2739 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].flags |= IEEE80211_TX_RC_DUP_DATA; rates 2741 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; rates 2743 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].flags |= IEEE80211_TX_RC_GREEN_FIELD; rates 2753 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].flags = 0; rates 2755 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].idx = rate_idx; rates 2756 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].count = 1; rates 38 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS || rates 39 drivers/net/wireless/intel/iwlwifi/dvm/tx.c info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT || rates 157 drivers/net/wireless/intel/iwlwifi/dvm/tx.c rate_idx = info->control.rates[0].idx; rates 158 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (info->control.rates[0].flags & IEEE80211_TX_RC_MCS || rates 812 drivers/net/wireless/intel/iwlwifi/dvm/tx.c struct ieee80211_tx_rate *r = &info->status.rates[0]; rates 1095 drivers/net/wireless/intel/iwlwifi/dvm/tx.c info->status.rates[0].count = tx_resp->failure_frame + 1; rates 96 drivers/net/wireless/intel/iwlwifi/fw/api/offload.h __le32 rates; rates 2737 drivers/net/wireless/intel/iwlwifi/mvm/rs.c info->band, &info->control.rates[0]); rates 2738 drivers/net/wireless/intel/iwlwifi/mvm/rs.c info->control.rates[0].count = 1; rates 3117 drivers/net/wireless/intel/iwlwifi/mvm/rs.c attempts = info->status.rates[0].count; rates 3246 drivers/net/wireless/intel/iwlwifi/mvm/rs.c retries = info->status.rates[0].count - 1; rates 1077 drivers/net/wireless/intel/iwlwifi/mvm/scan.c unsigned int rates = 0; rates 1082 drivers/net/wireless/intel/iwlwifi/mvm/scan.c rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); rates 1085 drivers/net/wireless/intel/iwlwifi/mvm/scan.c rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); rates 1088 drivers/net/wireless/intel/iwlwifi/mvm/scan.c rates |= SCAN_CONFIG_SUPPORTED_RATE(rates); rates 1090 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return cpu_to_le32(rates); rates 333 drivers/net/wireless/intel/iwlwifi/mvm/tx.c WARN_ONCE(info->control.rates[0].flags & IEEE80211_TX_RC_MCS, rates 335 drivers/net/wireless/intel/iwlwifi/mvm/tx.c info->control.rates[0].flags, rates 336 drivers/net/wireless/intel/iwlwifi/mvm/tx.c info->control.rates[0].idx); rates 338 drivers/net/wireless/intel/iwlwifi/mvm/tx.c rate_idx = info->control.rates[0].idx; rates 1385 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct ieee80211_tx_rate *r = &info->status.rates[0]; rates 1518 drivers/net/wireless/intel/iwlwifi/mvm/tx.c info->status.rates[0].count = tx_resp->failure_frame + 1; rates 77 drivers/net/wireless/intersil/hostap/hostap_ioctl.c static int prism2_get_datarates(struct net_device *dev, u8 *rates) rates 98 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(rates, buf + 2, val); rates 107 drivers/net/wireless/intersil/hostap/hostap_ioctl.c u8 rates[10]; rates 110 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = prism2_get_datarates(dev, rates); rates 113 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (rates[i] == 0x0b || rates[i] == 0x16) { rates 965 drivers/net/wireless/intersil/hostap/hostap_ioctl.c u8 rates[10]; rates 1039 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = prism2_get_datarates(dev, rates); rates 1044 drivers/net/wireless/intersil/hostap/hostap_ioctl.c rates[i] * 500000; rates 1047 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (rates[i] == 0x0b || rates[i] == 0x16) rates 270 drivers/net/wireless/intersil/orinoco/hermes.h u8 rates[10]; /* Bit rate supported */ rates 301 drivers/net/wireless/intersil/orinoco/hermes.h __le16 rates[5]; /* Bit rate supported */ rates 1207 drivers/net/wireless/intersil/orinoco/hw.c int *numrates, s32 *rates, int max) rates 1232 drivers/net/wireless/intersil/orinoco/hw.c rates[i] = (p[i] & 0x7f) * 500000; /* convert to bps */ rates 51 drivers/net/wireless/intersil/orinoco/hw.h int *numrates, s32 *rates, int max); rates 27 drivers/net/wireless/intersil/orinoco/scan.c static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) rates 34 drivers/net/wireless/intersil/orinoco/scan.c rate = le16_to_cpu(rates[i]); rates 45 drivers/net/wireless/intersil/orinoco/scan.c static int prism_build_supp_rates(u8 *buf, const u8 *rates) rates 52 drivers/net/wireless/intersil/orinoco/scan.c if (rates[i] == 0x0) rates 54 drivers/net/wireless/intersil/orinoco/scan.c buf[i + 2] = rates[i]; rates 60 drivers/net/wireless/intersil/orinoco/scan.c if (i == 8 && rates[i] > 0) { rates 64 drivers/net/wireless/intersil/orinoco/scan.c if (rates[i] == 0x0) rates 66 drivers/net/wireless/intersil/orinoco/scan.c buf[i + 2] = rates[i]; rates 101 drivers/net/wireless/intersil/orinoco/scan.c ie_len += symbol_build_supp_rates(ie, bss->s.rates); rates 105 drivers/net/wireless/intersil/orinoco/scan.c ie_len += prism_build_supp_rates(ie, bss->p.rates); rates 60 drivers/net/wireless/intersil/p54/p54.h u8 rates[16]; rates 446 drivers/net/wireless/intersil/p54/txrx.c if (count >= info->status.rates[idx].count) { rates 447 drivers/net/wireless/intersil/p54/txrx.c count -= info->status.rates[idx].count; rates 449 drivers/net/wireless/intersil/p54/txrx.c info->status.rates[idx].count = count; rates 452 drivers/net/wireless/intersil/p54/txrx.c info->status.rates[idx].idx = -1; rates 453 drivers/net/wireless/intersil/p54/txrx.c info->status.rates[idx].count = 0; rates 830 drivers/net/wireless/intersil/p54/txrx.c hdr->rts_tries = info->control.rates[0].count; rates 842 drivers/net/wireless/intersil/p54/txrx.c if (info->control.rates[i].idx < 0) rates 855 drivers/net/wireless/intersil/p54/txrx.c info->control.rates[i].count); rates 861 drivers/net/wireless/intersil/p54/txrx.c int tmp = info->control.rates[i].count - calculated_tries[i]; rates 875 drivers/net/wireless/intersil/p54/txrx.c rate = info->control.rates[i].idx; rates 880 drivers/net/wireless/intersil/p54/txrx.c info->control.rates[i].count = calculated_tries[i]; rates 882 drivers/net/wireless/intersil/p54/txrx.c rc_flags = info->control.rates[i].flags; rates 664 drivers/net/wireless/intersil/prism54/isl_ioctl.c if(bss->rates & mask) { rates 64 drivers/net/wireless/intersil/prism54/isl_oid.h short rates; rates 283 drivers/net/wireless/intersil/prism54/oid_mgt.c bss->rates = le16_to_cpu(bss->rates); rates 352 drivers/net/wireless/intersil/prism54/oid_mgt.c bss->rates = cpu_to_le16(bss->rates); rates 798 drivers/net/wireless/intersil/prism54/oid_mgt.c bss->rates, bss->basic_rates); rates 813 drivers/net/wireless/intersil/prism54/oid_mgt.c list->bsslist[i].rates, rates 487 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_rate rates[ARRAY_SIZE(hwsim_rates)]; rates 1097 drivers/net/wireless/mac80211_hwsim.c tx_attempts[i].idx = info->status.rates[i].idx; rates 1098 drivers/net/wireless/mac80211_hwsim.c tx_attempts_flags[i].idx = info->status.rates[i].idx; rates 1099 drivers/net/wireless/mac80211_hwsim.c tx_attempts[i].count = info->status.rates[i].count; rates 1102 drivers/net/wireless/mac80211_hwsim.c &info->status.rates[i]); rates 1231 drivers/net/wireless/mac80211_hwsim.c if (info->control.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) { rates 1233 drivers/net/wireless/mac80211_hwsim.c ieee80211_rate_get_vht_mcs(&info->control.rates[0]); rates 1235 drivers/net/wireless/mac80211_hwsim.c ieee80211_rate_get_vht_nss(&info->control.rates[0]); rates 1238 drivers/net/wireless/mac80211_hwsim.c rx_status.rate_idx = info->control.rates[0].idx; rates 1239 drivers/net/wireless/mac80211_hwsim.c if (info->control.rates[0].flags & IEEE80211_TX_RC_MCS) rates 1242 drivers/net/wireless/mac80211_hwsim.c if (info->control.rates[0].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) rates 1244 drivers/net/wireless/mac80211_hwsim.c else if (info->control.rates[0].flags & IEEE80211_TX_RC_80_MHZ_WIDTH) rates 1246 drivers/net/wireless/mac80211_hwsim.c else if (info->control.rates[0].flags & IEEE80211_TX_RC_160_MHZ_WIDTH) rates 1250 drivers/net/wireless/mac80211_hwsim.c if (info->control.rates[0].flags & IEEE80211_TX_RC_SHORT_GI) rates 1403 drivers/net/wireless/mac80211_hwsim.c txi->control.rates, rates 1404 drivers/net/wireless/mac80211_hwsim.c ARRAY_SIZE(txi->control.rates)); rates 1440 drivers/net/wireless/mac80211_hwsim.c txi->control.rates[0].count = 1; rates 1441 drivers/net/wireless/mac80211_hwsim.c txi->control.rates[1].idx = -1; rates 1526 drivers/net/wireless/mac80211_hwsim.c txi->control.rates, rates 1527 drivers/net/wireless/mac80211_hwsim.c ARRAY_SIZE(txi->control.rates)); rates 1562 drivers/net/wireless/mac80211_hwsim.c info->control.rates, rates 1563 drivers/net/wireless/mac80211_hwsim.c ARRAY_SIZE(info->control.rates)); rates 2930 drivers/net/wireless/mac80211_hwsim.c memcpy(data->rates, hwsim_rates, sizeof(hwsim_rates)); rates 2941 drivers/net/wireless/mac80211_hwsim.c sband->bitrates = data->rates; rates 2947 drivers/net/wireless/mac80211_hwsim.c sband->bitrates = data->rates + 4; rates 3299 drivers/net/wireless/mac80211_hwsim.c txi->status.rates[i].idx = tx_attempts[i].idx; rates 3300 drivers/net/wireless/mac80211_hwsim.c txi->status.rates[i].count = tx_attempts[i].count; rates 134 drivers/net/wireless/marvell/libertas/cfg.c static int lbs_add_rates(u8 *rates) rates 143 drivers/net/wireless/marvell/libertas/cfg.c rates[i] = rate; rates 1726 drivers/net/wireless/marvell/libertas/cfg.c u8 *rates; rates 1783 drivers/net/wireless/marvell/libertas/cfg.c lbs_add_rates(cmd.bss.rates); rates 1792 drivers/net/wireless/marvell/libertas/cfg.c rates = cmd.bss.rates; rates 1801 drivers/net/wireless/marvell/libertas/cfg.c *rates++ = rate; rates 1893 drivers/net/wireless/marvell/libertas/cfg.c lbs_add_rates(cmd.rates); rates 731 drivers/net/wireless/marvell/libertas/host.h u8 rates[MAX_RATES]; rates 754 drivers/net/wireless/marvell/libertas/host.h u8 rates[MAX_RATES]; rates 778 drivers/net/wireless/marvell/libertas/host.h u8 rates[MAX_RATES]; rates 113 drivers/net/wireless/marvell/libertas/types.h u8 rates[1]; rates 249 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h struct ieee80211_rate rates[12]; rates 579 drivers/net/wireless/marvell/libertas_tf/main.c memcpy(priv->rates, lbtf_rates, sizeof(lbtf_rates)); rates 581 drivers/net/wireless/marvell/libertas_tf/main.c priv->band.bitrates = priv->rates; rates 297 drivers/net/wireless/marvell/mwifiex/cfp.c u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) rates 300 drivers/net/wireless/marvell/mwifiex/cfp.c return mwifiex_get_supported_rates(priv, rates); rates 302 drivers/net/wireless/marvell/mwifiex/cfp.c return mwifiex_copy_rates(rates, 0, rates 391 drivers/net/wireless/marvell/mwifiex/cfp.c u8 *rates, u8 radio_type) rates 403 drivers/net/wireless/marvell/mwifiex/cfp.c rate_mask = request->rates[NL80211_BAND_5GHZ]; rates 408 drivers/net/wireless/marvell/mwifiex/cfp.c rate_mask = request->rates[NL80211_BAND_2GHZ]; rates 415 drivers/net/wireless/marvell/mwifiex/cfp.c rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5); rates 425 drivers/net/wireless/marvell/mwifiex/cfp.c u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates) rates 437 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, supported_rates_b, rates 445 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, supported_rates_g, rates 457 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, supported_rates_bg, rates 465 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, supported_rates_a, rates 476 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, supported_rates_a, rates 483 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, supported_rates_n, rates 492 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, adhoc_rates_b, rates 498 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, adhoc_rates_g, rates 504 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, adhoc_rates_bg, rates 510 drivers/net/wireless/marvell/mwifiex/cfp.c k = mwifiex_copy_rates(rates, k, adhoc_rates_a, rates 808 drivers/net/wireless/marvell/mwifiex/fw.h u8 rates[1]; rates 1986 drivers/net/wireless/marvell/mwifiex/fw.h u8 rates[0]; rates 116 drivers/net/wireless/marvell/mwifiex/ioctl.h u8 rates[MWIFIEX_SUPPORTED_RATES]; rates 398 drivers/net/wireless/marvell/mwifiex/join.c u8 rates[MWIFIEX_SUPPORTED_RATES]; rates 447 drivers/net/wireless/marvell/mwifiex/join.c (priv, bss_desc, rates, &rates_size)) rates 452 drivers/net/wireless/marvell/mwifiex/join.c memcpy(&priv->curr_bss_params.data_rates, rates, rates_size); rates 458 drivers/net/wireless/marvell/mwifiex/join.c memcpy(rates_tlv->rates, rates, rates_size); rates 769 drivers/net/wireless/marvell/mwifiex/main.h u8 rates[32]; rates 1208 drivers/net/wireless/marvell/mwifiex/main.h u8 *rates); rates 1209 drivers/net/wireless/marvell/mwifiex/main.h u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates); rates 1211 drivers/net/wireless/marvell/mwifiex/main.h u8 *rates, u8 radio_type); rates 582 drivers/net/wireless/marvell/mwifiex/scan.c u8 rates[MWIFIEX_SUPPORTED_RATES], *tlv_pos; rates 585 drivers/net/wireless/marvell/mwifiex/scan.c memset(rates, 0, sizeof(rates)); rates 590 drivers/net/wireless/marvell/mwifiex/scan.c rates_size = mwifiex_get_rates_from_cfg80211(priv, rates, rates 593 drivers/net/wireless/marvell/mwifiex/scan.c rates_size = mwifiex_get_supported_rates(priv, rates); rates 601 drivers/net/wireless/marvell/mwifiex/scan.c memcpy(rates_tlv->rates, rates, rates_size); rates 1814 drivers/net/wireless/marvell/mwifiex/sta_cmd.c memcpy(tlv_rates->rates, params->supported_rates, rates 121 drivers/net/wireless/marvell/mwifiex/tdls.c u8 rates[MWIFIEX_SUPPORTED_RATES], *pos; rates 124 drivers/net/wireless/marvell/mwifiex/tdls.c memset(rates, 0, sizeof(rates)); rates 125 drivers/net/wireless/marvell/mwifiex/tdls.c rates_size = mwifiex_get_supported_rates(priv, rates); rates 138 drivers/net/wireless/marvell/mwifiex/tdls.c memcpy(pos, rates, supp_rates_size); rates 145 drivers/net/wireless/marvell/mwifiex/tdls.c memcpy(pos, rates + MWIFIEX_TDLS_SUPPORTED_RATES, rates 958 drivers/net/wireless/marvell/mwifiex/tdls.c if (ie_len > sizeof(sta_ptr->tdls_cap.rates)) rates 962 drivers/net/wireless/marvell/mwifiex/tdls.c sta_ptr->tdls_cap.rates[i] = pos[i + 2]; rates 966 drivers/net/wireless/marvell/mwifiex/tdls.c if (ie_len > sizeof(sta_ptr->tdls_cap.rates)) rates 969 drivers/net/wireless/marvell/mwifiex/tdls.c if (ie_len > sizeof(sta_ptr->tdls_cap.rates) - basic) rates 972 drivers/net/wireless/marvell/mwifiex/tdls.c sta_ptr->tdls_cap.rates[basic + i] = pos[i + 2]; rates 270 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(bss_cfg->rates, rate_ie + 1, rate_ie->len); rates 280 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(bss_cfg->rates + rate_len, rate_ie + 1, rate_ie->len); rates 519 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->rates[0]) { rates 523 drivers/net/wireless/marvell/mwifiex/uap_cmd.c for (i = 0; i < MWIFIEX_SUPPORTED_RATES && bss_cfg->rates[i]; rates 525 drivers/net/wireless/marvell/mwifiex/uap_cmd.c tlv_rates->rates[i] = bss_cfg->rates[i]; rates 1749 drivers/net/wireless/marvell/mwl8k.c info->status.rates[0].idx = -1; rates 1750 drivers/net/wireless/marvell/mwl8k.c info->status.rates[0].count = 1; rates 3218 drivers/net/wireless/marvell/mwl8k.c static void legacy_rate_mask_to_array(u8 *rates, u32 mask) rates 3230 drivers/net/wireless/marvell/mwl8k.c rates[j++] = mwl8k_rates_24[i].hw_value; rates 4097 drivers/net/wireless/marvell/mwl8k.c u32 rates; rates 4111 drivers/net/wireless/marvell/mwl8k.c rates = sta->supp_rates[NL80211_BAND_2GHZ]; rates 4113 drivers/net/wireless/marvell/mwl8k.c rates = sta->supp_rates[NL80211_BAND_5GHZ] << 5; rates 4114 drivers/net/wireless/marvell/mwl8k.c cmd->legacy_rates = cpu_to_le32(rates); rates 4526 drivers/net/wireless/marvell/mwl8k.c u32 rates; rates 4546 drivers/net/wireless/marvell/mwl8k.c rates = sta->supp_rates[NL80211_BAND_2GHZ]; rates 4548 drivers/net/wireless/marvell/mwl8k.c rates = sta->supp_rates[NL80211_BAND_5GHZ] << 5; rates 4549 drivers/net/wireless/marvell/mwl8k.c legacy_rate_mask_to_array(p->legacy_rates, rates); rates 160 drivers/net/wireless/mediatek/mt76/mac80211.c struct ieee80211_rate *rates, int n_rates, bool vht) rates 180 drivers/net/wireless/mediatek/mt76/mac80211.c sband->bitrates = rates; rates 214 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_init_sband_2g(struct mt76_dev *dev, struct ieee80211_rate *rates, rates 222 drivers/net/wireless/mediatek/mt76/mac80211.c rates, n_rates, false); rates 226 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_init_sband_5g(struct mt76_dev *dev, struct ieee80211_rate *rates, rates 234 drivers/net/wireless/mediatek/mt76/mac80211.c rates, n_rates, vht); rates 293 drivers/net/wireless/mediatek/mt76/mac80211.c struct ieee80211_rate *rates, int n_rates) rates 334 drivers/net/wireless/mediatek/mt76/mac80211.c ret = mt76_init_sband_2g(dev, rates, n_rates); rates 340 drivers/net/wireless/mediatek/mt76/mac80211.c ret = mt76_init_sband_5g(dev, rates + 4, n_rates - 4, vht); rates 624 drivers/net/wireless/mediatek/mt76/mt76.h struct ieee80211_rate *rates, int n_rates); rates 592 drivers/net/wireless/mediatek/mt76/mt7603/mac.c struct ieee80211_tx_rate *rates) rates 610 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rates[i] = rates[n_rates - 1]; rates 613 drivers/net/wireless/mediatek/mt76/mt7603/mac.c memcpy(sta->rateset[rateset].rates, rates, rates 614 drivers/net/wireless/mediatek/mt76/mt7603/mac.c sizeof(sta->rateset[rateset].rates)); rates 620 drivers/net/wireless/mediatek/mt76/mt7603/mac.c ref = &sta->rateset[rateset].rates[0]; rates 623 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rates = sta->rateset[rateset].rates; rates 624 drivers/net/wireless/mediatek/mt76/mt7603/mac.c for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { rates 632 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) rates 633 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; rates 636 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (rates[i].idx != rates[k].idx) rates 638 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if ((rates[i].flags ^ rates[k].flags) & rates 642 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (!rates[i].idx) rates 645 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rates[i].idx--; rates 652 drivers/net/wireless/mediatek/mt76/mt7603/mac.c val[0] = mt7603_mac_tx_rate_val(dev, &rates[0], stbc, &bw); rates 668 drivers/net/wireless/mediatek/mt76/mt7603/mac.c val[1] = mt7603_mac_tx_rate_val(dev, &rates[1], stbc, &bw); rates 674 drivers/net/wireless/mediatek/mt76/mt7603/mac.c val[2] = mt7603_mac_tx_rate_val(dev, &rates[2], stbc, &bw); rates 680 drivers/net/wireless/mediatek/mt76/mt7603/mac.c val[3] = mt7603_mac_tx_rate_val(dev, &rates[3], stbc, &bw); rates 784 drivers/net/wireless/mediatek/mt76/mt7603/mac.c struct ieee80211_tx_rate *rate = &info->control.rates[0]; rates 934 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt7603_wtbl_set_rates(dev, msta, &info->control.rates[0], rates 935 drivers/net/wireless/mediatek/mt76/mt7603/mac.c msta->rates); rates 967 drivers/net/wireless/mediatek/mt76/mt7603/mac.c fixed_rate = info->status.rates[0].count; rates 998 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[0].count = count; rates 1010 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[0] = rs->probe_rate; rates 1015 drivers/net/wireless/mediatek/mt76/mt7603/mac.c sta->rates); rates 1020 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[0] = rs->rates[first_idx / 2]; rates 1022 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[0].count = 0; rates 1028 drivers/net/wireless/mediatek/mt76/mt7603/mac.c cur_rate = &rs->rates[idx / 2]; rates 1032 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (idx && (cur_rate->idx != info->status.rates[i].idx || rates 1033 drivers/net/wireless/mediatek/mt76/mt7603/mac.c cur_rate->flags != info->status.rates[i].flags)) { rates 1035 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (i == ARRAY_SIZE(info->status.rates)) { rates 1040 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[i] = *cur_rate; rates 1041 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[i].count = 0; rates 1044 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[i].count += cur_count; rates 1048 drivers/net/wireless/mediatek/mt76/mt7603/mac.c final_rate_flags = info->status.rates[i].flags; rates 1075 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[i].idx = final_rate; rates 1076 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[i].flags = final_rate_flags; rates 1099 drivers/net/wireless/mediatek/mt76/mt7603/mac.c info->status.rates[0].idx = -1; rates 603 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct ieee80211_sta_rates *sta_rates = rcu_dereference(sta->rates); rates 607 drivers/net/wireless/mediatek/mt76/mt7603/main.c for (i = 0; i < ARRAY_SIZE(msta->rates); i++) { rates 608 drivers/net/wireless/mediatek/mt76/mt7603/main.c msta->rates[i].idx = sta_rates->rate[i].idx; rates 609 drivers/net/wireless/mediatek/mt76/mt7603/main.c msta->rates[i].count = sta_rates->rate[i].count; rates 610 drivers/net/wireless/mediatek/mt76/mt7603/main.c msta->rates[i].flags = sta_rates->rate[i].flags; rates 612 drivers/net/wireless/mediatek/mt76/mt7603/main.c if (msta->rates[i].idx < 0 || !msta->rates[i].count) rates 616 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_wtbl_set_rates(dev, msta, NULL, msta->rates); rates 56 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h struct ieee80211_tx_rate rates[4]; rates 66 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h struct ieee80211_tx_rate rates[4]; rates 218 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h struct ieee80211_tx_rate *rates); rates 311 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct ieee80211_tx_rate *rate = &info->control.rates[0]; rates 465 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct ieee80211_tx_rate *rates) rates 483 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rates[i] = rates[n_rates - 1]; rates 486 drivers/net/wireless/mediatek/mt76/mt7615/mac.c memcpy(sta->rateset[rateset].rates, rates, rates 487 drivers/net/wireless/mediatek/mt76/mt7615/mac.c sizeof(sta->rateset[rateset].rates)); rates 493 drivers/net/wireless/mediatek/mt76/mt7615/mac.c ref = &sta->rateset[rateset].rates[0]; rates 496 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rates = sta->rateset[rateset].rates; rates 497 drivers/net/wireless/mediatek/mt76/mt7615/mac.c for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { rates 505 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) rates 506 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; rates 509 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (rates[i].idx != rates[k].idx) rates 511 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if ((rates[i].flags ^ rates[k].flags) & rates 517 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (!rates[i].idx) rates 520 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rates[i].idx--; rates 524 drivers/net/wireless/mediatek/mt76/mt7615/mac.c val[0] = mt7615_mac_tx_rate_val(dev, &rates[0], stbc, &bw); rates 537 drivers/net/wireless/mediatek/mt76/mt7615/mac.c val[1] = mt7615_mac_tx_rate_val(dev, &rates[1], stbc, &bw); rates 543 drivers/net/wireless/mediatek/mt76/mt7615/mac.c val[2] = mt7615_mac_tx_rate_val(dev, &rates[2], stbc, &bw); rates 549 drivers/net/wireless/mediatek/mt76/mt7615/mac.c val[3] = mt7615_mac_tx_rate_val(dev, &rates[3], stbc, &bw); rates 785 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt7615_mac_set_rates(dev, msta, &info->control.rates[0], rates 786 drivers/net/wireless/mediatek/mt76/mt7615/mac.c msta->rates); rates 848 drivers/net/wireless/mediatek/mt76/mt7615/mac.c fixed_rate = info->status.rates[0].count; rates 881 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[0].count = count; rates 893 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[0] = rs->probe_rate; rates 897 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt7615_mac_set_rates(dev, sta, NULL, sta->rates); rates 902 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[0] = rs->rates[first_idx / 2]; rates 904 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[0].count = 0; rates 910 drivers/net/wireless/mediatek/mt76/mt7615/mac.c cur_rate = &rs->rates[idx / 2]; rates 914 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (idx && (cur_rate->idx != info->status.rates[i].idx || rates 915 drivers/net/wireless/mediatek/mt76/mt7615/mac.c cur_rate->flags != info->status.rates[i].flags)) { rates 917 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (i == ARRAY_SIZE(info->status.rates)) { rates 922 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[i] = *cur_rate; rates 923 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[i].count = 0; rates 926 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[i].count += cur_count; rates 930 drivers/net/wireless/mediatek/mt76/mt7615/mac.c final_rate_flags = info->status.rates[i].flags; rates 966 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[i].idx = final_rate; rates 967 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[i].flags = final_rate_flags; rates 990 drivers/net/wireless/mediatek/mt76/mt7615/mac.c info->status.rates[0].idx = -1; rates 385 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_sta_rates *sta_rates = rcu_dereference(sta->rates); rates 389 drivers/net/wireless/mediatek/mt76/mt7615/main.c for (i = 0; i < ARRAY_SIZE(msta->rates); i++) { rates 390 drivers/net/wireless/mediatek/mt76/mt7615/main.c msta->rates[i].idx = sta_rates->rate[i].idx; rates 391 drivers/net/wireless/mediatek/mt76/mt7615/main.c msta->rates[i].count = sta_rates->rate[i].count; rates 392 drivers/net/wireless/mediatek/mt76/mt7615/main.c msta->rates[i].flags = sta_rates->rate[i].flags; rates 394 drivers/net/wireless/mediatek/mt76/mt7615/main.c if (msta->rates[i].idx < 0 || !msta->rates[i].count) rates 398 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mac_set_rates(dev, msta, NULL, msta->rates); rates 51 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct ieee80211_tx_rate rates[4]; rates 59 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct ieee80211_tx_rate rates[4]; rates 173 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct ieee80211_tx_rate *rates); rates 319 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct ieee80211_tx_rate *rate = &info->control.rates[0]; rates 334 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c info->control.rates, 1); rates 412 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_tx_rate_fallback(struct ieee80211_tx_rate *rates, int idx, int phy) rates 419 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rates += idx - 1; rates 420 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rates[1] = rates[0]; rates 423 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mcs = ieee80211_rate_get_vht_mcs(rates); rates 424 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = ieee80211_rate_get_vht_nss(rates); rates 431 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ieee80211_rate_set_vht(rates + 1, mcs, nss); rates 436 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (rates[0].idx == 8) { rates 437 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rates[1].idx = 0; rates 442 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rates[1].idx = max_t(int, rates[0].idx - 1, 0); rates 452 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c struct ieee80211_tx_rate *rate = info->status.rates; rates 481 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c for (i = 0; i < ARRAY_SIZE(info->status.rates); i++) { rates 483 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (i + 1 == ARRAY_SIZE(info->status.rates)) { rates 484 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c info->status.rates[i] = last_rate; rates 485 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c info->status.rates[i].count = max_t(int, retry, 1); rates 489 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_tx_rate_fallback(info->status.rates, i, phy); rates 490 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (info->status.rates[i].idx == last_rate.idx) rates 494 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (i + 1 < ARRAY_SIZE(info->status.rates)) { rates 495 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c info->status.rates[i + 1].idx = -1; rates 496 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c info->status.rates[i + 1].count = 0; rates 580 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct ieee80211_sta_rates *rates = rcu_dereference(sta->rates); rates 583 drivers/net/wireless/mediatek/mt76/mt76x02_util.c if (!rates) rates 586 drivers/net/wireless/mediatek/mt76/mt76x02_util.c rate.idx = rates->rate[0].idx; rates 587 drivers/net/wireless/mediatek/mt76/mt76x02_util.c rate.flags = rates->rate[0].flags; rates 141 drivers/net/wireless/mediatek/mt76/tx.c info->status.rates[0].idx = -1; rates 263 drivers/net/wireless/mediatek/mt76/tx.c info->control.rates, 1); rates 409 drivers/net/wireless/mediatek/mt76/tx.c info->control.rates, 1); rates 410 drivers/net/wireless/mediatek/mt76/tx.c tx_rate = info->control.rates[0]; rates 448 drivers/net/wireless/mediatek/mt76/tx.c info->control.rates[0] = tx_rate; rates 520 drivers/net/wireless/mediatek/mt7601u/init.c struct ieee80211_rate *rates, int n_rates) rates 533 drivers/net/wireless/mediatek/mt7601u/init.c sband->bitrates = rates; rates 69 drivers/net/wireless/mediatek/mt7601u/mac.c struct ieee80211_tx_rate *rate = info->status.rates; rates 391 drivers/net/wireless/mediatek/mt7601u/main.c struct ieee80211_sta_rates *rates; rates 395 drivers/net/wireless/mediatek/mt7601u/main.c rates = rcu_dereference(sta->rates); rates 397 drivers/net/wireless/mediatek/mt7601u/main.c if (!rates) rates 400 drivers/net/wireless/mediatek/mt7601u/main.c rate.idx = rates->rate[0].idx; rates 401 drivers/net/wireless/mediatek/mt7601u/main.c rate.flags = rates->rate[0].flags; rates 109 drivers/net/wireless/mediatek/mt7601u/tx.c info->status.rates[0].idx = -1; rates 135 drivers/net/wireless/mediatek/mt7601u/tx.c struct ieee80211_tx_rate *rate = &info->control.rates[0]; rates 148 drivers/net/wireless/mediatek/mt7601u/tx.c info->control.rates, 1); rates 332 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c tx_info->status.rates[i].idx = rate_idx - i; rates 333 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c tx_info->status.rates[i].flags = rate_flags; rates 340 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c tx_info->status.rates[i].count = retry_rates - i; rates 344 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c tx_info->status.rates[i].count = 1; rates 347 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c tx_info->status.rates[i].idx = -1; /* terminate */ rates 1011 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct ieee80211_rate *rates; rates 1025 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); rates 1026 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (!rates) rates 1033 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00lib_rate(&rates[i], i, rt2x00_get_rate(i)); rates 1053 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; rates 1071 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00dev->bands[NL80211_BAND_5GHZ].bitrates = &rates[4]; rates 29 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) rates 54 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_RTS_CTS; rates 55 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_CTS_PROTECT; rates 57 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) rates 71 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) rates 132 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c (tx_info->control.rates[0].flags & (IEEE80211_TX_RC_USE_RTS_CTS | rates 233 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; rates 298 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; rates 391 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; rates 427 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c txdesc->retry_limit = tx_info->control.rates[0].count - 1; rates 624 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c rate_idx = tx_info->control.rates[0].idx; rates 625 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c rate_flags = tx_info->control.rates[0].flags; rates 368 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c info->status.rates[0].count = (flags & 0xFF) + 1; rates 494 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c rc_flags = info->control.rates[0].flags; rates 560 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c entry->retry_limit = info->control.rates[0].count - 1; rates 1537 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c &priv->rates[0])) - 10; rates 1795 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c BUILD_BUG_ON(sizeof(priv->rates) != sizeof(rtl818x_rates)); rates 1798 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c memcpy(priv->rates, rtl818x_rates, sizeof(rtl818x_rates)); rates 1803 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->band.bitrates = priv->rates; rates 120 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8180.h struct ieee80211_rate rates[12]; rates 258 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) { rates 263 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c } else if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { rates 282 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8); rates 297 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8); rates 535 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c info->status.rates[0].count = pkt_rc + 1; rates 914 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c info->status.rates[0].count = avg_retry + 1; rates 915 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c if (info->status.rates[0].count > RETRY_COUNT) rates 1465 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c BUILD_BUG_ON(sizeof(priv->rates) != sizeof(rtl818x_rates)); rates 1468 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c memcpy(priv->rates, rtl818x_rates, sizeof(rtl818x_rates)); rates 1474 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->band.bitrates = priv->rates; rates 112 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h struct ieee80211_rate rates[12]; rates 4715 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c tx_info->status.rates[0].idx = -1; rates 4716 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c tx_info->status.rates[0].count = 0; rates 4779 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u16 rate_flags = tx_info->control.rates[0].flags; rates 4784 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rate = tx_info->control.rates[0].idx + DESC_RATE_MCS0; rates 4850 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u16 rate_flags = tx_info->control.rates[0].flags; rates 4857 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rate = tx_info->control.rates[0].idx + DESC_RATE_MCS0; rates 4921 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u16 rate_flag = tx_info->control.rates[0].flags; rates 604 drivers/net/wireless/realtek/rtlwifi/base.c u8 rate_flag = info->control.rates[0].flags; rates 623 drivers/net/wireless/realtek/rtlwifi/base.c u8 rate_flag = info->control.rates[0].flags; rates 673 drivers/net/wireless/realtek/rtlwifi/base.c u8 rate_flag = info->control.rates[0].flags; rates 1190 drivers/net/wireless/realtek/rtlwifi/base.c struct ieee80211_tx_rate *r = &info->status.rates[0]; rates 1259 drivers/net/wireless/realtek/rtlwifi/base.c if (info->control.rates[0].idx == 0 || rates 2504 drivers/net/wireless/realtek/rtlwifi/base.c info->control.rates[0].idx = 0; rates 171 drivers/net/wireless/realtek/rtlwifi/rc.c struct ieee80211_tx_rate *rates = tx_info->control.rates; rates 178 drivers/net/wireless/realtek/rtlwifi/rc.c _rtl_rc_rate_set_series(rtlpriv, sta, &rates[0], txrc, rates 183 drivers/net/wireless/realtek/rtlwifi/rc.c _rtl_rc_rate_set_series(rtlpriv, sta, &rates[i], rates 483 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c u8 rate_flag = info->control.rates[0].flags; rates 1531 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 channel, u8 *rates, u8 size) rates 1537 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c power_index = _rtl92ee_get_txpower_index(hw, rfpath, rates[i], rates 1539 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c _rtl92ee_set_txpower_index(hw, power_index, rfpath, rates[i]); rates 1186 drivers/net/wireless/realtek/rtw88/phy.c u8 rates[RTW_RF_PATH_MAX] = {0}; rates 1192 drivers/net/wireless/realtek/rtw88/phy.c rates, pwr_by_rate, &rate_num); rates 1201 drivers/net/wireless/realtek/rtw88/phy.c rate = rates[i]; rates 1798 drivers/net/wireless/realtek/rtw88/phy.c u8 *rates; rates 1808 drivers/net/wireless/realtek/rtw88/phy.c rates = rtw_rate_section[rs]; rates 1812 drivers/net/wireless/realtek/rtw88/phy.c rate = rates[i]; rates 1857 drivers/net/wireless/realtek/rtw88/phy.c u8 rs, u8 size, u8 *rates) rates 1864 drivers/net/wireless/realtek/rtw88/phy.c base_idx = rates[size - 3]; rates 1866 drivers/net/wireless/realtek/rtw88/phy.c base_idx = rates[size - 1]; rates 1872 drivers/net/wireless/realtek/rtw88/phy.c rate_idx = rates[rate]; rates 247 drivers/net/wireless/rndis_wlan.c u8 rates[NDIS_802_11_LENGTH_RATES_EX]; rates 432 drivers/net/wireless/rndis_wlan.c struct ieee80211_rate rates[ARRAY_SIZE(rndis_rates)]; rates 3476 drivers/net/wireless/rndis_wlan.c memcpy(priv->rates, rndis_rates, sizeof(rndis_rates)); rates 3479 drivers/net/wireless/rndis_wlan.c priv->band.bitrates = priv->rates; rates 141 drivers/net/wireless/st/cw1200/cw1200.h struct ieee80211_rate *rates; rates 267 drivers/net/wireless/st/cw1200/main.c priv->rates = cw1200_rates; /* TODO: fetch from FW */ rates 67 drivers/net/wireless/st/cw1200/txrx.c struct ieee80211_tx_rate *rates, size_t count) rates 72 drivers/net/wireless/st/cw1200/txrx.c BUG_ON(rates[0].idx < 0); rates 77 drivers/net/wireless/st/cw1200/txrx.c if (rates[i].idx < 0) { rates 81 drivers/net/wireless/st/cw1200/txrx.c if (rates[i].idx > rates[i - 1].idx) { rates 82 drivers/net/wireless/st/cw1200/txrx.c struct ieee80211_tx_rate tmp = rates[i - 1]; rates 83 drivers/net/wireless/st/cw1200/txrx.c rates[i - 1] = rates[i]; rates 84 drivers/net/wireless/st/cw1200/txrx.c rates[i] = tmp; rates 89 drivers/net/wireless/st/cw1200/txrx.c total = rates[0].count; rates 91 drivers/net/wireless/st/cw1200/txrx.c if (rates[j].idx == rates[i].idx) { rates 92 drivers/net/wireless/st/cw1200/txrx.c rates[i].count += rates[j].count; rates 93 drivers/net/wireless/st/cw1200/txrx.c } else if (rates[j].idx > rates[i].idx) { rates 98 drivers/net/wireless/st/cw1200/txrx.c rates[i] = rates[j]; rates 100 drivers/net/wireless/st/cw1200/txrx.c total += rates[j].count; rates 112 drivers/net/wireless/st/cw1200/txrx.c if (rates[i].count > limit - left) rates 113 drivers/net/wireless/st/cw1200/txrx.c rates[i].count = limit - left; rates 114 drivers/net/wireless/st/cw1200/txrx.c limit -= rates[i].count; rates 124 drivers/net/wireless/st/cw1200/txrx.c if (count == 2 && !(rates[0].flags & IEEE80211_TX_RC_MCS) && rates 125 drivers/net/wireless/st/cw1200/txrx.c rates[0].idx > 4 && rates[0].count > 2 && rates 126 drivers/net/wireless/st/cw1200/txrx.c rates[1].idx < 2) { rates 127 drivers/net/wireless/st/cw1200/txrx.c int mid_rate = (rates[0].idx + 4) >> 1; rates 130 drivers/net/wireless/st/cw1200/txrx.c rates[0].count -= 2; rates 134 drivers/net/wireless/st/cw1200/txrx.c rates[3] = rates[1]; rates 137 drivers/net/wireless/st/cw1200/txrx.c rates[2].idx = 4; rates 138 drivers/net/wireless/st/cw1200/txrx.c rates[2].count = 1; rates 139 drivers/net/wireless/st/cw1200/txrx.c rates[2].flags = rates[1].flags; rates 142 drivers/net/wireless/st/cw1200/txrx.c rates[1].idx = mid_rate; rates 143 drivers/net/wireless/st/cw1200/txrx.c rates[1].count = 1; rates 150 drivers/net/wireless/st/cw1200/txrx.c if (rates[0].count >= 3) { rates 151 drivers/net/wireless/st/cw1200/txrx.c --rates[0].count; rates 152 drivers/net/wireless/st/cw1200/txrx.c ++rates[2].count; rates 159 drivers/net/wireless/st/cw1200/txrx.c rates[2] = rates[1]; rates 162 drivers/net/wireless/st/cw1200/txrx.c rates[1].idx = 4; rates 163 drivers/net/wireless/st/cw1200/txrx.c rates[1].count = 2; rates 170 drivers/net/wireless/st/cw1200/txrx.c policy->defined = cw1200_get_tx_rate(priv, &rates[0])->hw_value + 1; rates 175 drivers/net/wireless/st/cw1200/txrx.c rateid = cw1200_get_tx_rate(priv, &rates[i])->hw_value; rates 179 drivers/net/wireless/st/cw1200/txrx.c retries = rates[i].count; rates 181 drivers/net/wireless/st/cw1200/txrx.c rates[i].count = 0x0f; rates 190 drivers/net/wireless/st/cw1200/txrx.c rates[0].idx, rates[0].count, rates 191 drivers/net/wireless/st/cw1200/txrx.c rates[1].idx, rates[1].count, rates 192 drivers/net/wireless/st/cw1200/txrx.c rates[2].idx, rates[2].count, rates 193 drivers/net/wireless/st/cw1200/txrx.c rates[3].idx, rates[3].count); rates 297 drivers/net/wireless/st/cw1200/txrx.c struct ieee80211_tx_rate *rates, rates 304 drivers/net/wireless/st/cw1200/txrx.c tx_policy_build(priv, &wanted, rates, count); rates 413 drivers/net/wireless/st/cw1200/txrx.c u32 cw1200_rate_mask_to_wsm(struct cw1200_common *priv, u32 rates) rates 418 drivers/net/wireless/st/cw1200/txrx.c if (rates & BIT(i)) rates 419 drivers/net/wireless/st/cw1200/txrx.c ret |= BIT(priv->rates[i].hw_value); rates 645 drivers/net/wireless/st/cw1200/txrx.c t->tx_info->control.rates, IEEE80211_TX_MAX_RATES, rates 653 drivers/net/wireless/st/cw1200/txrx.c &t->tx_info->control.rates[0]), rates 936 drivers/net/wireless/st/cw1200/txrx.c if (tx->status.rates[i].count >= tx_count) { rates 937 drivers/net/wireless/st/cw1200/txrx.c tx->status.rates[i].count = tx_count; rates 940 drivers/net/wireless/st/cw1200/txrx.c tx_count -= tx->status.rates[i].count; rates 941 drivers/net/wireless/st/cw1200/txrx.c if (tx->status.rates[i].flags & IEEE80211_TX_RC_MCS) rates 942 drivers/net/wireless/st/cw1200/txrx.c tx->status.rates[i].flags |= ht_flags; rates 946 drivers/net/wireless/st/cw1200/txrx.c tx->status.rates[i].count = 0; rates 947 drivers/net/wireless/st/cw1200/txrx.c tx->status.rates[i].idx = -1; rates 60 drivers/net/wireless/st/cw1200/txrx.h u32 rates); rates 15 drivers/net/wireless/ti/wl1251/acx.c struct acx_fw_gen_frame_rates *rates; rates 20 drivers/net/wireless/ti/wl1251/acx.c rates = kzalloc(sizeof(*rates), GFP_KERNEL); rates 21 drivers/net/wireless/ti/wl1251/acx.c if (!rates) rates 24 drivers/net/wireless/ti/wl1251/acx.c rates->tx_ctrl_frame_rate = ctrl_rate; rates 25 drivers/net/wireless/ti/wl1251/acx.c rates->tx_ctrl_frame_mod = ctrl_mod; rates 26 drivers/net/wireless/ti/wl1251/acx.c rates->tx_mgt_frame_rate = mgt_rate; rates 27 drivers/net/wireless/ti/wl1251/acx.c rates->tx_mgt_frame_mod = mgt_mod; rates 30 drivers/net/wireless/ti/wl1251/acx.c rates, sizeof(*rates)); rates 37 drivers/net/wireless/ti/wl1251/acx.c kfree(rates); rates 416 drivers/net/wireless/ti/wl1251/tx.c info->status.rates[0].count = result->ack_failures + 1; rates 85 drivers/net/wireless/ti/wl1251/wl12xx_80211.h u8 rates[MAX_SUPPORTED_RATES]; rates 114 drivers/net/wireless/ti/wl1251/wl12xx_80211.h struct wl12xx_ie_rates rates; rates 139 drivers/net/wireless/ti/wl1251/wl12xx_80211.h struct wl12xx_ie_rates rates; rates 150 drivers/net/wireless/ti/wl1251/wl12xx_80211.h struct wl12xx_ie_rates rates; rates 97 drivers/net/wireless/ti/wl18xx/tx.c &info->status.rates[0], rates 100 drivers/net/wireless/ti/wl18xx/tx.c info->status.rates[0].count = 1; /* no data about retries */ rates 1013 drivers/net/wireless/ti/wlcore/cmd.c int index, u32 rates) rates 1034 drivers/net/wireless/ti/wlcore/cmd.c cmd->enabled_rates = cpu_to_le32(rates); rates 44 drivers/net/wireless/ti/wlcore/cmd.h int index, u32 rates); rates 3944 drivers/net/wireless/ti/wlcore/main.c static int wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, rates 3959 drivers/net/wireless/ti/wlcore/main.c rates); rates 3976 drivers/net/wireless/ti/wlcore/main.c u32 rates) rates 3990 drivers/net/wireless/ti/wlcore/main.c rates); rates 4027 drivers/net/wireless/ti/wlcore/main.c rates); rates 4209 drivers/net/wireless/ti/wlcore/main.c u32 rates = bss_conf->basic_rates; rates 4211 drivers/net/wireless/ti/wlcore/main.c wlvif->basic_rate_set = wl1271_tx_enabled_rates_get(wl, rates, rates 4302 drivers/net/wireless/ti/wlcore/main.c u32 rates; rates 4312 drivers/net/wireless/ti/wlcore/main.c rates = bss_conf->basic_rates; rates 4314 drivers/net/wireless/ti/wlcore/main.c wl1271_tx_enabled_rates_get(wl, rates, rates 4474 drivers/net/wireless/ti/wlcore/main.c u32 rates = bss_conf->basic_rates; rates 4476 drivers/net/wireless/ti/wlcore/main.c wl1271_tx_enabled_rates_get(wl, rates, rates 97 drivers/net/wireless/ti/wlcore/ps.c info->status.rates[0].idx = -1; rates 940 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].idx = rate; rates 941 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].count = retries; rates 942 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].flags = rate_flags; rates 1034 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].idx = -1; rates 1035 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].count = 0; rates 1123 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].idx = -1; rates 1124 drivers/net/wireless/ti/wlcore/tx.c info->status.rates[0].count = 0; rates 86 drivers/net/wireless/ti/wlcore/wl12xx_80211.h u8 rates[MAX_SUPPORTED_RATES]; rates 1032 drivers/net/wireless/zydas/zd1211rw/zd_chip.c u32 rates; rates 1039 drivers/net/wireless/zydas/zd1211rw/zd_chip.c rates = CR_RATE_1M|CR_RATE_2M|CR_RATE_5_5M|CR_RATE_11M; rates 1041 drivers/net/wireless/zydas/zd1211rw/zd_chip.c rates = CR_RATE_1M|CR_RATE_2M|CR_RATE_5_5M|CR_RATE_11M| rates 1044 drivers/net/wireless/zydas/zd1211rw/zd_chip.c return zd_iowrite32_locked(chip, rates, CR_MANDATORY_RATE_TBL); rates 455 drivers/net/wireless/zydas/zd1211rw/zd_mac.c first_idx = info->status.rates[0].idx; rates 460 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[0].idx = retries->rate[0]; rates 461 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[0].count = 1; // (retry > 1 ? 2 : 1); rates 464 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[i].idx = retries->rate[i]; rates 465 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[i].count = 1; // ((i==retry-1) && success ? 1:2); rates 468 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[i].idx = retries->rate[retry - 1]; rates 469 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[i].count = 1; // (success ? 1:2); rates 472 drivers/net/wireless/zydas/zd1211rw/zd_mac.c info->status.rates[i].idx = -1; /* terminate */ rates 527 drivers/net/wireless/zydas/zd1211rw/zd_mac.c first_idx = info->status.rates[0].idx; rates 666 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) rates 669 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) rates 874 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) rates 1378 drivers/net/wireless/zydas/zd1211rw/zd_mac.c memcpy(mac->rates, zd_rates, sizeof(zd_rates)); rates 1380 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->band.bitrates = mac->rates; rates 189 drivers/net/wireless/zydas/zd1211rw/zd_mac.h struct ieee80211_rate rates[12]; rates 891 drivers/scsi/aic94xx/aic94xx_scb.c struct sas_phy_linkrates *rates; rates 899 drivers/scsi/aic94xx/aic94xx_scb.c rates = arg; rates 900 drivers/scsi/aic94xx/aic94xx_scb.c if (rates->minimum_linkrate) { rates 901 drivers/scsi/aic94xx/aic94xx_scb.c pd->min_sas_lrate = rates->minimum_linkrate; rates 902 drivers/scsi/aic94xx/aic94xx_scb.c pd->min_sata_lrate = rates->minimum_linkrate; rates 904 drivers/scsi/aic94xx/aic94xx_scb.c if (rates->maximum_linkrate) { rates 905 drivers/scsi/aic94xx/aic94xx_scb.c pd->max_sas_lrate = rates->maximum_linkrate; rates 906 drivers/scsi/aic94xx/aic94xx_scb.c pd->max_sata_lrate = rates->maximum_linkrate; rates 9845 drivers/scsi/hpsa.c hpsa_sas_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) rates 579 drivers/scsi/libsas/sas_expander.c struct sas_phy_linkrates *rates) rates 598 drivers/scsi/libsas/sas_expander.c if (rates) { rates 599 drivers/scsi/libsas/sas_expander.c pc_req[32] = rates->minimum_linkrate << 4; rates 600 drivers/scsi/libsas/sas_expander.c pc_req[33] = rates->maximum_linkrate << 4; rates 820 drivers/scsi/libsas/sas_expander.c struct sas_phy_linkrates rates = { rates 829 drivers/scsi/libsas/sas_expander.c PHY_FUNC_LINK_RESET, &rates); rates 186 drivers/scsi/libsas/sas_host_smp.c struct sas_phy_linkrates rates; rates 210 drivers/scsi/libsas/sas_host_smp.c rates.minimum_linkrate = min; rates 211 drivers/scsi/libsas/sas_host_smp.c rates.maximum_linkrate = max; rates 219 drivers/scsi/libsas/sas_host_smp.c if (i->dft->lldd_control_phy(asd_phy, phy_op, &rates)) rates 324 drivers/scsi/libsas/sas_init.c struct sas_phy_linkrates *rates) rates 328 drivers/scsi/libsas/sas_init.c if ((rates->minimum_linkrate && rates 329 drivers/scsi/libsas/sas_init.c rates->minimum_linkrate > phy->maximum_linkrate) || rates 330 drivers/scsi/libsas/sas_init.c (rates->maximum_linkrate && rates 331 drivers/scsi/libsas/sas_init.c rates->maximum_linkrate < phy->minimum_linkrate)) rates 334 drivers/scsi/libsas/sas_init.c if (rates->minimum_linkrate && rates 335 drivers/scsi/libsas/sas_init.c rates->minimum_linkrate < phy->minimum_linkrate_hw) rates 336 drivers/scsi/libsas/sas_init.c rates->minimum_linkrate = phy->minimum_linkrate_hw; rates 338 drivers/scsi/libsas/sas_init.c if (rates->maximum_linkrate && rates 339 drivers/scsi/libsas/sas_init.c rates->maximum_linkrate > phy->maximum_linkrate_hw) rates 340 drivers/scsi/libsas/sas_init.c rates->maximum_linkrate = phy->maximum_linkrate_hw; rates 350 drivers/scsi/libsas/sas_init.c rates); rates 355 drivers/scsi/libsas/sas_init.c PHY_FUNC_LINK_RESET, rates); rates 1684 drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) rates 1704 drivers/scsi/mpt3sas/mpt3sas_transport.c if (!rates->minimum_linkrate) rates 1705 drivers/scsi/mpt3sas/mpt3sas_transport.c rates->minimum_linkrate = phy->minimum_linkrate; rates 1706 drivers/scsi/mpt3sas/mpt3sas_transport.c else if (rates->minimum_linkrate < phy->minimum_linkrate_hw) rates 1707 drivers/scsi/mpt3sas/mpt3sas_transport.c rates->minimum_linkrate = phy->minimum_linkrate_hw; rates 1709 drivers/scsi/mpt3sas/mpt3sas_transport.c if (!rates->maximum_linkrate) rates 1710 drivers/scsi/mpt3sas/mpt3sas_transport.c rates->maximum_linkrate = phy->maximum_linkrate; rates 1711 drivers/scsi/mpt3sas/mpt3sas_transport.c else if (rates->maximum_linkrate > phy->maximum_linkrate_hw) rates 1712 drivers/scsi/mpt3sas/mpt3sas_transport.c rates->maximum_linkrate = phy->maximum_linkrate_hw; rates 1716 drivers/scsi/mpt3sas/mpt3sas_transport.c phy->minimum_linkrate = rates->minimum_linkrate; rates 1717 drivers/scsi/mpt3sas/mpt3sas_transport.c phy->maximum_linkrate = rates->maximum_linkrate; rates 1757 drivers/scsi/mpt3sas/mpt3sas_transport.c (rates->minimum_linkrate + rates 1758 drivers/scsi/mpt3sas/mpt3sas_transport.c (rates->maximum_linkrate << 4)); rates 622 drivers/scsi/mvsas/mv_64xx.c struct sas_phy_linkrates *rates) rates 628 drivers/scsi/mvsas/mv_64xx.c lrmin = (rates->minimum_linkrate << 8); rates 629 drivers/scsi/mvsas/mv_64xx.c lrmax = (rates->maximum_linkrate << 12); rates 895 drivers/scsi/mvsas/mv_94xx.c struct sas_phy_linkrates *rates) rates 901 drivers/scsi/mvsas/mv_94xx.c lrmax = (rates->maximum_linkrate - SAS_LINK_RATE_1_5_GBPS) << 12; rates 135 drivers/scsi/mvsas/mv_sas.h struct sas_phy_linkrates *rates); rates 159 drivers/scsi/pm8001/pm8001_sas.c struct sas_phy_linkrates *rates; rates 169 drivers/scsi/pm8001/pm8001_sas.c rates = funcdata; rates 170 drivers/scsi/pm8001/pm8001_sas.c if (rates->minimum_linkrate) { rates 172 drivers/scsi/pm8001/pm8001_sas.c rates->minimum_linkrate; rates 174 drivers/scsi/pm8001/pm8001_sas.c if (rates->maximum_linkrate) { rates 176 drivers/scsi/pm8001/pm8001_sas.c rates->maximum_linkrate; rates 468 drivers/scsi/scsi_transport_sas.c struct sas_phy_linkrates rates = {0}; \ rates 474 drivers/scsi/scsi_transport_sas.c rates.field = value; \ rates 475 drivers/scsi/scsi_transport_sas.c error = i->f->set_phy_speed(phy, &rates); \ rates 441 drivers/scsi/smartpqi/smartpqi_sas_transport.c struct sas_phy_linkrates *rates) rates 861 drivers/soundwire/intel.c dais[i].playback.rates = SNDRV_PCM_RATE_48000; rates 877 drivers/soundwire/intel.c dais[i].capture.rates = SNDRV_PCM_RATE_48000; rates 689 drivers/staging/greybus/audio_codec.c .rates = SNDRV_PCM_RATE_48000, rates 699 drivers/staging/greybus/audio_codec.c .rates = SNDRV_PCM_RATE_48000, rates 533 drivers/staging/most/sound/sound.c pcm_hw->rates = SNDRV_PCM_RATE_48000; rates 562 drivers/staging/rtl8192e/rtl8192e/rtl_core.c basic_rate = net->rates[i] & 0x7f; rates 1117 drivers/staging/rtl8192e/rtllib.h u8 rates[MAX_RATES_LENGTH]; rates 2094 drivers/staging/rtl8192e/rtllib_rx.c network->rates[i] = info_element->data[i]; rates 2097 drivers/staging/rtl8192e/rtllib_rx.c network->rates[i]); rates 2429 drivers/staging/rtl8192e/rtllib_rx.c memcpy(dst->rates, src->rates, src->rates_len); rates 160 drivers/staging/rtl8192e/rtllib_softmac.c BasicRate = ieee->current_network.rates[i]&0x7F; rates 924 drivers/staging/rtl8192e/rtllib_softmac.c memcpy(tag, ieee->current_network.rates, rate_len-2); rates 1272 drivers/staging/rtl8192e/rtllib_softmac.c *tag++ = beacon->rates[i]; rates 2625 drivers/staging/rtl8192e/rtllib_softmac.c ieee->current_network.rates[0] = rates 2627 drivers/staging/rtl8192e/rtllib_softmac.c ieee->current_network.rates[1] = rates 2629 drivers/staging/rtl8192e/rtllib_softmac.c ieee->current_network.rates[2] = rates 2631 drivers/staging/rtl8192e/rtllib_softmac.c ieee->current_network.rates[3] = rates 121 drivers/staging/rtl8192e/rtllib_wx.c (network->rates[i] & 0x7F))) rates 124 drivers/staging/rtl8192e/rtllib_wx.c rate = network->rates[i++] & 0x7F; rates 1351 drivers/staging/rtl8192u/ieee80211/ieee80211.h u8 rates[MAX_RATES_LENGTH]; rates 1621 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->rates[i] = info_element->data[i]; rates 1625 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->rates[i]); rates 2188 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c memcpy(dst->rates, src->rates, src->rates_len); rates 761 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c memcpy(tag, ieee->current_network.rates, rate_len - 2); rates 2258 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->current_network.rates[0] = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_1MB; rates 2259 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->current_network.rates[1] = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_2MB; rates 2260 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->current_network.rates[2] = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_5MB; rates 2261 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c ieee->current_network.rates[3] = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_11MB; rates 116 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c (network->rates[i] & 0x7F))) rates 119 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c rate = network->rates[i++] & 0x7F; rates 1043 drivers/staging/rtl8192u/r8192U_core.c basic_rate = net->rates[i] & 0x7f; rates 126 drivers/staging/rtl8712/ieee80211.c static void set_supported_rate(u8 *rates, uint mode) rates 128 drivers/staging/rtl8712/ieee80211.c memset(rates, 0, NDIS_802_11_LENGTH_RATES_EX); rates 131 drivers/staging/rtl8712/ieee80211.c memcpy(rates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); rates 135 drivers/staging/rtl8712/ieee80211.c memcpy(rates, WIFI_OFDMRATES, IEEE80211_NUM_OFDM_RATESLEN); rates 138 drivers/staging/rtl8712/ieee80211.c memcpy(rates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN); rates 139 drivers/staging/rtl8712/ieee80211.c memcpy(rates + IEEE80211_CCK_RATE_LEN, WIFI_OFDMRATES, rates 187 drivers/staging/rtl8712/ieee80211.c set_supported_rate(dev_network->rates, registrypriv->wireless_mode); rates 188 drivers/staging/rtl8712/ieee80211.c rate_len = r8712_get_rateset_len(dev_network->rates); rates 191 drivers/staging/rtl8712/ieee80211.c dev_network->rates, &sz); rates 193 drivers/staging/rtl8712/ieee80211.c (dev_network->rates + 8), &sz); rates 196 drivers/staging/rtl8712/ieee80211.c rate_len, dev_network->rates, &sz); rates 249 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (r8712_is_cckratesonly_included(pnetwork->network.rates)) { rates 254 drivers/staging/rtl8712/rtl871x_ioctl_linux.c } else if (r8712_is_cckrates_included(pnetwork->network.rates)) { rates 314 drivers/staging/rtl8712/rtl871x_ioctl_linux.c while (pnetwork->network.rates[i] != 0) { rates 316 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.value = (pnetwork->network.rates[i++] & rates 620 drivers/staging/rtl8712/rtl871x_ioctl_linux.c prates = pcur_bss->rates; rates 1422 drivers/staging/rtl8712/rtl871x_ioctl_linux.c while ((pcur_bss->rates[i] != 0) && rates 1423 drivers/staging/rtl8712/rtl871x_ioctl_linux.c (pcur_bss->rates[i] != 0xFF)) { rates 1424 drivers/staging/rtl8712/rtl871x_ioctl_linux.c rate = pcur_bss->rates[i] & 0x7F; rates 79 drivers/staging/rtl8712/wlan_bssdef.h u8 rates[NDIS_802_11_LENGTH_RATES_EX]; rates 106 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static void rtw_2g_rates_init(struct ieee80211_rate *rates) rates 108 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(rates, rtw_g_rates, rates 17 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 34 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_44100 | rates 854 drivers/staging/vt6655/device_main.c idx = info->control.rates[0].idx; rates 879 drivers/staging/vt6655/device_main.c info->status.rates[0].count = tx_retry; rates 882 drivers/staging/vt6655/device_main.c info->status.rates[0].idx = idx; rates 1274 drivers/staging/vt6655/rxtx.c struct ieee80211_tx_rate *tx_rate = &info->control.rates[0]; rates 75 drivers/staging/vt6656/int.c idx = info->control.rates[0].idx; rates 100 drivers/staging/vt6656/int.c info->status.rates[0].count = tx_retry; rates 103 drivers/staging/vt6656/int.c info->status.rates[0].idx = idx; rates 785 drivers/staging/vt6656/rxtx.c struct ieee80211_tx_rate *tx_rate = &info->control.rates[0]; rates 43 drivers/staging/wlan-ng/cfg80211.c struct ieee80211_rate rates[ARRAY_SIZE(prism2_rates)]; rates 685 drivers/staging/wlan-ng/cfg80211.c memcpy(priv->rates, prism2_rates, sizeof(prism2_rates)); rates 688 drivers/staging/wlan-ng/cfg80211.c priv->band.bitrates = priv->rates; rates 239 drivers/staging/wlan-ng/p80211mgmt.h u8 rates[1]; /* had better be at LEAST one! */ rates 72 drivers/usb/gadget/function/u_audio.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 198 drivers/usb/serial/ir-usb.c int rates; rates 210 drivers/usb/serial/ir-usb.c rates = le16_to_cpu(irda_desc->wBaudRate); rates 215 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_2400) ? " 2400" : "", rates 216 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_9600) ? " 9600" : "", rates 217 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_19200) ? " 19200" : "", rates 218 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_38400) ? " 38400" : "", rates 219 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_57600) ? " 57600" : "", rates 220 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_115200) ? " 115200" : "", rates 221 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_576000) ? " 576000" : "", rates 222 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_1152000) ? " 1152000" : "", rates 223 drivers/usb/serial/ir-usb.c (rates & USB_IRDA_BR_4000000) ? " 4000000" : ""); rates 1968 include/linux/greybus/greybus_protocols.h __le32 rates; /* GB_AUDIO_PCM_RATE_* */ rates 43 include/linux/scmi_protocol.h u64 rates[SCMI_MAX_NUM_RATES]; rates 1941 include/net/cfg80211.h u32 rates[NUM_NL80211_BANDS]; rates 1017 include/net/mac80211.h struct ieee80211_tx_rate rates[ rates 1039 include/net/mac80211.h struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; rates 1125 include/net/mac80211.h BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != rates 1126 include/net/mac80211.h offsetof(struct ieee80211_tx_info, control.rates)); rates 1127 include/net/mac80211.h BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != rates 1129 include/net/mac80211.h BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != 8); rates 1132 include/net/mac80211.h info->status.rates[i].count = 0; rates 1987 include/net/mac80211.h struct ieee80211_sta_rates __rcu *rates; rates 2601 include/net/mac80211.h if (WARN_ON_ONCE(c->control.rates[0].idx < 0)) rates 2603 include/net/mac80211.h return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; rates 2619 include/net/mac80211.h if (c->control.rates[idx + 1].idx < 0) rates 2621 include/net/mac80211.h return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; rates 6017 include/net/mac80211.h struct ieee80211_sta_rates *rates); rates 663 include/scsi/libsas.h int sas_set_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates); rates 257 include/sound/ac97_codec.h unsigned int rates[6]; /* see AC97_RATES_* defines */ rates 390 include/sound/ac97_codec.h unsigned int rates; /* available rates */ rates 144 include/sound/hda_codec.h u32 rates; /* supported rates */ rates 34 include/sound/pcm.h unsigned int rates; /* SNDRV_PCM_RATE_* */ rates 710 include/sound/soc.h unsigned int rates; /* SNDRV_PCM_RATE_* */ rates 300 include/uapi/sound/asoc.h __le32 rates; /* supported rates SNDRV_PCM_RATE_* */ rates 597 include/uapi/sound/asoc.h __le32 rates; /* supported rates SNDRV_PCM_RATE_* */ rates 898 include/xen/interface/io/sndif.h } rates; rates 51 net/mac80211/ibss.c u32 rate_flags, rates = 0, rates_added = 0; rates 107 net/mac80211/ibss.c rates |= BIT(i); rates 117 net/mac80211/ibss.c if (!(rates & BIT(ri))) rates 161 net/mac80211/ibss.c if (!(rates & BIT(ri))) rates 2155 net/mac80211/ieee80211_i.h const u8 *srates, int srates_len, u32 *rates); rates 1026 net/mac80211/main.c local->int_scan_req->rates[band] = (u32) -1; rates 413 net/mac80211/mesh_plink.c u32 rates, basic_rates = 0, changed = 0; rates 420 net/mac80211/mesh_plink.c rates = ieee80211_sta_get_rates(sdata, elems, sband->band, rates 432 net/mac80211/mesh_plink.c if (sta->sta.supp_rates[sband->band] != rates) rates 434 net/mac80211/mesh_plink.c sta->sta.supp_rates[sband->band] = rates; rates 652 net/mac80211/mlme.c u32 rates = 0; rates 677 net/mac80211/mlme.c &rates); rates 686 net/mac80211/mlme.c rates |= BIT(i); rates 769 net/mac80211/mlme.c if (BIT(i) & rates) { rates 784 net/mac80211/mlme.c if (BIT(i) & rates) { rates 3110 net/mac80211/mlme.c u32 *rates, u32 *basic_rates, rates 3144 net/mac80211/mlme.c *rates |= BIT(j); rates 4952 net/mac80211/mlme.c u32 rates = 0, basic_rates = 0; rates 4960 net/mac80211/mlme.c &rates, &basic_rates, rates 4979 net/mac80211/mlme.c if (rates) rates 4980 net/mac80211/mlme.c new_sta->sta.supp_rates[cbss->channel->band] = rates; rates 335 net/mac80211/rate.c info->control.rates[0].idx = 0; rates 346 net/mac80211/rate.c info->control.rates[0].idx = i; rates 356 net/mac80211/rate.c info->control.rates[0].count = rates 380 net/mac80211/rate.c info->control.rates[0].idx = mcast_rate - 1; rates 391 net/mac80211/rate.c rc_send_low_basicrate(&info->control.rates[0].idx, rates 587 net/mac80211/rate.c struct ieee80211_tx_rate *rates, rates 602 net/mac80211/rate.c if (!(rates[0].flags & rates 607 net/mac80211/rate.c rate = &sband->bitrates[rates[0].idx]; rates 632 net/mac80211/rate.c rates[i].idx = -1; rates 635 net/mac80211/rate.c if (rates[i].idx < 0) { rates 644 net/mac80211/rate.c if (rates[i].flags & IEEE80211_TX_RC_MCS) { rates 645 net/mac80211/rate.c WARN_ON(rates[i].idx > 76); rates 647 net/mac80211/rate.c if (!(rates[i].flags & IEEE80211_TX_RC_USE_RTS_CTS) && rates 649 net/mac80211/rate.c rates[i].flags |= rates 654 net/mac80211/rate.c if (rates[i].flags & IEEE80211_TX_RC_VHT_MCS) { rates 655 net/mac80211/rate.c WARN_ON(ieee80211_rate_get_vht_mcs(&rates[i]) > 9); rates 661 net/mac80211/rate.c rates[i].flags |= IEEE80211_TX_RC_USE_RTS_CTS; rates 666 net/mac80211/rate.c if (WARN_ON_ONCE(rates[i].idx >= sband->n_bitrates)) { rates 667 net/mac80211/rate.c rates[i].idx = -1; rates 671 net/mac80211/rate.c rate = &sband->bitrates[rates[i].idx]; rates 676 net/mac80211/rate.c rates[i].flags |= IEEE80211_TX_RC_USE_SHORT_PREAMBLE; rates 679 net/mac80211/rate.c if (!(rates[i].flags & IEEE80211_TX_RC_USE_RTS_CTS) && rates 682 net/mac80211/rate.c rates[i].flags |= IEEE80211_TX_RC_USE_CTS_PROTECT; rates 689 net/mac80211/rate.c struct ieee80211_tx_rate *rates, rates 696 net/mac80211/rate.c ratetbl = rcu_dereference(sta->rates); rates 701 net/mac80211/rate.c if (i < ARRAY_SIZE(info->control.rates) && rates 702 net/mac80211/rate.c info->control.rates[i].idx >= 0 && rates 703 net/mac80211/rate.c info->control.rates[i].count) { rates 704 net/mac80211/rate.c if (rates != info->control.rates) rates 705 net/mac80211/rate.c rates[i] = info->control.rates[i]; rates 707 net/mac80211/rate.c rates[i].idx = ratetbl->rate[i].idx; rates 708 net/mac80211/rate.c rates[i].flags = ratetbl->rate[i].flags; rates 710 net/mac80211/rate.c rates[i].count = ratetbl->rate[i].count_rts; rates 712 net/mac80211/rate.c rates[i].count = ratetbl->rate[i].count_cts; rates 714 net/mac80211/rate.c rates[i].count = ratetbl->rate[i].count; rates 716 net/mac80211/rate.c rates[i].idx = -1; rates 717 net/mac80211/rate.c rates[i].count = 0; rates 720 net/mac80211/rate.c if (rates[i].idx < 0 || !rates[i].count) rates 778 net/mac80211/rate.c struct ieee80211_sta_rates *rates) rates 792 net/mac80211/rate.c if (rates->rate[i].idx < 0) rates 795 net/mac80211/rate.c rate_idx_match_mask(&rates->rate[i].idx, &rates->rate[i].flags, rates 804 net/mac80211/rate.c struct ieee80211_tx_rate *rates, rates 830 net/mac80211/rate.c if (rates[i].idx < 0) rates 833 net/mac80211/rate.c rate_flags = rates[i].flags; rates 834 net/mac80211/rate.c rate_idx_match_mask(&rates[i].idx, &rate_flags, sband, rates 836 net/mac80211/rate.c rates[i].flags = rate_flags; rates 882 net/mac80211/rate.c info->control.rates[i].idx = -1; rates 883 net/mac80211/rate.c info->control.rates[i].flags = 0; rates 884 net/mac80211/rate.c info->control.rates[i].count = 0; rates 910 net/mac80211/rate.c info->control.rates, rates 911 net/mac80211/rate.c ARRAY_SIZE(info->control.rates)); rates 916 net/mac80211/rate.c struct ieee80211_sta_rates *rates) rates 925 net/mac80211/rate.c rate_control_apply_mask_ratetbl(sta, sband, rates); rates 932 net/mac80211/rate.c old = rcu_dereference_protected(pubsta->rates, true); rates 933 net/mac80211/rate.c rcu_assign_pointer(pubsta->rates, rates); rates 266 net/mac80211/rc80211_minstrel.c struct ieee80211_tx_rate *ar = info->status.rates; rates 335 net/mac80211/rc80211_minstrel.c struct ieee80211_tx_rate *rate = &info->control.rates[0]; rates 325 net/mac80211/rc80211_minstrel_ht.c return &mi->groups[group].rates[idx]; rates 331 net/mac80211/rc80211_minstrel_ht.c return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; rates 392 net/mac80211/rc80211_minstrel_ht.c cur_prob = mi->groups[cur_group].rates[cur_idx].prob_ewma; rates 398 net/mac80211/rc80211_minstrel_ht.c tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; rates 431 net/mac80211/rc80211_minstrel_ht.c mrs = &mg->rates[index % MCS_GROUP_RATES]; rates 435 net/mac80211/rc80211_minstrel_ht.c tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; rates 447 net/mac80211/rc80211_minstrel_ht.c max_gpr_prob = mi->groups[max_gpr_group].rates[max_gpr_idx].prob_ewma; rates 485 net/mac80211/rc80211_minstrel_ht.c tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; rates 490 net/mac80211/rc80211_minstrel_ht.c tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_ewma; rates 521 net/mac80211/rc80211_minstrel_ht.c tmp_prob = mi->groups[group].rates[tmp_idx].prob_ewma; rates 558 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_find_probe_rates(struct minstrel_ht_sta *mi, u16 *rates, int *n_rates, rates 595 net/mac80211/rc80211_minstrel_ht.c rates[(*n_rates)++] = idx; rates 606 net/mac80211/rc80211_minstrel_ht.c u16 rates[MINSTREL_GROUPS_NB]; rates 627 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_find_probe_rates(mi, rates, &n_rates, faster_rate); rates 629 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_find_probe_rates(mi, rates, &n_rates, false); rates 653 net/mac80211/rc80211_minstrel_ht.c probe_rate = rates[i]; rates 738 net/mac80211/rc80211_minstrel_ht.c mrs = &mg->rates[i]; rates 889 net/mac80211/rc80211_minstrel_ht.c struct ieee80211_tx_rate *ar = info->status.rates; rates 1106 net/mac80211/rc80211_minstrel_ht.c return mi->groups[group].rates[rate].prob_ewma; rates 1118 net/mac80211/rc80211_minstrel_ht.c if (mi->groups[group].rates[rate].prob_ewma < MINSTREL_FRAC(50, 100)) rates 1161 net/mac80211/rc80211_minstrel_ht.c struct ieee80211_sta_rates *rates; rates 1168 net/mac80211/rc80211_minstrel_ht.c rates = kzalloc(sizeof(*rates), GFP_ATOMIC); rates 1169 net/mac80211/rc80211_minstrel_ht.c if (!rates) rates 1173 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_set_rate(mp, mi, rates, i++, first_rate); rates 1177 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_tp_rate[1]); rates 1181 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_prob_rate); rates 1185 net/mac80211/rc80211_minstrel_ht.c rates->rate[i].idx = -1; rates 1186 net/mac80211/rc80211_minstrel_ht.c rate_control_set_rates(mp->hw, mi->sta, rates); rates 1219 net/mac80211/rc80211_minstrel_ht.c mrs = &mg->rates[sample_idx]; rates 1293 net/mac80211/rc80211_minstrel_ht.c struct ieee80211_tx_rate *rate = &info->status.rates[0]; rates 1707 net/mac80211/rc80211_minstrel_ht.c prob = mi->groups[i].rates[j].prob_ewma; rates 51 net/mac80211/rc80211_minstrel_ht.h struct minstrel_rate_stats rates[MCS_GROUP_RATES]; rates 54 net/mac80211/rc80211_minstrel_ht_debugfs.c struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; rates 201 net/mac80211/rc80211_minstrel_ht_debugfs.c struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; rates 363 net/mac80211/scan.c bands_used, req->rates, &chandef, rates 636 net/mac80211/scan.c scan_req->rates[band], flags, rates 254 net/mac80211/sta_info.c kfree(rcu_dereference_raw(sta->sta.rates)); rates 270 net/mac80211/status.c else if (info->status.rates[0].idx >= 0 && rates 271 net/mac80211/status.c !(info->status.rates[0].flags & rates 290 net/mac80211/status.c } else if (info->status.rates[0].idx >= 0) { rates 291 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) rates 293 net/mac80211/status.c else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) rates 338 net/mac80211/status.c } else if (info->status.rates[0].idx >= 0 && rates 339 net/mac80211/status.c !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | rates 342 net/mac80211/status.c sband->bitrates[info->status.rates[0].idx].bitrate; rates 357 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) rates 359 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) rates 503 net/mac80211/status.c if ((status && status->rate) || info->status.rates[0].idx < 0) rates 508 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) { rates 513 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_SHORT_GI) rates 515 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) rates 517 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_GREEN_FIELD) rates 519 net/mac80211/status.c pos[2] = info->status.rates[0].idx; rates 521 net/mac80211/status.c } else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) { rates 536 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_SHORT_GI) rates 541 net/mac80211/status.c if (info->status.rates[0].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) rates 543 net/mac80211/status.c else if (info->status.rates[0].flags & IEEE80211_TX_RC_80_MHZ_WIDTH) rates 545 net/mac80211/status.c else if (info->status.rates[0].flags & IEEE80211_TX_RC_160_MHZ_WIDTH) rates 552 net/mac80211/status.c *pos = (ieee80211_rate_get_vht_mcs(&info->status.rates[0]) << 4) | rates 553 net/mac80211/status.c ieee80211_rate_get_vht_nss(&info->status.rates[0]); rates 781 net/mac80211/status.c info->status.rates[i].idx = -1; rates 782 net/mac80211/status.c info->status.rates[i].count = 0; rates 784 net/mac80211/status.c } else if (info->status.rates[i].idx < 0) { rates 788 net/mac80211/status.c info->status.rates[i].idx = -1; rates 789 net/mac80211/status.c info->status.rates[i].count = 0; rates 793 net/mac80211/status.c count += info->status.rates[i].count; rates 913 net/mac80211/status.c info->status.rates[rates_idx]; rates 1176 net/mac80211/status.c sta->tx_stats.last_rate = info->status.rates[0]; rates 751 net/mac80211/tx.c ratetbl = rcu_dereference(tx->sta->sta.rates); rates 753 net/mac80211/tx.c if (unlikely(info->control.rates[0].idx < 0)) { rates 769 net/mac80211/tx.c tx->rate = info->control.rates[0]; rates 782 net/mac80211/tx.c if (unlikely(!info->control.rates[0].count)) rates 783 net/mac80211/tx.c info->control.rates[0].count = 1; rates 785 net/mac80211/tx.c if (WARN_ON_ONCE((info->control.rates[0].count > 1) && rates 787 net/mac80211/tx.c info->control.rates[0].count = 1; rates 984 net/mac80211/tx.c info->control.rates[1].idx = -1; rates 985 net/mac80211/tx.c info->control.rates[2].idx = -1; rates 986 net/mac80211/tx.c info->control.rates[3].idx = -1; rates 2169 net/mac80211/tx.c info->control.rates[i].idx = -1; rates 2170 net/mac80211/tx.c info->control.rates[i].flags = 0; rates 2171 net/mac80211/tx.c info->control.rates[i].count = 0; rates 2175 net/mac80211/tx.c info->control.rates[0].idx = rate; rates 2177 net/mac80211/tx.c ieee80211_rate_set_vht(info->control.rates, vht_mcs, rates 2184 net/mac80211/tx.c info->control.rates[0].idx = i; rates 2189 net/mac80211/tx.c if (info->control.rates[0].idx < 0) rates 2192 net/mac80211/tx.c info->control.rates[0].flags = rate_flags; rates 2193 net/mac80211/tx.c info->control.rates[0].count = min_t(u8, rate_retries + 1, rates 1646 net/mac80211/util.c u8 rates[32]; rates 1669 net/mac80211/util.c rates[num_rates++] = rates 1680 net/mac80211/util.c memcpy(pos, rates, supp_rates_len); rates 1707 net/mac80211/util.c memcpy(pos, rates + supp_rates_len, ext_rates_len); rates 3072 net/mac80211/util.c const u8 *srates, int srates_len, u32 *rates) rates 3079 net/mac80211/util.c *rates = 0; rates 3091 net/mac80211/util.c *rates |= BIT(j); rates 3107 net/mac80211/util.c u8 i, rates, *pos; rates 3114 net/mac80211/util.c rates = 0; rates 3118 net/mac80211/util.c rates++; rates 3120 net/mac80211/util.c if (rates > 8) rates 3121 net/mac80211/util.c rates = 8; rates 3123 net/mac80211/util.c if (skb_tailroom(skb) < rates + 2) rates 3126 net/mac80211/util.c pos = skb_put(skb, rates + 2); rates 3128 net/mac80211/util.c *pos++ = rates; rates 3129 net/mac80211/util.c for (i = 0; i < rates; i++) { rates 516 net/wireless/core.h const u8 *rates, unsigned int n_rates, rates 4112 net/wireless/nl80211.c u8 *rates, u8 rates_len) rates 4118 net/wireless/nl80211.c int rate = (rates[i] & 0x7f) * 5; rates 4137 net/wireless/nl80211.c u8 *rates, u8 rates_len, rates 4147 net/wireless/nl80211.c ridx = rates[i] / 8; rates 4148 net/wireless/nl80211.c rbit = BIT(rates[i] % 8); rates 4514 net/wireless/nl80211.c const u8 *rates) rates 4518 net/wireless/nl80211.c if (!rates) rates 4521 net/wireless/nl80211.c for (i = 0; i < rates[1]; i++) { rates 4522 net/wireless/nl80211.c if (rates[2 + i] == BSS_MEMBERSHIP_SELECTOR_HT_PHY) rates 4524 net/wireless/nl80211.c if (rates[2 + i] == BSS_MEMBERSHIP_SELECTOR_VHT_PHY) rates 4539 net/wireless/nl80211.c const u8 *rates; rates 4542 net/wireless/nl80211.c rates = cfg80211_find_ie(WLAN_EID_SUPP_RATES, ies, ies_len); rates 4543 net/wireless/nl80211.c nl80211_check_ap_rate_selectors(params, rates); rates 4545 net/wireless/nl80211.c rates = cfg80211_find_ie(WLAN_EID_EXT_SUPP_RATES, ies, ies_len); rates 4546 net/wireless/nl80211.c nl80211_check_ap_rate_selectors(params, rates); rates 7664 net/wireless/nl80211.c request->rates[i] = rates 7684 net/wireless/nl80211.c &request->rates[band]); rates 9512 net/wireless/nl80211.c u8 *rates = rates 9519 net/wireless/nl80211.c err = ieee80211_get_ratemask(sband, rates, n_rates, rates 11076 net/wireless/nl80211.c u8 *rates = nla_data(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); rates 11086 net/wireless/nl80211.c err = ieee80211_get_ratemask(sband, rates, n_rates, rates 2230 net/wireless/scan.c creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; rates 97 net/wireless/sme.c request->rates[band] = (1 << sband->n_bitrates) - 1; rates 114 net/wireless/sme.c request->rates[band] = (1 << bands->n_bitrates) - 1; rates 3130 net/wireless/trace.h __array(u32, rates, NUM_NL80211_BANDS) rates 3142 net/wireless/trace.h memcpy(__entry->rates, request->rates, rates 1851 net/wireless/util.c const u8 *rates, unsigned int n_rates, rates 1865 net/wireless/util.c int rate = (rates[i] & 0x7f) * 5; rates 613 sound/aoa/codecs/onyx.c .rates = SNDRV_PCM_RATE_8000_96000, rates 628 sound/aoa/codecs/onyx.c .rates = SNDRV_PCM_RATE_8000_96000, rates 636 sound/aoa/codecs/onyx.c .rates = SNDRV_PCM_RATE_8000_96000, rates 646 sound/aoa/codecs/onyx.c .rates = SNDRV_PCM_RATE_32000 | rates 658 sound/aoa/codecs/onyx.c .rates = SNDRV_PCM_RATE_32000 | rates 652 sound/aoa/codecs/tas.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 658 sound/aoa/codecs/tas.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 44 sound/aoa/codecs/toonie.c .rates = SNDRV_PCM_RATE_32000 | rates 65 sound/aoa/soundbus/i2sbus/pcm.c do { if (rates & SNDRV_PCM_RATE_ ##rate) { \ rates 69 sound/aoa/soundbus/i2sbus/pcm.c rates &= ~SNDRV_PCM_RATE_ ##rate; \ rates 80 sound/aoa/soundbus/i2sbus/pcm.c unsigned int rates = 0; rates 104 sound/aoa/soundbus/i2sbus/pcm.c while (ti->formats && ti->rates) { rates 110 sound/aoa/soundbus/i2sbus/pcm.c rates &= v.rates; rates 113 sound/aoa/soundbus/i2sbus/pcm.c rates = v.rates; rates 142 sound/aoa/soundbus/i2sbus/pcm.c hw->rates = rates; rates 899 sound/aoa/soundbus/i2sbus/pcm.c || !ci->transfers->rates || !ci->usable) rates 924 sound/aoa/soundbus/i2sbus/pcm.c while (tmp->formats && tmp->rates) { rates 37 sound/aoa/soundbus/soundbus.h unsigned int rates; /* SNDRV_PCM_RATE_* */ rates 415 sound/arm/aaci.c runtime->hw.rates = aacirun->pcm->rates; rates 79 sound/arm/pxa2xx-ac97.c runtime->hw.rates = pxa2xx_ac97_ac97->rates[i]; rates 74 sound/atmel/ac97c.c .rates = (SNDRV_PCM_RATE_CONTINUOUS), rates 488 sound/core/pcm_misc.c if (runtime->hw.rates & (1 << i)) { rates 494 sound/core/pcm_misc.c if (runtime->hw.rates & (1 << i)) { rates 539 sound/core/pcm_misc.c static unsigned int snd_pcm_rate_mask_sanitize(unsigned int rates) rates 541 sound/core/pcm_misc.c if (rates & SNDRV_PCM_RATE_CONTINUOUS) rates 543 sound/core/pcm_misc.c else if (rates & SNDRV_PCM_RATE_KNOT) rates 545 sound/core/pcm_misc.c return rates; rates 592 sound/core/pcm_misc.c unsigned int rates = 0; rates 598 sound/core/pcm_misc.c rates |= 1 << i; rates 601 sound/core/pcm_misc.c if (!rates) rates 602 sound/core/pcm_misc.c rates = SNDRV_PCM_RATE_KNOT; rates 604 sound/core/pcm_misc.c return rates; rates 2191 sound/core/pcm_native.c static const unsigned int rates[] = { rates 2197 sound/core/pcm_native.c .count = ARRAY_SIZE(rates), rates 2198 sound/core/pcm_native.c .list = rates, rates 2207 sound/core/pcm_native.c snd_pcm_known_rates.list, hw->rates); rates 2416 sound/core/pcm_native.c if (!(hw->rates & (SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_CONTINUOUS))) { rates 555 sound/drivers/aloop.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_192000, rates 111 sound/drivers/dummy.c unsigned int rates; rates 188 sound/drivers/dummy.c .rates = SNDRV_PCM_RATE_48000, rates 202 sound/drivers/dummy.c .rates = SNDRV_PCM_RATE_48000|SNDRV_PCM_RATE_96000|SNDRV_PCM_RATE_192000, rates 511 sound/drivers/dummy.c .rates = USE_RATE, rates 927 sound/drivers/dummy.c static int rates[] = { rates 933 sound/drivers/dummy.c if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_CONTINUOUS) rates 935 sound/drivers/dummy.c if (dummy->pcm_hw.rates & SNDRV_PCM_RATE_KNOT) rates 937 sound/drivers/dummy.c for (i = 0; i < ARRAY_SIZE(rates); i++) rates 938 sound/drivers/dummy.c if (dummy->pcm_hw.rates & (1 << i)) rates 939 sound/drivers/dummy.c snd_iprintf(buffer, " %d", rates[i]); rates 961 sound/drivers/dummy.c FIELD_ENTRY(rates, "%#x"), rates 1080 sound/drivers/dummy.c if (m->rates) rates 1081 sound/drivers/dummy.c dummy->pcm_hw.rates = m->rates; rates 367 sound/drivers/ml403-ac97cr.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 386 sound/drivers/ml403-ac97cr.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 298 sound/drivers/pcsp/pcsp_lib.c .rates = SNDRV_PCM_RATE_KNOT, rates 494 sound/drivers/vx/vx_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 884 sound/drivers/vx/vx_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 46 sound/firewire/bebob/bebob_focusrite.c static const unsigned int rates[] = { rates 150 sound/firewire/bebob/bebob_focusrite.c if (id >= ARRAY_SIZE(rates)) rates 153 sound/firewire/bebob/bebob_focusrite.c *rate = rates[id]; rates 162 sound/firewire/bebob/bebob_focusrite.c for (id = 0; id < ARRAY_SIZE(rates); id++) { rates 163 sound/firewire/bebob/bebob_focusrite.c if (rates[id] == rate) rates 166 sound/firewire/bebob/bebob_focusrite.c if (id == ARRAY_SIZE(rates)) rates 78 sound/firewire/bebob/bebob_pcm.c hw->rates = 0; rates 90 sound/firewire/bebob/bebob_pcm.c hw->rates |= snd_pcm_rate_to_rate_bit(snd_bebob_rate_table[i]); rates 22 sound/firewire/dice/dice-pcm.c struct snd_interval rates = { rates 42 sound/firewire/dice/dice-pcm.c rates.min = min(rates.min, rate); rates 43 sound/firewire/dice/dice-pcm.c rates.max = max(rates.max, rate); rates 46 sound/firewire/dice/dice-pcm.c return snd_interval_refine(r, &rates); rates 111 sound/firewire/dice/dice-pcm.c hw->rates |= snd_pcm_rate_to_rate_bit(rate); rates 66 sound/firewire/dice/dice-proc.c static const char *const rates[] = { rates 138 sound/firewire/dice/dice-proc.c str_from_array(rates, ARRAY_SIZE(rates), rates 144 sound/firewire/dice/dice-proc.c str_from_array(rates, ARRAY_SIZE(rates), rates 159 sound/firewire/dice/dice-proc.c snd_iprintf(buffer, " %s", rates[i]); rates 234 sound/firewire/dice/dice-proc.c str_from_array(rates, ARRAY_SIZE(rates), rates 77 sound/firewire/digi00x/digi00x-pcm.c hw->rates = SNDRV_PCM_RATE_44100 | rates 98 sound/firewire/fireface/ff-pcm.c hw->rates |= snd_pcm_rate_to_rate_bit(rate); rates 151 sound/firewire/fireworks/fireworks_pcm.c runtime->hw.rates = efw->supported_sampling_rate, rates 255 sound/firewire/isight.c .rates = SNDRV_PCM_RATE_48000, rates 20 sound/firewire/motu/motu-pcm.c struct snd_interval rates = { rates 34 sound/firewire/motu/motu-pcm.c rates.min = min(rates.min, rate); rates 35 sound/firewire/motu/motu-pcm.c rates.max = max(rates.max, rate); rates 38 sound/firewire/motu/motu-pcm.c return snd_interval_refine(r, &rates); rates 90 sound/firewire/motu/motu-pcm.c hw->rates |= snd_pcm_rate_to_rate_bit(rate); rates 90 sound/firewire/oxfw/oxfw-pcm.c hw->rates = 0; rates 105 sound/firewire/oxfw/oxfw-pcm.c hw->rates |= snd_pcm_rate_to_rate_bit(formation.rate); rates 34 sound/firewire/tascam/tascam-pcm.c hw->rates = SNDRV_PCM_RATE_44100 | rates 828 sound/hda/hdac_device.c u32 rates = 0; rates 831 sound/hda/hdac_device.c rates |= rate_bits[i].alsa_bits; rates 833 sound/hda/hdac_device.c if (rates == 0) { rates 840 sound/hda/hdac_device.c *ratesp = rates; rates 337 sound/isa/ad1816a/ad1816a_lib.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 356 sound/isa/ad1816a/ad1816a_lib.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 517 sound/isa/es1688/es1688_lib.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 535 sound/isa/es1688/es1688_lib.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 833 sound/isa/es18xx.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 853 sound/isa/es18xx.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 643 sound/isa/gus/gus_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 661 sound/isa/gus/gus_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_44100, rates 433 sound/isa/msnd/msnd.c .rates = SNDRV_PCM_RATE_8000_48000, rates 452 sound/isa/msnd/msnd.c .rates = SNDRV_PCM_RATE_8000_48000, rates 154 sound/isa/sb/emu8000_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 469 sound/isa/sb/sb16_main.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_44100, rates 487 sound/isa/sb/sb16_main.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_44100, rates 438 sound/isa/sb/sb8_main.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000 | rates 457 sound/isa/sb/sb8_main.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000 | rates 499 sound/isa/sb/sb8_main.c runtime->hw.rates |= SNDRV_PCM_RATE_8000_48000; rates 58 sound/isa/wss/wss_lib.c static const unsigned int rates[14] = { rates 64 sound/isa/wss/wss_lib.c .count = ARRAY_SIZE(rates), rates 65 sound/isa/wss/wss_lib.c .list = rates, rates 522 sound/isa/wss/wss_lib.c for (i = 0; i < ARRAY_SIZE(rates); i++) rates 523 sound/isa/wss/wss_lib.c if (rate == rates[i]) rates 526 sound/isa/wss/wss_lib.c return freq_bits[ARRAY_SIZE(rates) - 1]; rates 1448 sound/isa/wss/wss_lib.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000, rates 1469 sound/isa/wss/wss_lib.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000, rates 496 sound/mips/hal2.c .rates = SNDRV_PCM_RATE_8000_48000, rates 527 sound/mips/sgio2audio.c .rates = SNDRV_PCM_RATE_8000_48000, rates 257 sound/parisc/harmony.c .rates = (SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000 | rates 278 sound/parisc/harmony.c .rates = (SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000 | rates 1629 sound/pci/ac97/ac97_codec.c ac97->rates[AC97_RATES_SPDIF] = snd_ac97_determine_spdif_rates(ac97); rates 2206 sound/pci/ac97/ac97_codec.c snd_ac97_determine_rates(ac97, AC97_PCM_FRONT_DAC_RATE, 0, &ac97->rates[AC97_RATES_FRONT_DAC]); rates 2207 sound/pci/ac97/ac97_codec.c snd_ac97_determine_rates(ac97, AC97_PCM_LR_ADC_RATE, 0, &ac97->rates[AC97_RATES_ADC]); rates 2209 sound/pci/ac97/ac97_codec.c ac97->rates[AC97_RATES_FRONT_DAC] = SNDRV_PCM_RATE_48000; rates 2211 sound/pci/ac97/ac97_codec.c ac97->rates[AC97_RATES_FRONT_DAC] |= SNDRV_PCM_RATE_96000; rates 2212 sound/pci/ac97/ac97_codec.c ac97->rates[AC97_RATES_ADC] = SNDRV_PCM_RATE_48000; rates 2216 sound/pci/ac97/ac97_codec.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_32000; rates 2219 sound/pci/ac97/ac97_codec.c snd_ac97_determine_rates(ac97, AC97_PCM_MIC_ADC_RATE, 0, &ac97->rates[AC97_RATES_MIC_ADC]); rates 2221 sound/pci/ac97/ac97_codec.c ac97->rates[AC97_RATES_MIC_ADC] = SNDRV_PCM_RATE_48000; rates 2224 sound/pci/ac97/ac97_codec.c snd_ac97_determine_rates(ac97, AC97_PCM_SURR_DAC_RATE, AC97_PCM_FRONT_DAC_RATE, &ac97->rates[AC97_RATES_SURR_DAC]); rates 2228 sound/pci/ac97/ac97_codec.c snd_ac97_determine_rates(ac97, AC97_PCM_LFE_DAC_RATE, AC97_PCM_FRONT_DAC_RATE, &ac97->rates[AC97_RATES_LFE_DAC]); rates 356 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k only */ rates 1301 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] &= ~SNDRV_PCM_RATE_32000; rates 1348 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k only */ rates 3072 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k only */ rates 3075 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = 0; rates 3258 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k only */ rates 3330 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k only */ rates 3588 sound/pci/ac97/ac97_patch.c ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000; rates 396 sound/pci/ac97/ac97_pcm.c unsigned int rates = ~0; rates 411 sound/pci/ac97/ac97_pcm.c rates &= pcm->r[dbl].codec[cidx]->rates[idx]; rates 414 sound/pci/ac97/ac97_pcm.c rates &= ~(SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | rates 416 sound/pci/ac97/ac97_pcm.c return rates; rates 442 sound/pci/ac97/ac97_pcm.c unsigned int rates; rates 478 sound/pci/ac97/ac97_pcm.c rpcm->rates = ~0; rates 483 sound/pci/ac97/ac97_pcm.c rates = ~0; rates 504 sound/pci/ac97/ac97_pcm.c rates = SNDRV_PCM_RATE_48000; rates 506 sound/pci/ac97/ac97_pcm.c rates = get_rates(rpcm, j, tmp, 0); rates 512 sound/pci/ac97/ac97_pcm.c rpcm->rates &= rates; rates 528 sound/pci/ac97/ac97_pcm.c rates = SNDRV_PCM_RATE_96000; rates 530 sound/pci/ac97/ac97_pcm.c rates = get_rates(rpcm, 0, tmp, 1); rates 531 sound/pci/ac97/ac97_pcm.c rpcm->rates |= rates; rates 534 sound/pci/ac97/ac97_pcm.c if (rpcm->rates == ~0) rates 535 sound/pci/ac97/ac97_pcm.c rpcm->rates = 0; /* not used */ rates 278 sound/pci/ad1889.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 295 sound/pci/ad1889.c .rates = SNDRV_PCM_RATE_48000, rates 1431 sound/pci/ali5451/ali5451.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1457 sound/pci/ali5451/ali5451.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1571 sound/pci/ali5451/ali5451.c .rates = (SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000 | rates 1588 sound/pci/ali5451/ali5451.c static const unsigned int rates[] = {8000, 9600, 12000, 16000}; rates 1590 sound/pci/ali5451/ali5451.c .count = ARRAY_SIZE(rates), rates 1591 sound/pci/ali5451/ali5451.c .list = rates, rates 325 sound/pci/als300.c .rates = SNDRV_PCM_RATE_48000, rates 344 sound/pci/als300.c .rates = SNDRV_PCM_RATE_48000, rates 587 sound/pci/als4000.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 606 sound/pci/als4000.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 358 sound/pci/asihpi/asihpi.c unsigned int rates = 0; rates 361 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_CONTINUOUS; rates 362 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_8000_96000; rates 391 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_5512; rates 394 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_8000; rates 397 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_11025; rates 400 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_16000; rates 403 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_22050; rates 406 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_32000; rates 409 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_44100; rates 412 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_48000; rates 415 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_64000; rates 418 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_88200; rates 421 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_96000; rates 424 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_176400; rates 427 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_192000; rates 430 sound/pci/asihpi/asihpi.c rates |= SNDRV_PCM_RATE_KNOT; rates 435 sound/pci/asihpi/asihpi.c pcmhw->rates = rates; rates 1013 sound/pci/atiixp.c .rates = SNDRV_PCM_RATE_48000, rates 1041 sound/pci/atiixp.c runtime->hw.rates = chip->pcms[pcm_type]->rates; rates 1299 sound/pci/atiixp.c if (chip->pcms[ATI_PCM_SPDIF] && ! chip->pcms[ATI_PCM_SPDIF]->rates) rates 1304 sound/pci/atiixp.c chip->pcms[ATI_PCM_SPDIF]->rates = SNDRV_PCM_RATE_48000; rates 829 sound/pci/atiixp_modem.c .rates = (SNDRV_PCM_RATE_8000 | rates 849 sound/pci/atiixp_modem.c static const unsigned int rates[] = { 8000, 9600, 12000, 16000 }; rates 851 sound/pci/atiixp_modem.c .count = ARRAY_SIZE(rates), rates 852 sound/pci/atiixp_modem.c .list = rates, rates 29 sound/pci/au88x0/au88x0_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 50 sound/pci/au88x0/au88x0_pcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 71 sound/pci/au88x0/au88x0_pcm.c .rates = rates 90 sound/pci/au88x0/au88x0_pcm.c .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_CONTINUOUS, // SNDRV_PCM_RATE_48000, rates 156 sound/pci/au88x0/au88x0_pcm.c runtime->hw.rates = SNDRV_PCM_RATE_32000; rates 159 sound/pci/au88x0/au88x0_pcm.c runtime->hw.rates = SNDRV_PCM_RATE_44100; rates 162 sound/pci/au88x0/au88x0_pcm.c runtime->hw.rates = SNDRV_PCM_RATE_48000; rates 47 sound/pci/aw2/aw2-alsa.c .rates = SNDRV_PCM_RATE_44100, rates 64 sound/pci/aw2/aw2-alsa.c .rates = SNDRV_PCM_RATE_44100, rates 1980 sound/pci/azt3328.c .rates = SNDRV_PCM_RATE_5512 | rates 349 sound/pci/bt87x.c .rates = 0, /* set at runtime */ rates 366 sound/pci/bt87x.c .rates = SNDRV_PCM_RATE_KNOT, rates 382 sound/pci/bt87x.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(chip->board.dig_rate); rates 292 sound/pci/ca0106/ca0106_main.c .rates = (SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000 | rates 313 sound/pci/ca0106/ca0106_main.c .rates = (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 317 sound/pci/ca0106/ca0106_main.c .rates = (SNDRV_PCM_RATE_48000 | rates 589 sound/pci/cmipci.c static unsigned int rates[] = { 5512, 11025, 22050, 44100, 8000, 16000, 32000, 48000 }; rates 595 sound/pci/cmipci.c for (i = 0; i < ARRAY_SIZE(rates); i++) { rates 596 sound/pci/cmipci.c if (rates[i] == rate) rates 1473 sound/pci/cmipci.c .rates = SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000, rates 1493 sound/pci/cmipci.c .rates = SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000, rates 1513 sound/pci/cmipci.c .rates = SNDRV_PCM_RATE_5512 | SNDRV_PCM_RATE_8000_48000, rates 1533 sound/pci/cmipci.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 1553 sound/pci/cmipci.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 1574 sound/pci/cmipci.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 1661 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_88200 | rates 1669 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_KNOT; rates 1688 sound/pci/cmipci.c runtime->hw.rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000; rates 1694 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_KNOT; rates 1724 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_88200 | rates 1732 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_KNOT; rates 1754 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_88200 | rates 1776 sound/pci/cmipci.c runtime->hw.rates |= SNDRV_PCM_RATE_88200 | rates 3227 sound/pci/cmipci.c for (val = 0; val < ARRAY_SIZE(rates); val++) rates 3228 sound/pci/cmipci.c snd_cmipci_set_pll(cm, rates[val], val); rates 846 sound/pci/cs4281.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 871 sound/pci/cs4281.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1437 sound/pci/cs46xx/cs46xx_lib.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1458 sound/pci/cs46xx/cs46xx_lib.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 36 sound/pci/cs5535audio/cs5535audio_pcm.c .rates = ( rates 63 sound/pci/cs5535audio/cs5535audio_pcm.c .rates = ( rates 86 sound/pci/cs5535audio/cs5535audio_pcm.c runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_FRONT_DAC]; rates 345 sound/pci/cs5535audio/cs5535audio_pcm.c runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_ADC]; rates 31 sound/pci/ctxfi/ctpcm.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 52 sound/pci/ctxfi/ctpcm.c .rates = (SNDRV_PCM_RATE_48000 | rates 79 sound/pci/ctxfi/ctpcm.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 71 sound/pci/echoaudio/darla20.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 76 sound/pci/echoaudio/darla24.c .rates = SNDRV_PCM_RATE_8000_48000 | rates 89 sound/pci/echoaudio/echo3g.c .rates = SNDRV_PCM_RATE_32000 | rates 288 sound/pci/echoaudio/echoaudio.c pipe->hw.rates &= SNDRV_PCM_RATE_8000_48000; rates 75 sound/pci/echoaudio/gina20.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 96 sound/pci/echoaudio/gina24.c .rates = SNDRV_PCM_RATE_8000_48000 | rates 76 sound/pci/echoaudio/indigo.c .rates = SNDRV_PCM_RATE_32000 | rates 76 sound/pci/echoaudio/indigodj.c .rates = SNDRV_PCM_RATE_32000 | rates 76 sound/pci/echoaudio/indigodjx.c .rates = SNDRV_PCM_RATE_32000 | rates 77 sound/pci/echoaudio/indigoio.c .rates = SNDRV_PCM_RATE_32000 | rates 77 sound/pci/echoaudio/indigoiox.c .rates = SNDRV_PCM_RATE_32000 | rates 85 sound/pci/echoaudio/layla20.c .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_CONTINUOUS, rates 95 sound/pci/echoaudio/layla24.c .rates = SNDRV_PCM_RATE_8000_96000, rates 86 sound/pci/echoaudio/mia.c .rates = SNDRV_PCM_RATE_32000 | rates 105 sound/pci/echoaudio/mona.c .rates = SNDRV_PCM_RATE_8000_48000 | rates 249 sound/pci/emu10k1/emu10k1x.c .rates = SNDRV_PCM_RATE_48000, rates 268 sound/pci/emu10k1/emu10k1x.c .rates = SNDRV_PCM_RATE_48000, rates 559 sound/pci/emu10k1/emupcm.c .rates = SNDRV_PCM_RATE_48000, rates 978 sound/pci/emu10k1/emupcm.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_96000, rates 1002 sound/pci/emu10k1/emupcm.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1022 sound/pci/emu10k1/emupcm.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 1234 sound/pci/emu10k1/emupcm.c runtime->hw.rates = SNDRV_PCM_RATE_8000; rates 1274 sound/pci/emu10k1/emupcm.c runtime->hw.rates = SNDRV_PCM_RATE_48000; rates 1303 sound/pci/emu10k1/emupcm.c runtime->hw.rates = SNDRV_PCM_RATE_44100; rates 1310 sound/pci/emu10k1/emupcm.c runtime->hw.rates = SNDRV_PCM_RATE_48000; rates 1319 sound/pci/emu10k1/emupcm.c runtime->hw.rates = SNDRV_PCM_RATE_96000; rates 1325 sound/pci/emu10k1/emupcm.c runtime->hw.rates = SNDRV_PCM_RATE_192000; rates 1751 sound/pci/emu10k1/emupcm.c .rates = SNDRV_PCM_RATE_48000, rates 119 sound/pci/emu10k1/p16v.c .rates = SNDRV_PCM_RATE_192000 | SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100, rates 139 sound/pci/emu10k1/p16v.c .rates = SNDRV_PCM_RATE_192000 | SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100, rates 1054 sound/pci/ens1370.c .rates = rates 1081 sound/pci/ens1370.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1100 sound/pci/ens1370.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 894 sound/pci/es1938.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 917 sound/pci/es1938.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1287 sound/pci/es1968.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1308 sound/pci/es1968.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 327 sound/pci/fm801.c static const unsigned int rates[] = { rates 334 sound/pci/fm801.c .count = ARRAY_SIZE(rates), rates 335 sound/pci/fm801.c .list = rates, rates 357 sound/pci/fm801.c for (idx = 0; idx < ARRAY_SIZE(rates); idx++) rates 358 sound/pci/fm801.c if (rates[idx] == rate) rates 361 sound/pci/fm801.c return ARRAY_SIZE(rates) - 1; rates 599 sound/pci/fm801.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000, rates 619 sound/pci/fm801.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000, rates 3114 sound/pci/hda/hda_codec.c if (info->nid && (!info->rates || !info->formats)) { rates 3116 sound/pci/hda/hda_codec.c info->rates ? NULL : &info->rates, rates 3687 sound/pci/hda/hda_codec.c mout->analog_rates = hinfo->rates; rates 3691 sound/pci/hda/hda_codec.c runtime->hw.rates = mout->analog_rates; rates 3703 sound/pci/hda/hda_codec.c if ((runtime->hw.rates & mout->spdif_rates) && rates 3705 sound/pci/hda/hda_codec.c runtime->hw.rates &= mout->spdif_rates; rates 568 sound/pci/hda/hda_controller.c .rates = SNDRV_PCM_RATE_48000, rates 607 sound/pci/hda/hda_controller.c runtime->hw.rates = hinfo->rates; rates 656 sound/pci/hda/hda_controller.c snd_BUG_ON(!runtime->hw.rates)) { rates 152 sound/pci/hda/hda_eld.c a->rates = 0; rates 155 sound/pci/hda/hda_eld.c a->rates |= cea_sampling_frequencies[i + 1]; rates 380 sound/pci/hda/hda_eld.c hdmi_print_pcm_rates(a->rates, buf, sizeof(buf)); rates 425 sound/pci/hda/hda_eld.c hdmi_print_pcm_rates(a->rates, buf, sizeof(buf)); rates 426 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "sad%d_rates\t\t[0x%x]%s\n", i, a->rates, buf); rates 540 sound/pci/hda/hda_eld.c e->sad[n].rates = val; rates 558 sound/pci/hda/hda_eld.c u32 rates; rates 567 sound/pci/hda/hda_eld.c rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 574 sound/pci/hda/hda_eld.c rates |= a->rates; rates 592 sound/pci/hda/hda_eld.c hinfo->rates &= rates; rates 5701 sound/pci/hda/hda_generic.c if (spec_str->rates) rates 5702 sound/pci/hda/hda_generic.c str->rates = spec_str->rates; rates 655 sound/pci/hda/hda_local.h int rates; rates 163 sound/pci/hda/hda_proc.c static unsigned int rates[] = { rates 171 sound/pci/hda/hda_proc.c for (i = 0; i < ARRAY_SIZE(rates); i++) rates 173 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " %d", rates[i]); rates 69 sound/pci/hda/patch_hdmi.c u32 rates; rates 1183 sound/pci/hda/patch_hdmi.c hinfo->rates = per_cvt->rates; rates 1191 sound/pci/hda/patch_hdmi.c runtime->hw.rates = hinfo->rates; rates 1265 sound/pci/hda/patch_hdmi.c hinfo->rates = per_cvt->rates; rates 1274 sound/pci/hda/patch_hdmi.c !hinfo->rates || !hinfo->formats) { rates 1287 sound/pci/hda/patch_hdmi.c runtime->hw.rates = hinfo->rates; rates 1805 sound/pci/hda/patch_hdmi.c &per_cvt->rates, rates 3363 sound/pci/hda/patch_hdmi.c .rates = SUPPORTED_RATES, rates 3384 sound/pci/hda/patch_hdmi.c spec->pcm_playback.rates = SUPPORTED_RATES; rates 4041 sound/pci/hda/patch_hdmi.c per_cvt->rates |= SUPPORTED_RATES; rates 2925 sound/pci/hda/patch_realtek.c .rates = SNDRV_PCM_RATE_44100, /* fixed rate */ rates 2929 sound/pci/hda/patch_realtek.c .rates = SNDRV_PCM_RATE_44100, /* fixed rate */ rates 158 sound/pci/hda/patch_si3054.c static const unsigned int rates[] = { 8000, 9600, 16000 }; rates 160 sound/pci/hda/patch_si3054.c .count = ARRAY_SIZE(rates), rates 161 sound/pci/hda/patch_si3054.c .list = rates, rates 175 sound/pci/hda/patch_si3054.c .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_KNOT, rates 719 sound/pci/ice1712/ice1712.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 738 sound/pci/ice1712/ice1712.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 756 sound/pci/ice1712/ice1712.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 801 sound/pci/ice1712/ice1712.c runtime->hw.rates = ice->ac97->rates[AC97_RATES_ADC]; rates 802 sound/pci/ice1712/ice1712.c if (!(runtime->hw.rates & SNDRV_PCM_RATE_8000)) rates 921 sound/pci/ice1712/ice1712.c static const unsigned int rates[] = { 8000, 9600, 11025, 12000, 16000, 22050, 24000, rates 925 sound/pci/ice1712/ice1712.c .count = ARRAY_SIZE(rates), rates 926 sound/pci/ice1712/ice1712.c .list = rates, rates 1123 sound/pci/ice1712/ice1712.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_96000, rates 1142 sound/pci/ice1712/ice1712.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_96000, rates 510 sound/pci/ice1712/ice1724.c static const unsigned int rates[] = { rates 517 sound/pci/ice1712/ice1724.c .count = ARRAY_SIZE(rates) - 2, /* up to 96000 */ rates 518 sound/pci/ice1712/ice1724.c .list = rates, rates 523 sound/pci/ice1712/ice1724.c .count = ARRAY_SIZE(rates) - 5, /* up to 48000 */ rates 524 sound/pci/ice1712/ice1724.c .list = rates, rates 529 sound/pci/ice1712/ice1724.c .count = ARRAY_SIZE(rates), rates 530 sound/pci/ice1712/ice1724.c .list = rates, rates 921 sound/pci/ice1712/ice1724.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_192000, rates 939 sound/pci/ice1712/ice1724.c .rates = (SNDRV_PCM_RATE_32000|SNDRV_PCM_RATE_44100| rates 960 sound/pci/ice1712/ice1724.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_192000, rates 997 sound/pci/ice1712/ice1724.c runtime->hw.rates = SNDRV_PCM_RATE_KNOT; rates 650 sound/pci/ice1712/maya44.c static const unsigned int rates[] = { rates 656 sound/pci/ice1712/maya44.c .count = ARRAY_SIZE(rates), rates 657 sound/pci/ice1712/maya44.c .list = rates, rates 1070 sound/pci/intel8x0.c .rates = SNDRV_PCM_RATE_48000, rates 1121 sound/pci/intel8x0.c runtime->hw.rates = ichdev->pcm->rates; rates 2307 sound/pci/intel8x0.c chip->ichd[chip->spdif_idx].pcm->rates = SNDRV_PCM_RATE_48000; rates 607 sound/pci/intel8x0m.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_KNOT, rates 623 sound/pci/intel8x0m.c static const unsigned int rates[] = { 8000, 9600, 12000, 16000 }; rates 625 sound/pci/intel8x0m.c .count = ARRAY_SIZE(rates), rates 626 sound/pci/intel8x0m.c .list = rates, rates 1227 sound/pci/korg1212/korg1212.c .rates = (SNDRV_PCM_RATE_44100 | rates 1248 sound/pci/korg1212/korg1212.c .rates = (SNDRV_PCM_RATE_44100 | rates 197 sound/pci/lola/lola_pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 81 sound/pci/lx6464es/lx6464es.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 1678 sound/pci/maestro3.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1699 sound/pci/maestro3.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 675 sound/pci/mixart/mixart.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 696 sound/pci/mixart/mixart.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 793 sound/pci/nm256/nm256.c .rates = SNDRV_PCM_RATE_KNOT/*24k*/ | SNDRV_PCM_RATE_8000_48000, rates 812 sound/pci/nm256/nm256.c .rates = SNDRV_PCM_RATE_KNOT/*24k*/ | SNDRV_PCM_RATE_8000_48000, rates 37 sound/pci/oxygen/oxygen_pcm.c .rates = SNDRV_PCM_RATE_32000 | rates 65 sound/pci/oxygen/oxygen_pcm.c .rates = SNDRV_PCM_RATE_32000 | rates 92 sound/pci/oxygen/oxygen_pcm.c .rates = SNDRV_PCM_RATE_48000, rates 136 sound/pci/oxygen/oxygen_pcm.c runtime->hw.rates &= ~(SNDRV_PCM_RATE_32000 | rates 72 sound/pci/oxygen/xonar_hdmi.c hardware->rates = SNDRV_PCM_RATE_44100 | rates 350 sound/pci/oxygen/xonar_wm87x6.c hardware->rates = SNDRV_PCM_RATE_32000 | rates 988 sound/pci/pcxhr/pcxhr.c .rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 1310 sound/pci/riptide/riptide.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000, rates 1329 sound/pci/riptide/riptide.c .rates = SNDRV_PCM_RATE_KNOT | SNDRV_PCM_RATE_8000_48000, rates 312 sound/pci/rme32.c .rates = (SNDRV_PCM_RATE_32000 | rates 339 sound/pci/rme32.c .rates = (SNDRV_PCM_RATE_44100 | rates 365 sound/pci/rme32.c .rates = (SNDRV_PCM_RATE_32000 | rates 392 sound/pci/rme32.c .rates = (SNDRV_PCM_RATE_44100 | rates 872 sound/pci/rme32.c runtime->hw.rates |= SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000; rates 878 sound/pci/rme32.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 913 sound/pci/rme32.c runtime->hw.rates |= SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000; rates 920 sound/pci/rme32.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 956 sound/pci/rme32.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 980 sound/pci/rme32.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 383 sound/pci/rme96.c .rates = (SNDRV_PCM_RATE_32000 | rates 414 sound/pci/rme96.c .rates = (SNDRV_PCM_RATE_32000 | rates 445 sound/pci/rme96.c .rates = (SNDRV_PCM_RATE_44100 | rates 472 sound/pci/rme96.c .rates = (SNDRV_PCM_RATE_44100 | rates 1203 sound/pci/rme96.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 1231 sound/pci/rme96.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 1272 sound/pci/rme96.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 1298 sound/pci/rme96.c runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); rates 4207 sound/pci/rme9652/hdsp.c .rates = (SNDRV_PCM_RATE_32000 | rates 4236 sound/pci/rme9652/hdsp.c .rates = (SNDRV_PCM_RATE_32000 | rates 4461 sound/pci/rme9652/hdsp.c runtime->hw.rates = SNDRV_PCM_RATE_KNOT; rates 4538 sound/pci/rme9652/hdsp.c runtime->hw.rates = SNDRV_PCM_RATE_KNOT; rates 5829 sound/pci/rme9652/hdspm.c .rates = (SNDRV_PCM_RATE_32000 | rates 5854 sound/pci/rme9652/hdspm.c .rates = (SNDRV_PCM_RATE_32000 | rates 6104 sound/pci/rme9652/hdspm.c runtime->hw.rates |= SNDRV_PCM_RATE_KNOT; rates 2177 sound/pci/rme9652/rme9652.c .rates = (SNDRV_PCM_RATE_44100 | rates 2200 sound/pci/rme9652/rme9652.c .rates = (SNDRV_PCM_RATE_44100 | rates 159 sound/pci/sis7019.c .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_CONTINUOUS, rates 180 sound/pci/sis7019.c .rates = SNDRV_PCM_RATE_48000, rates 683 sound/pci/sis7019.c runtime->hw.rates = sis->ac97[0]->rates[AC97_RATES_ADC]; rates 771 sound/pci/sonicvibes.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 790 sound/pci/sonicvibes.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1724 sound/pci/trident/trident_main.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1749 sound/pci/trident/trident_main.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 1773 sound/pci/trident/trident_main.c .rates = SNDRV_PCM_RATE_48000, rates 1797 sound/pci/trident/trident_main.c .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 1818 sound/pci/trident/trident_main.c .rates = SNDRV_PCM_RATE_48000, rates 370 sound/pci/via82xx.c struct via_rate_lock rates[2]; /* playback and capture */ rates 1034 sound/pci/via82xx.c if ((rate_changed = via_lock_rate(&chip->rates[0], ac97_rate)) < 0) rates 1075 sound/pci/via82xx.c if (via_lock_rate(&chip->rates[0], runtime->rate) < 0) rates 1122 sound/pci/via82xx.c if (via_lock_rate(&chip->rates[1], runtime->rate) < 0) rates 1149 sound/pci/via82xx.c .rates = SNDRV_PCM_RATE_48000, rates 1177 sound/pci/via82xx.c ratep = &chip->rates[viadev->direction]; rates 1182 sound/pci/via82xx.c runtime->hw.rates = chip->ac97->rates[AC97_RATES_SPDIF]; rates 1186 sound/pci/via82xx.c runtime->hw.rates = SNDRV_PCM_RATE_48000; rates 1190 sound/pci/via82xx.c runtime->hw.rates = (SNDRV_PCM_RATE_CONTINUOUS | rates 1197 sound/pci/via82xx.c runtime->hw.rates = chip->ac97->rates[idx]; rates 1201 sound/pci/via82xx.c runtime->hw.rates = SNDRV_PCM_RATE_KNOT; rates 1317 sound/pci/via82xx.c ratep = &chip->rates[viadev->direction]; rates 2371 sound/pci/via82xx.c spin_lock_init(&chip->rates[0].lock); rates 2372 sound/pci/via82xx.c spin_lock_init(&chip->rates[1].lock); rates 713 sound/pci/via82xx_modem.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_KNOT, rates 735 sound/pci/via82xx_modem.c static const unsigned int rates[] = { 8000, 9600, 12000, 16000 }; rates 737 sound/pci/via82xx_modem.c .count = ARRAY_SIZE(rates), rates 738 sound/pci/via82xx_modem.c .list = rates, rates 843 sound/pci/ymfpci/ymfpci_main.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 865 sound/pci/ymfpci/ymfpci_main.c .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, rates 191 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c .rates = SNDRV_PCM_RATE_32000 | rates 506 sound/ppc/pmac.c .rates = SNDRV_PCM_RATE_8000_44100, rates 525 sound/ppc/pmac.c .rates = SNDRV_PCM_RATE_8000_44100, rates 578 sound/ppc/pmac.c runtime->hw.rates = 0; rates 581 sound/ppc/pmac.c runtime->hw.rates |= rates 85 sound/ppc/snd_ps3.c .rates = (SNDRV_PCM_RATE_44100 | rates 203 sound/sh/aica.c .rates = SNDRV_PCM_RATE_8000_48000, rates 87 sound/sh/sh_dac_audio.c .rates = SNDRV_PCM_RATE_8000, rates 226 sound/soc/adi/axi-i2s.c axi_i2s_dai.playback.rates = SNDRV_PCM_RATE_KNOT; rates 238 sound/soc/adi/axi-i2s.c axi_i2s_dai.capture.rates = SNDRV_PCM_RATE_KNOT; rates 162 sound/soc/adi/axi-spdif.c .rates = SNDRV_PCM_RATE_KNOT, rates 125 sound/soc/amd/acp-da7219-max98357a.c static const unsigned int rates[] = { rates 130 sound/soc/amd/acp-da7219-max98357a.c .count = ARRAY_SIZE(rates), rates 131 sound/soc/amd/acp-da7219-max98357a.c .list = rates, rates 51 sound/soc/amd/acp-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_96000, rates 70 sound/soc/amd/acp-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_48000, rates 89 sound/soc/amd/acp-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_96000, rates 108 sound/soc/amd/acp-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_48000, rates 49 sound/soc/amd/raven/acp3x-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_96000, rates 69 sound/soc/amd/raven/acp3x-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_48000, rates 587 sound/soc/amd/raven/acp3x-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_96000, rates 599 sound/soc/amd/raven/acp3x-pcm-dma.c .rates = SNDRV_PCM_RATE_8000_48000, rates 103 sound/soc/atmel/atmel-classd.c .rates = ATMEL_CLASSD_RATES, rates 147 sound/soc/atmel/atmel-classd.c .rates = ATMEL_CLASSD_RATES, rates 488 sound/soc/atmel/atmel-classd.c .rates = ATMEL_CLASSD_RATES, rates 534 sound/soc/atmel/atmel-i2s.c .rates = ATMEL_I2S_RATES, rates 540 sound/soc/atmel/atmel-i2s.c .rates = ATMEL_I2S_RATES, rates 168 sound/soc/atmel/atmel-pdmic.c .rates = SNDRV_PCM_RATE_KNOT, rates 499 sound/soc/atmel/atmel-pdmic.c .rates = SNDRV_PCM_RATE_KNOT, rates 847 sound/soc/atmel/atmel_ssc_dai.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 854 sound/soc/atmel/atmel_ssc_dai.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 851 sound/soc/atmel/mchp-i2s-mcc.c .rates = MCHP_I2SMCC_RATES, rates 858 sound/soc/atmel/mchp-i2s-mcc.c .rates = MCHP_I2SMCC_RATES, rates 212 sound/soc/au1x/ac97c.c .rates = AC97_RATES, rates 218 sound/soc/au1x/ac97c.c .rates = AC97_RATES, rates 215 sound/soc/au1x/i2sc.c .rates = AU1XI2SC_RATES, rates 221 sound/soc/au1x/i2sc.c .rates = AU1XI2SC_RATES, rates 345 sound/soc/au1x/psc-ac97.c .rates = AC97_RATES, rates 351 sound/soc/au1x/psc-ac97.c .rates = AC97_RATES, rates 274 sound/soc/au1x/psc-i2s.c .rates = AU1XPSC_I2S_RATES, rates 280 sound/soc/au1x/psc-i2s.c .rates = AU1XPSC_I2S_RATES, rates 768 sound/soc/bcm/bcm2835-i2s.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 778 sound/soc/bcm/bcm2835-i2s.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1140 sound/soc/bcm/cygnus-ssp.c .rates = SNDRV_PCM_RATE_KNOT, \ rates 1147 sound/soc/bcm/cygnus-ssp.c .rates = SNDRV_PCM_RATE_KNOT, \ rates 1167 sound/soc/bcm/cygnus-ssp.c .rates = SNDRV_PCM_RATE_KNOT, rates 345 sound/soc/cirrus/ep93xx-ac97.c .rates = SNDRV_PCM_RATE_8000_48000, rates 352 sound/soc/cirrus/ep93xx-ac97.c .rates = SNDRV_PCM_RATE_8000_48000, rates 414 sound/soc/cirrus/ep93xx-i2s.c .rates = SNDRV_PCM_RATE_8000_192000, rates 420 sound/soc/cirrus/ep93xx-i2s.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1164 sound/soc/codecs/88pm860x-codec.c .rates = PM860X_RATES, rates 1172 sound/soc/codecs/88pm860x-codec.c .rates = PM860X_RATES, rates 1185 sound/soc/codecs/88pm860x-codec.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1193 sound/soc/codecs/88pm860x-codec.c .rates = SNDRV_PCM_RATE_8000_48000, rates 2383 sound/soc/codecs/ab8500-codec.c .rates = AB8500_SUPPORTED_RATE, rates 2396 sound/soc/codecs/ab8500-codec.c .rates = AB8500_SUPPORTED_RATE, rates 53 sound/soc/codecs/ac97.c .rates = SNDRV_PCM_RATE_KNOT, rates 59 sound/soc/codecs/ac97.c .rates = SNDRV_PCM_RATE_KNOT, rates 208 sound/soc/codecs/ad1836.c .rates = SNDRV_PCM_RATE_48000, \ rates 216 sound/soc/codecs/ad1836.c .rates = SNDRV_PCM_RATE_48000, \ rates 387 sound/soc/codecs/ad193x.c .rates = SNDRV_PCM_RATE_48000, rates 395 sound/soc/codecs/ad193x.c .rates = SNDRV_PCM_RATE_48000, rates 409 sound/soc/codecs/ad193x.c .rates = SNDRV_PCM_RATE_48000, rates 191 sound/soc/codecs/ad1980.c .rates = SNDRV_PCM_RATE_48000, rates 197 sound/soc/codecs/ad1980.c .rates = SNDRV_PCM_RATE_48000, rates 43 sound/soc/codecs/ad73311.c .rates = SNDRV_PCM_RATE_8000, rates 49 sound/soc/codecs/ad73311.c .rates = SNDRV_PCM_RATE_8000, rates 1197 sound/soc/codecs/adau1373.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1204 sound/soc/codecs/adau1373.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1217 sound/soc/codecs/adau1373.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1224 sound/soc/codecs/adau1373.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1237 sound/soc/codecs/adau1373.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1244 sound/soc/codecs/adau1373.c .rates = SNDRV_PCM_RATE_8000_48000, rates 644 sound/soc/codecs/adau1701.c .rates = ADAU1701_RATES, rates 651 sound/soc/codecs/adau1701.c .rates = ADAU1701_RATES, rates 742 sound/soc/codecs/adau1761.c .rates = SNDRV_PCM_RATE_8000_96000, rates 749 sound/soc/codecs/adau1761.c .rates = SNDRV_PCM_RATE_8000_96000, rates 761 sound/soc/codecs/adau1761.c .rates = SNDRV_PCM_RATE_8000_96000, rates 768 sound/soc/codecs/adau1761.c .rates = SNDRV_PCM_RATE_8000_96000, rates 454 sound/soc/codecs/adau1781.c .rates = SNDRV_PCM_RATE_8000_96000, rates 461 sound/soc/codecs/adau1781.c .rates = SNDRV_PCM_RATE_8000_96000, rates 758 sound/soc/codecs/adau1977.c .rates = SNDRV_PCM_RATE_KNOT, rates 77 sound/soc/codecs/adau7002.c .rates = SNDRV_PCM_RATE_8000_96000, rates 769 sound/soc/codecs/adav80x.c .rates = ADAV80X_PLAYBACK_RATES, rates 776 sound/soc/codecs/adav80x.c .rates = ADAV80X_CAPTURE_RATES, rates 788 sound/soc/codecs/adav80x.c .rates = ADAV80X_PLAYBACK_RATES, rates 795 sound/soc/codecs/adav80x.c .rates = ADAV80X_CAPTURE_RATES, rates 53 sound/soc/codecs/ads117x.c .rates = ADS117X_RATES, rates 162 sound/soc/codecs/ak4104.c .rates = SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | rates 253 sound/soc/codecs/ak4118.c .rates = SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | rates 508 sound/soc/codecs/ak4458.c .rates = SNDRV_PCM_RATE_KNOT, rates 520 sound/soc/codecs/ak4458.c .rates = SNDRV_PCM_RATE_KNOT, rates 361 sound/soc/codecs/ak4535.c .rates = AK4535_RATES, rates 367 sound/soc/codecs/ak4535.c .rates = AK4535_RATES, rates 49 sound/soc/codecs/ak4554.c .rates = SNDRV_PCM_RATE_8000_48000, rates 56 sound/soc/codecs/ak4554.c .rates = SNDRV_PCM_RATE_8000_48000, rates 567 sound/soc/codecs/ak4613.c .rates = AK4613_PCM_RATE, rates 574 sound/soc/codecs/ak4613.c .rates = AK4613_PCM_RATE, rates 489 sound/soc/codecs/ak4641.c .rates = AK4641_RATES, rates 496 sound/soc/codecs/ak4641.c .rates = AK4641_RATES, rates 509 sound/soc/codecs/ak4641.c .rates = AK4641_RATES_BT, rates 516 sound/soc/codecs/ak4641.c .rates = AK4641_RATES_BT, rates 510 sound/soc/codecs/ak4642.c .rates = SNDRV_PCM_RATE_8000_48000, rates 516 sound/soc/codecs/ak4642.c .rates = SNDRV_PCM_RATE_8000_48000, rates 597 sound/soc/codecs/ak4671.c .rates = AK4671_RATES, rates 603 sound/soc/codecs/ak4671.c .rates = AK4671_RATES, rates 145 sound/soc/codecs/ak5386.c .rates = SNDRV_PCM_RATE_8000_192000, rates 256 sound/soc/codecs/ak5558.c .rates = SNDRV_PCM_RATE_KNOT, rates 846 sound/soc/codecs/alc5623.c .rates = SNDRV_PCM_RATE_8000_48000, rates 854 sound/soc/codecs/alc5623.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1022 sound/soc/codecs/alc5632.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1030 sound/soc/codecs/alc5632.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1280 sound/soc/codecs/arizona.c unsigned int *rates; rates 1297 sound/soc/codecs/arizona.c rates = arizona_opclk_ref_44k1_rates; rates 1299 sound/soc/codecs/arizona.c rates = arizona_opclk_ref_48k_rates; rates 1302 sound/soc/codecs/arizona.c rates[ref] <= refclk; ref++) { rates 1304 sound/soc/codecs/arizona.c while (rates[ref] / div >= freq && div < 32) { rates 1305 sound/soc/codecs/arizona.c if (rates[ref] / div == freq) { rates 1782 sound/soc/codecs/arizona.c const int *rates; rates 1793 sound/soc/codecs/arizona.c rates = &arizona_44k1_bclk_rates[0]; rates 1795 sound/soc/codecs/arizona.c rates = &arizona_48k_bclk_rates[0]; rates 1825 sound/soc/codecs/arizona.c if (rates[i] >= bclk_target && rates 1826 sound/soc/codecs/arizona.c rates[i] % params_rate(params) == 0) { rates 1837 sound/soc/codecs/arizona.c lrclk = rates[bclk] / params_rate(params); rates 1840 sound/soc/codecs/arizona.c rates[bclk], rates[bclk] / lrclk); rates 174 sound/soc/codecs/bd28623.c .rates = SNDRV_PCM_RATE_48000 | rates 30 sound/soc/codecs/bt-sco.c .rates = SNDRV_PCM_RATE_8000, rates 37 sound/soc/codecs/bt-sco.c .rates = SNDRV_PCM_RATE_8000, rates 47 sound/soc/codecs/bt-sco.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, rates 54 sound/soc/codecs/bt-sco.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, rates 1405 sound/soc/codecs/cpcap.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1417 sound/soc/codecs/cpcap.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1424 sound/soc/codecs/cpcap.c .rates = SNDRV_PCM_RATE_8000_48000, rates 100 sound/soc/codecs/cq93vc.c .rates = CQ93VC_RATES, rates 106 sound/soc/codecs/cq93vc.c .rates = CQ93VC_RATES, rates 217 sound/soc/codecs/cros_ec_codec.c .rates = SNDRV_PCM_RATE_48000, rates 193 sound/soc/codecs/cs35l32.c .rates = CS35L32_RATES, rates 683 sound/soc/codecs/cs35l33.c .rates = CS35L33_RATES, rates 690 sound/soc/codecs/cs35l33.c .rates = CS35L33_RATES, rates 658 sound/soc/codecs/cs35l34.c .rates = CS35L34_RATES, rates 665 sound/soc/codecs/cs35l34.c .rates = CS35L34_RATES, rates 684 sound/soc/codecs/cs35l35.c .rates = SNDRV_PCM_RATE_KNOT, rates 691 sound/soc/codecs/cs35l35.c .rates = SNDRV_PCM_RATE_KNOT, rates 704 sound/soc/codecs/cs35l35.c .rates = SNDRV_PCM_RATE_KNOT, rates 987 sound/soc/codecs/cs35l36.c .rates = SNDRV_PCM_RATE_KNOT, rates 994 sound/soc/codecs/cs35l36.c .rates = SNDRV_PCM_RATE_KNOT, rates 513 sound/soc/codecs/cs4265.c .rates = CS4265_RATES, rates 520 sound/soc/codecs/cs4265.c .rates = CS4265_RATES, rates 531 sound/soc/codecs/cs4265.c .rates = CS4265_RATES, rates 538 sound/soc/codecs/cs4265.c .rates = CS4265_RATES, rates 480 sound/soc/codecs/cs4270.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 489 sound/soc/codecs/cs4270.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 473 sound/soc/codecs/cs4271.c .rates = CS4271_PCM_RATES, rates 480 sound/soc/codecs/cs4271.c .rates = CS4271_PCM_RATES, rates 921 sound/soc/codecs/cs42l42.c .rates = SNDRV_PCM_RATE_8000_192000, rates 928 sound/soc/codecs/cs42l42.c .rates = SNDRV_PCM_RATE_8000_192000, rates 519 sound/soc/codecs/cs42l51.c .rates = SNDRV_PCM_RATE_8000_96000, rates 526 sound/soc/codecs/cs42l51.c .rates = SNDRV_PCM_RATE_8000_96000, rates 879 sound/soc/codecs/cs42l52.c .rates = CS42L52_RATES, rates 886 sound/soc/codecs/cs42l52.c .rates = CS42L52_RATES, rates 943 sound/soc/codecs/cs42l56.c .rates = CS42L56_RATES, rates 950 sound/soc/codecs/cs42l56.c .rates = CS42L56_RATES, rates 1173 sound/soc/codecs/cs42l73.c .rates = SNDRV_PCM_RATE_KNOT, rates 1180 sound/soc/codecs/cs42l73.c .rates = SNDRV_PCM_RATE_KNOT, rates 1193 sound/soc/codecs/cs42l73.c .rates = SNDRV_PCM_RATE_KNOT, rates 1200 sound/soc/codecs/cs42l73.c .rates = SNDRV_PCM_RATE_KNOT, rates 1213 sound/soc/codecs/cs42l73.c .rates = SNDRV_PCM_RATE_KNOT, rates 1220 sound/soc/codecs/cs42l73.c .rates = SNDRV_PCM_RATE_KNOT, rates 391 sound/soc/codecs/cs42xx8.c .rates = SNDRV_PCM_RATE_8000_192000, rates 397 sound/soc/codecs/cs42xx8.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1580 sound/soc/codecs/cs43130.c .rates = SNDRV_PCM_RATE_KNOT, rates 1593 sound/soc/codecs/cs43130.c .rates = SNDRV_PCM_RATE_KNOT, rates 1606 sound/soc/codecs/cs43130.c .rates = SNDRV_PCM_RATE_KNOT, rates 1619 sound/soc/codecs/cs43130.c .rates = SNDRV_PCM_RATE_KNOT, rates 186 sound/soc/codecs/cs4341.c .rates = SNDRV_PCM_RATE_8000_96000, rates 248 sound/soc/codecs/cs4349.c .rates = CS4349_PCM_RATES, rates 1145 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1152 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1167 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1174 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1189 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1196 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1209 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 1220 sound/soc/codecs/cs47l15.c .rates = MADERA_RATES, rates 969 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 976 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 991 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 998 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1013 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1020 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1033 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1044 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1054 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1065 sound/soc/codecs/cs47l24.c .rates = CS47L24_RATES, rates 1362 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1369 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1384 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1391 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1406 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1413 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1427 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1434 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1446 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1453 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1464 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1475 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1485 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 1496 sound/soc/codecs/cs47l35.c .rates = MADERA_RATES, rates 2260 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2267 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2282 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2289 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2304 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2311 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2326 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2333 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2347 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2354 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2366 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2373 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2385 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2392 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2403 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2414 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2424 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2435 sound/soc/codecs/cs47l85.c .rates = MADERA_RATES, rates 2171 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2178 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2193 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2200 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2215 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2222 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2237 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2244 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2258 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2265 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2277 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2284 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2296 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2303 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2314 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2325 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2335 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 2346 sound/soc/codecs/cs47l90.c .rates = MADERA_RATES, rates 1644 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1651 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1666 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1673 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1688 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1695 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1709 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1716 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1728 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1735 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1747 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1754 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1765 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 1776 sound/soc/codecs/cs47l92.c .rates = MADERA_RATES, rates 868 sound/soc/codecs/cs53l30.c .rates = CS53L30_RATES, rates 310 sound/soc/codecs/cx20442.c .rates = SNDRV_PCM_RATE_8000, rates 317 sound/soc/codecs/cx20442.c .rates = SNDRV_PCM_RATE_8000, rates 1564 sound/soc/codecs/cx2072x.c .rates = CX2072X_RATES_DSP, rates 1571 sound/soc/codecs/cx2072x.c .rates = CX2072X_RATES_DSP, rates 1585 sound/soc/codecs/cx2072x.c .rates = CX2072X_RATES_DSP, rates 1597 sound/soc/codecs/cx2072x.c .rates = CX2072X_RATES_DSP, rates 1047 sound/soc/codecs/da7210.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1055 sound/soc/codecs/da7210.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1513 sound/soc/codecs/da7213.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1521 sound/soc/codecs/da7213.c .rates = SNDRV_PCM_RATE_8000_96000, rates 2186 sound/soc/codecs/da7218.c .rates = SNDRV_PCM_RATE_8000_96000, rates 2193 sound/soc/codecs/da7218.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1684 sound/soc/codecs/da7219.c .rates = DA7219_RATES, rates 1691 sound/soc/codecs/da7219.c .rates = DA7219_RATES, rates 1211 sound/soc/codecs/da732x.c .rates = DA732X_RATES, rates 1218 sound/soc/codecs/da732x.c .rates = DA732X_RATES, rates 1231 sound/soc/codecs/da732x.c .rates = DA732X_RATES, rates 1238 sound/soc/codecs/da732x.c .rates = DA732X_RATES, rates 1337 sound/soc/codecs/da9055.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1345 sound/soc/codecs/da9055.c .rates = SNDRV_PCM_RATE_8000_96000, rates 82 sound/soc/codecs/dmic.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 145 sound/soc/codecs/es7134.c .rates = (SNDRV_PCM_RATE_8000_48000 | rates 225 sound/soc/codecs/es7134.c .rates = (SNDRV_PCM_RATE_8000_48000 | rates 167 sound/soc/codecs/es7241.c .rates = SNDRV_PCM_RATE_8000_192000, rates 534 sound/soc/codecs/es8316.c .rates = SNDRV_PCM_RATE_8000_48000, rates 541 sound/soc/codecs/es8316.c .rates = SNDRV_PCM_RATE_8000_48000, rates 706 sound/soc/codecs/es8328.c .rates = ES8328_RATES, rates 713 sound/soc/codecs/es8328.c .rates = ES8328_RATES, rates 38 sound/soc/codecs/gtm601.c .rates = SNDRV_PCM_RATE_8000, rates 45 sound/soc/codecs/gtm601.c .rates = SNDRV_PCM_RATE_8000, rates 70 sound/soc/codecs/hdac_hda.c .rates = SNDRV_PCM_RATE_8000_192000, rates 78 sound/soc/codecs/hdac_hda.c .rates = SNDRV_PCM_RATE_8000_192000, rates 91 sound/soc/codecs/hdac_hda.c .rates = SNDRV_PCM_RATE_8000_192000, rates 99 sound/soc/codecs/hdac_hda.c .rates = SNDRV_PCM_RATE_8000_192000, rates 112 sound/soc/codecs/hdac_hda.c .rates = SNDRV_PCM_RATE_8000_192000, rates 120 sound/soc/codecs/hdac_hda.c .rates = SNDRV_PCM_RATE_8000_192000, rates 49 sound/soc/codecs/hdac_hdmi.c u32 rates; rates 672 sound/soc/codecs/hdac_hdmi.c &cvt->params.rates, rates 1442 sound/soc/codecs/hdac_hdmi.c u32 rates, bps; rates 1455 sound/soc/codecs/hdac_hdmi.c &rates, &formats, &bps); rates 1460 sound/soc/codecs/hdac_hdmi.c rates &= ~(SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_88200 | rates 1462 sound/soc/codecs/hdac_hdmi.c if (!rates) rates 1483 sound/soc/codecs/hdac_hdmi.c hdmi_dais[i].playback.rates = rates; rates 742 sound/soc/codecs/hdmi-codec.c .rates = HDMI_RATES, rates 759 sound/soc/codecs/hdmi-codec.c .rates = HDMI_RATES, rates 34 sound/soc/codecs/ics43432.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 326 sound/soc/codecs/inno_rk3036.c .rates = RK3036_CODEC_RATES, rates 1045 sound/soc/codecs/isabelle.c .rates = ISABELLE_RATES, rates 1056 sound/soc/codecs/isabelle.c .rates = ISABELLE_RATES, rates 1067 sound/soc/codecs/isabelle.c .rates = ISABELLE_RATES, rates 1078 sound/soc/codecs/isabelle.c .rates = ISABELLE_RATES, rates 444 sound/soc/codecs/jz4725b.c .rates = SNDRV_PCM_RATE_8000_96000, rates 451 sound/soc/codecs/jz4725b.c .rates = SNDRV_PCM_RATE_8000_96000, rates 206 sound/soc/codecs/jz4740.c .rates = SNDRV_PCM_RATE_8000_48000, rates 213 sound/soc/codecs/jz4740.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1330 sound/soc/codecs/lm49453.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1337 sound/soc/codecs/lm49453.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1349 sound/soc/codecs/lm49453.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1360 sound/soc/codecs/lm49453.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1371 sound/soc/codecs/lm49453.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1382 sound/soc/codecs/lm49453.c .rates = SNDRV_PCM_RATE_8000_192000, rates 158 sound/soc/codecs/lochnagar-sc.c .rates = SNDRV_PCM_RATE_KNOT, rates 165 sound/soc/codecs/lochnagar-sc.c .rates = SNDRV_PCM_RATE_KNOT, rates 178 sound/soc/codecs/lochnagar-sc.c .rates = SNDRV_PCM_RATE_KNOT, rates 185 sound/soc/codecs/lochnagar-sc.c .rates = SNDRV_PCM_RATE_KNOT, rates 198 sound/soc/codecs/lochnagar-sc.c .rates = SNDRV_PCM_RATE_KNOT, rates 205 sound/soc/codecs/lochnagar-sc.c .rates = SNDRV_PCM_RATE_KNOT, rates 2463 sound/soc/codecs/madera.c const unsigned int *rates; rates 2483 sound/soc/codecs/madera.c rates = madera_opclk_ref_44k1_rates; rates 2485 sound/soc/codecs/madera.c rates = madera_opclk_ref_48k_rates; rates 2488 sound/soc/codecs/madera.c if (rates[ref] > refclk) rates 2492 sound/soc/codecs/madera.c while ((rates[ref] / div >= freq) && (div <= 30)) { rates 2493 sound/soc/codecs/madera.c if (rates[ref] / div == freq) { rates 3072 sound/soc/codecs/madera.c const int *rates; rates 3086 sound/soc/codecs/madera.c rates = &madera_44k1_bclk_rates[0]; rates 3089 sound/soc/codecs/madera.c rates = &madera_48k_bclk_rates[0]; rates 3124 sound/soc/codecs/madera.c if (rates[i] >= bclk_target && rates[i] % rate == 0) { rates 3135 sound/soc/codecs/madera.c lrclk = rates[bclk] / rate; rates 3138 sound/soc/codecs/madera.c rates[bclk], rates[bclk] / lrclk); rates 1374 sound/soc/codecs/max98088.c .rates = MAX98088_RATES, rates 1381 sound/soc/codecs/max98088.c .rates = MAX98088_RATES, rates 1392 sound/soc/codecs/max98088.c .rates = MAX98088_RATES, rates 2345 sound/soc/codecs/max98090.c .rates = MAX98090_RATES, rates 2352 sound/soc/codecs/max98090.c .rates = MAX98090_RATES, rates 1445 sound/soc/codecs/max98095.c .rates = MAX98095_RATES, rates 1452 sound/soc/codecs/max98095.c .rates = MAX98095_RATES, rates 1463 sound/soc/codecs/max98095.c .rates = MAX98095_RATES, rates 1474 sound/soc/codecs/max98095.c .rates = MAX98095_RATES, rates 82 sound/soc/codecs/max98357a.c .rates = SNDRV_PCM_RATE_8000 | rates 337 sound/soc/codecs/max98371.c .rates = SNDRV_PCM_RATE_8000_48000, rates 720 sound/soc/codecs/max98373.c .rates = MAX98373_RATES, rates 727 sound/soc/codecs/max98373.c .rates = MAX98373_RATES, rates 268 sound/soc/codecs/max9850.c .rates = MAX9850_RATES, rates 273 sound/soc/codecs/max98504.c .rates = MAX98504_PDM_RATES, rates 280 sound/soc/codecs/max98504.c .rates = MAX98504_PDM_RATES, rates 473 sound/soc/codecs/max9860.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 484 sound/soc/codecs/max9860.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 369 sound/soc/codecs/max9867.c .rates = SNDRV_PCM_RATE_8000_48000, rates 376 sound/soc/codecs/max9867.c .rates = SNDRV_PCM_RATE_8000_48000, rates 503 sound/soc/codecs/max98925.c .rates = SNDRV_PCM_RATE_8000_48000, rates 510 sound/soc/codecs/max98925.c .rates = SNDRV_PCM_RATE_8000_48000, rates 463 sound/soc/codecs/max98926.c .rates = SNDRV_PCM_RATE_8000_48000, rates 470 sound/soc/codecs/max98926.c .rates = SNDRV_PCM_RATE_8000_48000, rates 662 sound/soc/codecs/max98927.c .rates = MAX98927_RATES, rates 669 sound/soc/codecs/max98927.c .rates = MAX98927_RATES, rates 671 sound/soc/codecs/mc13783.c .rates = SNDRV_PCM_RATE_8000_96000, rates 682 sound/soc/codecs/mc13783.c .rates = MC13783_RATES_RECORD, rates 704 sound/soc/codecs/mc13783.c .rates = SNDRV_PCM_RATE_8000_96000, rates 711 sound/soc/codecs/mc13783.c .rates = MC13783_RATES_RECORD, rates 506 sound/soc/codecs/ml26124.c .rates = ML26124_RATES, rates 512 sound/soc/codecs/ml26124.c .rates = ML26124_RATES, rates 1072 sound/soc/codecs/msm8916-wcd-analog.c .rates = MSM8916_WCD_ANALOG_RATES, rates 1083 sound/soc/codecs/msm8916-wcd-analog.c .rates = MSM8916_WCD_ANALOG_RATES, rates 1125 sound/soc/codecs/msm8916-wcd-digital.c .rates = MSM8916_WCD_DIGITAL_RATES, rates 1137 sound/soc/codecs/msm8916-wcd-digital.c .rates = MSM8916_WCD_DIGITAL_RATES, rates 299 sound/soc/codecs/mt6351.c .rates = SNDRV_PCM_RATE_8000_48000 | rates 308 sound/soc/codecs/mt6351.c .rates = SNDRV_PCM_RATE_8000 | rates 2243 sound/soc/codecs/mt6358.c .rates = SNDRV_PCM_RATE_8000_48000 | rates 2252 sound/soc/codecs/mt6358.c .rates = SNDRV_PCM_RATE_8000 | rates 533 sound/soc/codecs/nau8540.c .rates = NAU8540_RATES, rates 796 sound/soc/codecs/nau8810.c .rates = NAU8810_RATES, rates 803 sound/soc/codecs/nau8810.c .rates = NAU8810_RATES, rates 982 sound/soc/codecs/nau8822.c .rates = NAU8822_RATES, rates 989 sound/soc/codecs/nau8822.c .rates = NAU8822_RATES, rates 1588 sound/soc/codecs/nau8824.c .rates = NAU8824_RATES, rates 1595 sound/soc/codecs/nau8824.c .rates = NAU8824_RATES, rates 1405 sound/soc/codecs/nau8825.c .rates = NAU8825_RATES, rates 1412 sound/soc/codecs/nau8825.c .rates = NAU8825_RATES, rates 258 sound/soc/codecs/pcm1681.c .rates = PCM1681_PCM_RATES, rates 202 sound/soc/codecs/pcm1789.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 181 sound/soc/codecs/pcm179x.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 491 sound/soc/codecs/pcm186x.c .rates = PCM186X_RATES, rates 503 sound/soc/codecs/pcm186x.c .rates = PCM186X_RATES, rates 85 sound/soc/codecs/pcm3008.c .rates = PCM3008_RATES, rates 92 sound/soc/codecs/pcm3008.c .rates = PCM3008_RATES, rates 188 sound/soc/codecs/pcm3060.c .rates = PCM3060_DAI_RATES_DAC, rates 200 sound/soc/codecs/pcm3060.c .rates = PCM3060_DAI_RATES_ADC, rates 605 sound/soc/codecs/pcm3168a.c .rates = SNDRV_PCM_RATE_8000_192000, rates 617 sound/soc/codecs/pcm3168a.c .rates = SNDRV_PCM_RATE_8000_96000, rates 20 sound/soc/codecs/pcm5102a.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1458 sound/soc/codecs/pcm512x.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 341 sound/soc/codecs/rk3328_codec.c .rates = SNDRV_PCM_RATE_8000_96000, rates 351 sound/soc/codecs/rk3328_codec.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1973 sound/soc/codecs/rt1011.c .rates = RT1011_STEREO_RATES, rates 927 sound/soc/codecs/rt1305.c .rates = RT1305_STEREO_RATES, rates 746 sound/soc/codecs/rt1308.c .rates = RT1308_STEREO_RATES, rates 1048 sound/soc/codecs/rt274.c .rates = RT274_STEREO_RATES, rates 1055 sound/soc/codecs/rt274.c .rates = RT274_STEREO_RATES, rates 1009 sound/soc/codecs/rt286.c .rates = RT286_STEREO_RATES, rates 1016 sound/soc/codecs/rt286.c .rates = RT286_STEREO_RATES, rates 1029 sound/soc/codecs/rt286.c .rates = RT286_STEREO_RATES, rates 1036 sound/soc/codecs/rt286.c .rates = RT286_STEREO_RATES, rates 1076 sound/soc/codecs/rt298.c .rates = RT298_STEREO_RATES, rates 1083 sound/soc/codecs/rt298.c .rates = RT298_STEREO_RATES, rates 1096 sound/soc/codecs/rt298.c .rates = RT298_STEREO_RATES, rates 1103 sound/soc/codecs/rt298.c .rates = RT298_STEREO_RATES, rates 69 sound/soc/codecs/rt5514-spi.c .rates = SNDRV_PCM_RATE_16000, rates 1158 sound/soc/codecs/rt5514.c .rates = RT5514_STEREO_RATES, rates 1280 sound/soc/codecs/rt5616.c .rates = RT5616_STEREO_RATES, rates 1287 sound/soc/codecs/rt5616.c .rates = RT5616_STEREO_RATES, rates 1638 sound/soc/codecs/rt5631.c .rates = RT5631_STEREO_RATES, rates 1645 sound/soc/codecs/rt5631.c .rates = RT5631_STEREO_RATES, rates 2656 sound/soc/codecs/rt5640.c .rates = RT5640_STEREO_RATES, rates 2663 sound/soc/codecs/rt5640.c .rates = RT5640_STEREO_RATES, rates 2675 sound/soc/codecs/rt5640.c .rates = RT5640_STEREO_RATES, rates 2682 sound/soc/codecs/rt5640.c .rates = RT5640_STEREO_RATES, rates 3478 sound/soc/codecs/rt5645.c .rates = RT5645_STEREO_RATES, rates 3485 sound/soc/codecs/rt5645.c .rates = RT5645_STEREO_RATES, rates 3497 sound/soc/codecs/rt5645.c .rates = RT5645_STEREO_RATES, rates 3504 sound/soc/codecs/rt5645.c .rates = RT5645_STEREO_RATES, rates 2117 sound/soc/codecs/rt5651.c .rates = RT5651_STEREO_RATES, rates 2124 sound/soc/codecs/rt5651.c .rates = RT5651_STEREO_RATES, rates 2136 sound/soc/codecs/rt5651.c .rates = RT5651_STEREO_RATES, rates 2143 sound/soc/codecs/rt5651.c .rates = RT5651_STEREO_RATES, rates 3752 sound/soc/codecs/rt5659.c .rates = RT5659_STEREO_RATES, rates 3759 sound/soc/codecs/rt5659.c .rates = RT5659_STEREO_RATES, rates 3771 sound/soc/codecs/rt5659.c .rates = RT5659_STEREO_RATES, rates 3778 sound/soc/codecs/rt5659.c .rates = RT5659_STEREO_RATES, rates 3790 sound/soc/codecs/rt5659.c .rates = RT5659_STEREO_RATES, rates 3797 sound/soc/codecs/rt5659.c .rates = RT5659_STEREO_RATES, rates 1183 sound/soc/codecs/rt5660.c .rates = RT5660_STEREO_RATES, rates 1190 sound/soc/codecs/rt5660.c .rates = RT5660_STEREO_RATES, rates 3232 sound/soc/codecs/rt5663.c .rates = RT5663_STEREO_RATES, rates 3239 sound/soc/codecs/rt5663.c .rates = RT5663_STEREO_RATES, rates 4520 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4527 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4539 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4551 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4558 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4570 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4577 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4589 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 4596 sound/soc/codecs/rt5665.c .rates = RT5665_STEREO_RATES, rates 2320 sound/soc/codecs/rt5668.c .rates = RT5668_STEREO_RATES, rates 2327 sound/soc/codecs/rt5668.c .rates = RT5668_STEREO_RATES, rates 2339 sound/soc/codecs/rt5668.c .rates = RT5668_STEREO_RATES, rates 2704 sound/soc/codecs/rt5670.c .rates = RT5670_STEREO_RATES, rates 2711 sound/soc/codecs/rt5670.c .rates = RT5670_STEREO_RATES, rates 2724 sound/soc/codecs/rt5670.c .rates = RT5670_STEREO_RATES, rates 2731 sound/soc/codecs/rt5670.c .rates = RT5670_STEREO_RATES, rates 4854 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4861 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4873 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4880 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4892 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4899 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4911 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4918 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4930 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 4937 sound/soc/codecs/rt5677.c .rates = RT5677_STEREO_RATES, rates 2397 sound/soc/codecs/rt5682.c .rates = RT5682_STEREO_RATES, rates 2404 sound/soc/codecs/rt5682.c .rates = RT5682_STEREO_RATES, rates 2416 sound/soc/codecs/rt5682.c .rates = RT5682_STEREO_RATES, rates 1178 sound/soc/codecs/sgtl5000.c .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_96000, rates 1185 sound/soc/codecs/sgtl5000.c .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_96000, rates 214 sound/soc/codecs/si476x.c .rates = SNDRV_PCM_RATE_32000 | rates 279 sound/soc/codecs/sigmadsp.c unsigned int *rates; rates 293 sound/soc/codecs/sigmadsp.c rates = kcalloc(num_rates, sizeof(*rates), GFP_KERNEL); rates 294 sound/soc/codecs/sigmadsp.c if (!rates) rates 298 sound/soc/codecs/sigmadsp.c rates[i] = le32_to_cpu(rate_chunk->samplerates[i]); rates 301 sound/soc/codecs/sigmadsp.c sigmadsp->rate_constraints.list = rates; rates 382 sound/soc/codecs/sirf-audio-codec.c .rates = SNDRV_PCM_RATE_48000, rates 389 sound/soc/codecs/sirf-audio-codec.c .rates = SNDRV_PCM_RATE_48000, rates 55 sound/soc/codecs/spdif_receiver.c .rates = STUB_RATES, rates 55 sound/soc/codecs/spdif_transmitter.c .rates = STUB_RATES, rates 637 sound/soc/codecs/ssm2518.c .rates = SNDRV_PCM_RATE_8000_96000, rates 519 sound/soc/codecs/ssm2602.c .rates = SSM2602_RATES, rates 525 sound/soc/codecs/ssm2602.c .rates = SSM2602_RATES, rates 404 sound/soc/codecs/ssm4567.c .rates = SNDRV_PCM_RATE_8000_192000, rates 412 sound/soc/codecs/ssm4567.c .rates = SNDRV_PCM_RATE_8000_192000, rates 869 sound/soc/codecs/sta32x.c .rates = STA32X_RATES, rates 904 sound/soc/codecs/sta350.c .rates = STA350_RATES, rates 303 sound/soc/codecs/sta529.c .rates = STA529_RATES, rates 310 sound/soc/codecs/sta529.c .rates = STA529_RATES, rates 241 sound/soc/codecs/stac9766.c .rates = SNDRV_PCM_RATE_8000_48000, rates 248 sound/soc/codecs/stac9766.c .rates = SNDRV_PCM_RATE_8000_48000, rates 262 sound/soc/codecs/stac9766.c .rates = SNDRV_PCM_RATE_32000 | \ rates 347 sound/soc/codecs/sti-sas.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 370 sound/soc/codecs/sti-sas.c .rates = SNDRV_PCM_RATE_8000_48000, rates 537 sound/soc/codecs/tas2552.c .rates = SNDRV_PCM_RATE_8000_192000, rates 760 sound/soc/codecs/tas5086.c .rates = TAS5086_PCM_RATES, rates 767 sound/soc/codecs/tas571x.c .rates = SNDRV_PCM_RATE_8000_48000, rates 628 sound/soc/codecs/tas5720.c .rates = TAS5720_RATES, rates 395 sound/soc/codecs/tas6424.c .rates = TAS6424_RATES, rates 269 sound/soc/codecs/tfa9879.c .rates = TFA9879_RATES, rates 526 sound/soc/codecs/tlv320aic23.c .rates = AIC23_RATES, rates 532 sound/soc/codecs/tlv320aic23.c .rates = AIC23_RATES, rates 225 sound/soc/codecs/tlv320aic26.c .rates = AIC26_RATES, rates 232 sound/soc/codecs/tlv320aic26.c .rates = AIC26_RATES, rates 1349 sound/soc/codecs/tlv320aic31xx.c .rates = AIC31XX_RATES, rates 1364 sound/soc/codecs/tlv320aic31xx.c .rates = AIC31XX_RATES, rates 1371 sound/soc/codecs/tlv320aic31xx.c .rates = AIC31XX_RATES, rates 877 sound/soc/codecs/tlv320aic32x4.c .rates = AIC32X4_RATES, rates 883 sound/soc/codecs/tlv320aic32x4.c .rates = AIC32X4_RATES, rates 1496 sound/soc/codecs/tlv320aic3x.c .rates = AIC3X_RATES, rates 1502 sound/soc/codecs/tlv320aic3x.c .rates = AIC3X_RATES, rates 1459 sound/soc/codecs/tlv320dac33.c .rates = DAC33_RATES, rates 1391 sound/soc/codecs/tscs42xx.c .rates = TSCS42XX_RATES, rates 1397 sound/soc/codecs/tscs42xx.c .rates = TSCS42XX_RATES, rates 3356 sound/soc/codecs/tscs454.c .rates = TSCS454_RATES, rates 3362 sound/soc/codecs/tscs454.c .rates = TSCS454_RATES, rates 3376 sound/soc/codecs/tscs454.c .rates = TSCS454_RATES, rates 3382 sound/soc/codecs/tscs454.c .rates = TSCS454_RATES, rates 3396 sound/soc/codecs/tscs454.c .rates = TSCS454_RATES, rates 3402 sound/soc/codecs/tscs454.c .rates = TSCS454_RATES, rates 2123 sound/soc/codecs/twl4030.c .rates = TWL4030_RATES | SNDRV_PCM_RATE_96000, rates 2130 sound/soc/codecs/twl4030.c .rates = TWL4030_RATES, rates 2141 sound/soc/codecs/twl4030.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, rates 2147 sound/soc/codecs/twl4030.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, rates 1034 sound/soc/codecs/twl6040.c .rates = TWL6040_RATES, rates 1041 sound/soc/codecs/twl6040.c .rates = TWL6040_RATES, rates 1053 sound/soc/codecs/twl6040.c .rates = TWL6040_RATES, rates 1065 sound/soc/codecs/twl6040.c .rates = TWL6040_RATES, rates 1077 sound/soc/codecs/twl6040.c .rates = TWL6040_RATES, rates 1089 sound/soc/codecs/twl6040.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 211 sound/soc/codecs/uda1334.c .rates = UDA1334_RATES, rates 431 sound/soc/codecs/uda134x.c .rates = UDA134X_RATES, rates 439 sound/soc/codecs/uda134x.c .rates = UDA134X_RATES, rates 660 sound/soc/codecs/uda1380.c .rates = UDA1380_RATES, rates 666 sound/soc/codecs/uda1380.c .rates = UDA1380_RATES, rates 676 sound/soc/codecs/uda1380.c .rates = UDA1380_RATES, rates 687 sound/soc/codecs/uda1380.c .rates = UDA1380_RATES, rates 2074 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK | WCD9335_FRAC_RATES_MASK | rates 2089 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK, rates 2103 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK | WCD9335_FRAC_RATES_MASK | rates 2118 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK, rates 2132 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK | WCD9335_FRAC_RATES_MASK | rates 2147 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK, rates 2161 sound/soc/codecs/wcd9335.c .rates = WCD9335_RATES_MASK | WCD9335_FRAC_RATES_MASK | rates 392 sound/soc/codecs/wl1273.c .rates = SNDRV_PCM_RATE_8000_48000, rates 398 sound/soc/codecs/wl1273.c .rates = SNDRV_PCM_RATE_8000_48000, rates 810 sound/soc/codecs/wm0010.c .rates = WM0010_RATES, rates 817 sound/soc/codecs/wm0010.c .rates = WM0010_RATES, rates 827 sound/soc/codecs/wm0010.c .rates = WM0010_RATES, rates 834 sound/soc/codecs/wm0010.c .rates = WM0010_RATES, rates 126 sound/soc/codecs/wm1250-ev1.c .rates = WM1250_EV1_RATES, rates 133 sound/soc/codecs/wm1250-ev1.c .rates = WM1250_EV1_RATES, rates 2091 sound/soc/codecs/wm2200.c .rates = WM2200_RATES, rates 2098 sound/soc/codecs/wm2200.c .rates = WM2200_RATES, rates 1892 sound/soc/codecs/wm5100.c .rates = WM5100_RATES, rates 1899 sound/soc/codecs/wm5100.c .rates = WM5100_RATES, rates 1912 sound/soc/codecs/wm5100.c .rates = WM5100_RATES, rates 1919 sound/soc/codecs/wm5100.c .rates = WM5100_RATES, rates 1932 sound/soc/codecs/wm5100.c .rates = WM5100_RATES, rates 1939 sound/soc/codecs/wm5100.c .rates = WM5100_RATES, rates 1774 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1781 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1796 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1803 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1818 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1825 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1839 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1846 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1858 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1865 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1877 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1884 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1895 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 1906 sound/soc/codecs/wm5102.c .rates = WM5102_RATES, rates 2081 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2088 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2103 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2110 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2125 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2132 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2146 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2153 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2165 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2172 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2184 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2191 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2202 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2213 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2223 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 2234 sound/soc/codecs/wm5110.c .rates = WM5110_RATES, rates 1442 sound/soc/codecs/wm8350.c .rates = WM8350_RATES, rates 1449 sound/soc/codecs/wm8350.c .rates = WM8350_RATES, rates 1258 sound/soc/codecs/wm8400.c .rates = WM8400_RATES, rates 1265 sound/soc/codecs/wm8400.c .rates = WM8400_RATES, rates 562 sound/soc/codecs/wm8510.c .rates = WM8510_RATES, rates 568 sound/soc/codecs/wm8510.c .rates = WM8510_RATES, rates 390 sound/soc/codecs/wm8523.c .rates = WM8523_RATES, rates 178 sound/soc/codecs/wm8524.c .rates = WM8524_RATES, rates 887 sound/soc/codecs/wm8580.c .rates = SNDRV_PCM_RATE_8000_192000, rates 899 sound/soc/codecs/wm8580.c .rates = SNDRV_PCM_RATE_8000_192000, rates 343 sound/soc/codecs/wm8711.c .rates = WM8711_RATES, rates 45 sound/soc/codecs/wm8727.c .rates = WM8727_RATES, rates 205 sound/soc/codecs/wm8728.c .rates = WM8728_RATES, rates 560 sound/soc/codecs/wm8731.c .rates = WM8731_RATES, rates 566 sound/soc/codecs/wm8731.c .rates = WM8731_RATES, rates 531 sound/soc/codecs/wm8737.c .rates = WM8737_RATES, rates 398 sound/soc/codecs/wm8741.c .rates = WM8741_RATES, rates 674 sound/soc/codecs/wm8750.c .rates = WM8750_RATES, rates 680 sound/soc/codecs/wm8750.c .rates = WM8750_RATES, rates 1406 sound/soc/codecs/wm8753.c .rates = WM8753_RATES, rates 1413 sound/soc/codecs/wm8753.c .rates = WM8753_RATES, rates 1424 sound/soc/codecs/wm8753.c .rates = WM8753_RATES, rates 1431 sound/soc/codecs/wm8753.c .rates = WM8753_RATES, rates 553 sound/soc/codecs/wm8770.c .rates = SNDRV_PCM_RATE_8000_192000, rates 560 sound/soc/codecs/wm8770.c .rates = SNDRV_PCM_RATE_8000_96000, rates 384 sound/soc/codecs/wm8776.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 398 sound/soc/codecs/wm8776.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 43 sound/soc/codecs/wm8782.c .rates = SNDRV_PCM_RATE_8000_48000, rates 528 sound/soc/codecs/wm8804.c .rates = WM8804_RATES, rates 535 sound/soc/codecs/wm8804.c .rates = WM8804_RATES, rates 1015 sound/soc/codecs/wm8900.c .rates = WM8900_RATES, rates 1022 sound/soc/codecs/wm8900.c .rates = WM8900_RATES, rates 1751 sound/soc/codecs/wm8903.c .rates = WM8903_PLAYBACK_RATES, rates 1758 sound/soc/codecs/wm8903.c .rates = WM8903_CAPTURE_RATES, rates 1952 sound/soc/codecs/wm8904.c .rates = WM8904_RATES, rates 1959 sound/soc/codecs/wm8904.c .rates = WM8904_RATES, rates 679 sound/soc/codecs/wm8940.c .rates = WM8940_RATES, rates 686 sound/soc/codecs/wm8940.c .rates = WM8940_RATES, rates 860 sound/soc/codecs/wm8955.c .rates = WM8955_RATES, rates 1331 sound/soc/codecs/wm8960.c .rates = WM8960_RATES, rates 1337 sound/soc/codecs/wm8960.c .rates = WM8960_RATES, rates 820 sound/soc/codecs/wm8961.c .rates = WM8961_RATES, rates 826 sound/soc/codecs/wm8961.c .rates = WM8961_RATES, rates 2962 sound/soc/codecs/wm8962.c .rates = WM8962_RATES, rates 2969 sound/soc/codecs/wm8962.c .rates = WM8962_RATES, rates 616 sound/soc/codecs/wm8971.c .rates = WM8971_RATES, rates 622 sound/soc/codecs/wm8971.c .rates = WM8971_RATES, rates 640 sound/soc/codecs/wm8974.c .rates = WM8974_RATES, rates 646 sound/soc/codecs/wm8974.c .rates = WM8974_RATES, rates 909 sound/soc/codecs/wm8978.c .rates = SNDRV_PCM_RATE_8000_48000, rates 916 sound/soc/codecs/wm8978.c .rates = SNDRV_PCM_RATE_8000_48000, rates 962 sound/soc/codecs/wm8983.c .rates = SNDRV_PCM_RATE_8000_48000, rates 969 sound/soc/codecs/wm8983.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1091 sound/soc/codecs/wm8985.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1098 sound/soc/codecs/wm8985.c .rates = SNDRV_PCM_RATE_8000_48000, rates 778 sound/soc/codecs/wm8988.c .rates = WM8988_RATES, rates 785 sound/soc/codecs/wm8988.c .rates = WM8988_RATES, rates 1256 sound/soc/codecs/wm8990.c .rates = WM8990_RATES, rates 1262 sound/soc/codecs/wm8990.c .rates = WM8990_RATES, rates 1228 sound/soc/codecs/wm8991.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1235 sound/soc/codecs/wm8991.c .rates = SNDRV_PCM_RATE_8000_96000, rates 1465 sound/soc/codecs/wm8993.c .rates = WM8993_RATES, rates 1473 sound/soc/codecs/wm8993.c .rates = WM8993_RATES, rates 111 sound/soc/codecs/wm8994.c const struct wm8958_micd_rate *rates; rates 123 sound/soc/codecs/wm8994.c rates = control->pdata.micd_rates; rates 126 sound/soc/codecs/wm8994.c rates = jackdet_rates; rates 129 sound/soc/codecs/wm8994.c rates = micdet_rates; rates 135 sound/soc/codecs/wm8994.c if (rates[i].idle != idle) rates 137 sound/soc/codecs/wm8994.c if (abs(rates[i].sysclk - sysclk) < rates 138 sound/soc/codecs/wm8994.c abs(rates[best].sysclk - sysclk)) rates 140 sound/soc/codecs/wm8994.c else if (rates[best].idle != idle) rates 144 sound/soc/codecs/wm8994.c val = rates[best].start << WM8958_MICD_BIAS_STARTTIME_SHIFT rates 145 sound/soc/codecs/wm8994.c | rates[best].rate << WM8958_MICD_RATE_SHIFT; rates 148 sound/soc/codecs/wm8994.c rates[best].start, rates[best].rate, sysclk, rates 3097 sound/soc/codecs/wm8994.c .rates = WM8994_RATES, rates 3105 sound/soc/codecs/wm8994.c .rates = WM8994_RATES, rates 3118 sound/soc/codecs/wm8994.c .rates = WM8994_RATES, rates 3126 sound/soc/codecs/wm8994.c .rates = WM8994_RATES, rates 3140 sound/soc/codecs/wm8994.c .rates = WM8994_RATES, rates 3148 sound/soc/codecs/wm8994.c .rates = WM8994_RATES, rates 2122 sound/soc/codecs/wm8995.c .rates = SNDRV_PCM_RATE_8000_96000, rates 2129 sound/soc/codecs/wm8995.c .rates = SNDRV_PCM_RATE_8000_48000, rates 2140 sound/soc/codecs/wm8995.c .rates = SNDRV_PCM_RATE_8000_96000, rates 2147 sound/soc/codecs/wm8995.c .rates = SNDRV_PCM_RATE_8000_48000, rates 2158 sound/soc/codecs/wm8995.c .rates = SNDRV_PCM_RATE_8000_96000, rates 2165 sound/soc/codecs/wm8995.c .rates = SNDRV_PCM_RATE_8000_48000, rates 2719 sound/soc/codecs/wm8996.c .rates = WM8996_RATES, rates 2727 sound/soc/codecs/wm8996.c .rates = WM8996_RATES, rates 2739 sound/soc/codecs/wm8996.c .rates = WM8996_RATES, rates 2747 sound/soc/codecs/wm8996.c .rates = WM8996_RATES, rates 961 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 968 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 983 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 990 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1004 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1011 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1023 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1030 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1042 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1049 sound/soc/codecs/wm8997.c .rates = WM8997_RATES, rates 1153 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1160 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1175 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1182 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1197 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1204 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1218 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1225 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1237 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1244 sound/soc/codecs/wm8998.c .rates = WM8998_RATES, rates 1248 sound/soc/codecs/wm9081.c .rates = WM9081_RATES, rates 263 sound/soc/codecs/wm9705.c .rates = WM9705_AC97_RATES, rates 270 sound/soc/codecs/wm9705.c .rates = WM9705_AC97_RATES, rates 281 sound/soc/codecs/wm9705.c .rates = WM9705_AC97_RATES, rates 574 sound/soc/codecs/wm9712.c .rates = WM9712_AC97_RATES, rates 580 sound/soc/codecs/wm9712.c .rates = WM9712_AC97_RATES, rates 590 sound/soc/codecs/wm9712.c .rates = WM9712_AC97_RATES, rates 1102 sound/soc/codecs/wm9713.c .rates = WM9713_RATES, rates 1108 sound/soc/codecs/wm9713.c .rates = WM9713_RATES, rates 1118 sound/soc/codecs/wm9713.c .rates = WM9713_RATES, rates 1128 sound/soc/codecs/wm9713.c .rates = WM9713_PCM_RATES, rates 1134 sound/soc/codecs/wm9713.c .rates = WM9713_PCM_RATES, rates 329 sound/soc/codecs/zx_aud96p22.c .rates = AUD96P22_RATES, rates 336 sound/soc/codecs/zx_aud96p22.c .rates = AUD96P22_RATES, rates 479 sound/soc/dwc/dwc-i2s.c unsigned int rates) rates 509 sound/soc/dwc/dwc-i2s.c dw_i2s_dai->playback.rates = rates; rates 523 sound/soc/dwc/dwc-i2s.c dw_i2s_dai->capture.rates = rates; rates 77 sound/soc/dwc/dwc-pcm.c .rates = SNDRV_PCM_RATE_32000 | rates 617 sound/soc/fsl/fsl_asrc.c .rates = SNDRV_PCM_RATE_KNOT, rates 626 sound/soc/fsl/fsl_asrc.c .rates = SNDRV_PCM_RATE_KNOT, rates 332 sound/soc/fsl/fsl_audmix.c .rates = SNDRV_PCM_RATE_8000_96000, rates 341 sound/soc/fsl/fsl_audmix.c .rates = SNDRV_PCM_RATE_8000_96000, rates 355 sound/soc/fsl/fsl_audmix.c .rates = SNDRV_PCM_RATE_8000_96000, rates 364 sound/soc/fsl/fsl_audmix.c .rates = SNDRV_PCM_RATE_8000_96000, rates 782 sound/soc/fsl/fsl_esai.c .rates = SNDRV_PCM_RATE_8000_192000, rates 789 sound/soc/fsl/fsl_esai.c .rates = SNDRV_PCM_RATE_8000_192000, rates 438 sound/soc/fsl/fsl_micfil.c .rates = FSL_MICFIL_RATES, rates 704 sound/soc/fsl/fsl_sai.c .rates = SNDRV_PCM_RATE_KNOT, rates 713 sound/soc/fsl/fsl_sai.c .rates = SNDRV_PCM_RATE_KNOT, rates 1002 sound/soc/fsl/fsl_spdif.c .rates = FSL_SPDIF_RATES_PLAYBACK, rates 1009 sound/soc/fsl/fsl_spdif.c .rates = FSL_SPDIF_RATES_CAPTURE, rates 1121 sound/soc/fsl/fsl_ssi.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1128 sound/soc/fsl/fsl_ssi.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1146 sound/soc/fsl/fsl_ssi.c .rates = SNDRV_PCM_RATE_8000_48000, rates 1153 sound/soc/fsl/fsl_ssi.c .rates = SNDRV_PCM_RATE_48000, rates 362 sound/soc/fsl/imx-ssi.c .rates = SNDRV_PCM_RATE_8000_96000, rates 368 sound/soc/fsl/imx-ssi.c .rates = SNDRV_PCM_RATE_8000_96000, rates 381 sound/soc/fsl/imx-ssi.c .rates = SNDRV_PCM_RATE_8000_48000, rates 388 sound/soc/fsl/imx-ssi.c .rates = SNDRV_PCM_RATE_48000, rates 242 sound/soc/fsl/mpc5200_psc_ac97.c .rates = SNDRV_PCM_RATE_8000_48000, rates 249 sound/soc/fsl/mpc5200_psc_ac97.c .rates = SNDRV_PCM_RATE_8000_48000, rates 261 sound/soc/fsl/mpc5200_psc_ac97.c .rates = SNDRV_PCM_RATE_32000 | \ rates 137 sound/soc/fsl/mpc5200_psc_i2s.c .rates = PSC_I2S_RATES, rates 144 sound/soc/fsl/mpc5200_psc_i2s.c .rates = PSC_I2S_RATES, rates 526 sound/soc/hisilicon/hi6210-i2s.c .rates = SNDRV_PCM_RATE_48000, rates 533 sound/soc/hisilicon/hi6210-i2s.c .rates = SNDRV_PCM_RATE_48000, rates 476 sound/soc/img/img-i2s-in.c i2s->dai_driver.capture.rates = SNDRV_PCM_RATE_8000_192000; rates 516 sound/soc/img/img-i2s-out.c i2s->dai_driver.playback.rates = SNDRV_PCM_RATE_8000_192000; rates 197 sound/soc/img/img-parallel-out.c .rates = SNDRV_PCM_RATE_8000_192000, rates 707 sound/soc/img/img-spdif-in.c .rates = SNDRV_PCM_RATE_8000_192000, rates 312 sound/soc/img/img-spdif-out.c .rates = SNDRV_PCM_RATE_8000_192000, rates 116 sound/soc/img/pistachio-internal-dac.c .rates = SNDRV_PCM_RATE_8000_48000, rates 501 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000, rates 508 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000, rates 519 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_44100|SNDRV_PCM_RATE_48000, rates 540 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 547 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 558 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_48000, rates 565 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_48000, rates 576 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 583 sound/soc/intel/atom/sst-mfld-platform-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 342 sound/soc/intel/baytrail/sst-baytrail-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 350 sound/soc/intel/baytrail/sst-baytrail-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 253 sound/soc/intel/boards/bxt_da7219_max98357a.c static const unsigned int rates[] = { rates 258 sound/soc/intel/boards/bxt_da7219_max98357a.c .count = ARRAY_SIZE(rates), rates 259 sound/soc/intel/boards/bxt_da7219_max98357a.c .list = rates, rates 243 sound/soc/intel/boards/bxt_rt298.c static const unsigned int rates[] = { rates 248 sound/soc/intel/boards/bxt_rt298.c .count = ARRAY_SIZE(rates), rates 249 sound/soc/intel/boards/bxt_rt298.c .list = rates, rates 240 sound/soc/intel/boards/glk_rt5682_max98357a.c static const unsigned int rates[] = { rates 245 sound/soc/intel/boards/glk_rt5682_max98357a.c .count = ARRAY_SIZE(rates), rates 246 sound/soc/intel/boards/glk_rt5682_max98357a.c .list = rates, rates 247 sound/soc/intel/boards/kbl_da7219_max98357a.c static const unsigned int rates[] = { rates 252 sound/soc/intel/boards/kbl_da7219_max98357a.c .count = ARRAY_SIZE(rates), rates 253 sound/soc/intel/boards/kbl_da7219_max98357a.c .list = rates, rates 422 sound/soc/intel/boards/kbl_da7219_max98927.c static const unsigned int rates[] = { rates 427 sound/soc/intel/boards/kbl_da7219_max98927.c .count = ARRAY_SIZE(rates), rates 428 sound/soc/intel/boards/kbl_da7219_max98927.c .list = rates, rates 272 sound/soc/intel/boards/kbl_rt5660.c static const unsigned int rates[] = { rates 277 sound/soc/intel/boards/kbl_rt5660.c .count = ARRAY_SIZE(rates), rates 278 sound/soc/intel/boards/kbl_rt5660.c .list = rates, rates 348 sound/soc/intel/boards/kbl_rt5663_max98927.c static unsigned int rates[] = { rates 353 sound/soc/intel/boards/kbl_rt5663_max98927.c .count = ARRAY_SIZE(rates), rates 354 sound/soc/intel/boards/kbl_rt5663_max98927.c .list = rates, rates 218 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c static const unsigned int rates[] = { rates 223 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c .count = ARRAY_SIZE(rates), rates 224 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c .list = rates, rates 247 sound/soc/intel/boards/skl_nau88l25_max98357a.c static const unsigned int rates[] = { rates 252 sound/soc/intel/boards/skl_nau88l25_max98357a.c .count = ARRAY_SIZE(rates), rates 253 sound/soc/intel/boards/skl_nau88l25_max98357a.c .list = rates, rates 267 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static const unsigned int rates[] = { rates 272 sound/soc/intel/boards/skl_nau88l25_ssm4567.c .count = ARRAY_SIZE(rates), rates 273 sound/soc/intel/boards/skl_nau88l25_ssm4567.c .list = rates, rates 161 sound/soc/intel/boards/skl_rt286.c static const unsigned int rates[] = { rates 166 sound/soc/intel/boards/skl_rt286.c .count = ARRAY_SIZE(rates), rates 167 sound/soc/intel/boards/skl_rt286.c .list = rates, rates 968 sound/soc/intel/haswell/sst-haswell-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 975 sound/soc/intel/haswell/sst-haswell-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 987 sound/soc/intel/haswell/sst-haswell-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 999 sound/soc/intel/haswell/sst-haswell-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1010 sound/soc/intel/haswell/sst-haswell-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 42 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | rates 705 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_8000, rates 714 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, rates 726 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | rates 739 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | rates 752 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, rates 764 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 776 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 788 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, rates 800 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 816 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 832 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 852 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 859 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 870 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 877 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 888 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 895 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 906 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 913 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 924 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 931 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 942 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 949 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000, rates 960 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_48000, rates 972 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000| rates 985 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000| rates 998 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, rates 1009 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_16000, rates 1020 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1028 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1040 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1048 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1060 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 1068 sound/soc/intel/skylake/skl-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 447 sound/soc/jz4740/jz4740-i2s.c .rates = SNDRV_PCM_RATE_8000_48000, rates 453 sound/soc/jz4740/jz4740-i2s.c .rates = SNDRV_PCM_RATE_8000_48000, rates 468 sound/soc/jz4740/jz4740-i2s.c .rates = SNDRV_PCM_RATE_8000_48000, rates 474 sound/soc/jz4740/jz4740-i2s.c .rates = SNDRV_PCM_RATE_8000_48000, rates 442 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 449 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 461 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 468 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 483 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 491 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 504 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 512 sound/soc/kirkwood/kirkwood-i2s.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 558 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 574 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 591 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_48000, rates 607 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 624 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = (SNDRV_PCM_RATE_8000 rates 639 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = (SNDRV_PCM_RATE_8000 rates 653 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 663 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 679 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 688 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 703 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 712 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 727 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 736 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 751 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = (SNDRV_PCM_RATE_8000 rates 759 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c .rates = (SNDRV_PCM_RATE_8000 rates 184 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_RATES, rates 196 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_RATES, rates 208 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_RATES, rates 220 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_RATES, rates 232 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_RATES, rates 244 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_RATES, rates 256 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_DAI_RATES, rates 268 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c .rates = MTK_PCM_DAI_RATES, rates 370 sound/soc/mediatek/mt6797/mt6797-dai-adda.c .rates = MTK_ADDA_PLAYBACK_RATES, rates 377 sound/soc/mediatek/mt6797/mt6797-dai-adda.c .rates = MTK_ADDA_CAPTURE_RATES, rates 68 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 75 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 87 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 94 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 262 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c .rates = MTK_PCM_RATES, rates 269 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c .rates = MTK_PCM_RATES, rates 283 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c .rates = MTK_PCM_RATES, rates 290 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c .rates = MTK_PCM_RATES, rates 542 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_48000, rates 555 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_48000, rates 567 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_48000, rates 574 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .rates = SNDRV_PCM_RATE_8000_48000, rates 593 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 608 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 187 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 199 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 211 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 223 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 235 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 247 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 259 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 271 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_DAI_RATES, rates 283 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c .rates = MTK_PCM_RATES, rates 475 sound/soc/mediatek/mt8183/mt8183-dai-adda.c .rates = MTK_ADDA_PLAYBACK_RATES, rates 482 sound/soc/mediatek/mt8183/mt8183-dai-adda.c .rates = MTK_ADDA_CAPTURE_RATES, rates 68 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 75 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 87 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 94 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c .rates = MTK_HOSTLESS_RATES, rates 868 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c .rates = MTK_I2S_RATES, rates 880 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c .rates = MTK_I2S_RATES, rates 892 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c .rates = MTK_I2S_RATES, rates 904 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c .rates = MTK_I2S_RATES, rates 916 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c .rates = MTK_I2S_RATES, rates 262 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c .rates = MTK_PCM_RATES, rates 269 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c .rates = MTK_PCM_RATES, rates 283 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c .rates = MTK_PCM_RATES, rates 290 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c .rates = MTK_PCM_RATES, rates 710 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c .rates = MTK_TDM_RATES, rates 68 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c static const unsigned int rates[] = { rates 72 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c .count = ARRAY_SIZE(rates), rates 73 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c .list = rates, rates 102 sound/soc/meson/axg-frddr.c .rates = AXG_FIFO_RATES, rates 170 sound/soc/meson/axg-frddr.c .rates = AXG_FIFO_RATES, rates 449 sound/soc/meson/axg-pdm.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 445 sound/soc/meson/axg-spdifin.c drv->capture.rates |= rb; rates 301 sound/soc/meson/axg-spdifout.c .rates = (SNDRV_PCM_RATE_32000 | rates 404 sound/soc/meson/axg-tdm-interface.c .rates = AXG_TDM_RATES, rates 411 sound/soc/meson/axg-tdm-interface.c .rates = AXG_TDM_RATES, rates 425 sound/soc/meson/axg-tdm-interface.c .rates = AXG_TDM_RATES, rates 132 sound/soc/meson/axg-toddr.c .rates = AXG_FIFO_RATES, rates 200 sound/soc/meson/axg-toddr.c .rates = AXG_FIFO_RATES, rates 228 sound/soc/meson/g12a-tohdmitx.c data->params.rates = snd_pcm_rate_to_rate_bit(params_rate(params)); rates 660 sound/soc/mxs/mxs-saif.c .rates = MXS_SAIF_RATES, rates 666 sound/soc/mxs/mxs-saif.c .rates = MXS_SAIF_RATES, rates 383 sound/soc/pxa/mmp-sspa.c .rates = MMP_SSPA_RATES, rates 389 sound/soc/pxa/mmp-sspa.c .rates = MMP_SSPA_RATES, rates 858 sound/soc/pxa/pxa-ssp.c .rates = PXA_SSP_RATES, rates 864 sound/soc/pxa/pxa-ssp.c .rates = PXA_SSP_RATES, rates 165 sound/soc/pxa/pxa2xx-ac97.c .rates = PXA2XX_AC97_RATES, rates 171 sound/soc/pxa/pxa2xx-ac97.c .rates = PXA2XX_AC97_RATES, rates 182 sound/soc/pxa/pxa2xx-ac97.c .rates = PXA2XX_AC97_RATES, rates 188 sound/soc/pxa/pxa2xx-ac97.c .rates = PXA2XX_AC97_RATES, rates 199 sound/soc/pxa/pxa2xx-ac97.c .rates = PXA2XX_AC97_RATES, rates 350 sound/soc/pxa/pxa2xx-i2s.c .rates = PXA2XX_I2S_RATES, rates 355 sound/soc/pxa/pxa2xx-i2s.c .rates = PXA2XX_I2S_RATES, rates 34 sound/soc/qcom/lpass-apq8016.c .rates = SNDRV_PCM_RATE_8000 | rates 55 sound/soc/qcom/lpass-apq8016.c .rates = SNDRV_PCM_RATE_8000 | rates 76 sound/soc/qcom/lpass-apq8016.c .rates = SNDRV_PCM_RATE_8000 | rates 97 sound/soc/qcom/lpass-apq8016.c .rates = SNDRV_PCM_RATE_8000 | rates 112 sound/soc/qcom/lpass-apq8016.c .rates = SNDRV_PCM_RATE_8000 | rates 44 sound/soc/qcom/lpass-ipq806x.c .rates = SNDRV_PCM_RATE_8000 | rates 38 sound/soc/qcom/lpass-platform.c .rates = SNDRV_PCM_RATE_8000_192000, rates 19 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ rates 40 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ rates 626 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | rates 649 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 667 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 680 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 703 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 716 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 740 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 753 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 777 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 790 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 814 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 827 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 851 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 864 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 888 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 901 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 918 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 935 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 951 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 968 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 984 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 1001 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 1017 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | rates 1115 sound/soc/qcom/qdsp6/q6afe-dai.c .rates = SNDRV_PCM_RATE_48000 | rates 83 sound/soc/qcom/qdsp6/q6asm-dai.c .rates = SNDRV_PCM_RATE_8000_48000, rates 105 sound/soc/qcom/qdsp6/q6asm-dai.c .rates = SNDRV_PCM_RATE_8000_192000, rates 122 sound/soc/qcom/qdsp6/q6asm-dai.c .rates = (SNDRV_PCM_RATE_8000_192000| \ rates 133 sound/soc/qcom/qdsp6/q6asm-dai.c .rates = (SNDRV_PCM_RATE_8000_48000| \ rates 455 sound/soc/rockchip/rockchip_i2s.c .rates = SNDRV_PCM_RATE_8000_192000, rates 466 sound/soc/rockchip/rockchip_i2s.c .rates = SNDRV_PCM_RATE_8000_192000, rates 337 sound/soc/rockchip/rockchip_pdm.c .rates = ROCKCHIP_PDM_RATES, rates 212 sound/soc/rockchip/rockchip_spdif.c .rates = (SNDRV_PCM_RATE_32000 | rates 23 sound/soc/samsung/h1940_uda1380.c static const unsigned int rates[] = { rates 30 sound/soc/samsung/h1940_uda1380.c .count = ARRAY_SIZE(rates), rates 31 sound/soc/samsung/h1940_uda1380.c .list = rates, rates 1182 sound/soc/samsung/i2s.c dai_drv->playback.rates = i2s_dai_data->pcm_rates; rates 1198 sound/soc/samsung/i2s.c dai_drv->capture.rates = i2s_dai_data->pcm_rates; rates 456 sound/soc/samsung/pcm.c .rates = S3C_PCM_RATES, \ rates 462 sound/soc/samsung/pcm.c .rates = S3C_PCM_RATES, \ rates 34 sound/soc/samsung/rx1950_uda1380.c static const unsigned int rates[] = { rates 41 sound/soc/samsung/rx1950_uda1380.c .count = ARRAY_SIZE(rates), rates 42 sound/soc/samsung/rx1950_uda1380.c .list = rates, rates 135 sound/soc/samsung/s3c2412-i2s.c .rates = S3C2412_I2S_RATES, rates 141 sound/soc/samsung/s3c2412-i2s.c .rates = S3C2412_I2S_RATES, rates 416 sound/soc/samsung/s3c24xx-i2s.c .rates = S3C24XX_I2S_RATES, rates 421 sound/soc/samsung/s3c24xx-i2s.c .rates = S3C24XX_I2S_RATES, rates 41 sound/soc/samsung/s3c24xx_uda134x.c static unsigned int rates[33 * 2]; rates 44 sound/soc/samsung/s3c24xx_uda134x.c .count = ARRAY_SIZE(rates), rates 45 sound/soc/samsung/s3c24xx_uda134x.c .list = rates, rates 79 sound/soc/samsung/s3c24xx_uda134x.c rates[i*33] = clk_get_rate(priv->xtal) / fs; rates 81 sound/soc/samsung/s3c24xx_uda134x.c rates[i*33 + j] = clk_get_rate(priv->pclk) / rates 135 sound/soc/samsung/s3c24xx_uda134x.c cerr = rates[i] - rate; rates 340 sound/soc/samsung/spdif.c .rates = (SNDRV_PCM_RATE_32000 | rates 393 sound/soc/samsung/tm2_wm5110.c .rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 402 sound/soc/samsung/tm2_wm5110.c .rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 414 sound/soc/samsung/tm2_wm5110.c .rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000), rates 422 sound/soc/samsung/tm2_wm5110.c .rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000), rates 1787 sound/soc/sh/fsi.c .rates = FSI_RATES, rates 1793 sound/soc/sh/fsi.c .rates = FSI_RATES, rates 1803 sound/soc/sh/fsi.c .rates = FSI_RATES, rates 1809 sound/soc/sh/fsi.c .rates = FSI_RATES, rates 275 sound/soc/sh/hac.c .rates = AC97_RATES, rates 281 sound/soc/sh/hac.c .rates = AC97_RATES, rates 293 sound/soc/sh/hac.c .rates = AC97_RATES, rates 299 sound/soc/sh/hac.c .rates = AC97_RATES, rates 1281 sound/soc/sh/rcar/core.c drv->playback.rates = RSND_RATES; rates 1289 sound/soc/sh/rcar/core.c drv->capture.rates = RSND_RATES; rates 325 sound/soc/sh/siu_dai.c .rates = SNDRV_PCM_RATE_8000_48000, rates 705 sound/soc/sh/siu_dai.c .rates = SNDRV_PCM_RATE_8000_48000, rates 711 sound/soc/sh/siu_dai.c .rates = SNDRV_PCM_RATE_8000_48000, rates 346 sound/soc/sh/ssi.c .rates = SSI_RATES, rates 352 sound/soc/sh/ssi.c .rates = SSI_RATES, rates 363 sound/soc/sh/ssi.c .rates = SSI_RATES, rates 369 sound/soc/sh/ssi.c .rates = SSI_RATES, rates 34 sound/soc/sirf/sirf-audio-port.c .rates = SNDRV_PCM_RATE_48000, rates 40 sound/soc/sirf/sirf-audio-port.c .rates = SNDRV_PCM_RATE_48000, rates 279 sound/soc/sirf/sirf-usp.c .rates = SNDRV_PCM_RATE_8000_192000, rates 287 sound/soc/sirf/sirf-usp.c .rates = SNDRV_PCM_RATE_8000_192000, rates 366 sound/soc/soc-pcm.c unsigned int rates = UINT_MAX; rates 401 sound/soc/soc-pcm.c rates = snd_pcm_rate_mask_intersect(codec_stream->rates, rates); rates 420 sound/soc/soc-pcm.c hw->rates = snd_pcm_rate_mask_intersect(rates, cpu_stream->rates); rates 561 sound/soc/soc-pcm.c if (!runtime->hw.rates) { rates 597 sound/soc/soc-pcm.c pr_debug("ASoC: rate mask 0x%x\n", runtime->hw.rates); rates 1639 sound/soc/soc-pcm.c runtime->hw.rates = stream->rates; rates 1735 sound/soc/soc-pcm.c unsigned int *rates, rates 1767 sound/soc/soc-pcm.c *rates = snd_pcm_rate_mask_intersect(*rates, cpu_stream->rates); rates 1786 sound/soc/soc-pcm.c *rates = snd_pcm_rate_mask_intersect(*rates, rates 1787 sound/soc/soc-pcm.c codec_stream->rates); rates 1807 sound/soc/soc-pcm.c dpcm_runtime_merge_rate(substream, &runtime->hw.rates, rates 1794 sound/soc/soc-topology.c stream->rates = le32_to_cpu(caps->rates); rates 1987 sound/soc/soc-topology.c dest->rates = src->rates; rates 118 sound/soc/soc-utils.c .rates = STUB_RATES, rates 125 sound/soc/soc-utils.c .rates = STUB_RATES, rates 54 sound/soc/sof/sof-priv.h .rates = srates, .formats = sfmt} rates 165 sound/soc/spear/spdif_in.c .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ rates 264 sound/soc/spear/spdif_out.c .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ rates 460 sound/soc/sti/sti_uniperif.c stream->rates = uni->hw->rates; rates 1358 sound/soc/sti/uniperif.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 41 sound/soc/sti/uniperif_player.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 23 sound/soc/sti/uniperif_reader.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 146 sound/soc/stm/stm32_adfsdm.c .rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | rates 773 sound/soc/stm/stm32_i2s.c stream->rates = SNDRV_PCM_RATE_8000_192000; rates 1299 sound/soc/stm/stm32_sai_sub.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1317 sound/soc/stm/stm32_sai_sub.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 858 sound/soc/stm/stm32_spdifrx.c .rates = SNDRV_PCM_RATE_8000_192000, rates 660 sound/soc/sunxi/sun4i-codec.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 671 sound/soc/sunxi/sun4i-codec.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1280 sound/soc/sunxi/sun4i-codec.c .rates = SUN4I_CODEC_RATES, rates 1288 sound/soc/sunxi/sun4i-codec.c .rates = SUN4I_CODEC_RATES, rates 871 sound/soc/sunxi/sun4i-i2s.c .rates = SNDRV_PCM_RATE_8000_192000, rates 878 sound/soc/sunxi/sun4i-i2s.c .rates = SNDRV_PCM_RATE_8000_192000, rates 419 sound/soc/sunxi/sun4i-spdif.c .rates = SUN4I_RATES, rates 499 sound/soc/sunxi/sun8i-codec.c .rates = SNDRV_PCM_RATE_8000_192000, rates 507 sound/soc/sunxi/sun8i-codec.c .rates = SNDRV_PCM_RATE_8000_192000, rates 228 sound/soc/tegra/tegra20_ac97.c .rates = SNDRV_PCM_RATE_8000_48000, rates 235 sound/soc/tegra/tegra20_ac97.c .rates = SNDRV_PCM_RATE_8000_48000, rates 252 sound/soc/tegra/tegra20_i2s.c .rates = SNDRV_PCM_RATE_8000_96000, rates 259 sound/soc/tegra/tegra20_i2s.c .rates = SNDRV_PCM_RATE_8000_96000, rates 165 sound/soc/tegra/tegra20_spdif.c .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 279 sound/soc/tegra/tegra30_i2s.c .rates = SNDRV_PCM_RATE_8000_96000, rates 286 sound/soc/tegra/tegra30_i2s.c .rates = SNDRV_PCM_RATE_8000_96000, rates 629 sound/soc/ti/davinci-i2s.c .rates = DAVINCI_I2S_RATES, rates 635 sound/soc/ti/davinci-i2s.c .rates = DAVINCI_I2S_RATES, rates 1606 sound/soc/ti/davinci-mcasp.c .rates = DAVINCI_MCASP_RATES, rates 1612 sound/soc/ti/davinci-mcasp.c .rates = DAVINCI_MCASP_RATES, rates 1625 sound/soc/ti/davinci-mcasp.c .rates = DAVINCI_MCASP_RATES, rates 176 sound/soc/ti/davinci-vcif.c .rates = DAVINCI_VCIF_RATES, rates 181 sound/soc/ti/davinci-vcif.c .rates = DAVINCI_VCIF_RATES, rates 447 sound/soc/ti/omap-dmic.c .rates = SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000, rates 285 sound/soc/ti/omap-hdmi.c .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 299 sound/soc/ti/omap-hdmi.c .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | rates 1313 sound/soc/ti/omap-mcbsp.c .rates = OMAP_MCBSP_RATES, rates 1319 sound/soc/ti/omap-mcbsp.c .rates = OMAP_MCBSP_RATES, rates 514 sound/soc/ti/omap-mcpdm.c .rates = OMAP_MCPDM_RATES, rates 521 sound/soc/ti/omap-mcpdm.c .rates = OMAP_MCPDM_RATES, rates 155 sound/soc/txx9/txx9aclc-ac97.c .rates = AC97_RATES, rates 161 sound/soc/txx9/txx9aclc-ac97.c .rates = AC97_RATES, rates 226 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 233 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000 | rates 250 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 265 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 272 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 287 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 302 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 317 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000, rates 332 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000 | rates 349 sound/soc/uniphier/aio-ld11.c .rates = SNDRV_PCM_RATE_48000 | rates 179 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 194 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 201 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 216 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 223 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 238 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 253 sound/soc/uniphier/aio-pxs2.c .rates = SNDRV_PCM_RATE_48000, rates 409 sound/soc/uniphier/evea.c .rates = EVEA_RATES, rates 416 sound/soc/uniphier/evea.c .rates = EVEA_RATES, rates 426 sound/soc/uniphier/evea.c .rates = EVEA_RATES, rates 436 sound/soc/uniphier/evea.c .rates = EVEA_RATES, rates 726 sound/soc/ux500/ux500_msp_dai.c .playback.rates = UX500_I2S_RATES, rates 730 sound/soc/ux500/ux500_msp_dai.c .capture.rates = UX500_I2S_RATES, rates 112 sound/soc/xilinx/xlnx_formatter_pcm.c .rates = SNDRV_PCM_RATE_8000_192000, rates 142 sound/soc/xilinx/xlnx_i2s.c dai_drv->playback.rates = SNDRV_PCM_RATE_8000_192000; rates 150 sound/soc/xilinx/xlnx_i2s.c dai_drv->capture.rates = SNDRV_PCM_RATE_8000_192000; rates 210 sound/soc/xilinx/xlnx_spdif.c .rates = XLNX_SPDIF_RATES, rates 221 sound/soc/xilinx/xlnx_spdif.c .rates = XLNX_SPDIF_RATES, rates 502 sound/soc/xtensa/xtfpga-i2s.c .rates = SNDRV_PCM_RATE_8000_96000, rates 375 sound/soc/zte/zx-i2s.c .rates = ZX_I2S_RATES, rates 381 sound/soc/zte/zx-i2s.c .rates = ZX_I2S_RATES, rates 280 sound/soc/zte/zx-spdif.c .rates = ZX_RATES, rates 360 sound/soc/zte/zx-tdm.c .rates = ZX_TDM_RATES, rates 366 sound/soc/zte/zx-tdm.c .rates = ZX_TDM_RATES, rates 678 sound/sparc/amd7930.c .rates = SNDRV_PCM_RATE_8000, rates 204 sound/sparc/cs4231.c static const unsigned int rates[14] = { rates 210 sound/sparc/cs4231.c .count = ARRAY_SIZE(rates), rates 211 sound/sparc/cs4231.c .list = rates, rates 528 sound/sparc/cs4231.c if (rate == rates[i]) rates 1104 sound/sparc/cs4231.c .rates = SNDRV_PCM_RATE_KNOT | rates 1128 sound/sparc/cs4231.c .rates = SNDRV_PCM_RATE_KNOT | rates 1998 sound/sparc/dbri.c .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_5512, rates 114 sound/spi/at73c213.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 26 sound/usb/6fire/pcm.c static const int rates[] = { 44100, 48000, 88200, 96000, 176400, 192000 }; rates 52 sound/usb/6fire/pcm.c .rates = SNDRV_PCM_RATE_44100 | rates 80 sound/usb/6fire/pcm.c rates[rt->rate]); rates 88 sound/usb/6fire/pcm.c rates[rt->rate]); rates 97 sound/usb/6fire/pcm.c rates[rt->rate]); rates 106 sound/usb/6fire/pcm.c rates[rt->rate]); rates 399 sound/usb/6fire/pcm.c if (rt->rate < ARRAY_SIZE(rates)) rates 400 sound/usb/6fire/pcm.c alsa_rt->hw.rates = rates_alsaid[rt->rate]; rates 404 sound/usb/6fire/pcm.c if (rt->rate < ARRAY_SIZE(rates)) rates 405 sound/usb/6fire/pcm.c alsa_rt->hw.rates = rates_alsaid[rt->rate]; rates 442 sound/usb/6fire/pcm.c rt->rate = ARRAY_SIZE(rates); rates 478 sound/usb/6fire/pcm.c for (rt->rate = 0; rt->rate < ARRAY_SIZE(rates); rt->rate++) rates 479 sound/usb/6fire/pcm.c if (alsa_rt->rate == rates[rt->rate]) rates 481 sound/usb/6fire/pcm.c if (rt->rate == ARRAY_SIZE(rates)) { rates 633 sound/usb/6fire/pcm.c rt->rate = ARRAY_SIZE(rates); rates 37 sound/usb/caiaq/audio.c .rates = (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | rates 164 sound/usb/caiaq/audio.c cdev->pcm_info.rates = cdev->samplerates; rates 189 sound/usb/caiaq/audio.c static unsigned int rates[] = { 5512, 8000, 11025, 16000, 22050, 32000, 44100, rates 243 sound/usb/caiaq/audio.c for (i=0; i < ARRAY_SIZE(rates); i++) rates 244 sound/usb/caiaq/audio.c if (runtime->rate == rates[i]) rates 245 sound/usb/caiaq/audio.c cdev->pcm_info.rates = 1 << i; rates 826 sound/usb/caiaq/audio.c cdev->samplerates = cdev->pcm_info.rates; rates 28 sound/usb/card.h unsigned int rates; /* rate bitmasks */ rates 213 sound/usb/format.c fp->rates |= snd_pcm_rate_to_rate_bit(rate); rates 222 sound/usb/format.c fp->rates = SNDRV_PCM_RATE_CONTINUOUS; rates 287 sound/usb/format.c fp->rates = fp->rate_min = fp->rate_max = 0; rates 306 sound/usb/format.c fp->rates = SNDRV_PCM_RATE_CONTINUOUS; rates 322 sound/usb/format.c fp->rates |= snd_pcm_rate_to_rate_bit(rate); rates 362 sound/usb/format.c fp->rates = SNDRV_PCM_RATE_48000; rates 638 sound/usb/format.c fp->rates != SNDRV_PCM_RATE_48000 && rates 639 sound/usb/format.c fp->rates != SNDRV_PCM_RATE_96000) rates 64 sound/usb/hiface/pcm.c static const unsigned int rates[] = { 44100, 48000, 88200, 96000, 176400, 192000, rates 67 sound/usb/hiface/pcm.c .count = ARRAY_SIZE(rates), rates 68 sound/usb/hiface/pcm.c .list = rates, rates 82 sound/usb/hiface/pcm.c .rates = SNDRV_PCM_RATE_44100 | rates 375 sound/usb/hiface/pcm.c alsa_rt->hw.rates |= SNDRV_PCM_RATE_KNOT; rates 227 sound/usb/line6/capture.c &line6pcm->properties->rates); rates 83 sound/usb/line6/pcm.h struct snd_pcm_hw_constraint_ratdens rates; rates 149 sound/usb/line6/playback.c line6pcm->properties->rates.rats[0].num_min; rates 151 sound/usb/line6/playback.c line6pcm->properties->rates.rats[0].den * rates 377 sound/usb/line6/playback.c &line6pcm->properties->rates); rates 129 sound/usb/line6/pod.c .rates = SNDRV_PCM_RATE_KNOT, rates 146 sound/usb/line6/pod.c .rates = SNDRV_PCM_RATE_KNOT, rates 156 sound/usb/line6/pod.c .rates = { rates 60 sound/usb/line6/podhd.c .rates = SNDRV_PCM_RATE_48000, rates 77 sound/usb/line6/podhd.c .rates = SNDRV_PCM_RATE_48000, rates 87 sound/usb/line6/podhd.c .rates = { rates 102 sound/usb/line6/podhd.c .rates = SNDRV_PCM_RATE_48000, rates 119 sound/usb/line6/podhd.c .rates = SNDRV_PCM_RATE_48000, rates 132 sound/usb/line6/podhd.c .rates = { rates 82 sound/usb/line6/toneport.c .rates = SNDRV_PCM_RATE_KNOT, rates 99 sound/usb/line6/toneport.c .rates = SNDRV_PCM_RATE_KNOT, rates 109 sound/usb/line6/toneport.c .rates = { rates 629 sound/usb/misc/ua101.c substream->runtime->hw.rates = snd_pcm_rate_to_rate_bit(ua->rate); rates 98 sound/usb/pcm.c if (! (fp->rates & SNDRV_PCM_RATE_CONTINUOUS)) { rates 1198 sound/usb/pcm.c if (fp->rates & SNDRV_PCM_RATE_CONTINUOUS) rates 1201 sound/usb/pcm.c if (fp->rates & SNDRV_PCM_RATE_KNOT) rates 1245 sound/usb/pcm.c runtime->hw.rates = 0; rates 1249 sound/usb/pcm.c runtime->hw.rates |= fp->rates; rates 83 sound/usb/proc.c if (fp->rates & SNDRV_PCM_RATE_CONTINUOUS) { rates 74 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 534 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 551 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1022 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1039 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1642 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100, rates 1660 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100, rates 1709 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100, rates 1727 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100, rates 2123 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2149 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2194 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2220 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2264 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2288 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2331 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2355 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2710 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2750 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2806 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 2837 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 3047 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 3070 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 3115 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 3140 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 3198 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 3240 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 3258 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 3294 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100 | rates 3411 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 3457 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 3517 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_96000, rates 3540 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_96000, rates 3582 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100, rates 3602 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_44100, rates 3644 sound/usb/quirks-table.h .rates = SNDRV_PCM_RATE_48000, rates 415 sound/usb/quirks.c .rates = SNDRV_PCM_RATE_CONTINUOUS, rates 1047 sound/usb/stream.c fp->rates = SNDRV_PCM_RATE_CONTINUOUS; rates 858 sound/usb/usx2y/usbusx2yaudio.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 537 sound/usb/usx2y/usx2yhwdeppcm.c .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, rates 143 sound/x86/intel_hdmi_audio.c .rates = SNDRV_PCM_RATE_32000 | rates 263 sound/xen/xen_snd_front_alsa.c struct snd_interval *rates = rates 285 sound/xen/xen_snd_front_alsa.c req.rates.min = rates->min; rates 286 sound/xen/xen_snd_front_alsa.c req.rates.max = rates->max; rates 322 sound/xen/xen_snd_front_alsa.c interval.min = resp.rates.min; rates 323 sound/xen/xen_snd_front_alsa.c interval.max = resp.rates.max; rates 324 sound/xen/xen_snd_front_alsa.c ret = snd_interval_refine(rates, &interval); rates 156 sound/xen/xen_snd_front_cfg.c unsigned int rates; rates 161 sound/xen/xen_snd_front_cfg.c rates = 0; rates 171 sound/xen/xen_snd_front_cfg.c rates |= cur_mask; rates 179 sound/xen/xen_snd_front_cfg.c if (rates) { rates 180 sound/xen/xen_snd_front_cfg.c pcm_hw->rates = rates; rates 226 sound/xen/xen_snd_front_cfg.c .rates = USE_RATE,