Searched refs:cs_clk (Results 1 – 1 of 1) sorted by relevance
42 struct clk *cs_clk; member211 tcu->cs_clk = ingenic_tcu_get_clock(np, channel); in ingenic_tcu_clocksource_init()212 if (IS_ERR(tcu->cs_clk)) in ingenic_tcu_clocksource_init()213 return PTR_ERR(tcu->cs_clk); in ingenic_tcu_clocksource_init()215 err = clk_prepare_enable(tcu->cs_clk); in ingenic_tcu_clocksource_init()219 rate = clk_get_rate(tcu->cs_clk); in ingenic_tcu_clocksource_init()249 clk_disable_unprepare(tcu->cs_clk); in ingenic_tcu_clocksource_init()251 clk_put(tcu->cs_clk); in ingenic_tcu_clocksource_init()345 rate = clk_get_rate(tcu->cs_clk); in ingenic_tcu_init()352 clk_disable_unprepare(tcu->cs_clk); in ingenic_tcu_init()[all …]