Home
last modified time | relevance | path

Searched refs:of_clk (Results 1 - 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-of.c90 * @of_clk: a of_timer_clk structure pointer
94 static __init void timer_of_clk_exit(struct of_timer_clk *of_clk) in timer_of_clk_exit() argument
96 of_clk->rate = 0; in timer_of_clk_exit()
97 clk_disable_unprepare(of_clk->clk); in timer_of_clk_exit()
98 clk_put(of_clk->clk); in timer_of_clk_exit()
104 * @of_clk: a of_timer_clk structure pointer
111 struct of_timer_clk *of_clk) in timer_of_clk_init()
115 of_clk->clk = of_clk->name ? of_clk_get_by_name(np, of_clk in timer_of_clk_init()
110 timer_of_clk_init(struct device_node *np, struct of_timer_clk *of_clk) timer_of_clk_init() argument
[all...]
H 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()
H 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()
H A Dtimer-imx-sysctr.c115 .of_clk = {
138 to_sysctr.of_clk.rate /= SYS_CTR_CLK_DIV; in sysctr_timer_init()
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-of.c90 * @of_clk: a of_timer_clk structure pointer
94 static __init void timer_of_clk_exit(struct of_timer_clk *of_clk) in timer_of_clk_exit() argument
96 of_clk->rate = 0; in timer_of_clk_exit()
97 clk_disable_unprepare(of_clk->clk); in timer_of_clk_exit()
98 clk_put(of_clk->clk); in timer_of_clk_exit()
104 * @of_clk: a of_timer_clk structure pointer
111 struct of_timer_clk *of_clk) in timer_of_clk_init()
115 of_clk->clk = of_clk->name ? of_clk_get_by_name(np, of_clk in timer_of_clk_init()
110 timer_of_clk_init(struct device_node *np, struct of_timer_clk *of_clk) timer_of_clk_init() argument
[all...]
H 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()
H 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()
H 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()
H A Dtimer-imx-sysctr.c115 .of_clk = {
139 to_sysctr.of_clk.rate /= SYS_CTR_CLK_DIV; in sysctr_timer_init()
/kernel/linux/linux-5.10/arch/csky/kernel/
H A Dtime.c5 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/csky/kernel/
H A Dtime.c5 #include <linux/of_clk.h>
/kernel/linux/linux-5.10/arch/mips/ralink/
H A Dtimer-gic.c11 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/mips/ralink/
H A Dtimer-gic.c11 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/mips/loongson32/common/
H A Dtime.c7 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/arm/mach-mmp/
H A Dmmp2-dt.c9 #include <linux/of_clk.h>
H A Dmmp-dt.c9 #include <linux/of_clk.h>
/kernel/linux/linux-5.10/arch/mips/pic32/pic32mzda/
H A Dtime.c10 #include <linux/of_clk.h>
/kernel/linux/linux-5.10/arch/mips/pistachio/
H A Dtime.c12 #include <linux/of_clk.h>
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dtime.c7 #include <linux/of_clk.h>
/kernel/linux/linux-5.10/arch/arm/mach-mediatek/
H A Dmediatek.c12 #include <linux/of_clk.h>
/kernel/linux/linux-5.10/arch/arm/mach-mmp/
H A Dmmp-dt.c11 #include <linux/of_clk.h>
H A Dmmp2-dt.c12 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/arm/mach-mediatek/
H A Dmediatek.c12 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/mips/loongson64/
H A Dtime.c15 #include <linux/of_clk.h>
/kernel/linux/linux-6.6/arch/mips/pic32/pic32mzda/
H A Dtime.c10 #include <linux/of_clk.h>

Completed in 7 milliseconds

1234