Searched refs:dsp_div (Results 1 – 2 of 2) sorted by relevance
473 unsigned int val, div, dsp_div; in adau17x1_hw_params() local497 dsp_div = 1; in adau17x1_hw_params()501 dsp_div = 6; in adau17x1_hw_params()505 dsp_div = 5; in adau17x1_hw_params()509 dsp_div = 4; in adau17x1_hw_params()513 dsp_div = 3; in adau17x1_hw_params()517 dsp_div = 2; in adau17x1_hw_params()521 dsp_div = 0; in adau17x1_hw_params()533 regmap_write(adau->regmap, ADAU17X1_DSP_SAMPLING_RATE, dsp_div); in adau17x1_hw_params()
904 int dsp_div; in pcm512x_set_dividers() local1004 dsp_div = mck_rate > pcm512x_dsp_max(pcm512x) ? 2 : 1; in pcm512x_set_dividers()1087 idac = mck_rate / (dsp_div * sample_rate); in pcm512x_set_dividers()1089 ret = regmap_write(pcm512x->regmap, PCM512x_DSP_CLKDIV, dsp_div - 1); in pcm512x_set_dividers()1154 dev_dbg(component->dev, "DSP divider %d\n", dsp_div); in pcm512x_set_dividers()