Home
last modified time | relevance | path

Searched refs:rate_den (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/sound/isa/sb/
Dsb8_main.c72 params->rate_den = den; in snd_sb8_hw_constraint_rate_channels()
167 snd_sbdsp_command(chip, 256 - runtime->rate_den / 2); in snd_sb8_playback_prepare()
176 snd_sbdsp_command(chip, 256 - runtime->rate_den); in snd_sb8_playback_prepare()
292 snd_sbdsp_command(chip, 256 - runtime->rate_den / 2); in snd_sb8_capture_prepare()
301 snd_sbdsp_command(chip, 256 - runtime->rate_den); in snd_sb8_capture_prepare()
/linux-6.6.21/sound/soc/ti/
Ddavinci-i2s.c414 params->rate_den; in davinci_i2s_hw_params()
422 params->rate_num * params->rate_den; in davinci_i2s_hw_params()
Domap-mcbsp.c976 (params->rate_num / params->rate_den); in omap_mcbsp_dai_hw_params()
/linux-6.6.21/sound/core/
Dpcm_native.c55 unsigned int rate_den; member
490 if (!params->rate_den) { in fixup_unreferenced_params()
494 params->rate_den = 1; in fixup_unreferenced_params()
533 params->rate_den = 0; in snd_pcm_hw_refine()
782 runtime->rate_den = params->rate_den; in snd_pcm_hw_params()
4002 params->rate_den = oparams->rate_den; in snd_pcm_hw_convert_from_old_params()
4021 oparams->rate_den = params->rate_den; in snd_pcm_hw_convert_to_old_params()
Dpcm_compat.c65 u32 rate_den; member
Dpcm_lib.c1348 params->rate_den = den; in snd_pcm_hw_rule_ratnums()
1382 params->rate_den = den; in snd_pcm_hw_rule_ratdens()
Dpcm.c399 snd_iprintf(buffer, "rate: %u (%u/%u)\n", runtime->rate, runtime->rate_num, runtime->rate_den); in snd_pcm_substream_proc_hw_params_read()
/linux-6.6.21/sound/isa/
Des18xx.c403 bits = 128 - runtime->rate_den; in snd_es18xx_rate_set()
405 bits = 256 - runtime->rate_den; in snd_es18xx_rate_set()
408 bits = 256 - runtime->rate_den; in snd_es18xx_rate_set()
410 bits = 128 - runtime->rate_den; in snd_es18xx_rate_set()
/linux-6.6.21/sound/isa/es1688/
Des1688_lib.c302 bits = 256 - runtime->rate_den; in snd_es1688_set_rate()
304 bits = 128 - runtime->rate_den; in snd_es1688_set_rate()
/linux-6.6.21/sound/isa/cs423x/
Dcs4236_lib.c173 unsigned char rate = divisor_to_rate_register(params->rate_den); in snd_cs4236_playback_format()
191 unsigned char rate = divisor_to_rate_register(params->rate_den); in snd_cs4236_capture_format()
/linux-6.6.21/Documentation/sound/designs/
Dtracepoints.rst101 ``rate_den``
/linux-6.6.21/sound/pci/
Dsonicvibes.c555 params->rate_den = 1; in snd_sonicvibes_hw_constraint_dac_rate()
561 params->rate_den = (SV_ADCMULT/512) * (m+2); in snd_sonicvibes_hw_constraint_dac_rate()
Des1938.c451 bits = 128 - runtime->rate_den; in snd_es1938_rate_set()
453 bits = 256 - runtime->rate_den; in snd_es1938_rate_set()
/linux-6.6.21/sound/soc/atmel/
Datmel_ssc_dai.c242 params->rate_den = den; in atmel_ssc_hw_rule_rate()
/linux-6.6.21/include/uapi/sound/
Dasound.h418 unsigned int rate_den; /* R: rate denominator */ member
/linux-6.6.21/tools/include/uapi/sound/
Dasound.h418 unsigned int rate_den; /* R: rate denominator */ member
/linux-6.6.21/sound/isa/gus/
Dgus_pcm.c568 snd_gf1_i_write8(gus, SNDRV_GF1_GB_RECORD_RATE, runtime->rate_den - 2); in snd_gf1_pcm_capture_prepare()
/linux-6.6.21/include/sound/
Dpcm.h376 unsigned int rate_den; member
/linux-6.6.21/sound/pci/echoaudio/
Dechoaudio.c614 set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); in init_engine()
/linux-6.6.21/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst1490 unsigned int rate_den;