Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dtlv320aic23.c235 static unsigned get_score(int adc, int adc_l, int adc_h, int need_adc, in get_score() argument
240 int diff_adc = need_adc - adc; in get_score()
247 static int find_rate(int mclk, u32 need_adc, u32 need_dac) in find_rate() argument
256 need_adc *= SR_MULT; in find_rate()
261 adc_l = need_adc - (need_adc >> 5); in find_rate()
262 adc_h = need_adc + (need_adc >> 5); in find_rate()
277 score = get_score(adc, adc_l, adc_h, need_adc, in find_rate()
285 score = get_score((adc >> 1), adc_l, adc_h, need_adc, in find_rate()