Lines Matching refs:phandle

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()
806 let phandle = in parse_iommus() localVariable
808 let pviommu = pviommus.get(&phandle).ok_or(DeviceAssignmentError::MalformedIommus)?; in parse_iommus()
868 let phandle = dtbo_node.get_phandle()?.ok_or(DeviceAssignmentError::InvalidDtbo)?; in parse() localVariable
869 let Some(physical_device) = physical_devices.get(&phandle) else { in parse()
892 let phandle = pviommu_phandles.get(pviommu).unwrap(); in patch() localVariable
893 iommus.extend_from_slice(&u32::from(*phandle).to_be_bytes()); in patch()
917 let Some(phandle) = compatible.get_phandle()? else { in parse_pviommus()
921 if pviommus.insert(phandle, pviommu).is_some() { in parse_pviommus()
1044 let phandle = node.as_node().get_phandle()?.ok_or(DeviceAssignmentError::Internal)?; in patch_pviommus() localVariable
1046 if pviommu_phandles.insert(*pviommu, phandle).is_some() { in patch_pviommus()
1202 let phandle = Phandle::try_from(pviommu_id)?; in parse() localVariable
1204 .node_with_phandle(phandle)? in parse()
1382 let phandle = rng_node.getprop_u32(cstr!("phandle")).unwrap(); in device_info_patch() localVariable
1383 assert_ne!(None, phandle); in device_info_patch()
1392 (Ok(cstr!("phandle")), Ok(into_fdt_prop(vec![phandle.unwrap()]))), in device_info_patch()