Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/adc/
Dat91-sama5d2_adc.c588 struct clk *per_clk; member
1586 f_per = clk_get_rate(st->per_clk); in at91_adc_setup_samp_freq()
2423 st->per_clk = devm_clk_get(&pdev->dev, "adc_clk"); in at91_adc_probe()
2424 if (IS_ERR(st->per_clk)) in at91_adc_probe()
2425 return PTR_ERR(st->per_clk); in at91_adc_probe()
2454 ret = clk_prepare_enable(st->per_clk); in at91_adc_probe()
2498 clk_disable_unprepare(st->per_clk); in at91_adc_probe()
2517 clk_disable_unprepare(st->per_clk); in at91_adc_remove()
2548 clk_disable_unprepare(st->per_clk); in at91_adc_suspend()
2573 ret = clk_prepare_enable(st->per_clk); in at91_adc_resume()
[all …]