Home
last modified time | relevance | path

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

/busybox-1.35.0/util-linux/
Drtcwake.c53 static NOINLINE bool may_wakeup(const char *rtcname) in may_wakeup() argument
59 rtcname = skip_dev_pfx(rtcname); in may_wakeup()
61 snprintf(buf, sizeof(buf), SYS_RTC_PATH, rtcname); in may_wakeup()
123 const char *rtcname = NULL; in rtcwake_main() local
149 &rtcname, &suspend, &opt_seconds, &opt_time); in rtcwake_main()
176 fd = rtc_xopen(&rtcname, O_RDONLY); in rtcwake_main()
179 if (!may_wakeup(rtcname)) in rtcwake_main()
180 bb_error_msg_and_die("%s not enabled for wakeup events", rtcname); in rtcwake_main()
Dhwclock.c382 const char *rtcname = NULL; in hwclock_main() local
401 &rtcname in hwclock_main()
411 to_sys_clock(&rtcname, utc); in hwclock_main()
413 from_sys_clock(&rtcname, utc); in hwclock_main()
418 show_clock(&rtcname, utc); in hwclock_main()