Lines Matching refs:Result

17     error::{code::*, from_err_ptr, from_result, to_result, Result, VTABLE_DEFAULT_ERROR},
90 fn new(val: u32) -> Result<Self> { in new()
157 pub fn generic_verify(&self) -> Result { in generic_verify() argument
251 pub fn freq(&self, index: TableIndex) -> Result<Hertz> { in freq()
288 fn new(entries: KVec<bindings::cpufreq_frequency_table>) -> Result<Self> { in new()
365 pub fn add(&mut self, freq: Hertz, flags: u32, driver_data: u32) -> Result { in add() argument
378 pub fn to_table(mut self) -> Result<TableBox> { in to_table()
520 pub fn generic_suspend(&mut self) -> Result { in generic_suspend() argument
527 pub fn generic_get(&self) -> Result<u32> { in generic_get()
555 pub unsafe fn set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> { in set_clk()
611 pub fn freq_table(&self) -> Result<&Table> { in freq_table()
648 fn set_data<T: ForeignOwnable>(&mut self, data: T) -> Result { in set_data() argument
682 fn from_cpu(cpu: CpuId) -> Result<Self> { in from_cpu()
738 fn init(policy: &mut Policy) -> Result<Self::PData>; in init()
741 fn exit(_policy: &mut Policy, _data: Option<Self::PData>) -> Result { in exit() argument
746 fn online(_policy: &mut Policy) -> Result { in online() argument
751 fn offline(_policy: &mut Policy) -> Result { in offline() argument
756 fn suspend(_policy: &mut Policy) -> Result { in suspend() argument
761 fn resume(_policy: &mut Policy) -> Result { in resume() argument
771 fn verify(data: &mut PolicyData) -> Result; in verify() argument
774 fn setpolicy(_policy: &mut Policy) -> Result { in setpolicy() argument
779 fn target(_policy: &mut Policy, _target_freq: u32, _relation: Relation) -> Result { in target() argument
784 fn target_index(_policy: &mut Policy, _index: TableIndex) -> Result { in target_index() argument
804 fn target_intermediate(_policy: &mut Policy, _index: TableIndex) -> Result { in target_intermediate() argument
809 fn get(_policy: &mut Policy) -> Result<u32> { in get()
819 fn bios_limit(_policy: &mut Policy, _limit: &mut u32) -> Result { in bios_limit() argument
824 fn set_boost(_policy: &mut Policy, _state: i32) -> Result { in set_boost() argument
1034 pub fn new() -> Result<Self> { in new()
1049 pub fn new_foreign_owned(dev: &Device<Bound>) -> Result in new_foreign_owned()