Lines Matching refs:need_adc
287 static unsigned get_score(int adc, int adc_l, int adc_h, int need_adc,
292 int diff_adc = need_adc - adc;
299 static int find_rate(int mclk, u32 need_adc, u32 need_dac)
308 need_adc *= SR_MULT;
313 adc_l = need_adc - (need_adc >> 5);
314 adc_h = need_adc + (need_adc >> 5);
329 score = get_score(adc, adc_l, adc_h, need_adc,
337 score = get_score((adc >> 1), adc_l, adc_h, need_adc,