Searched refs:secs (Results 1 - 25 of 153) sorted by relevance

1234567

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dos_yield.c18 __os_yield(env, secs, usecs)
20 u_long secs, usecs; /* Seconds and microseconds. */
25 COMPQUIET(secs, 0);
30 ++secs;
38 MSLEEP(secs * MS_PER_SEC + (usecs / US_PER_MS) + 1);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_windows/
H A Dos_yield.c18 __os_yield(env, secs, usecs)
20 u_long secs, usecs; /* Seconds and microseconds. */
26 ++secs;
34 Sleep(secs * MS_PER_SEC + (usecs / US_PER_MS) + 1);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_vxworks/
H A Dos_vx_yield.c18 __os_yield(env, secs, usecs)
20 u_long secs, usecs; /* Seconds and microseconds. */
28 ++secs;
42 secs * ticks_per_second + (usecs * ticks_per_second) / US_PER_SEC;
43 if (ticks_delay == 0 && (secs != 0 || usecs != 0))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dcutils.c29 struct tm *ff_brktimegm(time_t secs, struct tm *tm) argument
34 days = secs / 86400;
35 secs %= 86400;
36 tm->tm_hour = secs / 3600;
37 tm->tm_min = (secs % 3600) / 60;
38 tm->tm_sec = secs % 60;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_yield.c27 __os_yield(env, secs, usecs)
29 u_long secs, usecs; /* Seconds and microseconds. */
36 ++secs;
39 (void)DB_GLOBAL(j_yield)(secs, usecs);
48 if (secs != 0 || usecs != 0)
49 __os_sleep(env, secs, usecs);
71 __os_sleep(env, secs, usecs)
73 u_long secs, usecs; /* Seconds and microseconds. */
82 t.tv_sec = (long)secs;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/watchdog/
H A Domap_wdt.h48 #define TIMER_MARGIN_DEFAULT 60 /* 60 secs */
52 #define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py14 def nsecs(secs, nsecs):
15 return secs * NSECS_PER_SEC + nsecs
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/scsi/
H A Dscsicam.h17 unsigned int *cyls, unsigned int *hds, unsigned int *secs);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/libs/ec/cpp/
H A DECMuleSocket.h51 bool InternalWaitOnConnect(long secs = -1, long msecs = 0) { return wxSocketClient::WaitOnConnect(secs,msecs); };
52 bool InternalWaitForWrite(long secs = -1, long msecs = 0) { return wxSocketClient::WaitForWrite(secs,msecs); };
53 bool InternalWaitForRead(long secs = -1, long msecs = 0) { return wxSocketClient::WaitForRead(secs,msecs); };
H A DECSocket.h207 bool WaitSocketConnect(long secs = -1, long msecs = 0) { return InternalWaitOnConnect(secs,msecs); }
208 bool WaitSocketWrite(long secs = -1, long msecs = 0) { return InternalWaitForWrite(secs,msecs); }
209 bool WaitSocketRead(long secs = -1, long msecs = 0) { return InternalWaitForRead(secs,msecs); }
240 virtual bool InternalWaitOnConnect(long secs = -1, long msecs = 0) = 0;
241 virtual bool InternalWaitForWrite(long secs = -1, long msecs = 0) = 0;
242 virtual bool InternalWaitForRead(long secs = -1, long msecs = 0) = 0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dcutils.c50 struct tm *brktimegm(time_t secs, struct tm *tm) argument
55 days = secs / 86400;
56 secs %= 86400;
57 tm->tm_hour = secs / 3600;
58 tm->tm_min = (secs % 3600) / 60;
59 tm->tm_sec = secs % 60;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/
H A Drtc-ab8500.c63 unsigned long secs; local
70 * This function calculates secs from 1970 and not from
73 rtc_tm_to_time(&tm, &secs);
74 return secs;
82 unsigned long mins, secs; local
118 secs = (buf[3] << 8) | buf[4];
119 secs = secs / COUNTS_PER_SEC;
120 secs = secs
134 unsigned long no_secs, no_mins, secs = 0; local
180 unsigned long secs, mins; local
225 unsigned long mins, secs = 0; local
[all...]
H A Drtc-sun4v.c42 static int hypervisor_set_time(unsigned long secs) argument
48 ret = sun4v_tod_set(secs);
65 unsigned long secs; local
68 err = rtc_tm_to_time(tm, &secs);
72 return hypervisor_set_time(secs);
H A Drtc-pcap.c49 unsigned long secs; local
54 secs = tod & PCAP_RTC_TOD_MASK;
57 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY;
59 rtc_time_to_tm(secs, tm);
69 unsigned long secs; local
72 rtc_tm_to_time(tm, &secs);
74 tod = secs % SEC_PER_DAY;
77 days = secs / SEC_PER_DAY;
87 unsigned long secs; local
91 secs
101 pcap_rtc_set_mmss(struct device *dev, unsigned long secs) argument
[all...]
H A Drtc-ds1672.c57 dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, "
65 static int ds1672_set_mmss(struct i2c_client *client, unsigned long secs) argument
71 buf[1] = secs & 0x000000FF;
72 buf[2] = (secs & 0x0000FF00) >> 8;
73 buf[3] = (secs & 0x00FF0000) >> 16;
74 buf[4] = (secs & 0xFF000000) >> 24;
91 static int ds1672_rtc_set_mmss(struct device *dev, unsigned long secs) argument
93 return ds1672_set_mmss(to_i2c_client(dev), secs);
H A Drtc-jz4740.c106 uint32_t secs, secs2; local
113 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC);
116 while (secs != secs2 && --timeout) {
117 secs = secs2;
124 rtc_time_to_tm(secs, time);
129 static int jz4740_rtc_set_mmss(struct device *dev, unsigned long secs) argument
133 return jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, secs);
139 uint32_t secs; local
142 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC_ALARM);
149 rtc_time_to_tm(secs,
158 unsigned long secs; local
[all...]
H A Drtc-at91sam9.c78 u32 secs, secs2; local
87 secs = rtt_readl(rtc, VR);
89 if (secs != secs2)
90 secs = rtt_readl(rtc, VR);
92 rtc_time_to_tm(offset + secs, tm);
109 unsigned long secs; local
115 err = rtc_tm_to_time(tm, &secs);
128 secs += 1;
129 gpbr_writel(rtc, secs);
134 if (offset > secs) {
184 unsigned long secs; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/e2p/
H A Dls.c45 static const char *interval_string(unsigned int secs) argument
52 if (secs == 0)
55 if (secs >= MONTH_INT) {
56 num = secs / MONTH_INT;
57 secs -= num*MONTH_INT;
60 if (secs >= WEEK_INT) {
61 num = secs / WEEK_INT;
62 secs -= num*WEEK_INT;
67 if (secs >= DAY_INT) {
68 num = secs / DAY_IN
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Dtime.c34 static int null_rtc_set_time(const time_t secs) argument
69 unsigned long secs; local
71 rtc_tm_to_time(tm, &secs);
72 return rtc_sh_set_time(secs);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/hdparm-9.43/
H A Dwdidle3.c19 * Later models use 8.0 to 12.7 secs (0x50 to 0x7f), and 30 to 300 secs (0x81 to 0x8a).
176 unsigned char wdidle3_msecs_to_timeout (unsigned int secs) argument
180 if (secs == 0)
182 else if (secs < 8)
184 else if (secs <= (WDC_TIMEOUT_THRESHOLD / 10))
185 timeout = secs * 10; /* 8.0 to 12.7 seconds */
187 secs += 29; /* round up to next multiple of 30 */
188 if (secs > 300)
189 secs
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/boards/mach-dreamcast/
H A Drtc.c53 * @secs: contains the time_t to set
57 static int aica_rtc_settimeofday(const time_t secs) argument
60 unsigned long adj = secs + TWENTY_YEARS;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/vdso/
H A Dvclock_gettime.c77 unsigned long seq, ns, secs; local
80 secs = gtod->wall_time_sec;
82 secs += gtod->wall_to_monotonic.tv_sec;
85 vset_normalized_timespec(ts, secs, ns);
102 unsigned long seq, ns, secs; local
105 secs = gtod->wall_time_coarse.tv_sec;
107 secs += gtod->wall_to_monotonic.tv_sec;
110 vset_normalized_timespec(ts, secs, ns);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/db_deadlock/
H A Ddb_deadlock.c48 u_long secs, usecs; local
63 secs = usecs = 0;
121 NULL, progname, optarg, 0, LONG_MAX, &secs))
123 if (secs == 0 && usecs == 0)
195 /* Make a pass every "secs" secs and "usecs" usecs. */
196 if (secs == 0 && usecs == 0)
198 __os_yield(dbenv->env, secs, usecs);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/db_deadlock/
H A Ddb_deadlock.c34 u_long secs, usecs; local
49 secs = usecs = 0;
106 NULL, progname, optarg, 0, LONG_MAX, &secs))
108 if (secs == 0 && usecs == 0)
180 /* Make a pass every "secs" secs and "usecs" usecs. */
181 if (secs == 0 && usecs == 0)
183 __os_yield(dbenv->env, secs, usecs);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/
H A Drtc.h101 u_int32_t secs; local
103 secs = mktime(wtime->tm_year + 1900, wtime->tm_mon + 1, wtime->tm_mday,
106 if(pdc_tod_set(secs, 0) < 0)

Completed in 246 milliseconds

1234567