Searched refs:rate_den (Results 1 – 15 of 15) sorted by relevance
/sound/isa/sb/ |
D | sb8_main.c | 86 params->rate_den = den; in snd_sb8_hw_constraint_rate_channels() 181 snd_sbdsp_command(chip, 256 - runtime->rate_den / 2); in snd_sb8_playback_prepare() 190 snd_sbdsp_command(chip, 256 - runtime->rate_den); in snd_sb8_playback_prepare() 318 snd_sbdsp_command(chip, 256 - runtime->rate_den / 2); in snd_sb8_capture_prepare() 327 snd_sbdsp_command(chip, 256 - runtime->rate_den); in snd_sb8_capture_prepare()
|
/sound/soc/davinci/ |
D | davinci-i2s.c | 457 params->rate_den; in davinci_i2s_hw_params() 465 params->rate_num * params->rate_den; in davinci_i2s_hw_params()
|
/sound/core/ |
D | pcm_native.c | 55 unsigned int rate_den; member 296 params->rate_den = 0; in snd_pcm_hw_refine() 422 if (!params->rate_den) { in snd_pcm_hw_refine() 426 params->rate_den = 1; in snd_pcm_hw_refine() 561 runtime->rate_den = params->rate_den; in snd_pcm_hw_params() 3588 params->rate_den = oparams->rate_den; in snd_pcm_hw_convert_from_old_params() 3607 oparams->rate_den = params->rate_den; in snd_pcm_hw_convert_to_old_params()
|
D | pcm_compat.c | 88 u32 rate_den; member
|
D | pcm_lib.c | 1358 params->rate_den = den; in snd_pcm_hw_rule_ratnums() 1393 params->rate_den = den; in snd_pcm_hw_rule_ratdens()
|
D | pcm.c | 407 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/ |
D | es18xx.c | 421 bits = 128 - runtime->rate_den; in snd_es18xx_rate_set() 423 bits = 256 - runtime->rate_den; in snd_es18xx_rate_set() 426 bits = 256 - runtime->rate_den; in snd_es18xx_rate_set() 428 bits = 128 - runtime->rate_den; in snd_es18xx_rate_set()
|
/sound/isa/es1688/ |
D | es1688_lib.c | 319 bits = 256 - runtime->rate_den; in snd_es1688_set_rate() 321 bits = 128 - runtime->rate_den; in snd_es1688_set_rate()
|
/sound/isa/cs423x/ |
D | cs4236_lib.c | 187 unsigned char rate = divisor_to_rate_register(params->rate_den); in snd_cs4236_playback_format() 205 unsigned char rate = divisor_to_rate_register(params->rate_den); in snd_cs4236_capture_format()
|
/sound/pci/ |
D | sonicvibes.c | 570 params->rate_den = 1; in snd_sonicvibes_hw_constraint_dac_rate() 576 params->rate_den = (SV_ADCMULT/512) * (m+2); in snd_sonicvibes_hw_constraint_dac_rate()
|
D | es1938.c | 467 bits = 128 - runtime->rate_den; in snd_es1938_rate_set() 469 bits = 256 - runtime->rate_den; in snd_es1938_rate_set()
|
/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 258 params->rate_den = den; in atmel_ssc_hw_rule_rate()
|
/sound/isa/gus/ |
D | gus_pcm.c | 588 snd_gf1_i_write8(gus, SNDRV_GF1_GB_RECORD_RATE, runtime->rate_den - 2); in snd_gf1_pcm_capture_prepare()
|
/sound/soc/codecs/ |
D | pcm512x.c | 865 bclk_div = params->rate_den * 64 / lrclk_div; in pcm512x_set_dividers()
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 614 set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); in init_engine()
|