of_clk 200 drivers/clocksource/timer-atcpit100.c .of_clk = { of_clk 117 drivers/clocksource/timer-imx-sysctr.c .of_clk = { of_clk 140 drivers/clocksource/timer-imx-sysctr.c to_sysctr.of_clk.rate /= SYS_CTR_CLK_DIV; of_clk 142 drivers/clocksource/timer-imx-tpm.c .of_clk = { of_clk 184 drivers/clocksource/timer-mediatek.c mtk_gpt_clkevt_time_setup(to, to->of_clk.period, TIMER_CLK_EVT); of_clk 92 drivers/clocksource/timer-milbeaut.c mlb_evt_timer_register_count(to, to->of_clk.period); of_clk 199 drivers/clocksource/timer-npcm7xx.c npcm7xx_to.of_clk.rate = npcm7xx_to.of_clk.rate / of_clk 94 drivers/clocksource/timer-of.c static __init void timer_of_clk_exit(struct of_timer_clk *of_clk) of_clk 96 drivers/clocksource/timer-of.c of_clk->rate = 0; of_clk 97 drivers/clocksource/timer-of.c clk_disable_unprepare(of_clk->clk); of_clk 98 drivers/clocksource/timer-of.c clk_put(of_clk->clk); of_clk 111 drivers/clocksource/timer-of.c struct of_timer_clk *of_clk) of_clk 115 drivers/clocksource/timer-of.c of_clk->clk = of_clk->name ? of_clk_get_by_name(np, of_clk->name) : of_clk 116 drivers/clocksource/timer-of.c of_clk_get(np, of_clk->index); of_clk 117 drivers/clocksource/timer-of.c if (IS_ERR(of_clk->clk)) { of_clk 118 drivers/clocksource/timer-of.c ret = PTR_ERR(of_clk->clk); of_clk 124 drivers/clocksource/timer-of.c ret = clk_prepare_enable(of_clk->clk); of_clk 130 drivers/clocksource/timer-of.c of_clk->rate = clk_get_rate(of_clk->clk); of_clk 131 drivers/clocksource/timer-of.c if (!of_clk->rate) { of_clk 137 drivers/clocksource/timer-of.c of_clk->period = DIV_ROUND_UP(of_clk->rate, HZ); of_clk 142 drivers/clocksource/timer-of.c clk_disable_unprepare(of_clk->clk); of_clk 144 drivers/clocksource/timer-of.c clk_put(of_clk->clk); of_clk 181 drivers/clocksource/timer-of.c ret = timer_of_clk_init(np, &to->of_clk); of_clk 206 drivers/clocksource/timer-of.c timer_of_clk_exit(&to->of_clk); of_clk 226 drivers/clocksource/timer-of.c timer_of_clk_exit(&to->of_clk); of_clk 40 drivers/clocksource/timer-of.h struct of_timer_clk of_clk; of_clk 61 drivers/clocksource/timer-of.h return to->of_clk.rate; of_clk 66 drivers/clocksource/timer-of.h return to->of_clk.period; of_clk 227 drivers/clocksource/timer-stm32.c to->of_clk.rate = DIV_ROUND_CLOSEST(to->of_clk.rate, prescaler); of_clk 228 drivers/clocksource/timer-stm32.c to->of_clk.period = DIV_ROUND_UP(to->of_clk.rate, HZ); of_clk 319 drivers/clocksource/timer-tegra.c cpu_to->of_clk.period = rate / HZ; of_clk 320 drivers/clocksource/timer-tegra.c cpu_to->of_clk.rate = rate;