Searched refs:sampling_rate (Results 1 – 14 of 14) sorted by relevance
/sound/soc/codecs/ |
D | max98373-i2c.c | 221 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 …]
|
D | max98927.c | 312 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 …]
|
D | max98373-sdw.c | 539 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 …]
|
D | max98390.c | 312 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 …]
|
D | rt711-sdca.c | 1260 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()
|
D | wm_adsp.c | 4230 tstamp->sampling_rate = compr->sample_rate; in wm_adsp_compr_pointer()
|
/sound/firewire/fireworks/ |
D | fireworks_command.c | 30 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()
|
D | fireworks_pcm.c | 49 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()
|
D | fireworks_proc.c | 109 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()
|
D | fireworks.h | 223 int snd_efw_get_multiplier_mode(unsigned int sampling_rate, unsigned int *mode);
|
/sound/firewire/bebob/ |
D | bebob_pcm.c | 161 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/ |
D | hda-compress.c | 111 tstamp->sampling_rate = snd_pcm_rate_bit_to_rate(pstream->rates); in hda_probe_compr_pointer()
|
/sound/soc/sunxi/ |
D | sun4i-i2s.c | 277 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/ |
D | sst_drv_interface.c | 366 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp()
|