Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dvf610_adc.c186 unsigned long adck_rate, ipg_rate = clk_get_rate(info->clk); in vf610_adc_calculate_rates() local
190 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates()
192 if (adck_rate) { in vf610_adc_calculate_rates()
194 divisor = ipg_rate / adck_rate; in vf610_adc_calculate_rates()
201 adck_rate = ipg_rate / adc_feature->clk_div; in vf610_adc_calculate_rates()
207 adck_period = NSEC_PER_SEC / adck_rate; in vf610_adc_calculate_rates()
229 adck_rate / (6 + vf610_hw_avgs[i] * in vf610_adc_calculate_rates()