Searched refs:clk (Results 1 – 5 of 5) sorted by relevance
15 void rust_helper_clk_put(struct clk *clk) in rust_helper_clk_put() argument17 clk_put(clk); in rust_helper_clk_put()20 int rust_helper_clk_enable(struct clk *clk) in rust_helper_clk_enable() argument25 void rust_helper_clk_disable(struct clk *clk) in rust_helper_clk_disable() argument27 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() argument35 int rust_helper_clk_set_rate(struct clk *clk, unsigned long rate) in rust_helper_clk_set_rate() argument42 int rust_helper_clk_prepare(struct clk *clk) in rust_helper_clk_prepare() argument47 void rust_helper_clk_unprepare(struct clk *clk) in rust_helper_clk_unprepare() argument58 int rust_helper_clk_prepare_enable(struct clk *clk) in rust_helper_clk_prepare_enable() argument[all …]
130 pub struct Clk(*mut bindings::clk);151 pub fn as_raw(&self) -> *mut bindings::clk { in as_raw() argument
12 clk::Hertz,25 use crate::clk::Clk;557 let clk = Clk::get(dev, name)?; in set_clk()558 self.as_mut_ref().clk = clk.as_raw(); in set_clk()559 Ok(clk) in set_clk()
71 pub mod clk; module
12 clk::Hertz,
Completed in 15 milliseconds