Searched refs:rtc_fd (Results 1 – 4 of 4) sorted by relevance
/dports/devel/util-linux/util-linux-2.36/sys-utils/ |
H A D | hwclock-rtc.c | 155 if (rtc_fd < 0) { in open_rtc_or_exit() 159 return rtc_fd; in open_rtc_or_exit() 257 rtc_fd = open_rtc(ctl); in synchronize_to_clock_tick_rtc() 258 if (rtc_fd == -1) { in synchronize_to_clock_tick_rtc() 309 int rtc_fd, rc; in read_hardware_clock_rtc() local 327 int rtc_fd; in set_hardware_clock_rtc() local 388 if (rtc_fd < 0) in probe_for_rtc_clock() 399 int rtc_fd; in get_epoch_rtc() local 402 if (rtc_fd < 0) { in get_epoch_rtc() 425 int rtc_fd; in set_epoch_rtc() local [all …]
|
/dports/sysutils/linrename/util-linux-2.25.2/sys-utils/ |
H A D | hwclock-rtc.c | 161 if (rtc_fd < 0) { in open_rtc_or_exit() 165 return rtc_fd; in open_rtc_or_exit() 254 rtc_fd = open_rtc(); in synchronize_to_clock_tick_rtc() 255 if (rtc_fd == -1) { in synchronize_to_clock_tick_rtc() 339 int rtc_fd, rc; in read_hardware_clock_rtc() local 356 int rtc_fd; in set_hardware_clock_rtc() local 411 if (rtc_fd >= 0) in probe_for_rtc_clock() 423 int rtc_fd; in get_epoch_rtc() local 426 if (rtc_fd < 0) { in get_epoch_rtc() 460 int rtc_fd; in set_epoch_rtc() local [all …]
|
/dports/multimedia/mencoder/mplayer-export-2021-12-29/ |
H A D | mplayer.c | 1818 int rtc_fd = -1; variable 1824 if (rtc_fd >= 0) { in timing_sleep() 1829 if (read(rtc_fd, &rtc_ts, sizeof(rtc_ts)) != sizeof(rtc_ts)) in timing_sleep() 2969 if ((rtc_fd = open(rtc_device ? rtc_device : "/dev/rtc", O_RDONLY)) < 0) in main() 2975 if (ioctl(rtc_fd, RTC_IRQP_SET, irqp) < 0) { in main() 2978 close(rtc_fd); in main() 2979 rtc_fd = -1; in main() 2980 } else if (ioctl(rtc_fd, RTC_PIE_ON, 0) < 0) { in main() 2983 close(rtc_fd); in main() 2984 rtc_fd = -1; in main() [all …]
|
/dports/multimedia/mplayer/mplayer-export-2021-12-29/ |
H A D | mplayer.c | 1818 int rtc_fd = -1; variable 1824 if (rtc_fd >= 0) { in timing_sleep() 1829 if (read(rtc_fd, &rtc_ts, sizeof(rtc_ts)) != sizeof(rtc_ts)) in timing_sleep() 2969 if ((rtc_fd = open(rtc_device ? rtc_device : "/dev/rtc", O_RDONLY)) < 0) in main() 2975 if (ioctl(rtc_fd, RTC_IRQP_SET, irqp) < 0) { in main() 2978 close(rtc_fd); in main() 2979 rtc_fd = -1; in main() 2980 } else if (ioctl(rtc_fd, RTC_PIE_ON, 0) < 0) { in main() 2983 close(rtc_fd); in main() 2984 rtc_fd = -1; in main() [all …]
|