Lines Matching refs:Result
17 error::{code::*, from_err_ptr, from_result, to_result, Result, VTABLE_DEFAULT_ERROR},
91 fn new(val: u32) -> Result<Self> { in new()
158 pub fn generic_verify(&self) -> Result { in generic_verify() argument
252 pub fn freq(&self, index: TableIndex) -> Result<Hertz> { in freq()
289 fn new(entries: KVec<bindings::cpufreq_frequency_table>) -> Result<Self> { in new()
366 pub fn add(&mut self, freq: Hertz, flags: u32, driver_data: u32) -> Result { in add() argument
379 pub fn to_table(mut self) -> Result<TableBox> { in to_table()
521 pub fn generic_suspend(&mut self) -> Result { in generic_suspend() argument
528 pub fn generic_get(&self) -> Result<u32> { in generic_get()
556 pub unsafe fn set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> { in set_clk()
612 pub fn freq_table(&self) -> Result<&Table> { in freq_table()
649 fn set_data<T: ForeignOwnable>(&mut self, data: T) -> Result { in set_data() argument
683 fn from_cpu(cpu: CpuId) -> Result<Self> { in from_cpu()
739 fn init(policy: &mut Policy) -> Result<Self::PData>; in init()
742 fn exit(_policy: &mut Policy, _data: Option<Self::PData>) -> Result { in exit() argument
747 fn online(_policy: &mut Policy) -> Result { in online() argument
752 fn offline(_policy: &mut Policy) -> Result { in offline() argument
757 fn suspend(_policy: &mut Policy) -> Result { in suspend() argument
762 fn resume(_policy: &mut Policy) -> Result { in resume() argument
772 fn verify(data: &mut PolicyData) -> Result; in verify() argument
775 fn setpolicy(_policy: &mut Policy) -> Result { in setpolicy() argument
780 fn target(_policy: &mut Policy, _target_freq: u32, _relation: Relation) -> Result { in target() argument
785 fn target_index(_policy: &mut Policy, _index: TableIndex) -> Result { in target_index() argument
805 fn target_intermediate(_policy: &mut Policy, _index: TableIndex) -> Result { in target_intermediate() argument
810 fn get(_policy: &mut Policy) -> Result<u32> { in get()
820 fn bios_limit(_policy: &mut Policy, _limit: &mut u32) -> Result { in bios_limit() argument
825 fn set_boost(_policy: &mut Policy, _state: i32) -> Result { in set_boost() argument
1036 pub fn new() -> Result<Self> { in new()
1051 pub fn new_foreign_owned(dev: &Device<Bound>) -> Result in new_foreign_owned()