Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dat91-sama5d2_adc.c588 struct clk *per_clk; member
1586 f_per = clk_get_rate(st->per_clk); in at91_adc_setup_samp_freq()
2406 st->per_clk = devm_clk_get(&pdev->dev, "adc_clk"); in at91_adc_probe()
2407 if (IS_ERR(st->per_clk)) in at91_adc_probe()
2408 return PTR_ERR(st->per_clk); in at91_adc_probe()
2437 ret = clk_prepare_enable(st->per_clk); in at91_adc_probe()
2481 clk_disable_unprepare(st->per_clk); in at91_adc_probe()
2500 clk_disable_unprepare(st->per_clk); in at91_adc_remove()
2531 clk_disable_unprepare(st->per_clk); in at91_adc_suspend()
2556 ret = clk_prepare_enable(st->per_clk); in at91_adc_resume()
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A 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()
[all...]

Completed in 7 milliseconds