Searched refs:time (Results 451 - 475 of 1964) sorted by relevance

<<11121314151617181920>>

/linux-master/kernel/time/
H A Dtime.c5 * This file contains the interface functions for the various time related
6 * system calls: time, stime, gettimeofday, settimeofday, adjtime
11 * Created file with time related functions from sched/core.c and adjtimex()
62 SYSCALL_DEFINE1(time, __kernel_old_time_t __user *, tloc)
160 * in UTC, but in some local time: The first time we set the timezone,
161 * we will warp the clock so that it is ticking UTC time instead of
162 * local time. Presumably, if someone is setting the timezone then we
164 * timezones. This should be done at boot time in the /etc/rc script,
303 txc->time
[all...]
/linux-master/drivers/rtc/
H A Drtc-omap.c348 alm->time.tm_sec = rtc_read(rtc, OMAP_RTC_ALARM_SECONDS_REG);
349 alm->time.tm_min = rtc_read(rtc, OMAP_RTC_ALARM_MINUTES_REG);
350 alm->time.tm_hour = rtc_read(rtc, OMAP_RTC_ALARM_HOURS_REG);
351 alm->time.tm_mday = rtc_read(rtc, OMAP_RTC_ALARM_DAYS_REG);
352 alm->time.tm_mon = rtc_read(rtc, OMAP_RTC_ALARM_MONTHS_REG);
353 alm->time.tm_year = rtc_read(rtc, OMAP_RTC_ALARM_YEARS_REG);
357 bcd2tm(&alm->time);
370 tm2bcd(&alm->time);
376 rtc_write(rtc, OMAP_RTC_ALARM_YEARS_REG, alm->time.tm_year);
377 rtc_write(rtc, OMAP_RTC_ALARM_MONTHS_REG, alm->time
[all...]
H A Drtc-rv8803.c370 alrm->time.tm_sec = 0;
371 alrm->time.tm_min = bcd2bin(alarmvals[0]);
372 alrm->time.tm_hour = bcd2bin(alarmvals[1]);
373 alrm->time.tm_mday = bcd2bin(alarmvals[2]);
378 if ((unsigned int)alrm->time.tm_mday > 31 ||
379 (unsigned int)alrm->time.tm_hour >= 24 ||
380 (unsigned int)alrm->time.tm_min >= 60)
399 if (alrm->time.tm_sec) {
400 time64_t alarm_time = rtc_tm_to_time64(&alrm->time);
402 alarm_time += 60 - alrm->time
[all...]
H A Drtc-pm8xxx.c53 * @allow_set_time: whether the time can be set
255 dev_dbg(dev, "set time: %ptRd %ptRt (%u + %u)\n", tm, tm,
273 dev_dbg(dev, "read time: %ptRd %ptRt (%u + %u)\n", tm, tm,
286 secs = rtc_tm_to_time64(&alarm->time);
307 dev_dbg(dev, "set alarm: %ptRd %ptRt\n", &alarm->time, &alarm->time);
328 rtc_time64_to_tm(secs, &alarm->time);
336 dev_dbg(dev, "read alarm: %ptRd %ptRt\n", &alarm->time, &alarm->time);
481 "allow-set-time");
[all...]
H A Drtc-cadence.c208 cdns_rtc_reg2time(reg, &alarm->time);
211 alarm->time.tm_mday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_D, reg));
212 alarm->time.tm_mon = bcd2bin(FIELD_GET(CDNS_RTC_CAL_M, reg)) - 1;
226 timar = cdns_rtc_time2reg(&alarm->time);
227 calar = FIELD_PREP(CDNS_RTC_CAL_D, bin2bcd(alarm->time.tm_mday))
228 | FIELD_PREP(CDNS_RTC_CAL_M, bin2bcd(alarm->time.tm_mon + 1));
H A Drtc-jz4740.c142 static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) argument
166 rtc_time64_to_tm(secs, time);
171 static int jz4740_rtc_set_time(struct device *dev, struct rtc_time *time) argument
176 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, rtc_tm_to_time64(time));
196 rtc_time64_to_tm(secs, &alrm->time);
205 uint32_t secs = lower_32_bits(rtc_tm_to_time64(&alrm->time));
279 of_property_read_u32(np, "ingenic,reset-pin-assert-time-ms",
281 of_property_read_u32(np, "ingenic,min-wakeup-pin-assert-time-ms",
285 * Set minimum wakeup pin assertion time: 100 ms.
296 * Set reset pin low-level assertion time afte
[all...]
H A Drtc-ds1685.c3 * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time
101 * @val: u8 time value to consider converting.
119 * @val: u8 time value to consider converting.
180 * This takes several steps to prepare the rtc for access to get/set time
256 * ds1685_rtc_read_time - reads the time registers.
267 /* Fetch the time info from the RTC registers. */
304 * ds1685_rtc_set_time - sets the time registers.
314 /* Fetch the time info from rtc_time. */
349 * Set the data mode to use and store the time values in the
414 alrm->time
[all...]
H A Drtc-test.c32 rtc_time64_to_tm(alarm, &alrm->time);
44 timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds();
H A Drtc-pl030.c39 rtc_time64_to_tm(readl(rtc->base + RTC_MR), &alrm->time);
47 writel(rtc_tm_to_time64(&alrm->time), rtc->base + RTC_MR);
62 * Set the RTC time. Unfortunately, we can't accurately set
66 * edge of the 1Hz clock, we must write the time one second
/linux-master/fs/pstore/
H A Dram.c145 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, argument
152 (time64_t *)&time->tv_sec, &time->tv_nsec, &data_type,
154 time->tv_nsec *= 1000;
160 (time64_t *)&time->tv_sec, &time->tv_nsec,
162 time->tv_nsec *= 1000;
165 time->tv_sec = 0;
166 time->tv_nsec = 0;
187 * Ramoops headers provide time stamp
[all...]
/linux-master/kernel/kcsan/
H A Dreport.c78 * The last time the race was reported.
80 unsigned long time; member in struct:report_time
98 * same time window is limited.
141 if (time_before(rt->time, use_entry->time))
148 if (rt->time == 0)
152 if (time_before(rt->time, invalid_before))
161 use_entry->time = jiffies;
677 * of printk() could deadlock. Until such time that all printing code
/linux-master/arch/m68k/mac/
H A Dmisc.c11 #include <linux/time.h>
31 * Offset between Unix time (1970-based) and Mac time (1904-based). Cuda and PMU
237 * Return the current time in seconds since January 1, 1904.
287 * Set the current time to a number of seconds since January 1, 1904.
300 time64_t time; local
302 time = mktime64(tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
310 data.idata = lower_32_bits(time + RTC_OFFSET);
547 static void unmktime(time64_t time, long offset, argument
562 days = div_u64_rem(time, SECS_PER_DA
[all...]
/linux-master/sound/pci/emu10k1/
H A Demu10k1_callback.c19 unsigned int time; member in struct:best_voice
218 best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */
263 if (vp->time < bp->time) {
264 bp->time = vp->time;
/linux-master/Documentation/trace/
H A Dfunction-graph-fold.vim6 " functions. While closed, a fold will show the total time taken for a call,
/linux-master/samples/connector/
H A Ducon.c25 #include <time.h>
224 time(&tm);
/linux-master/tools/testing/radix-tree/
H A Didr-test.c286 time_t start = time(NULL);
293 } while (time(NULL) < start + 10);
306 time_t start = time(NULL);
325 } while (time(NULL) < start + 11);
480 time_t s = time(NULL);
497 if (time(NULL) < s + 10)
542 time_t s = time(NULL);
551 } while (time(NULL) < s + 2);
/linux-master/arch/mips/sgi-ip27/
H A Dip27-timer.c16 #include <linux/time.h>
21 #include <asm/time.h>
72 * 360, 380, 390 and 400 MHZ, we use 800 ns rtc cycle time.
/linux-master/tools/testing/selftests/x86/
H A Dsingle_step_syscall.c15 #include <sys/time.h>
16 #include <time.h>
/linux-master/tools/perf/tests/
H A Dbp_signal.c19 #include <time.h>
66 return time(NULL);
91 * time, consider this the recursive issue.
195 * notification each time the breakpoint is hit
198 * configured. We should get SIGUSR1 each time when
/linux-master/tools/testing/selftests/ir/
H A Dir_loopback.c20 #include <time.h>
109 srand(time(NULL));
/linux-master/tools/bpf/runqslower/
H A Drunqslower.c7 #include <time.h>
97 time(&t);
/linux-master/arch/powerpc/platforms/chrp/
H A Dtime.c7 * Copied and modified from arch/i386/kernel/time.c
17 #include <linux/time.h>
29 #include <asm/time.h>
/linux-master/arch/mips/mti-malta/
H A Dmalta-time.c27 #include <asm/time.h>
28 #include <asm/mc146818-time.h>
183 /* Set 32KHz time base if not already set */
/linux-master/arch/powerpc/platforms/maple/
H A Dtime.c16 #include <linux/time.h>
27 #include <asm/time.h>
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duhead.c68 args->v0.time[0] = ktime_to_ns(ktime_get());
70 args->v0.time[1] = ktime_to_ns(ktime_get());

Completed in 782 milliseconds

<<11121314151617181920>>