/packages/modules/Virtualization/pvmfw/testdata/ |
D | expected_dt_with_multiple_dependencies.dts | 11 phandle = <0x2E>; 20 phandle = <0x31>; 29 phandle = <0x33>; 35 phandle = <0x2F>; 45 phandle = <0x34>; 50 phandle = <0x35>; 56 phandle = <0x32>;
|
D | test_pvmfw_devices_vm_dtbo_without_symbols.dts | 34 phandle = <0x1>; 39 phandle = <0x3>; 44 phandle = <0x4>; 53 phandle = <0x2>; 63 phandle = <0x5>; 73 phandle = <0x6>; 84 phandle = <0x7>;
|
D | expected_dt_with_dependency.dts | 9 phandle = <0x2E>; 18 phandle = <0x31>; 27 phandle = <0x33>; 33 phandle = <0x32>;
|
D | expected_dt_with_dependency_loop.dts | 7 phandle = <0x30>; 15 phandle = <0x36>;
|
D | test_crosvm_dt_base.dtsi | 37 phandle = <0x02>; 66 phandle = <0x01>; 127 phandle = <0x03>;
|
D | test_pvmfw_devices_with_multiple_dependencies.dts | 34 phandle = <0x5>;
|
/packages/modules/Virtualization/libs/libfdt/tests/ |
D | api_test.rs | 156 let phandle = Phandle::new(value).unwrap(); in phandle_new() localVariable 158 assert_eq!(value.try_into(), Ok(phandle)); in phandle_new() 159 assert_eq!(u32::from(phandle), value); in phandle_new() 177 let phandle = Phandle::new(0xFF).unwrap(); in max_phandle() localVariable 179 assert_eq!(fdt.max_phandle(), Ok(phandle)); in max_phandle() 188 let phandle = Phandle::new(0xFF).unwrap(); in node_with_phandle() localVariable 189 let node = fdt.node_with_phandle(phandle).unwrap().unwrap(); in node_with_phandle() 193 let phandle = Phandle::new(0x22).unwrap(); in node_with_phandle() localVariable 194 let node = fdt.node_with_phandle(phandle).unwrap().unwrap(); in node_with_phandle() 204 let phandle = Phandle::new(0xFF).unwrap(); in node_mut_with_phandle() localVariable [all …]
|
/packages/modules/Virtualization/libs/libfdt/tests/data/ |
D | test_tree_phandle.dts | 6 phandle = <0x1>; 9 linux,phandle = <0x22>; 29 phandle = <0xFF>;
|
D | test_tree_no_memory_node.dts | 12 linux,phandle = <0x1>;
|
/packages/modules/Virtualization/pvmfw/src/ |
D | device_assignment.rs | 344 let Some(phandle) = node.get_phandle()? else { in parse_physical_iommus() 350 if phys_iommus.insert(phandle, iommu).is_some() { in parse_physical_iommus() 431 if let Some(phandle) = node.get_phandle()? { in collect_overlayable_nodes_with_phandle() 432 paths.insert(phandle, path.clone()); in collect_overlayable_nodes_with_phandle() 486 let phandle: Phandle = U32::ref_from(phandle_value) in collect_phandle_references_from_overlayable_nodes() localVariable 492 phandles.push(phandle); in collect_phandle_references_from_overlayable_nodes() 703 let phandle = in parse_iommus() localVariable 705 let iommu = phys_iommus.get(&phandle).ok_or(DeviceAssignmentError::MalformedIommus)?; in parse_iommus() 718 let Some(phandle) = node.getprop_u32(cstr!("android,pvmfw,target"))? else { in parse() 721 let target = Phandle::try_from(phandle)?; in parse() [all …]
|
D | fdt.rs | 275 let opptable_info = if let Some(phandle) = opp_phandle { 276 let phandle = phandle.try_into()?; localVariable 277 let node = fdt.node_with_phandle(phandle)?.ok_or(FdtError::NotFound)?; 286 let phandle = cpu.get_phandle()?.ok_or(FdtError::NotFound)?; localVariable 287 let (cluster, core_idx) = cpu_map.get(&phandle).ok_or(FdtError::BadValue)?; 393 let phandle = cur.as_node().get_phandle()?.unwrap(); in patch_cpus() localVariable 394 cpu_phandles.push(phandle); in patch_cpus() 414 let phandle = *cpu_phandles.get(core_idx).unwrap(); in patch_cpus() localVariable 415 let value = u32::from(phandle).to_be_bytes(); in patch_cpus()
|
/packages/modules/Virtualization/libs/libfdt/src/ |
D | libfdt.rs | 84 fn node_offset_by_phandle(&self, phandle: Phandle) -> Result<Option<NodeOffset>> { in node_offset_by_phandle() 86 let phandle = phandle.into(); in node_offset_by_phandle() localVariable 88 let ret = unsafe { libfdt_bindgen::fdt_node_offset_by_phandle(fdt, phandle) }; in node_offset_by_phandle() 292 let mut phandle = 0; in find_max_phandle() localVariable 294 let ret = unsafe { libfdt_bindgen::fdt_find_max_phandle(fdt, &mut phandle) }; in find_max_phandle() 298 phandle.try_into() in find_max_phandle()
|
D | safe_types.rs | 105 fn from(phandle: Phandle) -> u32 { in from() 106 phandle.0 in from()
|
D | lib.rs | 751 pub fn node_with_phandle(&self, phandle: Phandle) -> Result<Option<FdtNode>> { in node_with_phandle() 752 let offset = self.node_offset_by_phandle(phandle)?; in node_with_phandle() 758 pub fn node_mut_with_phandle(&mut self, phandle: Phandle) -> Result<Option<FdtNodeMut>> { in node_mut_with_phandle() 759 let offset = self.node_offset_by_phandle(phandle)?; in node_mut_with_phandle()
|
/packages/modules/Virtualization/docs/ |
D | device_assignment.md | 62 * IOMMU nodes must have a phandle to be referenced by a physical device node. 79 (iommu phandle, SID) pairs. 87 VM DTBO may have dependencies via phandle references. When a device node is
|
/packages/modules/Virtualization/pvmfw/ |
D | platform.dts | 422 // Otherwise, phandle of other nodes are changed when unused pvIOMMU nodes
|