Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 25 of 1495) sorted by relevance

12345678910>>...60

/linux/drivers/net/wireless/broadcom/b43/
H A Dppr.c71 struct b43_ppr_rates *rates = &ppr->rates; in b43_ppr_load_max_from_sprom() local
132 rates->mcs_20[0] = rates->ofdm[0]; in b43_ppr_load_max_from_sprom()
133 rates->mcs_20[1] = rates->ofdm[2]; in b43_ppr_load_max_from_sprom()
134 rates->mcs_20[2] = rates->ofdm[3]; in b43_ppr_load_max_from_sprom()
135 rates->mcs_20[3] = rates->ofdm[4]; in b43_ppr_load_max_from_sprom()
136 rates->mcs_20[4] = rates->ofdm[5]; in b43_ppr_load_max_from_sprom()
137 rates->mcs_20[5] = rates->ofdm[6]; in b43_ppr_load_max_from_sprom()
138 rates->mcs_20[6] = rates->ofdm[7]; in b43_ppr_load_max_from_sprom()
139 rates->mcs_20[7] = rates->ofdm[7]; in b43_ppr_load_max_from_sprom()
156 rates->ofdm_20_cdd[0] = rates->mcs_20_cdd[0]; in b43_ppr_load_max_from_sprom()
[all …]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-hostless.c118 .rates = MTK_HOSTLESS_RATES,
125 .rates = MTK_HOSTLESS_RATES,
137 .rates = MTK_HOSTLESS_RATES,
144 .rates = MTK_HOSTLESS_RATES,
156 .rates = MTK_HOSTLESS_RATES,
163 .rates = MTK_HOSTLESS_RATES,
175 .rates = MTK_HOSTLESS_RATES,
182 .rates = MTK_HOSTLESS_RATES,
195 .rates = MTK_HOSTLESS_RATES,
207 .rates = MTK_HOSTLESS_RATES,
[all …]
/linux/net/mac80211/
H A Drate.c633 if (!(rates[0].flags & in rate_fixup_ratelist()
663 rates[i].idx = -1; in rate_fixup_ratelist()
680 rates[i].flags |= in rate_fixup_ratelist()
698 rates[i].idx = -1; in rate_fixup_ratelist()
735 if (rates != info->control.rates) in rate_control_fill_sta_table()
736 rates[i] = info->control.rates[i]; in rate_control_fill_sta_table()
747 rates[i].idx = -1; in rate_control_fill_sta_table()
748 rates[i].count = 0; in rate_control_fill_sta_table()
751 if (rates[i].idx < 0 || !rates[i].count) in rate_control_fill_sta_table()
826 rate_idx_match_mask(&rates->rate[i].idx, &rates->rate[i].flags, in rate_control_apply_mask_ratetbl()
[all …]
H A Dstatus.c226 else if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len()
227 !(info->status.rates[0].flags & in ieee80211_tx_radiotap_len()
246 } else if (info->status.rates[0].idx >= 0) { in ieee80211_tx_radiotap_len()
298 } else if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header()
486 pos[2] = info->status.rates[0].idx; in ieee80211_add_tx_radiotap_header()
875 info->status.rates[i].idx = -1; in ieee80211_tx_get_rates()
876 info->status.rates[i].count = 0; in ieee80211_tx_get_rates()
882 info->status.rates[i].idx = -1; in ieee80211_tx_get_rates()
883 info->status.rates[i].count = 0; in ieee80211_tx_get_rates()
887 count += info->status.rates[i].count; in ieee80211_tx_get_rates()
[all …]
H A Drc80211_minstrel_ht.c709 if (!rates[i]) in __minstrel_ht_get_sample_rate()
712 cur = rates[i]; in __minstrel_ht_get_sample_rate()
713 rates[i] = 0; in __minstrel_ht_get_sample_rate()
815 cur = rates[i]; in minstrel_ht_move_sample_rates()
835 rates[i] = 0; in minstrel_ht_move_sample_rates()
843 rates[i] = 0; in minstrel_ht_move_sample_rates()
1015 u16 *rates; in minstrel_ht_refill_sample_rates() local
1023 if (!rates[i]) in minstrel_ht_refill_sample_rates()
1037 if (!rates[i]) in minstrel_ht_refill_sample_rates()
1556 rates = kzalloc(sizeof(*rates), GFP_ATOMIC); in minstrel_ht_update_rates()
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c56 if (rates[i].idx < 0) in wfx_tx_policy_build()
70 return !memcmp(a->rates, b->rates, sizeof(a->rates)); in wfx_tx_policy_is_equal()
123 memcpy(entry->rates, wanted.rates, sizeof(entry->rates)); in wfx_tx_policy_get()
159 is_used = memzcmp(policies[i].rates, sizeof(policies[i].rates)); in wfx_tx_policy_upload()
270 if (rates[j].idx >= rates[i - 1].idx) { in wfx_tx_fixup_rates()
271 rates[i - 1].count += rates[j].count; in wfx_tx_fixup_rates()
272 rates[i - 1].count = min_t(u16, 15, rates[i - 1].count); in wfx_tx_fixup_rates()
274 memcpy(rates + i, rates + j, sizeof(rates[i])); in wfx_tx_fixup_rates()
284 rates[i].idx = 0; in wfx_tx_fixup_rates()
286 rates[i].flags = rates[0].flags & IEEE80211_TX_RC_MCS; in wfx_tx_fixup_rates()
[all …]
/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-ports.c13 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
31 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
49 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
67 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
85 .rates = SNDRV_PCM_RATE_48000 | \
103 .rates = SNDRV_PCM_RATE_48000 |
120 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
135 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
148 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
165 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
[all …]
/linux/drivers/net/wireless/st/cw1200/
H A Dtxrx.c83 rates[i - 1] = rates[i]; in tx_policy_build()
91 if (rates[j].idx == rates[i].idx) { in tx_policy_build()
92 rates[i].count += rates[j].count; in tx_policy_build()
98 rates[i] = rates[j]; in tx_policy_build()
134 rates[3] = rates[1]; in tx_policy_build()
139 rates[2].flags = rates[1].flags; in tx_policy_build()
159 rates[2] = rates[1]; in tx_policy_build()
190 rates[0].idx, rates[0].count, in tx_policy_build()
191 rates[1].idx, rates[1].count, in tx_policy_build()
192 rates[2].idx, rates[2].count, in tx_policy_build()
[all …]
/linux/sound/soc/sof/amd/
H A Dvangogh.c33 .rates = SNDRV_PCM_RATE_8000_96000,
42 .rates = SNDRV_PCM_RATE_8000_48000,
57 .rates = SNDRV_PCM_RATE_8000_96000,
66 .rates = SNDRV_PCM_RATE_8000_48000,
81 .rates = SNDRV_PCM_RATE_8000_96000,
90 .rates = SNDRV_PCM_RATE_8000_48000,
105 .rates = SNDRV_PCM_RATE_8000_48000,
118 .rates = SNDRV_PCM_RATE_8000_96000,
127 .rates = SNDRV_PCM_RATE_8000_48000,
H A Dacp63.c33 .rates = SNDRV_PCM_RATE_8000_96000,
42 .rates = SNDRV_PCM_RATE_8000_48000,
57 .rates = SNDRV_PCM_RATE_8000_96000,
66 .rates = SNDRV_PCM_RATE_8000_48000,
81 .rates = SNDRV_PCM_RATE_8000_96000,
90 .rates = SNDRV_PCM_RATE_8000_48000,
105 .rates = SNDRV_PCM_RATE_8000_48000,
118 .rates = SNDRV_PCM_RATE_8000_96000,
H A Drembrandt.c33 .rates = SNDRV_PCM_RATE_8000_96000,
42 .rates = SNDRV_PCM_RATE_8000_48000,
57 .rates = SNDRV_PCM_RATE_8000_96000,
66 .rates = SNDRV_PCM_RATE_8000_48000,
81 .rates = SNDRV_PCM_RATE_8000_96000,
90 .rates = SNDRV_PCM_RATE_8000_48000,
105 .rates = SNDRV_PCM_RATE_8000_48000,
118 .rates = SNDRV_PCM_RATE_8000_96000,
H A Drenoir.c32 .rates = SNDRV_PCM_RATE_8000_96000,
41 .rates = SNDRV_PCM_RATE_8000_48000,
56 .rates = SNDRV_PCM_RATE_8000_96000,
65 .rates = SNDRV_PCM_RATE_8000_48000,
80 .rates = SNDRV_PCM_RATE_8000_48000,
93 .rates = SNDRV_PCM_RATE_8000_96000,
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c288 return mwifiex_get_supported_rates(priv, rates); in mwifiex_get_active_data_rates()
290 return mwifiex_copy_rates(rates, 0, in mwifiex_get_active_data_rates()
379 u8 *rates, u8 radio_type) in mwifiex_get_rates_from_cfg80211() argument
391 rate_mask = request->rates[NL80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211()
396 rate_mask = request->rates[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
425 k = mwifiex_copy_rates(rates, k, supported_rates_b, in mwifiex_get_supported_rates()
433 k = mwifiex_copy_rates(rates, k, supported_rates_g, in mwifiex_get_supported_rates()
480 k = mwifiex_copy_rates(rates, k, adhoc_rates_b, in mwifiex_get_supported_rates()
486 k = mwifiex_copy_rates(rates, k, adhoc_rates_g, in mwifiex_get_supported_rates()
492 k = mwifiex_copy_rates(rates, k, adhoc_rates_bg, in mwifiex_get_supported_rates()
[all …]
/linux/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c29 unsigned int *rates; member
160 int *rates, int count) in sdw_compute_group_params() argument
169 params[i].rate = rates[i]; in sdw_compute_group_params()
205 if (rate == group->rates[i]) in sdw_add_element_group_count()
212 unsigned int *rates; in sdw_add_element_group_count() local
215 rates = krealloc(group->rates, in sdw_add_element_group_count()
218 if (!rates) in sdw_add_element_group_count()
220 group->rates = rates; in sdw_add_element_group_count()
239 if (!group->rates) in sdw_get_group_count()
252 kfree(group->rates); in sdw_get_group_count()
[all …]
/linux/drivers/clk/sunxi-ng/
H A Dccu_frac.c62 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate()
77 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); in ccu_frac_helper_read_rate()
84 return (reg & cf->select) ? cf->rates[1] : cf->rates[0]; in ccu_frac_helper_read_rate()
98 if (cf->rates[0] == rate) in ccu_frac_helper_set_rate()
100 else if (cf->rates[1] == rate) in ccu_frac_helper_set_rate()
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c239 | set11nTries(i->rates, 1) in ar9002_set_txdesc()
240 | set11nTries(i->rates, 2) in ar9002_set_txdesc()
241 | set11nTries(i->rates, 3) in ar9002_set_txdesc()
246 | set11nRate(i->rates, 1) in ar9002_set_txdesc()
247 | set11nRate(i->rates, 2) in ar9002_set_txdesc()
248 | set11nRate(i->rates, 3)); in ar9002_set_txdesc()
299 | set11nPktDurRTSCTS(i->rates, 1)); in ar9002_set_txdesc()
305 set11nRateFlags(i->rates, 0) | set11nChainSel(i->rates, 0) in ar9002_set_txdesc()
306 | set11nRateFlags(i->rates, 1) | set11nChainSel(i->rates, 1) in ar9002_set_txdesc()
307 | set11nRateFlags(i->rates, 2) | set11nChainSel(i->rates, 2) in ar9002_set_txdesc()
[all …]
H A Dxmit.c181 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl()
513 memcpy(rates, bf->rates, sizeof(rates)); in ath_tx_complete_aggr()
627 memcpy(tx_info->control.rates, rates, sizeof(rates)); in ath_tx_complete_aggr()
764 memcpy(info->control.rates, bf->rates, in ath_tx_process_buffer()
787 rates = tx_info->control.rates; in ath_lookup_legacy()
790 if (!rates[i].count || rates[i].idx < 0) in ath_lookup_legacy()
813 rates = bf->rates; in ath_lookup_rate()
1281 rates = bf->rates; in ath_buf_set_rate()
1292 if (!rates[i].count || (rates[i].idx < 0)) in ath_buf_set_rate()
1295 rix = rates[i].idx; in ath_buf_set_rate()
[all …]
/linux/sound/soc/uniphier/
H A Daio-ld11.c197 .rates = SNDRV_PCM_RATE_48000,
204 .rates = SNDRV_PCM_RATE_48000 |
217 .rates = SNDRV_PCM_RATE_48000,
228 .rates = SNDRV_PCM_RATE_48000,
235 .rates = SNDRV_PCM_RATE_48000,
246 .rates = SNDRV_PCM_RATE_48000,
257 .rates = SNDRV_PCM_RATE_48000,
268 .rates = SNDRV_PCM_RATE_48000,
279 .rates = SNDRV_PCM_RATE_48000 |
292 .rates = SNDRV_PCM_RATE_48000 |
/linux/sound/usb/
H A Dquirks-table.h64 .rates = SNDRV_PCM_RATE_CONTINUOUS,
110 .rates = SNDRV_PCM_RATE_48000,
1577 .rates = SNDRV_PCM_RATE_44100,
1595 .rates = SNDRV_PCM_RATE_44100,
1644 .rates = SNDRV_PCM_RATE_44100,
1662 .rates = SNDRV_PCM_RATE_44100,
2870 .rates = SNDRV_PCM_RATE_48000,
2894 .rates = SNDRV_PCM_RATE_48000,
2939 .rates = SNDRV_PCM_RATE_48000,
2964 .rates = SNDRV_PCM_RATE_48000,
[all …]
/linux/sound/soc/fsl/
H A Dfsl_rpmsg.c120 .rates = SNDRV_PCM_RATE_KNOT,
127 .rates = SNDRV_PCM_RATE_KNOT,
141 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
147 .rates = SNDRV_PCM_RATE_KNOT,
154 .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |
163 .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |
172 .rates = SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_32000 |
209 dai_drv->playback.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
210 dai_drv->capture.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
/linux/drivers/gpu/drm/tegra/
H A Ddp.c54 link->rates[i] = 0; in drm_dp_link_reset()
82 if (rate <= link->rates[pivot]) in drm_dp_link_add_rate()
89 link->rates[i] = link->rates[i - 1]; in drm_dp_link_add_rate()
91 link->rates[pivot] = rate; in drm_dp_link_add_rate()
116 if (rate == link->rates[i]) in drm_dp_link_remove_rate()
125 link->rates[i] = link->rates[i + 1]; in drm_dp_link_remove_rate()
149 if (link->rates[i] != 0) in drm_dp_link_update_rates()
150 link->rates[count++] = link->rates[i]; in drm_dp_link_update_rates()
154 link->rates[i] = 0; in drm_dp_link_update_rates()
403 for (j = 0; j < ARRAY_SIZE(rates) && rates[j] <= rate; j++) { in drm_dp_link_choose()
[all …]
/linux/sound/pci/ac97/
H A Dac97_pcm.c396 unsigned int rates = ~0; in get_rates() local
411 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; in get_rates()
416 return rates; in get_rates()
442 unsigned int rates; in snd_ac97_pcm_assign() local
478 rpcm->rates = ~0; in snd_ac97_pcm_assign()
483 rates = ~0; in snd_ac97_pcm_assign()
504 rates = SNDRV_PCM_RATE_48000; in snd_ac97_pcm_assign()
512 rpcm->rates &= rates; in snd_ac97_pcm_assign()
528 rates = SNDRV_PCM_RATE_96000; in snd_ac97_pcm_assign()
531 rpcm->rates |= rates; in snd_ac97_pcm_assign()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Drate.c284 if (rs->rates[idx] & BRCMS_RATE_FLAG) in brcms_c_rateset_valid()
316 r = (int)rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate()
319 rateset[r] = rs->rates[i]; /* preserve basic bit! */ in brcms_c_rate_hwrs_filter_sort_validate()
325 r = hw_rs->rates[i] & BRCMS_RATE_MASK; in brcms_c_rate_hwrs_filter_sort_validate()
327 rs->rates[count++] = rateset[r]; in brcms_c_rate_hwrs_filter_sort_validate()
409 bool basic_only, u8 rates, uint xmask, bool mcsallow) in brcms_c_rateset_filter() argument
417 r = src->rates[i]; in brcms_c_rateset_filter()
420 if (rates == BRCMS_RATES_CCK && in brcms_c_rateset_filter()
423 if (rates == BRCMS_RATES_OFDM && in brcms_c_rateset_filter()
426 dst->rates[count++] = r & xmask; in brcms_c_rateset_filter()
[all …]
/linux/drivers/usb/serial/
H A Dir-usb.c201 int rates; in ir_startup() local
210 rates = le16_to_cpu(irda_desc->wBaudRate); in ir_startup()
215 (rates & USB_IRDA_BR_2400) ? " 2400" : "", in ir_startup()
216 (rates & USB_IRDA_BR_9600) ? " 9600" : "", in ir_startup()
217 (rates & USB_IRDA_BR_19200) ? " 19200" : "", in ir_startup()
218 (rates & USB_IRDA_BR_38400) ? " 38400" : "", in ir_startup()
219 (rates & USB_IRDA_BR_57600) ? " 57600" : "", in ir_startup()
220 (rates & USB_IRDA_BR_115200) ? " 115200" : "", in ir_startup()
221 (rates & USB_IRDA_BR_576000) ? " 576000" : "", in ir_startup()
222 (rates & USB_IRDA_BR_1152000) ? " 1152000" : "", in ir_startup()
[all …]
/linux/arch/mips/lantiq/
H A Dclk.c85 if (clk->rates && *clk->rates) { in clk_set_rate()
86 unsigned long *r = clk->rates; in clk_set_rate()
105 if (clk->rates && *clk->rates) { in clk_round_rate()
106 unsigned long *r = clk->rates; in clk_round_rate()

12345678910>>...60