Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/watchdog/
Dstm32_iwdg.c73 struct clk *clk_pclk; member
170 wdt->clk_pclk = devm_clk_get(dev, "pclk"); in stm32_iwdg_clk_init()
171 if (IS_ERR(wdt->clk_pclk)) in stm32_iwdg_clk_init()
172 return dev_err_probe(dev, PTR_ERR(wdt->clk_pclk), in stm32_iwdg_clk_init()
175 ret = clk_prepare_enable(wdt->clk_pclk); in stm32_iwdg_clk_init()
182 wdt->clk_pclk); in stm32_iwdg_clk_init()
/linux-6.1.9/drivers/cpufreq/
Ds3c24xx-cpufreq.c43 static struct clk *clk_pclk; variable
64 cfg->freq.pclk = pclk = clk_get_rate(clk_pclk); in s3c_cpufreq_getcur()
207 s3c_cpufreq_updateclk(clk_pclk, cpu_new.freq.pclk); in s3c_cpufreq_settarget()
359 clk_pclk = s3c_cpufreq_clk_get(NULL, "pclk"); in s3c_cpufreq_initclks()
362 if (IS_ERR(clk_fclk) || IS_ERR(clk_hclk) || IS_ERR(clk_pclk) || in s3c_cpufreq_initclks()
372 clk_get_rate(clk_pclk) / 1000, in s3c_cpufreq_initclks()
/linux-6.1.9/drivers/tty/serial/
Dmeson_uart.c674 struct clk *clk_pclk = NULL; in meson_uart_probe_clocks() local
677 clk_pclk = devm_clk_get_enabled(&pdev->dev, "pclk"); in meson_uart_probe_clocks()
678 if (IS_ERR(clk_pclk)) in meson_uart_probe_clocks()
679 return PTR_ERR(clk_pclk); in meson_uart_probe_clocks()