Lines Matching defs:clock
20 /* For type1, set SYSC_OMAP2_CLOCKACTIVITY for fck off on idle, l4 clock on */
208 if (!of_property_read_bool(np, "assigned-clock-parents"))
231 * clock as the clocksource, and any available dmtimer as clockevent.
328 struct clk *clock;
335 clock = of_clk_get_by_name(np, name);
336 if ((PTR_ERR(clock) == -EINVAL) && is_ick)
338 else if (IS_ERR(clock))
339 return PTR_ERR(clock);
341 error = clk_prepare_enable(clock);
345 r = clk_get_rate(clock);
347 clk_disable_unprepare(clock);
352 t->ick = clock;
354 t->fck = clock;
376 * Enable optional assigned-clock-parents configured at the timer
382 pr_err("%s: clock source init failed: %i\n", __func__, error);
476 /* Wait for functional clock period x 3.5 */
572 * For clock-event timers we never read the timer counter and
574 * we can safely ignore this errata for clock-event timers.