Lines Matching refs:Phandle
31 use libfdt::{Fdt, FdtError, FdtNode, FdtNodeMut, Phandle, Reg};
341 fn parse_physical_iommus(physical_node: &FdtNode) -> Result<BTreeMap<Phandle, PhysIommu>> { in parse_physical_iommus() argument
358 fn validate_physical_iommus(phys_iommus: &BTreeMap<Phandle, PhysIommu>) -> Result<()> { in validate_physical_iommus() argument
367 physical_devices: &BTreeMap<Phandle, PhysicalDeviceInfo>, in validate_physical_devices() argument
385 phys_iommus: &BTreeMap<Phandle, PhysIommu>, in parse_physical_devices_with_iommus() argument
386 ) -> Result<BTreeMap<Phandle, PhysicalDeviceInfo>> { in parse_physical_devices_with_iommus() argument
401 fn parse_physical_devices(&self) -> Result<BTreeMap<Phandle, PhysicalDeviceInfo>> { in parse_physical_devices() argument
421 fn collect_overlayable_nodes_with_phandle(&self) -> Result<BTreeMap<Phandle, DtPathTokens>> { in collect_overlayable_nodes_with_phandle() argument
440 ) -> Result<BTreeMap<DtPathTokens, Vec<Phandle>>> { in collect_phandle_references_from_overlayable_nodes() argument
486 let phandle: Phandle = U32::ref_from(phandle_value) in collect_phandle_references_from_overlayable_nodes()
687 target: Phandle,
695 phys_iommus: &BTreeMap<Phandle, PhysIommu>, in parse_iommus() argument
704 Phandle::try_from(cell).or(Err(DeviceAssignmentError::MalformedIommus))?; in parse_iommus()
717 fn parse(node: &FdtNode, phys_iommus: &BTreeMap<Phandle, PhysIommu>) -> Result<Option<Self>> { in parse() argument
721 let target = Phandle::try_from(phandle)?; in parse()
798 pviommus: &BTreeMap<Phandle, PvIommu>, in parse_iommus() argument
807 Phandle::try_from(cell).or(Err(DeviceAssignmentError::MalformedIommus))?; in parse_iommus()
857 physical_devices: &BTreeMap<Phandle, PhysicalDeviceInfo>, in parse() argument
858 pviommus: &BTreeMap<Phandle, PvIommu>, in parse() argument
886 fn patch(&self, fdt: &mut Fdt, pviommu_phandles: &BTreeMap<PvIommu, Phandle>) -> Result<()> { in patch()
914 fn parse_pviommus(fdt: &Fdt) -> Result<BTreeMap<Phandle, PvIommu>> { in parse_pviommus() argument
1038 fn patch_pviommus(&self, fdt: &mut Fdt) -> Result<BTreeMap<PvIommu, Phandle>> { in patch_pviommus() argument
1202 let phandle = Phandle::try_from(pviommu_id)?; in parse()