Searched refs:as_node (Results 1 – 5 of 5) sorted by relevance
206 assert_eq!(node.as_node().name(), Ok(cstr!("node_zz"))); in node_mut_with_phandle()211 assert_eq!(node.as_node().name(), Ok(cstr!("node_abc"))); in node_mut_with_phandle()348 let memory = memory.as_node(); in node_mut_as_node()385 if subnode.as_node().name() == Ok(cstr!("node_z")) { in node_mut_delete_and_next_subnode()421 let node_name = node.as_node().name(); in node_mut_delete_and_next_node()
416 let prop = self.as_node().getprop(name)?.ok_or(FdtError::NotFound)?; in trimprop()431 pub fn as_node(&self) -> FdtNode { in as_node() method525 self.as_node().parent() in parent()
98 let is_present_res = node.as_node().subnode(name); in overlay_onto()
393 let phandle = cur.as_node().get_phandle()?.unwrap(); in patch_cpus()768 current.as_node().reg()?.ok_or(FdtError::NotFound)?.next().ok_or(FdtError::NotFound)?; in patch_serial_info()
574 let name = node.as_node().name()?.to_bytes(); in filter_with_mask()1044 let phandle = node.as_node().get_phandle()?.ok_or(DeviceAssignmentError::Internal)?; in patch_pviommus()