Lines Matching full:clk
3 #include <linux/clk.h>
10 struct clk *rust_helper_clk_get(struct device *dev, const char *id) in rust_helper_clk_get()
15 void rust_helper_clk_put(struct clk *clk) in rust_helper_clk_put() argument
17 clk_put(clk); in rust_helper_clk_put()
20 int rust_helper_clk_enable(struct clk *clk) in rust_helper_clk_enable() argument
22 return clk_enable(clk); in rust_helper_clk_enable()
25 void rust_helper_clk_disable(struct clk *clk) in rust_helper_clk_disable() argument
27 clk_disable(clk); in rust_helper_clk_disable()
30 unsigned long rust_helper_clk_get_rate(struct clk *clk) in rust_helper_clk_get_rate() argument
32 return clk_get_rate(clk); in rust_helper_clk_get_rate()
35 int rust_helper_clk_set_rate(struct clk *clk, unsigned long rate) in rust_helper_clk_set_rate() argument
37 return clk_set_rate(clk, rate); in rust_helper_clk_set_rate()
42 int rust_helper_clk_prepare(struct clk *clk) in rust_helper_clk_prepare() argument
44 return clk_prepare(clk); in rust_helper_clk_prepare()
47 void rust_helper_clk_unprepare(struct clk *clk) in rust_helper_clk_unprepare() argument
49 clk_unprepare(clk); in rust_helper_clk_unprepare()
53 struct clk *rust_helper_clk_get_optional(struct device *dev, const char *id) in rust_helper_clk_get_optional()
58 int rust_helper_clk_prepare_enable(struct clk *clk) in rust_helper_clk_prepare_enable() argument
60 return clk_prepare_enable(clk); in rust_helper_clk_prepare_enable()
63 void rust_helper_clk_disable_unprepare(struct clk *clk) in rust_helper_clk_disable_unprepare() argument
65 clk_disable_unprepare(clk); in rust_helper_clk_disable_unprepare()