Lines Matching refs:as_raw
150 pub fn as_raw(&self) -> *mut bindings::cpufreq_policy_data { in as_raw() method
159 to_result(unsafe { bindings::cpufreq_generic_frequency_table_verify(self.as_raw()) }) in generic_verify()
244 pub fn as_raw(&self) -> *mut bindings::cpufreq_frequency_table { in as_raw() method
255 (*self.as_raw().add(index.into())).frequency.try_into()? in freq()
264 unsafe { (*self.as_raw().add(index.into())).flags } in flags()
272 unsafe { (*self.as_raw().add(index.into())).driver_data } in data()
301 fn as_raw(&self) -> *const bindings::cpufreq_frequency_table { in as_raw() method
312 unsafe { Self::Target::from_raw(self.as_raw()) } in deref()
449 fn as_raw(&self) -> *mut bindings::cpufreq_policy { in as_raw() method
457 unsafe { &*self.as_raw() } in as_ref()
463 unsafe { &mut *self.as_raw() } in as_mut_ref()
557 self.as_mut_ref().clk = clk.as_raw(); in set_clk()
629 self.as_mut_ref().freq_table = table.as_raw(); in set_freq_table()
711 unsafe { bindings::cpufreq_cpu_put(self.0.as_raw()) }; in drop()