| H A D | opp.rs | 1 // SPDX-License-Identifier: GPL-2.0 5 //! This module provides rust abstractions for interacting with the OPP subsystem. 9 //! Reference: <https://docs.kernel.org/power/opp.html> 24 /// Frequency table implementation. 30 /// OPP frequency table. 32 /// A [`cpufreq::Table`] created from [`Table`] 57 table(&self) -> &cpufreq::Table table() argument 296 config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result config_clks() argument 304 config_regulators( _dev: &Device, _opp_old: &OPP, _opp_new: &OPP, _data: *mut *mut bindings::regulator, _count: u32, ) -> Result config_regulators() argument 305 config_regulators( _dev: &Device, _opp_old: &OPP, _opp_new: &OPP, _data: *mut *mut bindings::regulator, _count: u32, ) -> Result config_regulators() argument 602 pub struct Table { global() struct 612 cpusTable global() argument 613 unsafe impl Send for Table {} global() implementation 617 unsafe impl Sync for Table {} global() implementation 619 impl Table { global() implementation 670 let mut table = Self::from_dev(dev)?; from_of() localVariable 698 let mut table = Self::from_dev(dev)?; from_of_cpumask() localVariable 849 opp_from_freq( &self, freq: Hertz, available: Option<bool>, index: Option<u32>, stype: SearchType, ) -> Result<ARef<OPP>> opp_from_freq() argument 888 opp_from_level(&self, mut level: u32, stype: SearchType) -> Result<ARef<OPP>> opp_from_level() argument 914 opp_from_bw(&self, mut bw: u32, index: i32, stype: SearchType) -> Result<ARef<OPP>> opp_from_bw() argument 977 impl Drop for Table { global() implementation 1034 pub struct OPP(Opaque<bindings::dev_pm_opp>); global() struct 1037 unsafe impl Send for OPP {} global() implementation 1041 unsafe impl Sync for OPP {} global() implementation 1044 unsafe impl AlwaysRefCounted for OPP { global() implementation 1056 impl OPP { global() implementation [all...] |