Lines Matching refs:u8
55 fn fdt_check_header(fdt: &[u8]) -> Result<()> { in fdt_check_header()
65 fdt: &mut [u8], in fdt_add_subnode() argument
82 fdt: &[u8], in fdt_subnode_offset() argument
120 pub fn from_bytes_ref(buffer: &[u8]) -> Result<&FdtHeader> { in from_bytes_ref()
128 pub fn from_bytes_mut(buffer: &mut [u8]) -> Result<&mut FdtHeader> { in from_bytes_mut()
140 pub unsafe fn from_raw(ptr: *const u8) -> Result<(&'static FdtHeader, &'static [u8])> { in from_raw() argument
156 impl<T: AsRef<[u8]>> Fdt<T> {
172 pub fn get_property<'a>(&'a self, path: &str, name: &CStr) -> Result<&'a [u8]> { in get_property() argument
189 v.data.as_ptr() as *const u8, in get_property() constant
211 impl<T: AsMut<[u8]> + AsRef<[u8]>> Fdt<T> {
212 pub fn new_from_init(mut fdt: T, init: &[u8]) -> Result<Self> { in new_from_init()
244 pub fn set_property(&mut self, path: &str, name: &CStr, val: &[u8]) -> Result<()> { in set_property()
267 ) -> Result<&mut [u8]> { in set_property_placeholder() argument
269 let mut out_ptr: *mut u8 = core::ptr::null_mut(); in set_property_placeholder()
277 &mut out_ptr as *mut *mut u8 as *mut _, in set_property_placeholder()