Searched refs:drv (Results 1 – 7 of 7) sorted by relevance
19 let mut drv = TestDriver::new(); in pt_init() localVariable20 drv.add_dynid(PciDeviceID::dummpy())?; in pt_init()21 let tdrv = Arc::new(drv); in pt_init()
61 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable62 let pdrv = drv.cast::<dyn SerioDriver>().map_err(|_| { in probe()
62 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable63 let pdrv = drv.cast::<dyn PlatformDriver>().map_err(|_|{ in probe()
91 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable92 let pci_drv = drv.cast::<dyn PciDriver>().map_err(|_| { in probe()
81 let drv = device.driver().ok_or(SystemError::EINVAL)?; in probe() localVariable82 let virtio_drv = drv.cast::<dyn VirtIODriver>().map_err(|_| { in probe()
645 let drv = dev.driver().ok_or(SystemError::EINVAL)?; in store() localVariable646 drv.coredump(&dev)?; in store()
224 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()