Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dat91-sama5d2_adc.c390 struct clk *per_clk; member
1195 f_per = clk_get_rate(st->per_clk); in at91_adc_setup_samp_freq()
1800 st->per_clk = devm_clk_get(&pdev->dev, "adc_clk"); in at91_adc_probe()
1801 if (IS_ERR(st->per_clk)) in at91_adc_probe()
1802 return PTR_ERR(st->per_clk); in at91_adc_probe()
1833 ret = clk_prepare_enable(st->per_clk); in at91_adc_probe()
1880 clk_disable_unprepare(st->per_clk); in at91_adc_probe()
1897 clk_disable_unprepare(st->per_clk); in at91_adc_remove()
1921 clk_disable_unprepare(st->per_clk); in at91_adc_suspend()
1946 ret = clk_prepare_enable(st->per_clk); in at91_adc_resume()