Lines Matching refs:as_ptr
203 let ptr = IO::Backend::as_ptr(view); in io_view_assert()
217 let ptr = IO::Backend::as_ptr(view); in io_view()
249 fn as_ptr<'a, T: ?Sized + KnownSize>(view: Self::View<'a, T>) -> *mut T; in as_ptr() method
302 let ptr = Self::as_ptr(view); in copy_read()
326 let ptr = Self::as_ptr(view); in copy_write()
419 KnownSize::size(Self::Backend::as_ptr(self.as_view())) in size()
428 Self::Backend::as_ptr(self.as_view()).len() in len()
471 let ptr = Self::Backend::as_ptr(view); in try_cast()
609 Self::Backend::copy_to_io(self.as_view(), data.as_ptr()); in copy_from_slice()
1173 fn as_ptr<'a, T: ?Sized + KnownSize>(view: Self::View<'a, T>) -> *mut T { in as_ptr() method
1199 unsafe { bindings::$read_fn($backend::as_ptr(view).cast_const().cast()) }
1206 unsafe { bindings::$write_fn(value, $backend::as_ptr(view).cast()) }
1265 fn as_ptr<'a, T: ?Sized + KnownSize>(view: Self::View<'a, T>) -> *mut T { in as_ptr() method
1266 MmioBackend::as_ptr(view.0) in as_ptr()
1332 fn as_ptr<'a, T: ?Sized + KnownSize>(view: Self::View<'a, T>) -> *mut T { in as_ptr() method
1473 pub fn as_ptr(self) -> *mut T { in as_ptr() method
1534 fn as_ptr<'a, T: ?Sized + KnownSize>(view: Self::View<'a, T>) -> *mut T { in as_ptr() method
1536 IoSysMap::Io(l) => MmioBackend::as_ptr(l), in as_ptr()
1537 IoSysMap::Sys(r) => SysMemBackend::as_ptr(r), in as_ptr()
1637 pub fn as_ptr(self) -> *mut T::Target { in as_ptr() function
1638 T::Backend::as_ptr(self.0) in as_ptr()
1684 mut view.as_ptr(), $($proj)*