Lines Matching refs:clk
54 struct clk { struct
76 struct clk *clks; argument
83 struct phandle_1_arg *cells, struct clk *clk);
100 int clk_get_by_index(struct udevice *dev, int index, struct clk *clk);
132 int clk_get_by_name(struct udevice *dev, const char *name, struct clk *clk);
146 int clk_release_all(struct clk *clk, int count);
150 struct clk *clk) in clk_get_by_index() argument
161 struct clk *clk) in clk_get_by_name() argument
166 static inline int clk_release_all(struct clk *clk, int count) in clk_release_all() argument
219 int clk_request(struct udevice *dev, struct clk *clk);
228 int clk_free(struct clk *clk);
237 ulong clk_get_rate(struct clk *clk);
247 ulong clk_set_rate(struct clk *clk, ulong rate);
257 int clk_get_phase(struct clk *clk);
267 int clk_set_phase(struct clk *clk, int degrees);
278 int clk_set_parent(struct clk *clk, struct clk *parent);
287 int clk_enable(struct clk *clk);
305 int clk_disable(struct clk *clk);
326 static inline bool clk_valid(struct clk *clk) in clk_valid() argument
328 return !!clk->dev; in clk_valid()