Lines Matching defs:clk
8 #include <linux/clk.h>
9 #include <linux/clk-provider.h>
145 * @clkout_ctl: keep on/turn off output clk of phy.
199 * @clk: clock struct of phy input clk.
200 * @clk480m: clock struct of phy output clk.
201 * @clk480m_hw: clock struct of phy output clk management.
214 struct clk *clk;
215 struct clk *clk480m;
264 /* turn on 480m clk output if it is off */
270 /* waiting for the clk become stable */
283 /* turn off 480m clk output */
333 if (rphy->clk) {
334 clk_name = __clk_get_name(rphy->clk);
789 * some clk related APIs, so do not invoke it from interrupt context directly.
1136 rphy->clk = of_clk_get_by_name(np, "phyclk");
1137 if (!IS_ERR(rphy->clk)) {
1138 clk_prepare_enable(rphy->clk);
1141 rphy->clk = NULL;
1195 if (rphy->clk) {
1196 clk_disable_unprepare(rphy->clk);
1197 clk_put(rphy->clk);