Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/rtc/
H A Dsysfs.rs305 let rtc_device = kobj in show() localVariable
309 let rtc_device = kobj2rtc_device(rtc_device).ok_or(SystemError::EINVAL)?; in show() localVariable
311 let driver_name = rtc_device.driver().ok_or(SystemError::ENODEV)?.name(); in show()
312 let device_name = rtc_device.name(); in show()
334 let rtc_device: Arc<RtcGeneralDevice> = in show() localVariable
336 let time = rtc_read_time(&rtc_device)?; in show()
358 let rtc_device = kobj2rtc_general_device(kobj).ok_or(SystemError::EINVAL)?; in show() localVariable
359 let time = rtc_read_time(&rtc_device)?; in show()
381 let rtc_device = kobj2rtc_general_device(kobj).ok_or(SystemError::EINVAL)?; in show() localVariable
382 if rtc_device.hc2sysfs_result().is_ok() && rtc_device.name().eq(RTC_HCTOSYS_DEVICE) { in show()