Lines Matching refs:clocks
502 * placeholders for non-supported clocks. Keep track of the
527 static u32 *parent_process(const char *clocks[],
541 if (!clocks)
548 for (clock = clocks; *clock; clock++)
551 orig_count = (u32)(clock - clocks);
554 /* If all clocks are unsupported, we treat it as no clock */
588 if (clocks[i] != BAD_CLK_NAME) {
589 parent_names[j] = clocks[i];
601 clk_sel_setup(const char **clocks, struct bcm_clk_sel *sel,
611 * by the parent clock's position in the "clocks" list. Some
612 * values don't have defined or supported clocks; these will
617 * clocks when registering a clock though, so we use an
622 parent_sel = parent_process(clocks, &parent_count, &parent_names);
626 pr_err("%s: error processing parent clocks for %s (%d)\n",
662 * that can be assigned if the clock has one or more parent clocks
670 return clk_sel_setup(data->clocks, &data->sel, init_data);
791 * initialize the array of clocks provided by the CCU.
833 * register as a provider for these clocks.