Searched refs:fsref (Results 1 – 2 of 2) sorted by relevance
70 int fsref, divisor, wlen, pval, jval, dval, qval; in aic26_hw_params() local79 case 8000: fsref = 48000; divisor = AIC26_DIV_6; break; in aic26_hw_params()80 case 11025: fsref = 44100; divisor = AIC26_DIV_4; break; in aic26_hw_params()81 case 12000: fsref = 48000; divisor = AIC26_DIV_4; break; in aic26_hw_params()82 case 16000: fsref = 48000; divisor = AIC26_DIV_3; break; in aic26_hw_params()83 case 22050: fsref = 44100; divisor = AIC26_DIV_2; break; in aic26_hw_params()84 case 24000: fsref = 48000; divisor = AIC26_DIV_2; break; in aic26_hw_params()85 case 32000: fsref = 48000; divisor = AIC26_DIV_1_5; break; in aic26_hw_params()86 case 44100: fsref = 44100; divisor = AIC26_DIV_1; break; in aic26_hw_params()87 case 48000: fsref = 48000; divisor = AIC26_DIV_1; break; in aic26_hw_params()[all …]
1049 int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; in aic3x_hw_params() local1076 fsref = (params_rate(params) % 11025 == 0) ? 44100 : 48000; in aic3x_hw_params()1081 if (aic3x->sysclk / (128 * pll_q) == fsref) { in aic3x_hw_params()1103 data |= (fsref == 44100) ? FSREF_44100 : FSREF_48000; in aic3x_hw_params()1109 data = (fsref * 20) / params_rate(params); in aic3x_hw_params()1126 codec_clk = (2048 * fsref) / (aic3x->sysclk / 1000); in aic3x_hw_params()1161 d = ((2048 * p * fsref) - j * aic3x->sysclk) in aic3x_hw_params()