Home
last modified time | relevance | path

Searched refs:as_node (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Virtualization/libs/libfdt/tests/
Dapi_test.rs206 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()
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs416 let prop = self.as_node().getprop(name)?.ok_or(FdtError::NotFound)?; in trimprop()
431 pub fn as_node(&self) -> FdtNode { in as_node() method
525 self.as_node().parent() in parent()
/packages/modules/Virtualization/virtualizationmanager/fsfdt/src/
Dlib.rs98 let is_present_res = node.as_node().subnode(name); in overlay_onto()
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs393 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()
Ddevice_assignment.rs574 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()