Home
last modified time | relevance | path

Searched refs:dsp_div (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/sound/soc/codecs/
Dadau17x1.c474 unsigned int val, div, dsp_div; in adau17x1_hw_params() local
498 dsp_div = 1; in adau17x1_hw_params()
502 dsp_div = 6; in adau17x1_hw_params()
506 dsp_div = 5; in adau17x1_hw_params()
510 dsp_div = 4; in adau17x1_hw_params()
514 dsp_div = 3; in adau17x1_hw_params()
518 dsp_div = 2; in adau17x1_hw_params()
522 dsp_div = 0; in adau17x1_hw_params()
534 regmap_write(adau->regmap, ADAU17X1_DSP_SAMPLING_RATE, dsp_div); in adau17x1_hw_params()
Dpcm512x.c903 int dsp_div; in pcm512x_set_dividers() local
1003 dsp_div = mck_rate > pcm512x_dsp_max(pcm512x) ? 2 : 1; in pcm512x_set_dividers()
1086 idac = mck_rate / (dsp_div * sample_rate); in pcm512x_set_dividers()
1088 ret = regmap_write(pcm512x->regmap, PCM512x_DSP_CLKDIV, dsp_div - 1); in pcm512x_set_dividers()
1153 dev_dbg(component->dev, "DSP divider %d\n", dsp_div); in pcm512x_set_dividers()