Searched refs:nowtime (Results 1 - 25 of 40) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Drtc.c36 unsigned long nowtime; local
38 nowtime = (ppc_md.get_rtc_time)();
40 to_tm(nowtime, t);
49 unsigned long nowtime; local
51 nowtime = mktime(t->tm_year+1900, t->tm_mon+1, t->tm_mday,
54 (ppc_md.set_rtc_time)(nowtime);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dpmac_time.c126 pmac_set_rtc_time(unsigned long nowtime) argument
132 nowtime += RTC_OFFSET;
138 nowtime >> 24, nowtime >> 16, nowtime >> 8, nowtime) < 0)
150 nowtime >> 24, nowtime >> 16, nowtime >> 8, nowtime) <
[all...]
H A Dprep_time.c58 int mc146818_set_rtc_time(unsigned long nowtime) argument
64 to_tm(nowtime, &tm);
154 int mk48t59_set_rtc_time(unsigned long nowtime) argument
160 to_tm(nowtime, &tm);
H A Dchrp_time.c77 int __chrp chrp_set_rtc_time(unsigned long nowtime) argument
83 to_tm(nowtime, &tm);
H A Dproc_rtas.c241 unsigned long nowtime; local
245 nowtime = simple_strtoul(buf, &dest, 10);
250 power_on_time = nowtime; /* save the time */
252 to_tm(nowtime, &tm);
323 unsigned long nowtime; local
327 nowtime = simple_strtoul(buf, &dest, 10);
333 to_tm(nowtime, &tm);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acorn/char/
H A Di2c.c94 unsigned long nowtime = xtime.tv_sec; local
100 new_rtctm.secs = nowtime % 60; nowtime /= 60;
101 new_rtctm.mins = nowtime % 60; nowtime /= 60;
102 new_rtctm.hours = nowtime % 24;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/amiga/
H A Dtime.c32 int m68k_set_rtc_time(unsigned long nowtime) argument
35 return mach_set_clock_mmss (nowtime);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/kernel/
H A Drtc.c95 unsigned long nowtime = tv->tv_sec; local
110 real_seconds = nowtime % 60;
111 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-ebsa285/
H A Dtime.h132 unsigned long nowtime = xtime.tv_sec; local
150 real_seconds = nowtime % 60;
151 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-ebsa285/
H A Dtime.h132 unsigned long nowtime = xtime.tv_sec; local
150 real_seconds = nowtime % 60;
151 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/kernel/
H A Dtime.c27 static inline int set_rtc_mmss(unsigned long nowtime) argument
30 return mach_set_clock_mmss (nowtime);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/
H A Dmachdep.h43 int (*set_rtc_time)(unsigned long nowtime);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/
H A Dmachdep.h43 int (*set_rtc_time)(unsigned long nowtime);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/atari/
H A Dtime.c348 int atari_mste_set_clock_mmss (unsigned long nowtime) argument
350 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60;
371 int atari_tt_set_clock_mmss (unsigned long nowtime) argument
374 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/kernel/
H A Dtime.c239 static int set_rtc_mmss(unsigned long nowtime) argument
244 printk("set_rtc_mmss(%lu)\n", nowtime);
258 real_seconds = nowtime % 60;
259 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/dec/
H A Dtime.c257 * called 500 ms after the second nowtime has started, because when
258 * nowtime is written into the registers of the CMOS clock, it will
262 static int set_rtc_mmss(unsigned long nowtime) argument
284 real_seconds = nowtime % 60;
285 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/
H A Dold-time.c266 * called 500 ms after the second nowtime has started, because when
267 * nowtime is written into the registers of the CMOS clock, it will
274 static int set_rtc_mmss(unsigned long nowtime) argument
296 real_seconds = nowtime % 60;
297 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sgi-ip27/
H A Dip27-timer.c47 static int set_rtc_mmss(unsigned long nowtime) argument
69 real_seconds = nowtime % 60;
70 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/q40/
H A Dconfig.c308 * Set the minutes and seconds from seconds value 'nowtime'. Fail if
312 int q40_set_clock_mmss (unsigned long nowtime) argument
315 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/kernel/
H A Dtime.c536 static int set_rtc_mmss(unsigned long nowtime) argument
556 real_seconds = nowtime % 60;
557 real_minutes = nowtime / 60;
591 real_seconds = nowtime % 60;
592 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Drtas-proc.c239 unsigned long nowtime; local
243 nowtime = simple_strtoul(buf, &dest, 10);
248 power_on_time = nowtime; /* save the time */
250 to_tm(nowtime, &tm);
321 unsigned long nowtime; local
325 nowtime = simple_strtoul(buf, &dest, 10);
331 to_tm(nowtime, &tm);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/
H A Dtime.c122 * ms after the second nowtime has started, because when nowtime is written
128 static void set_rtc_mmss(unsigned long nowtime) argument
160 real_seconds = nowtime % 60;
161 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/
H A Dtime.c498 * called 500 ms after the second nowtime has started, because when
499 * nowtime is written into the registers of the CMOS clock, it will
510 set_rtc_mmss(unsigned long nowtime) argument
536 real_seconds = nowtime % 60;
537 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/kernel/
H A Dtime.c318 * called 500 ms after the second nowtime has started, because when
319 * nowtime is written into the registers of the CMOS clock, it will
326 static int set_rtc_mmss(unsigned long nowtime) argument
350 real_seconds = nowtime % 60;
351 real_minutes = nowtime / 60;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/bvme6000/
H A Dconfig.c371 * Set the minutes and seconds from seconds value 'nowtime'. Fail if
377 int bvme6000_set_clock_mmss (unsigned long nowtime) argument
380 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60;

Completed in 122 milliseconds

12