Lines Matching refs:as_raw
151 pub fn as_raw(&self) -> *mut bindings::cpufreq_policy_data { in as_raw() method
160 to_result(unsafe { bindings::cpufreq_generic_frequency_table_verify(self.as_raw()) }) in generic_verify()
245 pub fn as_raw(&self) -> *mut bindings::cpufreq_frequency_table { in as_raw() method
256 (*self.as_raw().add(index.into())).frequency.try_into()? in freq()
265 unsafe { (*self.as_raw().add(index.into())).flags } in flags()
273 unsafe { (*self.as_raw().add(index.into())).driver_data } in data()
302 fn as_raw(&self) -> *const bindings::cpufreq_frequency_table { in as_raw() method
313 unsafe { Self::Target::from_raw(self.as_raw()) } in deref()
450 fn as_raw(&self) -> *mut bindings::cpufreq_policy { in as_raw() method
458 unsafe { &*self.as_raw() } in as_ref()
464 unsafe { &mut *self.as_raw() } in as_mut_ref()
558 self.as_mut_ref().clk = clk.as_raw(); in set_clk()
630 self.as_mut_ref().freq_table = table.as_raw(); in set_freq_table()
712 unsafe { bindings::cpufreq_cpu_put(self.0.as_raw()) }; in drop()