Lines Matching defs:clock
296 * clock only needs to have a selector defined if it
355 * If a clock has two dividers, the combined number of fractional
390 /* Determine whether the set of peripheral clock registers are valid. */
492 pr_err("%s: unrecognized clock type (%d)\n", __func__,
500 * Scan an array of parent clock names to determine whether there
503 * position of each clock name in the original array.
508 * clock with the common clock code. On successful return,
513 * for each (defined) parent clock. This is the value that
514 * represents this parent clock in the clock's source selector
515 * register. The position of the clock in the original parent array
519 * The array of selector values is returned. If the clock has no
522 * Returns a null pointer if the clock names array supplied was
532 const char **clock;
546 * and find out how many of those are actually clock names.
548 for (clock = clocks; *clock; clock++)
549 if (*clock == BAD_CLK_NAME)
551 orig_count = (u32)(clock - clocks);
554 /* If all clocks are unsupported, we treat it as no clock */
558 /* Avoid exceeding our parent clock limit */
566 * There is one parent name for each defined parent clock.
568 * for each defined clock. If there's only one clock, the
609 * If a peripheral clock has multiple parents, the value
611 * by the parent clock's position in the "clocks" list. Some
617 * clocks when registering a clock though, so we use an
619 * indexes the common clock code uses and the selector
661 * parent_sel[] arrays in the peripheral clock's "data" structure
662 * that can be assigned if the clock has one or more parent clocks
711 pr_err("%s: clock type %d invalid for %s\n", __func__,
718 pr_err("%s: clock data invalid for %s\n", __func__,
727 pr_err("%s: error registering clock %s (%d)\n", __func__,
831 * Set up each defined kona clock and save the result in
832 * the clock framework clock array (in ccu->data). Then