Lines Matching refs:OPP
296 fn config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result { in config_clks() argument
304 _opp_old: &OPP, in config_regulators() argument
305 _opp_new: &OPP, in config_regulators() argument
530 unsafe { OPP::from_raw_opp(opp)? }, in config_clks()
553 unsafe { OPP::from_raw_opp(old_opp)? }, in config_regulators()
555 unsafe { OPP::from_raw_opp(new_opp)? }, in config_regulators()
836 pub fn set_opp(&self, opp: &OPP) -> Result { in set_opp()
849 ) -> Result<ARef<OPP>> { in opp_from_freq() argument
884 unsafe { OPP::from_raw_opp_owned(ptr) } in opp_from_freq()
888 pub fn opp_from_level(&self, mut level: u32, stype: SearchType) -> Result<ARef<OPP>> { in opp_from_level() argument
910 unsafe { OPP::from_raw_opp_owned(ptr) } in opp_from_level()
914 pub fn opp_from_bw(&self, mut bw: u32, index: i32, stype: SearchType) -> Result<ARef<OPP>> { in opp_from_bw() argument
935 unsafe { OPP::from_raw_opp_owned(ptr) } in opp_from_bw()
1034 pub struct OPP(Opaque<bindings::dev_pm_opp>); struct
1037 unsafe impl Send for OPP {} implementation
1041 unsafe impl Sync for OPP {} implementation
1044 unsafe impl AlwaysRefCounted for OPP { implementation
1056 impl OPP { implementation