Lines Matching refs:cast
33 let fdt = fdt.as_mut_ptr().cast(); in create_empty_tree()
45 let fdt = fdt.as_ptr().cast(); in check_full()
72 let fdt = self.as_fdt_slice().as_ptr().cast(); in path_offset_namelen()
75 let path = path.as_ptr().cast(); in path_offset_namelen()
85 let fdt = self.as_fdt_slice().as_ptr().cast(); in node_offset_by_phandle()
99 let fdt = self.as_fdt_slice().as_ptr().cast(); in node_offset_by_compatible()
110 let fdt = self.as_fdt_slice().as_ptr().cast(); in next_node()
129 let fdt = self.as_fdt_slice().as_ptr().cast(); in parent_offset()
142 let fdt = self.as_fdt_slice().as_ptr().cast(); in supernode_atdepth_offset()
159 let fdt = self.as_fdt_slice().as_ptr().cast(); in subnode_offset_namelen()
162 let name = name.as_ptr().cast(); in subnode_offset_namelen()
170 let fdt = self.as_fdt_slice().as_ptr().cast(); in first_subnode()
180 let fdt = self.as_fdt_slice().as_ptr().cast(); in next_subnode()
190 let fdt = self.as_fdt_slice().as_ptr().cast(); in address_cells()
200 let fdt = self.as_fdt_slice().as_ptr().cast(); in size_cells()
210 let fdt = self.as_fdt_slice().as_ptr().cast(); in get_name()
218 get_slice_at_ptr(self.as_fdt_slice(), name.cast(), len).ok_or(FdtError::Internal) in get_name()
223 let fdt = self.as_fdt_slice().as_ptr().cast(); in getprop_namelen()
226 let name = name.as_ptr().cast(); in getprop_namelen()
234 let bytes = get_slice_at_ptr(self.as_fdt_slice(), prop.cast(), len); in getprop_namelen()
245 let fdt = self.as_fdt_slice().as_ptr().cast(); in get_property_by_offset()
255 if !is_aligned(prop) || get_slice_at_ptr(self.as_fdt_slice(), prop.cast(), len).is_none() { in get_property_by_offset()
271 let fdt = self.as_fdt_slice().as_ptr().cast(); in first_property_offset()
281 let fdt = self.as_fdt_slice().as_ptr().cast(); in next_property_offset()
291 let fdt = self.as_fdt_slice().as_ptr().cast(); in find_max_phandle()
303 let fdt = self.as_fdt_slice().as_ptr().cast(); in string()
308 get_slice_from_ptr(self.as_fdt_slice(), ptr.cast()).ok_or(FdtError::Internal)?; in string()
316 let fdt = self.as_fdt_slice().as_ptr().cast(); in open_into()
344 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in nop_node()
354 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in add_subnode_namelen()
357 let name = name.as_ptr().cast(); in add_subnode_namelen()
366 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in setprop()
370 let value = value.as_ptr().cast(); in setprop()
385 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in setprop_placeholder()
396 get_mut_slice_at_ptr(self.as_fdt_slice_mut(), data.cast(), size).ok_or(FdtError::Internal) in setprop_placeholder()
401 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in setprop_inplace()
405 let value = value.as_ptr().cast(); in setprop_inplace()
415 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in appendprop()
419 let value = value.as_ptr().cast(); in appendprop()
435 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in appendprop_addrrange()
449 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in delprop()
463 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in nop_property()
484 open_into(fdt.as_ptr().cast(), fdt) in open_into_self()
489 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in pack()
505 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in overlay_apply()
506 let overlay = overlay.as_fdt_slice_mut().as_mut_ptr().cast(); in overlay_apply()
541 let fdt = fdt.cast(); in open_into()
543 let dest = dest.as_mut_ptr().cast(); in open_into()