Lines Matching refs:sample_rate
708 unsigned int sample_rate, unsigned int channels, in aic32x4_setup_clocks() argument
733 if (sample_rate <= 48000) { in aic32x4_setup_clocks()
742 } else if (sample_rate <= 96000) { in aic32x4_setup_clocks()
751 } else if (sample_rate == 192000) { in aic32x4_setup_clocks()
770 max_dosr = (AIC32X4_MAX_DOSR_FREQ / sample_rate / dosr_increment) * in aic32x4_setup_clocks()
772 min_dosr = (AIC32X4_MIN_DOSR_FREQ / sample_rate / dosr_increment) * in aic32x4_setup_clocks()
774 max_nadc = AIC32X4_MAX_CODEC_CLKIN_FREQ / (madc * aosr * sample_rate); in aic32x4_setup_clocks()
777 adc_clock_rate = nadc * madc * aosr * sample_rate; in aic32x4_setup_clocks()
782 (min_mdac * dosr * sample_rate); in aic32x4_setup_clocks()
786 sample_rate; in aic32x4_setup_clocks()
795 sample_rate * aosr * in aic32x4_setup_clocks()
798 sample_rate * aosr); in aic32x4_setup_clocks()
803 sample_rate * dosr * in aic32x4_setup_clocks()
806 sample_rate * dosr); in aic32x4_setup_clocks()
811 sample_rate * channels * in aic32x4_setup_clocks()