Lines Matching +full:model +full:- +full:dependent
1 // SPDX-License-Identifier: GPL-2.0-only
7 * This file contains the m68k-specific time handling details.
10 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96
11 * "A Kernel Model for Precision Timekeeping" by Dave Mills
41 /* use power LED as a heartbeat instead -- much more useful in timer_heartbeat()
42 for debugging -- based on the version for PReP by Cort */ in timer_heartbeat()
43 /* acts like an actual heart beat -- ie thump-thump-pause... */ in timer_heartbeat()
57 * f(inf)->30. */ in timer_heartbeat()
66 /* machine dependent timer functions */
80 ts->tv_sec = 0; in read_persistent_clock64()
81 ts->tv_nsec = 0; in read_persistent_clock64()
88 ts->tv_sec = mktime64(time.tm_year + 1900, time.tm_mon + 1, time.tm_mday, in read_persistent_clock64()
103 return -EOPNOTSUPP; in rtc_generic_set_time()
115 return -EINVAL; in rtc_ioctl()
116 return copy_to_user(argp, &pll, sizeof pll) ? -EFAULT : 0; in rtc_ioctl()
120 return -EINVAL; in rtc_ioctl()
122 return -EACCES; in rtc_ioctl()
124 return -EFAULT; in rtc_ioctl()
128 return -ENOIOCTLCMD; in rtc_ioctl()
142 return -ENODEV; in rtc_init()
144 pdev = platform_device_register_data(NULL, "rtc-generic", -1, in rtc_init()