Home
last modified time | relevance | path

Searched refs:regulator (Results 1 – 4 of 4) sorted by relevance

/rust/helpers/
A Dregulator.c7 void rust_helper_regulator_put(struct regulator *regulator) in rust_helper_regulator_put() argument
9 regulator_put(regulator); in rust_helper_regulator_put()
12 int rust_helper_regulator_set_voltage(struct regulator *regulator, int min_uV, in rust_helper_regulator_set_voltage() argument
18 int rust_helper_regulator_get_voltage(struct regulator *regulator) in rust_helper_regulator_get_voltage() argument
20 return regulator_get_voltage(regulator); in rust_helper_regulator_get_voltage()
28 int rust_helper_regulator_enable(struct regulator *regulator) in rust_helper_regulator_enable() argument
30 return regulator_enable(regulator); in rust_helper_regulator_enable()
33 int rust_helper_regulator_disable(struct regulator *regulator) in rust_helper_regulator_disable() argument
35 return regulator_disable(regulator); in rust_helper_regulator_disable()
38 int rust_helper_regulator_is_enabled(struct regulator *regulator) in rust_helper_regulator_is_enabled() argument
[all …]
/rust/kernel/
A Dregulator.rs83 pub regulator: Regulator<State>, field
247 inner: NonNull<bindings::regulator>,
313 let mut regulator = ManuallyDrop::new(self); in try_into_enabled() variables
315 regulator in try_into_enabled()
318 inner: regulator.inner, in try_into_enabled()
323 regulator: ManuallyDrop::into_inner(regulator), in try_into_enabled()
342 let mut regulator = ManuallyDrop::new(self); in try_into_disabled() variables
344 regulator in try_into_disabled()
347 inner: regulator.inner, in try_into_disabled()
352 regulator: ManuallyDrop::into_inner(regulator), in try_into_disabled()
A Dlib.rs114 pub mod regulator; module
A Dopp.rs305 _data: *mut *mut bindings::regulator, in config_regulators() argument
542 regulators: *mut *mut bindings::regulator, in config_regulators() argument

Completed in 8 milliseconds