Lines Matching defs:clk
3 #include <linux/clk.h>
5 #include <linux/clk-provider.h>
143 struct clk *clk;
145 void (*unregister)(struct clk *clk);
167 struct clk *parent_clocks[MAX_ADPLL_INPUTS];
197 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock,
199 void (*unregister)(struct clk *clk))
205 d->clocks[index].clk = clock;
235 struct clk *parent_clock,
242 struct clk *clock;
264 char *name, struct clk *clk0,
265 struct clk *clk1,
271 struct clk *clock;
293 struct clk *parent_clock,
300 struct clk *clock;
323 struct clk *parent_clock,
329 struct clk *clock;
485 struct clk *clock;
491 sizeof(struct clk *),
573 char *name, struct clk *clk0,
574 struct clk *clk1)
581 struct clk *clock;
640 d->clocks[TI_ADPLL_N2].clk,
649 d->clocks[TI_ADPLL_DCO].clk,
659 d->clocks[TI_ADPLL_M2].clk,
667 d->clocks[TI_ADPLL_DIV2].clk,
668 d->clocks[TI_ADPLL_BYPASS].clk);
674 "clkout2", d->clocks[TI_ADPLL_M2].clk,
675 d->clocks[TI_ADPLL_BYPASS].clk);
682 d->clocks[TI_ADPLL_DCO].clk,
692 d->clocks[TI_ADPLL_HIF].clk,
714 "clkdcoldo", d->clocks[TI_ADPLL_DCO].clk,
722 "m2", d->clocks[TI_ADPLL_DCO].clk,
732 "clkoutldo", d->clocks[TI_ADPLL_M2].clk,
741 d->clocks[TI_ADPLL_N2].clk,
751 d->clocks[TI_ADPLL_M2].clk,
752 d->clocks[TI_ADPLL_BYPASS].clk);
766 if (!ac || IS_ERR_OR_NULL(ac->clk))
771 ac->unregister(ac->clk);
802 struct clk *clock;