Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dcc10001_adc.c322 unsigned long adc_clk_rate; in cc10001_adc_probe() local
365 adc_clk_rate = clk_get_rate(adc_dev->adc_clk); in cc10001_adc_probe()
366 if (!adc_clk_rate) { in cc10001_adc_probe()
371 adc_dev->eoc_delay_ns = NSEC_PER_SEC / adc_clk_rate; in cc10001_adc_probe()
H A Dmt6577_auxadc.c252 unsigned long adc_clk_rate; in mt6577_auxadc_probe() local
285 adc_clk_rate = clk_get_rate(adc_dev->adc_clk); in mt6577_auxadc_probe()
286 if (!adc_clk_rate) { in mt6577_auxadc_probe()