Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/driver/pci/test/
H A Dmod.rs19 let mut drv = TestDriver::new(); in pt_init() localVariable
20 drv.add_dynid(PciDeviceID::dummpy())?; in pt_init()
21 let tdrv = Arc::new(drv); in pt_init()
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs61 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable
62 let pdrv = drv.cast::<dyn SerioDriver>().map_err(|_| { in probe()
/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs62 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable
63 let pdrv = drv.cast::<dyn PlatformDriver>().map_err(|_|{ in probe()
/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs91 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable
92 let pci_drv = drv.cast::<dyn PciDriver>().map_err(|_| { in probe()
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs81 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable
82 let virtio_drv = drv.cast::<dyn VirtIODriver>().map_err(|_| { in probe()
/DragonOS/kernel/src/driver/base/device/
H A Ddd.rs645 let drv = dev.driver().ok_or(SystemError::EINVAL)?; in store() localVariable
646 drv.coredump(&dev)?; in store()
H A Dbus.rs224 for drv in guard.iter() { in find_driver()
225 if matcher.match_driver(drv, data) { in find_driver()
226 return Some(drv.clone()); in find_driver()