Lines Matching defs:as_raw
43 // - By the type invariant of `device::Device`, `self.as_ref().as_raw()` is valid.
46 to_result(unsafe { bindings::dma_set_mask(self.as_ref().as_raw(), mask.value()) })
60 // - By the type invariant of `device::Device`, `self.as_ref().as_raw()` is valid.
63 to_result(unsafe { bindings::dma_set_coherent_mask(self.as_ref().as_raw(), mask.value()) })
79 // - By the type invariant of `device::Device`, `self.as_ref().as_raw()` is valid.
83 bindings::dma_set_mask_and_coherent(self.as_ref().as_raw(), mask.value())
192 pub(crate) fn as_raw(self) -> crate::ffi::c_ulong {
397 dev.as_raw(),
400 gfp_flags.as_raw(),
401 dma_attrs.as_raw(),
638 self.dev.as_raw(),
642 self.dma_attrs.as_raw(),