Lines Matching defs:epoch
28 * Further, generic code is really, really tied to a 1900 epoch. This is
39 unsigned long epoch = simple_strtoul(str, NULL, 0);
40 if (epoch < 1900)
41 printk("Ignoring invalid user specified epoch %lu\n", epoch);
43 rtc_epoch = epoch;
46 __setup("epoch=", specifiy_epoch);
51 int epoch, year, ctrl;
54 /* The epoch was specified on the command-line. */
58 /* Detect the epoch in use on this computer. */
65 epoch = 1900;
67 epoch = 2000;
69 /* NT epoch */
70 epoch = 1980;
72 /* Digital UNIX epoch */
73 epoch = 1952;
75 rtc_epoch = epoch;
77 printk(KERN_INFO "Using epoch %d for rtc year %d\n", epoch, year);
91 generic __get_rtc_time and adjust the epoch here than create
99 /* Redo the century adjustment with the epoch in place. */