Searched refs:fsref (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/sound/soc/codecs/ |
H A D | tlv320aic26.c | 69 int fsref, divisor, wlen, pval, jval, dval, qval; aic26_hw_params() local 78 case 8000: fsref = 48000; divisor = AIC26_DIV_6; break; aic26_hw_params() 79 case 11025: fsref = 44100; divisor = AIC26_DIV_4; break; aic26_hw_params() 80 case 12000: fsref = 48000; divisor = AIC26_DIV_4; break; aic26_hw_params() 81 case 16000: fsref = 48000; divisor = AIC26_DIV_3; break; aic26_hw_params() 82 case 22050: fsref = 44100; divisor = AIC26_DIV_2; break; aic26_hw_params() 83 case 24000: fsref = 48000; divisor = AIC26_DIV_2; break; aic26_hw_params() 84 case 32000: fsref = 48000; divisor = AIC26_DIV_1_5; break; aic26_hw_params() 85 case 44100: fsref = 44100; divisor = AIC26_DIV_1; break; aic26_hw_params() 86 case 48000: fsref = 48000; divisor = AIC26_DIV_1; break; aic26_hw_params() 103 * fsref = (mclk * PLLM) / 2048 aic26_hw_params() 108 jval = fsref / (aic26->mclk / 2048); aic26_hw_params() 110 dval = fsref - (jval * (aic26->mclk / 2048)); aic26_hw_params() 119 /* Audio Control 3 (master mode, fsref rate) */ aic26_hw_params() 122 if (fsref == 48000) aic26_hw_params() 307 /* Audio Control 3 (master mode, fsref rate) */ aic26_probe()
|
H A D | tlv320aic26.h | 62 /* fsref dividers; used in register 'Audio Control 1' */
|
H A D | tlv320aic3x.c | 1025 int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; aic3x_hw_params() local 1052 fsref = (params_rate(params) % 11025 == 0) ? 44100 : 48000; aic3x_hw_params() 1057 if (aic3x->sysclk / (128 * pll_q) == fsref) { aic3x_hw_params() 1079 data |= (fsref == 44100) ? FSREF_44100 : FSREF_48000; aic3x_hw_params() 1085 data = (fsref * 20) / params_rate(params); aic3x_hw_params() 1102 codec_clk = (2048 * fsref) / (aic3x->sysclk / 1000); aic3x_hw_params() 1137 d = ((2048 * p * fsref) - j * aic3x->sysclk) aic3x_hw_params()
|
Completed in 101 milliseconds