Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/rtc/
H A Dinterface.rs6 use super::{global_default_rtc, sysfs::RtcGeneralDevice, utils::kobj2rtc_device, RtcTime};
17 let real_dev = kobj2rtc_device(real_dev).ok_or(SystemError::EINVAL)?; in rtc_read_time()
H A Dutils.rs9 pub fn kobj2rtc_device(kobj: Arc<dyn KObject>) -> Option<Arc<dyn RtcDevice>> { in kobj2rtc_device() function
H A Dsysfs.rs33 utils::{kobj2rtc_device, kobj2rtc_general_device},
309 let rtc_device = kobj2rtc_device(rtc_device).ok_or(SystemError::EINVAL)?; in show()