Lines Matching refs:lock
78 let device_map = &self.0.lock().devices; in get_device()
88 let driver_map = &self.0.lock().drivers; in get_driver()
99 let drivers = &mut self.0.lock().drivers; in register_platform_driver()
116 self.0.lock().drivers.remove(&id_table); in unregister_platform_driver()
129 let devices = &mut self.0.lock().devices; in register_platform_device()
145 self.0.lock().devices.remove(&id_table); in unregister_platform_device()
154 let devices = &self.0.lock().devices; in driver_match_device()
186 let drivers = &mut self.0.lock().drivers; in device_match_driver()
244 return self.0.lock().sys_info.clone(); in sys_info()
250 self.0.lock().sys_info = sys_info; in set_sys_info()
257 if self.0.lock().devices.is_empty() && self.0.lock().drivers.is_empty() { in is_empty()
293 let state = self.0.lock().state; in is_initialized()
305 let state = &mut self.0.lock().state; in set_state()
315 let state = self.0.lock().state; in get_state()
325 self.0.lock().driver = driver; in set_driver()
367 self.0.lock().sys_info = sys_info; in set_sys_info()
373 return self.0.lock().sys_info.clone(); in sys_info()