Lines Matching refs:timer_clk
30 struct clk *timer_clk, *cs_clk; member
116 tcu->timer_clk = ingenic_tcu_get_clock(np, channel); in ingenic_tcu_timer_init()
117 if (IS_ERR(tcu->timer_clk)) in ingenic_tcu_timer_init()
118 return PTR_ERR(tcu->timer_clk); in ingenic_tcu_timer_init()
120 err = clk_prepare_enable(tcu->timer_clk); in ingenic_tcu_timer_init()
124 rate = clk_get_rate(tcu->timer_clk); in ingenic_tcu_timer_init()
163 clk_disable_unprepare(tcu->timer_clk); in ingenic_tcu_timer_init()
165 clk_put(tcu->timer_clk); in ingenic_tcu_timer_init()
319 clk_disable(tcu->timer_clk); in ingenic_tcu_suspend()
328 ret = clk_enable(tcu->timer_clk); in ingenic_tcu_resume()
334 clk_disable(tcu->timer_clk); in ingenic_tcu_resume()