Lines Matching refs:as_ptr
351 let slice = unsafe { core::slice::from_raw_parts(vaddr.as_ptr::<u8>(), size as usize) }; in fb_read()
372 let slice = unsafe { core::slice::from_raw_parts_mut(vaddr.as_ptr::<u8>(), size as usize) }; in fb_write()
405 let base = screen_base.as_ptr::<u32>(); in fb_fillrect()
414 let base = screen_base.as_ptr::<u16>(); in fb_fillrect()
423 let base = screen_base.as_ptr::<[u8; 3]>(); in fb_fillrect()
543 let mut dst = dst.as_ptr::<u32>(); in fb_copyarea()
544 let mut src = src.as_ptr::<u32>(); in fb_copyarea()
578 let mut dst = dst.as_ptr::<u16>(); in fb_copyarea()
579 let mut src = src.as_ptr::<u16>(); in fb_copyarea()
613 let mut dst = dst.as_ptr::<[u8; 3]>(); in fb_copyarea()
614 let mut src = src.as_ptr::<[u8; 3]>(); in fb_copyarea()