| H A D | opp.rs | 1 // SPDX-License-Identifier: GPL-2.0 9 //! Reference: <https://docs.kernel.org/power/opp.html> 40 pub(crate) fn new(table: &Table) -> Result<Self> { in new() 55 /// Returns a reference to the underlying [`cpufreq::Table`]. 57 fn table(&self) -> &cpufreq::Table { in table() 67 fn deref(&self) -> &Self::Target { in deref() 90 /// Creates a null-terminated slice of pointers to [`Cstring`]s. in to_c_str_array() 91 fn to_c_str_array(names: &[CString]) -> Resul in to_c_str_array() 118 pub struct MicroVolt(pub c_ulong); global() struct 230 new(freq: Hertz, volt: MicroVolt, level: u32, turbo: bool) -> Self new() argument 803 adjust_voltage( &self, freq: Hertz, volt: MicroVolt, volt_min: MicroVolt, volt_max: MicroVolt, ) -> Result adjust_voltage() argument 804 adjust_voltage( &self, freq: Hertz, volt: MicroVolt, volt_min: MicroVolt, volt_max: MicroVolt, ) -> Result adjust_voltage() argument 805 adjust_voltage( &self, freq: Hertz, volt: MicroVolt, volt_min: MicroVolt, volt_max: MicroVolt, ) -> Result adjust_voltage() argument 1109 voltage(&self) -> MicroVolt voltage() argument [all...] |