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