Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dat91-sama5d2_adc.c387 struct clk *per_clk; member
1147 f_per = clk_get_rate(st->per_clk); in at91_adc_setup_samp_freq()
1735 st->per_clk = devm_clk_get(&pdev->dev, "adc_clk"); in at91_adc_probe()
1736 if (IS_ERR(st->per_clk)) in at91_adc_probe()
1737 return PTR_ERR(st->per_clk); in at91_adc_probe()
1768 ret = clk_prepare_enable(st->per_clk); in at91_adc_probe()
1815 clk_disable_unprepare(st->per_clk); in at91_adc_probe()
1832 clk_disable_unprepare(st->per_clk); in at91_adc_remove()
1853 clk_disable_unprepare(st->per_clk); in at91_adc_suspend()
1878 ret = clk_prepare_enable(st->per_clk); in at91_adc_resume()