Home
last modified time | relevance | path

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

/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs186 .setprop_inplace(cstr!("reg"), [addr.to_be(), size.to_be()].as_bytes()) in patch_memory_range()
360 subnode.setprop_inplace(cstr!("opp-hz"), &entry.to_be_bytes())?;
396 cur.setprop_inplace(cstr!("capacity-dmips-mhz"), &cpu_capacity.to_be_bytes())?; in patch_cpus()
416 core_node.setprop_inplace(cstr!("cpu"), &value)?; in patch_cpus()
732 node.setprop_inplace( in patch_pci_info()
825 node.setprop_inplace(cstr!("size"), &swiotlb_info.size.to_be_bytes())?; in patch_swiotlb_info()
826 node.setprop_inplace(cstr!("alignment"), &swiotlb_info.align.unwrap().to_be_bytes())?; in patch_swiotlb_info()
853 node.setprop_inplace(cstr!("reg"), flatten(&value)) in patch_gic()
877 node.setprop_inplace(cstr!("interrupts"), value.as_bytes()) in patch_timer()
1211 chosen.setprop_inplace(cstr!("kaslr-seed"), &kaslr_seed.to_be_bytes())?; in modify_for_next_stage()
[all …]
Ddevice_assignment.rs1045 node.setprop_inplace(cstr!("id"), &pviommu.id.to_be_bytes())?; in patch_pviommus()
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs384 pub fn setprop_inplace(&mut self, name: &CStr, value: &[u8]) -> Result<()> { in setprop_inplace() method
385 self.fdt.setprop_inplace(self.offset, name, value) in setprop_inplace()
394 self.fdt.setprop_inplace(self.offset, name, pair.as_bytes()) in setprop_addrrange_inplace()
Dlibfdt.rs400 fn setprop_inplace(&mut self, node: NodeOffset, name: &CStr, value: &[u8]) -> Result<()> { in setprop_inplace() method
/packages/modules/Virtualization/libs/libfdt/tests/
Dapi_test.rs353 memory.setprop_inplace(cstr!("device_type"), b"MEMORY\0").unwrap(); in node_mut_as_node()