/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68knommu/kernel/ |
H A D | time.c | 66 xtime.tv_sec > last_rtc_update + 660 && 67 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 68 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) { 69 if (set_rtc_mmss(xtime.tv_sec) == 0) 70 last_rtc_update = xtime.tv_sec; 72 last_rtc_update = xtime.tv_sec - 600; /* do it again in 60 s */ 113 xtime.tv_sec = mktime(year, mon, day, hour, min, sec); 114 xtime.tv_nsec = 0; 115 wall_to_monotonic.tv_sec = -xtime.tv_sec; 132 sec = xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/ |
H A D | time.c | 67 sec = xtime.tv_sec; 68 usec += xtime.tv_nsec / NSEC_PER_USEC; 91 * This is revolting. We need to set "xtime" correctly. However, the 98 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 99 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 101 set_normalized_timespec(&xtime, sec, nsec); 141 xtime.tv_sec > last_rtc_update + 660 && 142 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 143 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) { 144 if (rtc_sh_set_time(xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/kernel/ |
H A D | time.c | 222 xtime.tv_sec > last_rtc_update + 660 && 223 (xtime.tv_nsec / NSEC_PER_USEC) >= 225 && (xtime.tv_nsec / NSEC_PER_USEC) <= 227 if (set_rtc_mmss(xtime.tv_sec) == 0) 228 last_rtc_update = xtime.tv_sec; 231 last_rtc_update = xtime.tv_sec - 600; 252 /* Initialize xtime. From now on, xtime is updated with timer interrupts */ 253 xtime.tv_sec = secs_since_1970; 254 xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/kernel/ |
H A D | time.c | 70 xtime.tv_nsec = 0; 71 last_rtc_update = xtime.tv_sec = sec_n; 75 -xtime.tv_sec, -xtime.tv_nsec); 95 /* This is revolting. We need to set "xtime" correctly. However, the 103 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 104 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 106 set_normalized_timespec(&xtime, sec, nsec); 126 sec = xtime.tv_sec; 127 usec = (xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/kernel/ |
H A D | time.c | 101 time_before((unsigned long)xtime.tv_sec, next_rtc_update)) 104 if (xtime.tv_nsec < 500000000 - ((unsigned) tick_nsec >> 1) && 105 xtime.tv_nsec >= 500000000 + ((unsigned) tick_nsec >> 1)) 112 next_rtc_update = xtime.tv_sec + 60; 114 next_rtc_update = xtime.tv_sec + 660; 128 sec = xtime.tv_sec; 129 usec += xtime.tv_nsec / 1000; 151 * This is revolting. We need to set "xtime" correctly. However, the 163 xtime.tv_sec = tv->tv_sec; 164 xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/ |
H A D | time.c | 100 nsecs = (unsigned long long) xtime.tv_sec * BILLION + xtime.tv_nsec + 103 xtime.tv_sec = nsecs / NSEC_PER_SEC; 104 xtime.tv_nsec = nsecs - xtime.tv_sec * NSEC_PER_SEC; 135 set_normalized_timespec(&xtime, nsecs / BILLION, nsecs % BILLION); 144 unsigned long long nsecs = (unsigned long long) xtime.tv_sec * BILLION + 145 xtime.tv_nsec;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/ |
H A D | time.c | 82 xtime.tv_sec > last_rtc_update + 660 && 83 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 84 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2 86 if (set_rtc_mmss(xtime.tv_sec) == 0) 87 last_rtc_update = xtime.tv_sec; 89 last_rtc_update = xtime.tv_sec - 600; /* do it again in 60 s */ 134 xtime.tv_sec = mktime(year, mon, day, hour, min, sec); 135 xtime.tv_nsec = 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/kernel/ |
H A D | time.c | 84 xtime.tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, 86 xtime.tv_nsec = 0; 88 wall_to_monotonic.tv_sec = -xtime.tv_sec; 116 sec = xtime.tv_sec; 117 usec += xtime.tv_nsec/1000; 141 /* This is revolting. We need to set the xtime.tv_nsec 149 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 150 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 152 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/kernel/ |
H A D | time.c | 176 xtime.tv_sec - last_rtc_update >= 659 && 177 abs((xtime.tv_nsec / 1000) - (1000000-1000000/HZ)) < 500000/HZ) { 178 if (ppc_md.set_rtc_time(xtime.tv_sec+1 + timezone_offset) == 0) 179 last_rtc_update = xtime.tv_sec+1; 208 sec = xtime.tv_sec; 209 usec = (xtime.tv_nsec / 1000); 264 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - new_sec); 265 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - new_nsec); 267 set_normalized_timespec(&xtime, new_sec, new_nsec); 324 xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m32r/kernel/ |
H A D | time.c | 122 sec = xtime.tv_sec; 123 usec += (xtime.tv_nsec / 1000); 147 * This is revolting. We need to set "xtime" correctly. However, the 154 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 155 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 157 set_normalized_timespec(&xtime, sec, nsec); 208 && xtime.tv_sec > last_rtc_update + 660 209 && (xtime.tv_nsec / 1000) >= 500000 - ((unsigned)TICK_SIZE) / 2 210 && (xtime.tv_nsec / 1000) <= 500000 + ((unsigned)TICK_SIZE) / 2) 212 if (set_rtc_mmss(xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/time/ |
H A D | timekeeping.c | 25 * playing with xtime and avenrun. 34 * wall_to_monotonic is what we need to add to xtime (or xtime corrected 40 struct timespec xtime __attribute__ ((aligned (16))); variable in typeref:struct:timespec 43 EXPORT_SYMBOL(xtime); variable 89 *ts = xtime; 145 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 146 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 148 set_normalized_timespec(&xtime, sec, nsec); 154 update_vsyscall(&xtime, cloc [all...] |
H A D | ntp.c | 116 if (xtime.tv_sec % 86400 == 0) { 117 xtime.tv_sec--; 130 if ((xtime.tv_sec + 1) % 86400 == 0) { 131 xtime.tv_sec++; 177 * update_wall_time_one_tick will add to xtime next time we call it 293 time_reftime = xtime.tv_sec; 294 mtemp = xtime.tv_sec - time_reftime; 295 time_reftime = xtime.tv_sec;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/h8300/kernel/ |
H A D | time.c | 64 xtime.tv_sec = mktime(year, mon, day, hour, min, sec); 65 xtime.tv_nsec = 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/kernel/ |
H A D | time.c | 68 sec = xtime.tv_sec; 69 usec += xtime.tv_nsec / 1000; 93 * This is revolting. We need to set "xtime" correctly. However, the 100 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 101 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 103 set_normalized_timespec(&xtime, sec, nsec); 191 /* update xtime from the CMOS settings. used when /dev/rtc gets a SET_TIME. 199 xtime.tv_sec = get_cmos_time(); 200 xtime.tv_nsec = 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/ |
H A D | time.c | 137 xtime.tv_sec > last_rtc_update + 660 && 138 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 139 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) { 140 if (set_rtc_mmss(xtime.tv_sec) == 0) 141 last_rtc_update = xtime.tv_sec; 143 last_rtc_update = xtime.tv_sec - 600; /* do it again in 60 s */ 244 xtime.tv_sec = mktime(year, mon, day, hour, min, sec); 245 xtime.tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); 247 -xtime.tv_sec, -xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/kernel/ |
H A D | time.c | 242 xtime.tv_sec > last_rtc_update + 660 && 243 (xtime.tv_nsec / 1000) >= 500000 - (tick_nsec / 1000) / 2 && 244 (xtime.tv_nsec / 1000) <= 500000 + (tick_nsec / 1000) / 2) { 245 if (set_rtc_mmss(xtime.tv_sec) == 0) 246 last_rtc_update = xtime.tv_sec; 248 last_rtc_update = xtime.tv_sec - 600; /* do it again in 60 s */ 273 xtime.tv_sec = 0; 274 xtime.tv_nsec = 0; 283 * Initialize wall_to_monotonic such that adding it to xtime will yield zero, the 286 set_normalized_timespec(&wall_to_monotonic, -xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/ |
H A D | time.c | 233 xtime.tv_sec > last_rtc_update + 660 && 234 (xtime.tv_nsec / 1000) >= 500000 - (tick_nsec / 1000) / 2 && 235 (xtime.tv_nsec / 1000) <= 500000 + (tick_nsec / 1000) / 2) { 236 if (set_rtc_mmss(xtime.tv_sec) == 0) 237 last_rtc_update = xtime.tv_sec; 239 last_rtc_update = xtime.tv_sec - 600; /* do it again in 60 s */ 297 xtime.tv_sec = 0; 298 xtime.tv_nsec = 0; 307 * Initialize wall_to_monotonic such that adding it to xtime will yield zero, the 310 set_normalized_timespec(&wall_to_monotonic, -xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/ |
H A D | time.c | 130 /* last time when xtime and rtc are sync'ed up */ 214 xtime.tv_sec > last_rtc_update + 660 && 215 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 216 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) { 217 if (rtc_mips_set_mmss(xtime.tv_sec) == 0) { 218 last_rtc_update = xtime.tv_sec; 221 last_rtc_update = xtime.tv_sec - 600; 317 * 2) setup xtime based on rtc_mips_get_time(). 414 xtime.tv_sec = rtc_mips_get_time(); 415 xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/ |
H A D | time.c | 136 && xtime.tv_sec > state.last_rtc_update + 660 137 && xtime.tv_nsec >= 500000 - ((unsigned) TICK_SIZE) / 2 138 && xtime.tv_nsec <= 500000 + ((unsigned) TICK_SIZE) / 2) { 139 int tmp = set_rtc_mmss(xtime.tv_sec); 140 state.last_rtc_update = xtime.tv_sec - (tmp ? 600 : 0); 372 xtime.tv_sec = mktime(year, mon, day, hour, min, sec); 373 xtime.tv_nsec = 0; 375 wall_to_monotonic.tv_sec -= xtime.tv_sec; 411 sec = xtime.tv_sec; 412 usec = (xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/ |
H A D | time.c | 239 xtime.tv_sec = tod_data.tod_sec; 240 xtime.tv_nsec = tod_data.tod_usec * 1000; 242 -xtime.tv_sec, -xtime.tv_nsec); 246 xtime.tv_sec = 0; 247 xtime.tv_nsec = 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/ |
H A D | time.c | 107 time_before((unsigned long)xtime.tv_sec, next_rtc_update)) 110 if (xtime.tv_nsec < 500000000 - ((unsigned) tick_nsec >> 1) && 111 xtime.tv_nsec >= 500000000 + ((unsigned) tick_nsec >> 1)) 118 next_rtc_update = xtime.tv_sec + 60; 120 next_rtc_update = xtime.tv_sec + 660; 249 sec = xtime.tv_sec; 250 usec += xtime.tv_nsec / 1000; 275 * This is revolting. We need to set "xtime" correctly. However, the 282 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 283 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/sgi-ip27/ |
H A D | ip27-timer.c | 78 xtime.tv_sec > last_rtc_update + 660 && 79 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 80 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) { 81 if (rtc_mips_set_time(xtime.tv_sec) == 0) { 82 last_rtc_update = xtime.tv_sec; 84 last_rtc_update = xtime.tv_sec - 600; 186 xtime.tv_sec = get_m48t35_time(); 187 xtime.tv_nsec = 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | time.c | 183 if (ntp_synced() && xtime.tv_sec > rtc_update && 184 abs(xtime.tv_nsec - 500000000) <= tick_nsec / 2) { 185 set_rtc_mmss(xtime.tv_sec); 186 rtc_update = xtime.tv_sec + 660; 376 xtime.tv_sec = get_cmos_time(); 377 xtime.tv_nsec = 0; 380 -xtime.tv_sec, -xtime.tv_nsec); 461 xtime.tv_sec = sec; 462 xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/ |
H A D | time.c | 174 sec = xtime.tv_sec; 175 usec += xtime.tv_nsec / 1000; 197 * This is revolting. We need to set "xtime" correctly. However, the 204 wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); 205 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 207 set_normalized_timespec(&xtime, sec, nsec); 291 xtime.tv_sec > last_rtc_update + 660 && 292 (xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 && 293 (xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) { 294 if (set_rtc_time(xtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/kernel/ |
H A D | time.c | 62 mach_gettimeofday (&xtime);
|