Home
last modified time | relevance | path

Searched refs:rates (Results 1 - 25 of 1779) sorted by relevance

12345678910>>...72

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dppr.c71 struct b43_ppr_rates *rates = &ppr->rates; in b43_ppr_load_max_from_sprom() local
121 rates->cck[i] = maxpwr - off; in b43_ppr_load_max_from_sprom()
128 rates->ofdm[i] = maxpwr - off; in b43_ppr_load_max_from_sprom()
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 in b43_ppr_load_max_from_sprom()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Dppr.c71 struct b43_ppr_rates *rates = &ppr->rates; in b43_ppr_load_max_from_sprom() local
121 rates->cck[i] = maxpwr - off; in b43_ppr_load_max_from_sprom()
128 rates->ofdm[i] = maxpwr - off; in b43_ppr_load_max_from_sprom()
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 in b43_ppr_load_max_from_sprom()
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Drate.c292 "no overlap between basic rates (0x%x) and user mask (0x%x on band %d) - clearing the latter", in ieee80211_check_rate_mask()
325 return; /* assume basic rates unknown and accept rate */ in rc_send_low_basicrate()
352 info->control.rates[0].flags |= IEEE80211_TX_RC_S1G_MCS; in __rate_control_send_low()
353 info->control.rates[0].idx = 0; in __rate_control_send_low()
361 info->control.rates[0].idx = 0; in __rate_control_send_low()
372 info->control.rates[0].idx = i; in __rate_control_send_low()
376 "no supported rates for sta %pM (0x%x, band %d) in rate_mask 0x%x with flags 0x%x\n", in __rate_control_send_low()
382 info->control.rates[0].count = in __rate_control_send_low()
406 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
417 rc_send_low_basicrate(&info->control.rates[ in rate_control_send_low()
610 rate_fixup_ratelist(struct ieee80211_vif *vif, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) rate_fixup_ratelist() argument
713 rate_control_fill_sta_table(struct ieee80211_sta *sta, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) rate_control_fill_sta_table() argument
802 rate_control_apply_mask_ratetbl(struct sta_info *sta, struct ieee80211_supported_band *sband, struct ieee80211_sta_rates *rates) rate_control_apply_mask_ratetbl() argument
827 rate_control_apply_mask(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_supported_band *sband, struct ieee80211_tx_rate *rates, int max_rates) rate_control_apply_mask() argument
940 rate_control_set_rates(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, struct ieee80211_sta_rates *rates) rate_control_set_rates() argument
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Drate.c301 "no overlap between basic rates (0x%x) and user mask (0x%x on band %d) - clearing the latter", in ieee80211_check_rate_mask()
330 return; /* assume basic rates unknown and accept rate */ in rc_send_low_basicrate()
357 info->control.rates[0].flags |= IEEE80211_TX_RC_S1G_MCS; in __rate_control_send_low()
358 info->control.rates[0].idx = 0; in __rate_control_send_low()
366 info->control.rates[0].idx = 0; in __rate_control_send_low()
377 info->control.rates[0].idx = i; in __rate_control_send_low()
381 "no supported rates for sta %pM (0x%x, band %d) in rate_mask 0x%x with flags 0x%x\n", in __rate_control_send_low()
387 info->control.rates[0].count = in __rate_control_send_low()
411 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
422 rc_send_low_basicrate(&info->control.rates[ in rate_control_send_low()
615 rate_fixup_ratelist(struct ieee80211_vif *vif, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) rate_fixup_ratelist() argument
718 rate_control_fill_sta_table(struct ieee80211_sta *sta, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) rate_control_fill_sta_table() argument
807 rate_control_apply_mask_ratetbl(struct sta_info *sta, struct ieee80211_supported_band *sband, struct ieee80211_sta_rates *rates) rate_control_apply_mask_ratetbl() argument
832 rate_control_apply_mask(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_supported_band *sband, struct ieee80211_tx_rate *rates, int max_rates) rate_control_apply_mask() argument
944 rate_control_set_rates(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, struct ieee80211_sta_rates *rates) rate_control_set_rates() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/wfx/
H A Ddata_tx.c47 struct ieee80211_tx_rate *rates) in wfx_tx_policy_build()
53 WARN(rates[0].idx < 0, "invalid rate policy"); in wfx_tx_policy_build()
56 if (rates[i].idx < 0) in wfx_tx_policy_build()
58 WARN_ON(rates[i].count > 15); in wfx_tx_policy_build()
59 rateid = wfx_get_hw_rate(wdev, &rates[i]); in wfx_tx_policy_build()
60 // Pack two values in each byte of policy->rates in wfx_tx_policy_build()
61 count = rates[i].count; in wfx_tx_policy_build()
64 policy->rates[rateid / 2] |= count; in wfx_tx_policy_build()
71 return !memcmp(a->rates, b->rates, sizeo in tx_policy_is_equal()
46 wfx_tx_policy_build(struct wfx_vif *wvif, struct tx_policy *policy, struct ieee80211_tx_rate *rates) wfx_tx_policy_build() argument
105 wfx_tx_policy_get(struct wfx_vif *wvif, struct ieee80211_tx_rate *rates, bool *renew) wfx_tx_policy_get() argument
236 wfx_tx_fixup_rates(struct ieee80211_tx_rate *rates) wfx_tx_fixup_rates() argument
[all...]
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c47 struct ieee80211_tx_rate *rates) in wfx_tx_policy_build()
53 WARN(rates[0].idx < 0, "invalid rate policy"); in wfx_tx_policy_build()
56 if (rates[i].idx < 0) in wfx_tx_policy_build()
58 WARN_ON(rates[i].count > 15); in wfx_tx_policy_build()
59 rateid = wfx_get_hw_rate(wdev, &rates[i]); in wfx_tx_policy_build()
60 /* Pack two values in each byte of policy->rates */ in wfx_tx_policy_build()
61 count = rates[i].count; in wfx_tx_policy_build()
64 policy->rates[rateid / 2] |= count; in wfx_tx_policy_build()
70 return !memcmp(a->rates, b->rates, sizeo in wfx_tx_policy_is_equal()
46 wfx_tx_policy_build(struct wfx_vif *wvif, struct wfx_tx_policy *policy, struct ieee80211_tx_rate *rates) wfx_tx_policy_build() argument
101 wfx_tx_policy_get(struct wfx_vif *wvif, struct ieee80211_tx_rate *rates, bool *renew) wfx_tx_policy_get() argument
227 wfx_tx_fixup_rates(struct ieee80211_tx_rate *rates) wfx_tx_fixup_rates() argument
[all...]
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/amd/
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 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 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,
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Dtxrx.c67 struct ieee80211_tx_rate *rates, size_t count) in tx_policy_build()
72 BUG_ON(rates[0].idx < 0); in tx_policy_build()
75 /* Sort rates in descending order. */ in tx_policy_build()
77 if (rates[i].idx < 0) { in tx_policy_build()
81 if (rates[i].idx > rates[i - 1].idx) { in tx_policy_build()
82 struct ieee80211_tx_rate tmp = rates[i - 1]; in tx_policy_build()
83 rates[i - 1] = rates[i]; in tx_policy_build()
84 rates[ in tx_policy_build()
65 tx_policy_build(const struct cw1200_common *priv, struct tx_policy *policy, struct ieee80211_tx_rate *rates, size_t count) tx_policy_build() argument
296 tx_policy_get(struct cw1200_common *priv, struct ieee80211_tx_rate *rates, size_t count, bool *renew) tx_policy_get() argument
413 cw1200_rate_mask_to_wsm(struct cw1200_common *priv, u32 rates) cw1200_rate_mask_to_wsm() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Dtxrx.c67 struct ieee80211_tx_rate *rates, size_t count) in tx_policy_build()
72 BUG_ON(rates[0].idx < 0); in tx_policy_build()
75 /* Sort rates in descending order. */ in tx_policy_build()
77 if (rates[i].idx < 0) { in tx_policy_build()
81 if (rates[i].idx > rates[i - 1].idx) { in tx_policy_build()
82 struct ieee80211_tx_rate tmp = rates[i - 1]; in tx_policy_build()
83 rates[i - 1] = rates[i]; in tx_policy_build()
84 rates[ in tx_policy_build()
65 tx_policy_build(const struct cw1200_common *priv, struct tx_policy *policy, struct ieee80211_tx_rate *rates, size_t count) tx_policy_build() argument
296 tx_policy_get(struct cw1200_common *priv, struct ieee80211_tx_rate *rates, size_t count, bool *renew) tx_policy_get() argument
413 cw1200_rate_mask_to_wsm(struct cw1200_common *priv, u32 rates) cw1200_rate_mask_to_wsm() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c238 WRITE_ONCE(ads->ds_ctl2, set11nTries(i->rates, 0) in ar9002_set_txdesc()
239 | 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()
245 WRITE_ONCE(ads->ds_ctl3, set11nRate(i->rates, 0) 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()
298 WRITE_ONCE(ads->ds_ctl4, set11nPktDurRTSCTS(i->rates, 0) in ar9002_set_txdesc()
299 | set11nPktDurRTSCTS(i->rates, in ar9002_set_txdesc()
[all...]
H A Dar9003_mac.c69 WRITE_ONCE(ads->ctl13, set11nTries(i->rates, 0) in ar9003_set_txdesc()
70 | set11nTries(i->rates, 1) in ar9003_set_txdesc()
71 | set11nTries(i->rates, 2) in ar9003_set_txdesc()
72 | set11nTries(i->rates, 3) in ar9003_set_txdesc()
76 WRITE_ONCE(ads->ctl14, set11nRate(i->rates, 0) in ar9003_set_txdesc()
77 | set11nRate(i->rates, 1) in ar9003_set_txdesc()
78 | set11nRate(i->rates, 2) in ar9003_set_txdesc()
79 | set11nRate(i->rates, 3)); in ar9003_set_txdesc()
141 WRITE_ONCE(ads->ctl15, set11nPktDurRTSCTS(i->rates, 0) in ar9003_set_txdesc()
142 | set11nPktDurRTSCTS(i->rates, in ar9003_set_txdesc()
[all...]
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
H A Dccu_frac.c59 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate()
72 pr_debug("%s: clock is fractional (rates %lu and %lu)\n", in ccu_frac_helper_read_rate()
73 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); in ccu_frac_helper_read_rate()
80 return (reg & cf->select) ? cf->rates[1] : cf->rates[0]; in ccu_frac_helper_read_rate()
93 if (cf->rates[0] == rate) in ccu_frac_helper_set_rate()
95 else if (cf->rates[1] == rate) in ccu_frac_helper_set_rate()
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/
H A Dccu_frac.c62 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate()
76 pr_debug("%s: clock is fractional (rates %lu and %lu)\n", in ccu_frac_helper_read_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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c95 /* AC rates */
193 * This function maps an index in supported rates table into
238 /* 11n non-HT rates */ in mwifiex_index_to_acs_data_rate()
247 /* This function maps an index in supported rates table into
293 * This function returns the current active data rates.
297 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) in mwifiex_get_active_data_rates() argument
300 return mwifiex_get_supported_rates(priv, rates); in mwifiex_get_active_data_rates()
302 return mwifiex_copy_rates(rates, 0, in mwifiex_get_active_data_rates()
387 /* This function gets the supported data rates from bitmask inside
391 u8 *rates, u in mwifiex_get_rates_from_cfg80211()
390 mwifiex_get_rates_from_cfg80211(struct mwifiex_private *priv, u8 *rates, u8 radio_type) mwifiex_get_rates_from_cfg80211() argument
425 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates) mwifiex_get_supported_rates() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c83 /* AC rates */
181 * This function maps an index in supported rates table into
226 /* 11n non-HT rates */ in mwifiex_index_to_acs_data_rate()
235 /* This function maps an index in supported rates table into
281 * This function returns the current active data rates.
285 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) in mwifiex_get_active_data_rates() argument
288 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()
375 /* This function gets the supported data rates from bitmask inside
379 u8 *rates, u in mwifiex_get_rates_from_cfg80211()
378 mwifiex_get_rates_from_cfg80211(struct mwifiex_private *priv, u8 *rates, u8 radio_type) mwifiex_get_rates_from_cfg80211() argument
413 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates) mwifiex_get_supported_rates() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dscan.c27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) in symbol_build_supp_rates() argument
34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates()
45 static int prism_build_supp_rates(u8 *buf, const u8 *rates) in prism_build_supp_rates() argument
52 if (rates[i] == 0x0) in prism_build_supp_rates()
54 buf[i + 2] = rates[i]; in prism_build_supp_rates()
58 /* We might still have another 2 rates, which need to go in in prism_build_supp_rates()
59 * extended supported rates */ in prism_build_supp_rates()
60 if (i == 8 && rates[i] > 0) { in prism_build_supp_rates()
64 if (rates[i] == 0x0) in prism_build_supp_rates()
66 buf[i + 2] = rates[ in prism_build_supp_rates()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dscan.c27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) in symbol_build_supp_rates() argument
34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates()
45 static int prism_build_supp_rates(u8 *buf, const u8 *rates) in prism_build_supp_rates() argument
52 if (rates[i] == 0x0) in prism_build_supp_rates()
54 buf[i + 2] = rates[i]; in prism_build_supp_rates()
58 /* We might still have another 2 rates, which need to go in in prism_build_supp_rates()
59 * extended supported rates */ in prism_build_supp_rates()
60 if (i == 8 && rates[i] > 0) { in prism_build_supp_rates()
64 if (rates[i] == 0x0) in prism_build_supp_rates()
66 buf[i + 2] = rates[ in prism_build_supp_rates()
[all...]
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-5.10/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c28 unsigned int *rates; member
170 int *rates, int count) in sdw_compute_group_params()
179 params[i].rate = rates[i]; in sdw_compute_group_params()
215 if (rate == group->rates[i]) in sdw_add_element_group_count()
222 unsigned int *rates; in sdw_add_element_group_count() local
225 rates = krealloc(group->rates, in sdw_add_element_group_count()
228 if (!rates) in sdw_add_element_group_count()
230 group->rates = rates; in sdw_add_element_group_count()
168 sdw_compute_group_params(struct sdw_bus *bus, struct sdw_group_params *params, int *rates, int count) sdw_compute_group_params() argument
[all...]
/kernel/linux/linux-6.6/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c29 unsigned int *rates; member
160 int *rates, int count) in sdw_compute_group_params()
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()
158 sdw_compute_group_params(struct sdw_bus *bus, struct sdw_group_params *params, int *rates, int count) sdw_compute_group_params() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c238 WRITE_ONCE(ads->ds_ctl2, set11nTries(i->rates, 0) in ar9002_set_txdesc()
239 | 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()
245 WRITE_ONCE(ads->ds_ctl3, set11nRate(i->rates, 0) 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()
298 WRITE_ONCE(ads->ds_ctl4, set11nPktDurRTSCTS(i->rates, 0) in ar9002_set_txdesc()
299 | set11nPktDurRTSCTS(i->rates, in ar9002_set_txdesc()
[all...]

Completed in 15 milliseconds

12345678910>>...72