Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dtlv320aic32x4.c677 static int aic32x4_set_dosr(struct snd_soc_component *component, u16 dosr) in aic32x4_set_dosr() argument
679 snd_soc_component_write(component, AIC32X4_DOSRMSB, dosr >> 8); in aic32x4_set_dosr()
681 (dosr & 0xff)); in aic32x4_set_dosr()
713 u16 dosr; in aic32x4_setup_clocks() local
778 for (dosr = max_dosr; dosr >= min_dosr; in aic32x4_setup_clocks()
779 dosr -= dosr_increment) { in aic32x4_setup_clocks()
780 min_mdac = DIV_ROUND_UP((32 * dac_resource_class), dosr); in aic32x4_setup_clocks()
782 (min_mdac * dosr * sample_rate); in aic32x4_setup_clocks()
785 dac_clock_rate = ndac * mdac * dosr * in aic32x4_setup_clocks()
803 sample_rate * dosr * in aic32x4_setup_clocks()
[all …]
Dtlv320aic31xx.c189 u16 dosr; member
882 int s = (aic31xx_divs[i].dosr * aic31xx_divs[i].mdac) % in aic31xx_setup_pll()
884 int bn = (aic31xx_divs[i].dosr * aic31xx_divs[i].mdac) / in aic31xx_setup_pll()
929 snd_soc_component_write(component, AIC31XX_DOSRMSB, aic31xx_divs[i].dosr >> 8); in aic31xx_setup_pll()
930 snd_soc_component_write(component, AIC31XX_DOSRLSB, aic31xx_divs[i].dosr & 0xff); in aic31xx_setup_pll()
951 aic31xx_divs[i].dosr, in aic31xx_setup_pll()