Lines Matching refs:dosr
677 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()
806 sample_rate * dosr); in aic32x4_setup_clocks()
808 dosr); in aic32x4_setup_clocks()