Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/clocksource/
A Dtimer-of.c96 of_clk->rate = 0; in timer_of_clk_exit()
98 clk_put(of_clk->clk); in timer_of_clk_exit()
115 of_clk->clk = of_clk->name ? of_clk_get_by_name(np, of_clk->name) : in timer_of_clk_init()
116 of_clk_get(np, of_clk->index); in timer_of_clk_init()
117 if (IS_ERR(of_clk->clk)) { in timer_of_clk_init()
118 ret = PTR_ERR(of_clk->clk); in timer_of_clk_init()
130 of_clk->rate = clk_get_rate(of_clk->clk); in timer_of_clk_init()
131 if (!of_clk->rate) { in timer_of_clk_init()
137 of_clk->period = DIV_ROUND_UP(of_clk->rate, HZ); in timer_of_clk_init()
144 clk_put(of_clk->clk); in timer_of_clk_init()
[all …]
A Dtimer-of.h40 struct of_timer_clk of_clk; member
61 return to->of_clk.rate; in timer_of_rate()
66 return to->of_clk.period; in timer_of_period()
A Dtimer-msc313e.c185 to->of_clk.rate = clk_get_rate(to->of_clk.clk) / MSC313E_CLK_DIVIDER; in msc313e_clkevt_init()
186 to->of_clk.period = DIV_ROUND_UP(to->of_clk.rate, HZ); in msc313e_clkevt_init()
A Dtimer-stm32.c227 to->of_clk.rate = DIV_ROUND_CLOSEST(to->of_clk.rate, prescaler); in stm32_timer_set_prescaler()
228 to->of_clk.period = DIV_ROUND_UP(to->of_clk.rate, HZ); in stm32_timer_set_prescaler()
A Dtimer-imx-sysctr.c115 .of_clk = {
139 to_sysctr.of_clk.rate /= SYS_CTR_CLK_DIV; in sysctr_timer_init()
A Dtimer-npcm7xx.c200 npcm7xx_to.of_clk.rate = npcm7xx_to.of_clk.rate / in npcm7xx_timer_init()
A Dtimer-tegra.c319 cpu_to->of_clk.period = rate / HZ; in tegra_init_timer()
320 cpu_to->of_clk.rate = rate; in tegra_init_timer()
A Dtimer-imx-tpm.c142 .of_clk = {
A Dtimer-milbeaut.c92 mlb_evt_timer_register_count(to, to->of_clk.period); in mlb_set_state_periodic()
A Dtimer-mediatek.c247 mtk_gpt_clkevt_time_setup(to, to->of_clk.period, TIMER_CLK_EVT); in mtk_gpt_clkevt_set_periodic()
/linux-6.3-rc2/
A DMAINTAINERS5117 F: include/linux/of_clk.h

Completed in 29 milliseconds