Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/video/
H A Dmod.rs39 refresh_target: RwLock<Option<Arc<SpinLock<Box<[u8]>>>>>, field
138 let mut refresh_target = self.refresh_target.write_irqsave(); in set_refresh_target() localVariable
140 *refresh_target = Some(double_buffer.clone()); in set_refresh_target()
147 pub fn refresh_target(&self) -> RwLockReadGuard<'_, Option<Arc<SpinLock<Box<[u8]>>>>> { in refresh_target() method
148 let x = self.refresh_target.read(); in refresh_target()
212 refresh_target: RwLock::new(None), in video_init()
253 let mut refresh_target: Option<RwLockReadGuard<'_, Option<Arc<SpinLock<Box<[u8]>>>>>> = in run() localVariable
257 let g = manager.refresh_target.try_read(); in run()
265 refresh_target = Some(g.unwrap()); in run()
269 let refresh_target = refresh_target.unwrap(); in run() localVariable
[all …]