Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/adc/
Dat91-sama5d2_adc.c490 struct clk *per_clk; member
1385 f_per = clk_get_rate(st->per_clk); in at91_adc_setup_samp_freq()
2019 st->per_clk = devm_clk_get(&pdev->dev, "adc_clk"); in at91_adc_probe()
2020 if (IS_ERR(st->per_clk)) in at91_adc_probe()
2021 return PTR_ERR(st->per_clk); in at91_adc_probe()
2050 ret = clk_prepare_enable(st->per_clk); in at91_adc_probe()
2081 clk_disable_unprepare(st->per_clk); in at91_adc_probe()
2098 clk_disable_unprepare(st->per_clk); in at91_adc_remove()
2119 clk_disable_unprepare(st->per_clk); in at91_adc_suspend()
2144 ret = clk_prepare_enable(st->per_clk); in at91_adc_resume()