Home
last modified time | relevance | path

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

/linux-6.1.9/sound/spi/
Dat73c213.c131 unsigned long ssc_rate = clk_get_rate(chip->ssc->clk); in snd_at73c213_set_bitrate() local
147 ssc_div = ssc_rate / (BITRATE_TARGET * 2 * 16); in snd_at73c213_set_bitrate()
148 ssc_div_min = ssc_rate / (BITRATE_MAX * 2 * 16); in snd_at73c213_set_bitrate()
149 ssc_div_max = ssc_rate / (BITRATE_MIN * 2 * 16); in snd_at73c213_set_bitrate()
158 if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) { in snd_at73c213_set_bitrate()
160 if ((ssc_rate / (ssc_div * 2 * 16)) > BITRATE_MAX) in snd_at73c213_set_bitrate()
167 if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) in snd_at73c213_set_bitrate()
171 dac_rate_new = 8 * (ssc_rate / ssc_div); in snd_at73c213_set_bitrate()
196 chip->bitrate = ssc_rate / (ssc_div * 16 * 2); in snd_at73c213_set_bitrate()