/sound/usb/ |
D | quirks-table.h | 64 .rates = SNDRV_PCM_RATE_CONTINUOUS, 110 .rates = SNDRV_PCM_RATE_48000, 469 .rates = SNDRV_PCM_RATE_CONTINUOUS, 486 .rates = SNDRV_PCM_RATE_CONTINUOUS, 957 .rates = SNDRV_PCM_RATE_CONTINUOUS, 974 .rates = SNDRV_PCM_RATE_CONTINUOUS, 1577 .rates = SNDRV_PCM_RATE_44100, 1595 .rates = SNDRV_PCM_RATE_44100, 1644 .rates = SNDRV_PCM_RATE_44100, 1662 .rates = SNDRV_PCM_RATE_44100, [all …]
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 396 unsigned int rates = ~0; in get_rates() local 411 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; in get_rates() 414 rates &= ~(SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | 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() 506 rates = get_rates(rpcm, j, tmp, 0); in snd_ac97_pcm_assign() 512 rpcm->rates &= rates; in snd_ac97_pcm_assign() [all …]
|
/sound/soc/uniphier/ |
D | aio-ld11.c | 224 .rates = SNDRV_PCM_RATE_48000, 231 .rates = SNDRV_PCM_RATE_48000 | 246 .rates = SNDRV_PCM_RATE_48000, 259 .rates = SNDRV_PCM_RATE_48000, 266 .rates = SNDRV_PCM_RATE_48000, 279 .rates = SNDRV_PCM_RATE_48000, 292 .rates = SNDRV_PCM_RATE_48000, 305 .rates = SNDRV_PCM_RATE_48000, 318 .rates = SNDRV_PCM_RATE_48000 | 333 .rates = SNDRV_PCM_RATE_48000 |
|
D | aio-pxs2.c | 177 .rates = SNDRV_PCM_RATE_48000, 190 .rates = SNDRV_PCM_RATE_48000, 197 .rates = SNDRV_PCM_RATE_48000, 210 .rates = SNDRV_PCM_RATE_48000, 217 .rates = SNDRV_PCM_RATE_48000, 230 .rates = SNDRV_PCM_RATE_48000, 243 .rates = SNDRV_PCM_RATE_48000,
|
/sound/soc/intel/skylake/ |
D | skl-pcm.c | 42 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | 690 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_8000, 699 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, 711 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | 724 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 | 737 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, 749 .rates = SNDRV_PCM_RATE_48000, 761 .rates = SNDRV_PCM_RATE_48000, 773 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000, 785 .rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | [all …]
|
/sound/core/ |
D | pcm_misc.c | 498 if (hw->rates & (1 << i)) { in snd_pcm_hw_limit_rates() 504 if (hw->rates & (1 << i)) { in snd_pcm_hw_limit_rates() 549 static unsigned int snd_pcm_rate_mask_sanitize(unsigned int rates) in snd_pcm_rate_mask_sanitize() argument 551 if (rates & SNDRV_PCM_RATE_CONTINUOUS) in snd_pcm_rate_mask_sanitize() 553 else if (rates & SNDRV_PCM_RATE_KNOT) in snd_pcm_rate_mask_sanitize() 555 return rates; in snd_pcm_rate_mask_sanitize() 602 unsigned int rates = 0; in snd_pcm_rate_range_to_bits() local 608 rates |= 1 << i; in snd_pcm_rate_range_to_bits() 611 if (!rates) in snd_pcm_rate_range_to_bits() 612 rates = SNDRV_PCM_RATE_KNOT; in snd_pcm_rate_range_to_bits() [all …]
|
/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 19 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ 40 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ 61 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ 82 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ 791 .rates = SNDRV_PCM_RATE_48000 | 814 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | 832 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | 845 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 | 868 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | 881 .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 | [all …]
|
/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-hostless.c | 68 .rates = MTK_HOSTLESS_RATES, 75 .rates = MTK_HOSTLESS_RATES, 87 .rates = MTK_HOSTLESS_RATES, 94 .rates = MTK_HOSTLESS_RATES,
|
/sound/soc/codecs/ |
D | gtm601.c | 38 .rates = SNDRV_PCM_RATE_8000, 45 .rates = SNDRV_PCM_RATE_8000, 56 .rates = SNDRV_PCM_RATE_48000, 63 .rates = SNDRV_PCM_RATE_48000,
|
D | bt-sco.c | 30 .rates = SNDRV_PCM_RATE_8000, 37 .rates = SNDRV_PCM_RATE_8000, 47 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000, 54 .rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
|
D | lochnagar-sc.c | 158 .rates = SNDRV_PCM_RATE_KNOT, 165 .rates = SNDRV_PCM_RATE_KNOT, 178 .rates = SNDRV_PCM_RATE_KNOT, 185 .rates = SNDRV_PCM_RATE_KNOT, 198 .rates = SNDRV_PCM_RATE_KNOT, 205 .rates = SNDRV_PCM_RATE_KNOT,
|
D | hdac_hda.c | 72 .rates = SNDRV_PCM_RATE_8000_192000, 80 .rates = SNDRV_PCM_RATE_8000_192000, 93 .rates = SNDRV_PCM_RATE_8000_192000, 101 .rates = SNDRV_PCM_RATE_8000_192000, 114 .rates = SNDRV_PCM_RATE_8000_192000, 122 .rates = SNDRV_PCM_RATE_8000_192000, 135 .rates = STUB_HDMI_RATES, 148 .rates = STUB_HDMI_RATES, 161 .rates = STUB_HDMI_RATES, 174 .rates = STUB_HDMI_RATES,
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-hostless.c | 68 .rates = MTK_HOSTLESS_RATES, 75 .rates = MTK_HOSTLESS_RATES, 87 .rates = MTK_HOSTLESS_RATES, 94 .rates = MTK_HOSTLESS_RATES,
|
/sound/usb/6fire/ |
D | pcm.c | 26 static const int rates[] = { 44100, 48000, 88200, 96000, 176400, 192000 }; variable 52 .rates = SNDRV_PCM_RATE_44100 | 80 rates[rt->rate]); in usb6fire_pcm_set_rate() 88 rates[rt->rate]); in usb6fire_pcm_set_rate() 97 rates[rt->rate]); in usb6fire_pcm_set_rate() 106 rates[rt->rate]); in usb6fire_pcm_set_rate() 399 if (rt->rate < ARRAY_SIZE(rates)) in usb6fire_pcm_open() 400 alsa_rt->hw.rates = rates_alsaid[rt->rate]; in usb6fire_pcm_open() 404 if (rt->rate < ARRAY_SIZE(rates)) in usb6fire_pcm_open() 405 alsa_rt->hw.rates = rates_alsaid[rt->rate]; in usb6fire_pcm_open() [all …]
|
/sound/soc/samsung/ |
D | s3c24xx_uda134x.c | 41 static unsigned int rates[33 * 2]; variable 44 .count = ARRAY_SIZE(rates), 45 .list = rates, 79 rates[i*33] = clk_get_rate(priv->xtal) / fs; in s3c24xx_uda134x_startup() 81 rates[i*33 + j] = clk_get_rate(priv->pclk) / in s3c24xx_uda134x_startup() 135 cerr = rates[i] - rate; in s3c24xx_uda134x_hw_params()
|
/sound/firewire/dice/ |
D | dice-proc.c | 66 static const char *const rates[] = { in dice_proc_read() local 138 str_from_array(rates, ARRAY_SIZE(rates), in dice_proc_read() 144 str_from_array(rates, ARRAY_SIZE(rates), in dice_proc_read() 159 snd_iprintf(buffer, " %s", rates[i]); in dice_proc_read() 234 str_from_array(rates, ARRAY_SIZE(rates), in dice_proc_read()
|
D | dice-pcm.c | 22 struct snd_interval rates = { in dice_rate_constraint() local 42 rates.min = min(rates.min, rate); in dice_rate_constraint() 43 rates.max = max(rates.max, rate); in dice_rate_constraint() 46 return snd_interval_refine(r, &rates); in dice_rate_constraint() 111 hw->rates |= snd_pcm_rate_to_rate_bit(rate); in limit_channels_and_rates()
|
/sound/pci/hda/ |
D | hda_eld.c | 152 a->rates = 0; in hdmi_update_short_audio_desc() 155 a->rates |= cea_sampling_frequencies[i + 1]; in hdmi_update_short_audio_desc() 380 hdmi_print_pcm_rates(a->rates, buf, sizeof(buf)); in hdmi_show_short_audio_desc() 425 hdmi_print_pcm_rates(a->rates, buf, sizeof(buf)); in hdmi_print_sad_info() 426 snd_iprintf(buffer, "sad%d_rates\t\t[0x%x]%s\n", i, a->rates, buf); in hdmi_print_sad_info() 540 e->sad[n].rates = val; in snd_hdmi_write_eld_info() 558 u32 rates; in snd_hdmi_eld_update_pcm_info() local 567 rates = SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | in snd_hdmi_eld_update_pcm_info() 574 rates |= a->rates; in snd_hdmi_eld_update_pcm_info() 592 hinfo->rates &= rates; in snd_hdmi_eld_update_pcm_info()
|
/sound/firewire/bebob/ |
D | bebob_focusrite.c | 46 static const unsigned int rates[] = { variable 150 if (id >= ARRAY_SIZE(rates)) in saffirepro_both_clk_freq_get() 153 *rate = rates[id]; in saffirepro_both_clk_freq_get() 162 for (id = 0; id < ARRAY_SIZE(rates); id++) { in saffirepro_both_clk_freq_set() 163 if (rates[id] == rate) in saffirepro_both_clk_freq_set() 166 if (id == ARRAY_SIZE(rates)) in saffirepro_both_clk_freq_set()
|
/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 164 .rates = PXA2XX_AC97_RATES, 170 .rates = PXA2XX_AC97_RATES, 180 .rates = PXA2XX_AC97_RATES, 186 .rates = PXA2XX_AC97_RATES, 196 .rates = PXA2XX_AC97_RATES,
|
/sound/firewire/motu/ |
D | motu-pcm.c | 20 struct snd_interval rates = { in motu_rate_constraint() local 33 rates.min = min(rates.min, rate); in motu_rate_constraint() 34 rates.max = max(rates.max, rate); in motu_rate_constraint() 37 return snd_interval_refine(r, &rates); in motu_rate_constraint() 87 hw->rates |= snd_pcm_rate_to_rate_bit(rate); in limit_channels_and_rates()
|
/sound/soc/qcom/ |
D | lpass-apq8016.c | 34 .rates = SNDRV_PCM_RATE_8000 | 55 .rates = SNDRV_PCM_RATE_8000 | 76 .rates = SNDRV_PCM_RATE_8000 | 97 .rates = SNDRV_PCM_RATE_8000 | 112 .rates = SNDRV_PCM_RATE_8000 |
|
/sound/soc/kirkwood/ |
D | kirkwood-i2s.c | 442 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | 449 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | 461 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | 468 .rates = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | 483 .rates = SNDRV_PCM_RATE_CONTINUOUS, 491 .rates = SNDRV_PCM_RATE_CONTINUOUS, 504 .rates = SNDRV_PCM_RATE_CONTINUOUS, 512 .rates = SNDRV_PCM_RATE_CONTINUOUS,
|
/sound/xen/ |
D | xen_snd_front_cfg.c | 156 unsigned int rates; in cfg_hw_rates() local 161 rates = 0; in cfg_hw_rates() 171 rates |= cur_mask; in cfg_hw_rates() 179 if (rates) { in cfg_hw_rates() 180 pcm_hw->rates = rates; in cfg_hw_rates() 226 .rates = USE_RATE,
|
/sound/soc/mediatek/mt2701/ |
D | mt2701-afe-pcm.c | 556 .rates = SNDRV_PCM_RATE_8000_192000, 570 .rates = SNDRV_PCM_RATE_8000_192000, 585 .rates = SNDRV_PCM_RATE_8000_48000, 599 .rates = SNDRV_PCM_RATE_8000_192000, 614 .rates = (SNDRV_PCM_RATE_8000 627 .rates = (SNDRV_PCM_RATE_8000 641 .rates = SNDRV_PCM_RATE_8000_192000, 651 .rates = SNDRV_PCM_RATE_8000_192000, 667 .rates = SNDRV_PCM_RATE_8000_192000, 676 .rates = SNDRV_PCM_RATE_8000_192000, [all …]
|