Home
last modified time | relevance | path

Searched defs:RtcDevice (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/rtc/
H A Dutils.rs9 pub fn kobj2rtc_device(kobj: Arc<dyn KObject>) -> Option<Arc<dyn RtcDevice>> { in kobj2rtc_device()
H A Dmod.rs46 pub trait RtcDevice: Device { trait
53 fn set_time(&self, dev: &Arc<dyn RtcDevice>, time: &RtcTime) -> Result<(), SystemError>; in set_time()
H A Drtc_cmos.rs224 fn set_time(&self, dev: &Arc<dyn RtcDevice>, time: &RtcTime) -> Result<(), SystemError> { in set_time()
H A Dsysfs.rs252 real_dev: &Arc<dyn RtcDevice>, in rtc_general_device_create()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs296 fn set_time(&self, _dev: &Arc<dyn RtcDevice>, _time: &RtcTime) -> Result<(), SystemError> { in set_time()