Home
last modified time | relevance | path

Searched refs:set_dev_parent (Results 1 – 22 of 22) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs49 pci_dev.set_dev_parent(Some(Arc::downgrade(&(pci_bus_device() as Arc<dyn Device>)))); in device_add()
240 fn set_dev_parent(&self, dev_parent: Option<alloc::sync::Weak<dyn Device>>) { in set_dev_parent() method
H A Draw_device.rs170 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Dmod.rs67 aux_port.set_dev_parent(Some(Arc::downgrade( in i8042_setup_aux()
H A Di8042_ports.rs112 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
H A Di8042_device.rs115 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs84 pdev.set_dev_parent(Some(Arc::downgrade( in device_add()
329 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/rtc/
H A Dsysfs.rs182 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
257 dev.set_dev_parent(Some(Arc::downgrade(real_dev) as Weak<dyn Device>)); in rtc_general_device_create()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs149 fb_device.set_dev_parent(Some(Arc::downgrade(&(fb.clone() as Arc<dyn Device>)))); in register_fb()
384 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs255 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
508 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
631 virtio_net_deivce.set_dev_parent(Some(Arc::downgrade(&dev_parent))); in virtio_net()
852 iface.set_dev_parent(Some(Arc::downgrade(&virtio_net_device) as Weak<dyn Device>)); in probe()
H A Dloopback.rs445 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_device.rs164 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs486 fn set_dev_parent(&self, dev_parent: Option<alloc::sync::Weak<dyn Device>>) { in set_dev_parent() method
675 psmouse.set_dev_parent(Some(Arc::downgrade(&dev_parent))); in rs_ps2_mouse_device_init()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs77 device.set_dev_parent(Some(Arc::downgrade(&dev_parent))); in virtio_blk()
414 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs195 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs171 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs245 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs300 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs298 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs517 fn set_dev_parent(&self, _dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs561 fn set_dev_parent( in set_dev_parent() method
/DragonOS/kernel/src/driver/base/device/
H A Dmod.rs207 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>); in set_dev_parent() method
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs212 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent() method