Lines Matching defs:clocks
510 * placeholders for non-supported clocks. Keep track of the
535 static u32 *parent_process(const char *clocks[],
549 if (!clocks)
556 for (clock = clocks; *clock; clock++)
559 orig_count = (u32)(clock - clocks);
562 /* If all clocks are unsupported, we treat it as no clock */
596 if (clocks[i] != BAD_CLK_NAME) {
597 parent_names[j] = clocks[i];
609 clk_sel_setup(const char **clocks, struct bcm_clk_sel *sel,
619 * by the parent clock's position in the "clocks" list. Some
620 * values don't have defined or supported clocks; these will
625 * clocks when registering a clock though, so we use an
630 parent_sel = parent_process(clocks, &parent_count, &parent_names);
634 pr_err("%s: error processing parent clocks for %s (%d)\n",
670 * that can be assigned if the clock has one or more parent clocks
678 return clk_sel_setup(data->clocks, &data->sel, init_data);
799 * initialize the array of clocks provided by the CCU.
841 * register as a provider for these clocks.