Home
last modified time | relevance | path

Searched refs:DeviceNode (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs20 pub struct DeviceNode { struct
30 parent: Weak<DeviceNode>, argument
31 children: Vec<Arc<DeviceNode>>,
32 sibling: Option<Weak<DeviceNode>>,
37 impl DeviceNode { implementation
46 let x = DeviceNode { in new()
69 pub fn parent(&self) -> Option<Arc<DeviceNode>> { in parent() argument
73 pub fn set_parent(&self, parent: Arc<DeviceNode>) { in set_parent() argument
77 pub fn children(&self) -> Vec<Arc<DeviceNode>> { in children() argument
81 pub fn add_child(&self, child: Arc<DeviceNode>) { in add_child() argument
[all …]
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dlapic_vector.rs20 driver::open_firmware::device_node::DeviceNode,
278 _device_node: &Arc<DeviceNode>, in match_node() argument
/DragonOS/kernel/src/exception/
H A Dirqdomain.rs13 driver::{base::device::Device, open_firmware::device_node::DeviceNode},
651 _device_node: &Arc<DeviceNode>, in match_node() argument