/kernel/linux/linux-6.6/sound/usb/ |
H A D | format.c | 168 fp->rates = rate_bits; in set_fixed_rate() 173 /* set up rate_min, rate_max and rates from the rate table */ 181 fp->rates = 0; in set_rate_table_min_max() 186 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in set_rate_table_min_max() 191 * parse the format descriptor and stores the possible sample rates 248 "%u:%d: All rates were zero\n", in parse_audio_format_rates_v1() 254 /* continuous rates */ in parse_audio_format_rates_v1() 255 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1() 273 * rates per altsetting but reports the full set each time. 274 * If we don't filter out the unsupported rates an [all...] |
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_pcm.c | 29 .rates = SNDRV_PCM_RATE_CONTINUOUS, 50 .rates = SNDRV_PCM_RATE_CONTINUOUS, 71 .rates = 90 .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_CONTINUOUS, // SNDRV_PCM_RATE_48000, 156 runtime->hw.rates = SNDRV_PCM_RATE_32000; in snd_vortex_pcm_open() 159 runtime->hw.rates = SNDRV_PCM_RATE_44100; in snd_vortex_pcm_open() 162 runtime->hw.rates = SNDRV_PCM_RATE_48000; in snd_vortex_pcm_open()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
H A D | rc.c | 171 struct ieee80211_tx_rate *rates = tx_info->control.rates; in rtl_get_rate() local 178 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[0], txrc, in rtl_get_rate() 183 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[i], in rtl_get_rate()
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A D | hif_tx_mib.c | 207 int policy_index, u8 *rates) in hif_set_tx_rate_retry_policy() 223 memcpy(&arg->tx_rate_retry_policy[0].rates, rates, in hif_set_tx_rate_retry_policy() 224 sizeof(arg->tx_rate_retry_policy[0].rates)); in hif_set_tx_rate_retry_policy() 206 hif_set_tx_rate_retry_policy(struct wfx_vif *wvif, int policy_index, u8 *rates) hif_set_tx_rate_retry_policy() argument
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | patch_si3054.c | 158 static const unsigned int rates[] = { 8000, 9600, 16000 }; in si3054_pcm_open() local 160 .count = ARRAY_SIZE(rates), in si3054_pcm_open() 161 .list = rates, in si3054_pcm_open() 175 .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_KNOT,
|
/kernel/linux/linux-5.10/sound/soc/meson/ |
H A D | aiu.c | 115 .rates = SNDRV_PCM_RATE_CONTINUOUS, 131 .rates = SNDRV_PCM_RATE_CONTINUOUS, 147 .rates = SNDRV_PCM_RATE_8000_192000, 158 .rates = (SNDRV_PCM_RATE_32000 |
|
/kernel/linux/linux-5.10/sound/soc/qcom/ |
H A D | lpass-sc7180.c | 29 .rates = SNDRV_PCM_RATE_48000, 38 .rates = SNDRV_PCM_RATE_48000, 52 .rates = SNDRV_PCM_RATE_48000, 66 .rates = SNDRV_PCM_RATE_48000,
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 186 struct sas_phy_linkrates rates; in sas_phy_control() local 210 rates.minimum_linkrate = min; in sas_phy_control() 211 rates.maximum_linkrate = max; in sas_phy_control() 219 if (i->dft->lldd_control_phy(asd_phy, phy_op, &rates)) in sas_phy_control()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | rc.c | 171 struct ieee80211_tx_rate *rates = tx_info->control.rates; in rtl_get_rate() local 178 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[0], txrc, in rtl_get_rate() 183 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[i], in rtl_get_rate()
|
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
H A D | hif_tx_mib.c | 195 int wfx_hif_set_tx_rate_retry_policy(struct wfx_vif *wvif, int policy_index, u8 *rates) in wfx_hif_set_tx_rate_retry_policy() argument 211 memcpy(&arg->tx_rate_retry_policy[0].rates, rates, in wfx_hif_set_tx_rate_retry_policy() 212 sizeof(arg->tx_rate_retry_policy[0].rates)); in wfx_hif_set_tx_rate_retry_policy()
|
/kernel/linux/linux-6.6/drivers/opp/ |
H A D | debugfs.c | 87 debugfs_create_ulong("rate_hz", S_IRUGO, pdentry, &opp->rates[0]); in opp_debug_create_clks() 93 debugfs_create_ulong(name, S_IRUGO, pdentry, &opp->rates[i]); in opp_debug_create_clks() 143 if (likely(opp_table->clk_count == 1 && opp->rates[0])) in opp_debug_create_one() 144 id = opp->rates[0]; in opp_debug_create_one()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | patch_si3054.c | 158 static const unsigned int rates[] = { 8000, 9600, 16000 }; in si3054_pcm_open() local 160 .count = ARRAY_SIZE(rates), in si3054_pcm_open() 161 .list = rates, in si3054_pcm_open() 175 .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_KNOT,
|
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 186 struct sas_phy_linkrates rates; in sas_phy_control() local 210 rates.minimum_linkrate = min; in sas_phy_control() 211 rates.maximum_linkrate = max; in sas_phy_control() 219 if (i->dft->lldd_control_phy(asd_phy, phy_op, &rates)) in sas_phy_control()
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/ |
H A D | mt8192-dai-pcm.c | 354 .rates = MTK_PCM_RATES, 361 .rates = MTK_PCM_RATES, 375 .rates = MTK_PCM_RATES, 382 .rates = MTK_PCM_RATES,
|
/kernel/linux/linux-6.6/sound/soc/tegra/ |
H A D | tegra210_ope.c | 130 .rates = SNDRV_PCM_RATE_8000_192000, 139 .rates = SNDRV_PCM_RATE_8000_192000, 151 .rates = SNDRV_PCM_RATE_8000_192000, 160 .rates = SNDRV_PCM_RATE_8000_192000,
|
/kernel/linux/linux-6.6/sound/soc/meson/ |
H A D | aiu.c | 118 .rates = SNDRV_PCM_RATE_CONTINUOUS, 131 .rates = SNDRV_PCM_RATE_CONTINUOUS, 144 .rates = SNDRV_PCM_RATE_8000_192000, 155 .rates = (SNDRV_PCM_RATE_32000 |
|
/kernel/linux/linux-6.6/sound/soc/qcom/ |
H A D | lpass-sc7180.c | 30 .rates = SNDRV_PCM_RATE_48000, 40 .rates = SNDRV_PCM_RATE_48000, 53 .rates = SNDRV_PCM_RATE_48000, 66 .rates = SNDRV_PCM_RATE_48000,
|
/third_party/ffmpeg/libavresample/tests/ |
H A D | avresample.c | 159 /* formats, rates, and layouts are ordered for priority in testing. 176 static const int rates[] = { variable 219 "[<num sample rates> [<num channel layouts>]]]\n" in main() 228 num_rates = av_clip(num_rates, 1, FF_ARRAY_ELEMS(rates)); in main() 263 in_rate = rates[m]; in main() 280 out_rate = rates[n]; in main()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 2418 struct ipw_supported_rates *rates) in ipw_send_supported_rates() 2420 if (!priv || !rates) { in ipw_send_supported_rates() 2425 return ipw_send_cmd_pdu(priv, IPW_CMD_SUPPORTED_RATES, sizeof(*rates), in ipw_send_supported_rates() 2426 rates); in ipw_send_supported_rates() 4142 * rate match to B rates */ in ipw_get_max_rate() 4146 /* TODO: Verify that the rate is supported by the current rates in ipw_get_max_rate() 5346 struct ipw_supported_rates *rates) in ipw_compatible_rates() 5350 memset(rates, 0, sizeof(*rates)); in ipw_compatible_rates() 5352 rates in ipw_compatible_rates() 2417 ipw_send_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) ipw_send_supported_rates() argument 5344 ipw_compatible_rates(struct ipw_priv *priv, const struct libipw_network *network, struct ipw_supported_rates *rates) ipw_compatible_rates() argument 5412 ipw_add_cck_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_cck_scan_rates() argument 5435 ipw_add_ofdm_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_ofdm_scan_rates() argument 5476 struct ipw_supported_rates rates; global() member 5484 struct ipw_supported_rates rates; ipw_find_adhoc_network() local 5660 struct ipw_supported_rates rates; ipw_best_network() local 7267 ipw_associate_network(struct ipw_priv *priv, struct libipw_network *network, struct ipw_supported_rates *rates, int roaming) ipw_associate_network() argument 7526 struct ipw_supported_rates *rates; ipw_associate() local 10755 init_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) init_supported_rates() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 2386 struct ipw_supported_rates *rates) in ipw_send_supported_rates() 2388 if (!priv || !rates) { in ipw_send_supported_rates() 2393 return ipw_send_cmd_pdu(priv, IPW_CMD_SUPPORTED_RATES, sizeof(*rates), in ipw_send_supported_rates() 2394 rates); in ipw_send_supported_rates() 4096 * rate match to B rates */ in ipw_get_max_rate() 4100 /* TODO: Verify that the rate is supported by the current rates in ipw_get_max_rate() 5300 struct ipw_supported_rates *rates) in ipw_compatible_rates() 5304 memset(rates, 0, sizeof(*rates)); in ipw_compatible_rates() 5306 rates in ipw_compatible_rates() 2385 ipw_send_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) ipw_send_supported_rates() argument 5298 ipw_compatible_rates(struct ipw_priv *priv, const struct libipw_network *network, struct ipw_supported_rates *rates) ipw_compatible_rates() argument 5366 ipw_add_cck_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_cck_scan_rates() argument 5389 ipw_add_ofdm_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) ipw_add_ofdm_scan_rates() argument 5430 struct ipw_supported_rates rates; global() member 5438 struct ipw_supported_rates rates; ipw_find_adhoc_network() local 5614 struct ipw_supported_rates rates; ipw_best_network() local 7221 ipw_associate_network(struct ipw_priv *priv, struct libipw_network *network, struct ipw_supported_rates *rates, int roaming) ipw_associate_network() argument 7480 struct ipw_supported_rates *rates; ipw_associate() local 10709 init_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) init_supported_rates() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
H A D | mt8183-afe-pcm.c | 188 .rates = MTK_PCM_RATES, 200 .rates = MTK_PCM_RATES, 212 .rates = MTK_PCM_RATES, 224 .rates = MTK_PCM_RATES, 236 .rates = MTK_PCM_RATES, 248 .rates = MTK_PCM_RATES, 260 .rates = MTK_PCM_RATES, 272 .rates = MTK_PCM_DAI_RATES, 284 .rates = MTK_PCM_RATES,
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/ |
H A D | mt8183-afe-pcm.c | 188 .rates = MTK_PCM_RATES, 200 .rates = MTK_PCM_RATES, 212 .rates = MTK_PCM_RATES, 224 .rates = MTK_PCM_RATES, 236 .rates = MTK_PCM_RATES, 248 .rates = MTK_PCM_RATES, 260 .rates = MTK_PCM_RATES, 272 .rates = MTK_PCM_DAI_RATES, 284 .rates = MTK_PCM_RATES,
|
/kernel/linux/linux-6.6/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-pcm.c | 490 .rates = SNDRV_PCM_RATE_48000, 497 .rates = SNDRV_PCM_RATE_48000, 508 .rates = SNDRV_PCM_RATE_48000, 528 .rates = SNDRV_PCM_RATE_48000, 535 .rates = SNDRV_PCM_RATE_48000, 546 .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_48000, 553 .rates = SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_48000, 564 .rates = SNDRV_PCM_RATE_48000, 571 .rates = SNDRV_PCM_RATE_48000,
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mt7603.h | 59 struct ieee80211_tx_rate rates[4]; member 72 struct ieee80211_tx_rate rates[4]; member 232 struct ieee80211_tx_rate *rates);
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mt7603.h | 59 struct ieee80211_tx_rate rates[4]; member 71 struct ieee80211_tx_rate rates[4]; member 226 struct ieee80211_tx_rate *rates);
|