Lines Matching defs:clk
3 #include <linux/clk.h>
10 __rust_helper struct clk *rust_helper_clk_get(struct device *dev,
16 __rust_helper void rust_helper_clk_put(struct clk *clk)
18 clk_put(clk);
21 __rust_helper int rust_helper_clk_enable(struct clk *clk)
23 return clk_enable(clk);
26 __rust_helper void rust_helper_clk_disable(struct clk *clk)
28 clk_disable(clk);
31 __rust_helper unsigned long rust_helper_clk_get_rate(struct clk *clk)
33 return clk_get_rate(clk);
36 __rust_helper int rust_helper_clk_set_rate(struct clk *clk, unsigned long rate)
38 return clk_set_rate(clk, rate);
43 __rust_helper int rust_helper_clk_prepare(struct clk *clk)
45 return clk_prepare(clk);
48 __rust_helper void rust_helper_clk_unprepare(struct clk *clk)
50 clk_unprepare(clk);
54 __rust_helper struct clk *rust_helper_clk_get_optional(struct device *dev,
60 __rust_helper int rust_helper_clk_prepare_enable(struct clk *clk)
62 return clk_prepare_enable(clk);
65 __rust_helper void rust_helper_clk_disable_unprepare(struct clk *clk)
67 clk_disable_unprepare(clk);