Searched defs:RtcDevice (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/rtc/ |
H A D | utils.rs | 9 pub fn kobj2rtc_device(kobj: Arc<dyn KObject>) -> Option<Arc<dyn RtcDevice>> { in kobj2rtc_device()
|
H A D | mod.rs | 46 pub trait RtcDevice: Device { trait 53 fn set_time(&self, dev: &Arc<dyn RtcDevice>, time: &RtcTime) -> Result<(), SystemError>; in set_time()
|
H A D | rtc_cmos.rs | 224 fn set_time(&self, dev: &Arc<dyn RtcDevice>, time: &RtcTime) -> Result<(), SystemError> { in set_time()
|
H A D | sysfs.rs | 252 real_dev: &Arc<dyn RtcDevice>, in rtc_general_device_create()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 296 fn set_time(&self, _dev: &Arc<dyn RtcDevice>, _time: &RtcTime) -> Result<(), SystemError> { in set_time()
|