/kernel/linux/linux-6.6/sound/usb/line6/ |
H A D | toneport.c | 82 .rates = SNDRV_PCM_RATE_KNOT, 99 .rates = SNDRV_PCM_RATE_KNOT, 109 .rates = {
|
H A D | playback.c | 149 line6pcm->properties->rates.rats[0].num_min; in submit_audio_out_urb() 151 line6pcm->properties->rates.rats[0].den * in submit_audio_out_urb() 377 &line6pcm->properties->rates); in snd_line6_playback_open()
|
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 3037 * @rates: Rates defined as in sas_phy_linkrates 3039 * This function sets the link rates given in the rates 3046 mpi3mr_transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) in mpi3mr_transport_phy_speed() argument 3058 if (!rates->minimum_linkrate) in mpi3mr_transport_phy_speed() 3059 rates->minimum_linkrate = phy->minimum_linkrate; in mpi3mr_transport_phy_speed() 3060 else if (rates->minimum_linkrate < phy->minimum_linkrate_hw) in mpi3mr_transport_phy_speed() 3061 rates->minimum_linkrate = phy->minimum_linkrate_hw; in mpi3mr_transport_phy_speed() 3063 if (!rates->maximum_linkrate) in mpi3mr_transport_phy_speed() 3064 rates in mpi3mr_transport_phy_speed() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
H A D | dev.c | 258 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rtl8187_tx() 263 } else if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in rtl8187_tx() 282 hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8); in rtl8187_tx() 297 hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8); in rtl8187_tx() 535 info->status.rates[0].count = pkt_rc + 1; in rtl8187b_status_cb() 792 * one of the 12 rates, all are enabled */ in rtl8187b_init_hw() 914 info->status.rates[0].count = avg_retry + 1; in rtl8187_work() 915 if (info->status.rates[0].count > RETRY_COUNT) in rtl8187_work() 1465 BUILD_BUG_ON(sizeof(priv->rates) != sizeof(rtl818x_rates)); in rtl8187_probe() 1468 memcpy(priv->rates, rtl818x_rate in rtl8187_probe() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | phy.c | 1248 u8 rates[RTW_RF_PATH_MAX] = {0}; in rtw_phy_store_tx_power_by_rate() local 1254 rates, pwr_by_rate, &rate_num); in rtw_phy_store_tx_power_by_rate() 1263 rate = rates[i]; in rtw_phy_store_tx_power_by_rate() 1871 u8 *rates; in rtw_phy_set_tx_power_index_by_rs() local 1881 rates = rtw_rate_section[rs]; in rtw_phy_set_tx_power_index_by_rs() 1885 rate = rates[i]; in rtw_phy_set_tx_power_index_by_rs() 1892 /* set tx power level by path for each rates, note that the order of the rates 1903 /* do not need cck rates if we are not in 2.4G */ in rtw_phy_set_tx_power_level_by_path() 1931 u8 rs, u8 size, u8 *rates) in rtw_phy_tx_power_by_rate_config_by_path() 1930 rtw_phy_tx_power_by_rate_config_by_path(struct rtw_hal *hal, u8 path, u8 rs, u8 size, u8 *rates) rtw_phy_tx_power_by_rate_config_by_path() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | rme32.c | 312 .rates = (SNDRV_PCM_RATE_32000 | 339 .rates = (SNDRV_PCM_RATE_44100 | 365 .rates = (SNDRV_PCM_RATE_32000 | 392 .rates = (SNDRV_PCM_RATE_44100 | 856 runtime->hw.rates |= SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000; in snd_rme32_playback_spdif_open() 862 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); in snd_rme32_playback_spdif_open() 897 runtime->hw.rates |= SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000; in snd_rme32_capture_spdif_open() 904 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); in snd_rme32_capture_spdif_open() 940 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); in snd_rme32_playback_adat_open() 964 runtime->hw.rates in snd_rme32_capture_adat_open() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 283 memset_after(&txinfo->status, 0, rates); in carl9170_tx_release() 416 if (txinfo->status.rates[0].count == 1) in carl9170_tx_status_process_ampdu() 542 if (txinfo->status.rates[i].idx < 0) in carl9170_tx_fill_rateinfo() 546 txinfo->status.rates[i].count = tries; in carl9170_tx_fill_rateinfo() 553 txinfo->status.rates[i].idx = -1; in carl9170_tx_fill_rateinfo() 554 txinfo->status.rates[i].count = 0; in carl9170_tx_fill_rateinfo() 885 info->control.rates, in carl9170_tx_get_rates() 917 txrate = &sinfo->control.rates[i]; in carl9170_tx_apply_rateset() 938 /* fallback rates are stored in the firmware's in carl9170_tx_apply_rateset() 1581 rate = &txinfo->control.rates[ in carl9170_tx_beacon_physet() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
H A D | dev.c | 258 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rtl8187_tx() 263 } else if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in rtl8187_tx() 282 hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8); in rtl8187_tx() 297 hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8); in rtl8187_tx() 535 info->status.rates[0].count = pkt_rc + 1; in rtl8187b_status_cb() 792 * one of the 12 rates, all are enabled */ in rtl8187b_init_hw() 914 info->status.rates[0].count = avg_retry + 1; in rtl8187_work() 915 if (info->status.rates[0].count > RETRY_COUNT) in rtl8187_work() 1467 BUILD_BUG_ON(sizeof(priv->rates) != sizeof(rtl818x_rates)); in rtl8187_probe() 1470 memcpy(priv->rates, rtl818x_rate in rtl8187_probe() [all...] |
/kernel/linux/linux-6.6/sound/pci/ |
H A D | rme32.c | 287 .rates = (SNDRV_PCM_RATE_32000 | 314 .rates = (SNDRV_PCM_RATE_44100 | 340 .rates = (SNDRV_PCM_RATE_32000 | 367 .rates = (SNDRV_PCM_RATE_44100 | 839 runtime->hw.rates |= SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000; in snd_rme32_playback_spdif_open() 847 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); in snd_rme32_playback_spdif_open() 882 runtime->hw.rates |= SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000; in snd_rme32_capture_spdif_open() 890 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); in snd_rme32_capture_spdif_open() 928 runtime->hw.rates = snd_pcm_rate_to_rate_bit(rate); in snd_rme32_playback_adat_open() 953 runtime->hw.rates in snd_rme32_capture_adat_open() [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/ |
H A D | mt8192-dai-i2s.c | 1853 .rates = MTK_CONNSYS_I2S_RATES, 1865 .rates = MTK_I2S_RATES, 1877 .rates = MTK_I2S_RATES, 1889 .rates = MTK_I2S_RATES, 1901 .rates = MTK_I2S_RATES, 1913 .rates = MTK_I2S_RATES, 1925 .rates = MTK_I2S_RATES, 1937 .rates = MTK_I2S_RATES, 1949 .rates = MTK_I2S_RATES, 1961 .rates [all...] |
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-util.c | 1418 unsigned int i, j, n, *rates = NULL; in pa_alsa_get_supported_rates() local 1436 rates = pa_xnew(unsigned int, n + 1); in pa_alsa_get_supported_rates() 1440 rates[j++] = all_rates[i]; in pa_alsa_get_supported_rates() 1443 rates[j] = 0; in pa_alsa_get_supported_rates() 1445 rates = pa_xnew(unsigned int, 2); in pa_alsa_get_supported_rates() 1447 rates[0] = fallback_rate; in pa_alsa_get_supported_rates() 1448 if ((ret = snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rates[0], NULL)) < 0) { in pa_alsa_get_supported_rates() 1450 pa_xfree(rates); in pa_alsa_get_supported_rates() 1454 rates[1] = 0; in pa_alsa_get_supported_rates() 1457 return rates; in pa_alsa_get_supported_rates() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
H A D | clock.c | 161 /* Set the number of rates to be skipped/already read */ in scmi_clock_describe_rates_get() 174 dev_err(handle->dev, "No. of rates > MAX_NUM_RATES"); in scmi_clock_describe_rates_get() 188 rate = &clk->list.rates[tot_rate_cnt]; in scmi_clock_describe_rates_get() 205 sort(clk->list.rates, tot_rate_cnt, sizeof(*rate), in scmi_clock_describe_rates_get()
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-pcm.c | 17 .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000, 34 .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_44100 |
|
/kernel/linux/linux-5.10/sound/soc/bcm/ |
H A D | bcm63xx-i2s-whistler.c | 205 .rates = SNDRV_PCM_RATE_8000_192000, 211 .rates = SNDRV_PCM_RATE_8000_192000,
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | cx20442.c | 310 .rates = SNDRV_PCM_RATE_8000, 317 .rates = SNDRV_PCM_RATE_8000,
|
H A D | adau1781.c | 454 .rates = SNDRV_PCM_RATE_8000_96000, 461 .rates = SNDRV_PCM_RATE_8000_96000,
|
H A D | ak4535.c | 363 .rates = AK4535_RATES, 369 .rates = AK4535_RATES,
|
H A D | ad1836.c | 208 .rates = SNDRV_PCM_RATE_48000, \ 216 .rates = SNDRV_PCM_RATE_48000, \
|
/kernel/linux/linux-5.10/sound/soc/au1x/ |
H A D | ac97c.c | 211 .rates = AC97_RATES, 217 .rates = AC97_RATES,
|
H A D | psc-i2s.c | 274 .rates = AU1XPSC_I2S_RATES, 280 .rates = AU1XPSC_I2S_RATES,
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_pcm.c | 78 hw->rates = 0; in limit_channels_and_rates() 90 hw->rates |= snd_pcm_rate_to_rate_bit(snd_bebob_rate_table[i]); in limit_channels_and_rates()
|
/kernel/linux/linux-5.10/sound/soc/adi/ |
H A D | axi-i2s.c | 226 axi_i2s_dai.playback.rates = SNDRV_PCM_RATE_KNOT; in axi_i2s_probe() 238 axi_i2s_dai.capture.rates = SNDRV_PCM_RATE_KNOT; in axi_i2s_probe()
|
/kernel/linux/linux-5.10/sound/soc/amd/raven/ |
H A D | acp3x-i2s.c | 265 .rates = SNDRV_PCM_RATE_8000_96000, 275 .rates = SNDRV_PCM_RATE_8000_48000,
|
/kernel/linux/linux-5.10/sound/soc/cirrus/ |
H A D | ep93xx-ac97.c | 344 .rates = SNDRV_PCM_RATE_8000_48000, 351 .rates = SNDRV_PCM_RATE_8000_48000,
|
/kernel/linux/linux-5.10/sound/arm/ |
H A D | pxa2xx-ac97.c | 79 runtime->hw.rates = pxa2xx_ac97_ac97->rates[i]; in pxa2xx_ac97_pcm_open()
|