Home
last modified time | relevance | path

Searched refs:sampling_rate (Results 1 – 14 of 14) sorted by relevance

/sound/soc/codecs/
Dmax98373-i2c.c221 unsigned int sampling_rate = 0; in max98373_dai_hw_params() local
253 sampling_rate = MAX98373_PCM_SR_SET1_SR_8000; in max98373_dai_hw_params()
256 sampling_rate = MAX98373_PCM_SR_SET1_SR_11025; in max98373_dai_hw_params()
259 sampling_rate = MAX98373_PCM_SR_SET1_SR_12000; in max98373_dai_hw_params()
262 sampling_rate = MAX98373_PCM_SR_SET1_SR_16000; in max98373_dai_hw_params()
265 sampling_rate = MAX98373_PCM_SR_SET1_SR_22050; in max98373_dai_hw_params()
268 sampling_rate = MAX98373_PCM_SR_SET1_SR_24000; in max98373_dai_hw_params()
271 sampling_rate = MAX98373_PCM_SR_SET1_SR_32000; in max98373_dai_hw_params()
274 sampling_rate = MAX98373_PCM_SR_SET1_SR_44100; in max98373_dai_hw_params()
277 sampling_rate = MAX98373_PCM_SR_SET1_SR_48000; in max98373_dai_hw_params()
[all …]
Dmax98927.c312 unsigned int sampling_rate = 0; in max98927_dai_hw_params() local
344 sampling_rate = MAX98927_PCM_SR_SET1_SR_8000; in max98927_dai_hw_params()
347 sampling_rate = MAX98927_PCM_SR_SET1_SR_11025; in max98927_dai_hw_params()
350 sampling_rate = MAX98927_PCM_SR_SET1_SR_12000; in max98927_dai_hw_params()
353 sampling_rate = MAX98927_PCM_SR_SET1_SR_16000; in max98927_dai_hw_params()
356 sampling_rate = MAX98927_PCM_SR_SET1_SR_22050; in max98927_dai_hw_params()
359 sampling_rate = MAX98927_PCM_SR_SET1_SR_24000; in max98927_dai_hw_params()
362 sampling_rate = MAX98927_PCM_SR_SET1_SR_32000; in max98927_dai_hw_params()
365 sampling_rate = MAX98927_PCM_SR_SET1_SR_44100; in max98927_dai_hw_params()
368 sampling_rate = MAX98927_PCM_SR_SET1_SR_48000; in max98927_dai_hw_params()
[all …]
Dmax98373-sdw.c539 int ret, chan_sz, sampling_rate; in max98373_sdw_dai_hw_params() local
615 sampling_rate = MAX98373_PCM_SR_SET1_SR_8000; in max98373_sdw_dai_hw_params()
618 sampling_rate = MAX98373_PCM_SR_SET1_SR_11025; in max98373_sdw_dai_hw_params()
621 sampling_rate = MAX98373_PCM_SR_SET1_SR_12000; in max98373_sdw_dai_hw_params()
624 sampling_rate = MAX98373_PCM_SR_SET1_SR_16000; in max98373_sdw_dai_hw_params()
627 sampling_rate = MAX98373_PCM_SR_SET1_SR_22050; in max98373_sdw_dai_hw_params()
630 sampling_rate = MAX98373_PCM_SR_SET1_SR_24000; in max98373_sdw_dai_hw_params()
633 sampling_rate = MAX98373_PCM_SR_SET1_SR_32000; in max98373_sdw_dai_hw_params()
636 sampling_rate = MAX98373_PCM_SR_SET1_SR_44100; in max98373_sdw_dai_hw_params()
639 sampling_rate = MAX98373_PCM_SR_SET1_SR_48000; in max98373_sdw_dai_hw_params()
[all …]
Dmax98390.c312 unsigned int sampling_rate; in max98390_dai_hw_params() local
342 sampling_rate = MAX98390_PCM_SR_SET1_SR_8000; in max98390_dai_hw_params()
345 sampling_rate = MAX98390_PCM_SR_SET1_SR_11025; in max98390_dai_hw_params()
348 sampling_rate = MAX98390_PCM_SR_SET1_SR_12000; in max98390_dai_hw_params()
351 sampling_rate = MAX98390_PCM_SR_SET1_SR_16000; in max98390_dai_hw_params()
354 sampling_rate = MAX98390_PCM_SR_SET1_SR_22050; in max98390_dai_hw_params()
357 sampling_rate = MAX98390_PCM_SR_SET1_SR_24000; in max98390_dai_hw_params()
360 sampling_rate = MAX98390_PCM_SR_SET1_SR_32000; in max98390_dai_hw_params()
363 sampling_rate = MAX98390_PCM_SR_SET1_SR_44100; in max98390_dai_hw_params()
366 sampling_rate = MAX98390_PCM_SR_SET1_SR_48000; in max98390_dai_hw_params()
[all …]
Drt711-sdca.c1260 unsigned int sampling_rate; in rt711_sdca_pcm_hw_params() local
1310 sampling_rate = RT711_SDCA_RATE_44100HZ; in rt711_sdca_pcm_hw_params()
1313 sampling_rate = RT711_SDCA_RATE_48000HZ; in rt711_sdca_pcm_hw_params()
1316 sampling_rate = RT711_SDCA_RATE_96000HZ; in rt711_sdca_pcm_hw_params()
1319 sampling_rate = RT711_SDCA_RATE_192000HZ; in rt711_sdca_pcm_hw_params()
1330 sampling_rate); in rt711_sdca_pcm_hw_params()
1333 sampling_rate); in rt711_sdca_pcm_hw_params()
1336 sampling_rate); in rt711_sdca_pcm_hw_params()
Dwm_adsp.c4230 tstamp->sampling_rate = compr->sample_rate; in wm_adsp_compr_pointer()
/sound/firewire/fireworks/
Dfireworks_command.c30 u32 sampling_rate; member
284 be32_to_cpus(&clock->sampling_rate); in command_get_clock()
311 if ((clock.source == source) && (clock.sampling_rate == rate)) in command_set_clock()
317 if ((rate != UINT_MAX) && (clock.sampling_rate != rate)) in command_set_clock()
318 clock.sampling_rate = rate; in command_set_clock()
322 cpu_to_be32s(&clock.sampling_rate); in command_set_clock()
362 *rate = clock.sampling_rate; in snd_efw_command_get_sampling_rate()
Dfireworks_pcm.c49 int snd_efw_get_multiplier_mode(unsigned int sampling_rate, unsigned int *mode) in snd_efw_get_multiplier_mode() argument
54 if (freq_table[i] == sampling_rate) { in snd_efw_get_multiplier_mode()
201 unsigned int sampling_rate; in pcm_open() local
203 err = snd_efw_command_get_sampling_rate(efw, &sampling_rate); in pcm_open()
208 substream->runtime->hw.rate_min = sampling_rate; in pcm_open()
209 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
Dfireworks_proc.c109 unsigned int sampling_rate; in proc_read_clock() local
114 if (snd_efw_command_get_sampling_rate(efw, &sampling_rate) < 0) in proc_read_clock()
118 snd_iprintf(buffer, "Sampling Rate: %d\n", sampling_rate); in proc_read_clock()
Dfireworks.h223 int snd_efw_get_multiplier_mode(unsigned int sampling_rate, unsigned int *mode);
/sound/firewire/bebob/
Dbebob_pcm.c161 unsigned int sampling_rate; in pcm_open() local
163 err = spec->get(bebob, &sampling_rate); in pcm_open()
171 substream->runtime->hw.rate_min = sampling_rate; in pcm_open()
172 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
/sound/soc/sof/intel/
Dhda-compress.c111 tstamp->sampling_rate = snd_pcm_rate_bit_to_rate(pstream->rates); in hda_probe_compr_pointer()
/sound/soc/sunxi/
Dsun4i-i2s.c277 unsigned int sampling_rate, in sun4i_i2s_get_bclk_div() argument
282 int div = parent_rate / sampling_rate / word_size / channels; in sun4i_i2s_get_bclk_div()
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c366 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp()