Searched refs:kobj2rtc_device (Results 1 – 3 of 3) sorted by relevance
6 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()
9 pub fn kobj2rtc_device(kobj: Arc<dyn KObject>) -> Option<Arc<dyn RtcDevice>> { in kobj2rtc_device() function
33 utils::{kobj2rtc_device, kobj2rtc_general_device},309 let rtc_device = kobj2rtc_device(rtc_device).ok_or(SystemError::EINVAL)?; in show()