Home
last modified time | relevance | path

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

/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()
/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.c987 (params->rate_num / params->rate_den); in omap_mcbsp_dai_hw_params()
/sound/core/
Dpcm_native.c55 unsigned int rate_den; member
472 if (!params->rate_den) { in fixup_unreferenced_params()
476 params->rate_den = 1; in fixup_unreferenced_params()
515 params->rate_den = 0; in snd_pcm_hw_refine()
764 runtime->rate_den = params->rate_den; in snd_pcm_hw_params()
3960 params->rate_den = oparams->rate_den; in snd_pcm_hw_convert_from_old_params()
3979 oparams->rate_den = params->rate_den; in snd_pcm_hw_convert_to_old_params()
Dpcm_compat.c65 u32 rate_den; member
Dpcm_lib.c1322 params->rate_den = den; in snd_pcm_hw_rule_ratnums()
1356 params->rate_den = den; in snd_pcm_hw_rule_ratdens()
Dpcm.c397 snd_iprintf(buffer, "rate: %u (%u/%u)\n", runtime->rate, runtime->rate_num, runtime->rate_den); in snd_pcm_substream_proc_hw_params_read()
/sound/isa/
Des18xx.c406 bits = 128 - runtime->rate_den; in snd_es18xx_rate_set()
408 bits = 256 - runtime->rate_den; in snd_es18xx_rate_set()
411 bits = 256 - runtime->rate_den; in snd_es18xx_rate_set()
413 bits = 128 - runtime->rate_den; in snd_es18xx_rate_set()
/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()
/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()
/sound/pci/
Dsonicvibes.c556 params->rate_den = 1; in snd_sonicvibes_hw_constraint_dac_rate()
562 params->rate_den = (SV_ADCMULT/512) * (m+2); in snd_sonicvibes_hw_constraint_dac_rate()
Des1938.c452 bits = 128 - runtime->rate_den; in snd_es1938_rate_set()
454 bits = 256 - runtime->rate_den; in snd_es1938_rate_set()
/sound/soc/atmel/
Datmel_ssc_dai.c242 params->rate_den = den; in atmel_ssc_hw_rule_rate()
/sound/isa/gus/
Dgus_pcm.c581 snd_gf1_i_write8(gus, SNDRV_GF1_GB_RECORD_RATE, runtime->rate_den - 2); in snd_gf1_pcm_capture_prepare()
/sound/pci/echoaudio/
Dechoaudio.c601 set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); in init_engine()