Lines Matching defs:flexgen
3 * clk-flexgen.c
31 struct flexgen {
50 #define to_flexgen(_hw) container_of(_hw, struct flexgen, hw)
55 struct flexgen *flexgen = to_flexgen(hw);
56 struct clk_hw *pgate_hw = &flexgen->pgate.hw;
57 struct clk_hw *fgate_hw = &flexgen->fgate.hw;
66 pr_debug("%s: flexgen output enabled\n", clk_hw_get_name(hw));
72 struct flexgen *flexgen = to_flexgen(hw);
73 struct clk_hw *fgate_hw = &flexgen->fgate.hw;
80 pr_debug("%s: flexgen output disabled\n", clk_hw_get_name(hw));
85 struct flexgen *flexgen = to_flexgen(hw);
86 struct clk_hw *fgate_hw = &flexgen->fgate.hw;
98 struct flexgen *flexgen = to_flexgen(hw);
99 struct clk_hw *mux_hw = &flexgen->mux.hw;
108 struct flexgen *flexgen = to_flexgen(hw);
109 struct clk_hw *mux_hw = &flexgen->mux.hw;
142 struct flexgen *flexgen = to_flexgen(hw);
143 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw;
144 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw;
158 struct flexgen *flexgen = to_flexgen(hw);
159 struct clk_hw *pdiv_hw = &flexgen->pdiv.hw;
160 struct clk_hw *fdiv_hw = &flexgen->fdiv.hw;
161 struct clk_hw *sync_hw = &flexgen->sync.hw;
170 if (flexgen->control_mode) {
210 struct flexgen *fgxbar;
216 fgxbar = kzalloc(sizeof(struct flexgen), GFP_KERNEL);
592 .compatible = "st,flexgen-audio",
596 .compatible = "st,flexgen-video",
600 .compatible = "st,flexgen-stih407-a0",
604 .compatible = "st,flexgen-stih410-a0",
608 .compatible = "st,flexgen-stih407-c0",
612 .compatible = "st,flexgen-stih410-c0",
616 .compatible = "st,flexgen-stih418-c0",
620 .compatible = "st,flexgen-stih407-d0",
624 .compatible = "st,flexgen-stih410-d0",
628 .compatible = "st,flexgen-stih407-d2",
632 .compatible = "st,flexgen-stih418-d2",
636 .compatible = "st,flexgen-stih407-d3",
749 CLK_OF_DECLARE(flexgen, "st,flexgen", st_of_flexgen_setup);