Lines Matching defs:clk
11 #include <linux/clk.h>
852 struct clk *clk = data;
854 clk_disable_unprepare(clk);
857 static inline struct clk *mc_pcie_init_clk(struct device *dev, const char *id)
859 struct clk *clk;
862 clk = devm_clk_get_optional(dev, id);
863 if (IS_ERR(clk))
864 return clk;
865 if (!clk)
866 return clk;
868 ret = clk_prepare_enable(clk);
872 devm_add_action_or_reset(dev, mc_pcie_deinit_clk, clk);
874 return clk;
880 struct clk *fic;