Lines Matching full:pclk
37 struct clk *pclk; member
131 struct clk *pclk; in rk_timer_probe() local
146 pclk = of_clk_get_by_name(np, "pclk"); in rk_timer_probe()
147 if (IS_ERR(pclk)) { in rk_timer_probe()
148 ret = PTR_ERR(pclk); in rk_timer_probe()
149 pr_err("Failed to get pclk for '%s'\n", TIMER_NAME); in rk_timer_probe()
153 ret = clk_prepare_enable(pclk); in rk_timer_probe()
155 pr_err("Failed to enable pclk for '%s'\n", TIMER_NAME); in rk_timer_probe()
158 timer->pclk = pclk; in rk_timer_probe()
191 clk_disable_unprepare(pclk); in rk_timer_probe()
201 clk_disable_unprepare(timer->pclk); in rk_timer_cleanup()