Lines Matching refs:clk_per
66 struct clk *clk_per; member
154 unsigned int c = clk_get_rate(imxtm->clk_per); in mxc_clocksource_init()
285 clockevents_config_and_register(ced, clk_get_rate(imxtm->clk_per), in mxc_clockevent_init()
306 if (clk_get_rate(imxtm->clk_per) == V2_TIMER_RATE_OSC_DIV8) in imx31_gpt_setup_tctl()
319 if (clk_get_rate(imxtm->clk_per) == V2_TIMER_RATE_OSC_DIV8) { in imx6dl_gpt_setup_tctl()
396 if (IS_ERR(imxtm->clk_per)) { in _mxc_timer_init()
398 return PTR_ERR(imxtm->clk_per); in _mxc_timer_init()
404 clk_prepare_enable(imxtm->clk_per); in _mxc_timer_init()
430 imxtm->clk_per = clk_get_sys("imx-gpt.0", "per"); in mxc_timer_init()
467 imxtm->clk_per = of_clk_get_by_name(np, "osc_per"); in mxc_timer_init_dt()
468 if (IS_ERR(imxtm->clk_per)) in mxc_timer_init_dt()
469 imxtm->clk_per = of_clk_get_by_name(np, "per"); in mxc_timer_init_dt()