Searched refs:time (Results 326 - 350 of 1964) sorted by relevance

<<11121314151617181920>>

/linux-master/net/atm/
H A Dmpoa_caches.h20 time64_t time; member in struct:in_cache_entry
57 time64_t time; member in struct:eg_cache_entry
/linux-master/drivers/rtc/
H A Drtc-ds1553.c102 /* give enough time to update RTC in case of continuous read */
157 pdata->alrm_mday = alrm->time.tm_mday;
158 pdata->alrm_hour = alrm->time.tm_hour;
159 pdata->alrm_min = alrm->time.tm_min;
160 pdata->alrm_sec = alrm->time.tm_sec;
173 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday;
174 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour;
175 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min;
176 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec;
H A Drtc-stk17ta8.c102 /* give enough time to update RTC in case of continuous read */
165 pdata->alrm_mday = alrm->time.tm_mday;
166 pdata->alrm_hour = alrm->time.tm_hour;
167 pdata->alrm_min = alrm->time.tm_min;
168 pdata->alrm_sec = alrm->time.tm_sec;
181 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday;
182 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour;
183 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min;
184 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec;
H A Dlib.c3 * rtc and date/time utility functions
48 * @time: The number of seconds since 01-01-1970 00:00:00.
52 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) argument
62 /* time must be positive */
63 days = div_s64_rem(time, 86400, &secs);
145 * Does the rtc_time represent a valid date/time?
H A Drtc-ds1343.c261 alarm->time.tm_sec = bcd2bin(buf[0]) & 0x7f;
262 alarm->time.tm_min = bcd2bin(buf[1]) & 0x7f;
263 alarm->time.tm_hour = bcd2bin(buf[2]) & 0x3f;
264 alarm->time.tm_mday = bcd2bin(buf[3]) & 0x3f;
282 buf[0] = bin2bcd(alarm->time.tm_sec);
283 buf[1] = bin2bcd(alarm->time.tm_min);
284 buf[2] = bin2bcd(alarm->time.tm_hour);
285 buf[3] = bin2bcd(alarm->time.tm_mday);
H A Drtc-ds1511.c8 * Real time clock driver for the Dallas 1511 chip, which also
187 rtc_write(bin2bcd(alrm->time.tm_mday) & 0x3f, DS1511_AM4_DATE);
188 rtc_write(bin2bcd(alrm->time.tm_hour) & 0x3f, DS1511_AM3_HOUR);
189 rtc_write(bin2bcd(alrm->time.tm_min) & 0x7f, DS1511_AM2_MIN);
190 rtc_write(bin2bcd(alrm->time.tm_sec) & 0x7f, DS1511_AM1_SEC);
201 alrm->time.tm_mday = bcd2bin(rtc_read(DS1511_AM4_DATE) & 0x3f);
202 alrm->time.tm_hour = bcd2bin(rtc_read(DS1511_AM3_HOUR) & 0x3f);
203 alrm->time.tm_min = bcd2bin(rtc_read(DS1511_AM2_MIN) & 0x7f);
204 alrm->time.tm_sec = bcd2bin(rtc_read(DS1511_AM1_SEC) & 0x7f);
H A Drtc-pcf8523.c148 * If the time cannot be set, restart the RTC anyway. Note
173 tm->time.tm_sec = 0;
174 tm->time.tm_min = bcd2bin(regs[0] & 0x7F);
175 tm->time.tm_hour = bcd2bin(regs[1] & 0x3F);
176 tm->time.tm_mday = bcd2bin(regs[2] & 0x3F);
177 tm->time.tm_wday = bcd2bin(regs[3] & 0x7);
215 regs[0] = bin2bcd(tm->time.tm_min);
216 regs[1] = bin2bcd(tm->time.tm_hour);
217 regs[2] = bin2bcd(tm->time.tm_mday);
/linux-master/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_benchmark.c14 #include <time.h>
15 #include <sys/time.h>
153 printf("Avg syscall time %.0lfns.\n", time1 * 1.0e9);
197 printf("Avg syscall time %.0lfns.\n", time2 * 1.0e9);
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c14 #include <time.h>
16 #include <sys/time.h>
/linux-master/arch/mips/sni/
H A Dtime.c7 #include <linux/time.h>
11 #include <asm/time.h>
/linux-master/tools/perf/tests/
H A Dbp_signal_overflow.c18 #include <time.h>
35 return time(NULL);
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c11 #include <time.h>
37 srand(time(NULL) ^ (pid << 16) ^ (tid << 16));
/linux-master/arch/mips/kernel/
H A Dtime.c7 * Common time service routines for MIPS machines.
16 #include <linux/time.h>
27 #include <asm/time.h>
/linux-master/tools/testing/selftests/timers/
H A Dclocksource-switch.c31 #include <sys/time.h>
35 #include <time.h>
H A Dnanosleep.c25 #include <time.h>
26 #include <sys/time.h>
105 /* First check abs time */
H A Dnsleep-lat.c22 #include <time.h>
23 #include <sys/time.h>
/linux-master/include/linux/
H A Dpstore.h18 #include <linux/time.h>
55 * @time: timestamp of the record
76 struct timespec64 time; member in struct:pstore_record
154 * The @time field will be prepopulated with the current time,
235 * the time stamp. This means more timestamp resolution is available when
H A Ddim.h53 * @time: Sample timestamp
60 ktime_t time; member in struct:dim_sample
254 s->time = ktime_get();
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.c10 #include <time.h>
123 seed = getpid() ^ time(NULL);
/linux-master/tools/perf/util/hisi-ptt-decoder/
H A Dhisi-ptt-pkt-decoder.c85 uint32_t time : 11; member in struct:hisi_ptt_4dw::__anon135
140 dw0.len, "Time", dw0.time);
/linux-master/tools/perf/scripts/python/
H A Dtask-analyzer.py93 "--time-limit",
96 "print tasks only in time[s] window e.g"
97 " --time-limit 123.111:789.222(print all between 123.111 and 789.222)"
98 " --time-limit 123: (print all from 123)"
99 " --time-limit :456 (print all until incl. 456)",
233 The elapsed time between two occurrences of the same task is being tracked with the
236 The first half of the name signals the first time point of the
543 def schedule_in_at(self, time):
544 """set the time where the task was scheduled in"""
545 self._time_in = time
[all...]
/linux-master/drivers/firmware/efi/
H A Druntime-wrappers.c47 efi_time_t *time; member in struct:efi_rts_args::__anon168
52 efi_time_t *time; member in struct:efi_rts_args::__anon169
58 efi_time_t *time; member in struct:efi_rts_args::__anon170
63 efi_time_t *time; member in struct:efi_rts_args::__anon171
128 * finished, hence _only_ one work is queued at a time and the caller
228 args->GET_TIME.time,
233 args->SET_TIME.time);
239 args->GET_WAKEUP_TIME.time);
244 args->SET_WAKEUP_TIME.time);
/linux-master/arch/openrisc/kernel/
H A Dtime.c3 * OpenRISC time.c
14 #include <linux/time.h>
26 #include <asm/time.h>
107 * has been set on the clockevent device by the generic time management code.
/linux-master/drivers/usb/usbip/
H A Dvudc.h18 #include <linux/time.h>
162 void v_kick_timer(struct vudc *udc, unsigned long time);
/linux-master/sound/core/seq/oss/
H A Dseq_oss_device.h11 #include <linux/time.h>
120 void snd_seq_oss_process_queue(struct seq_oss_devinfo *dp, abstime_t time);

Completed in 436 milliseconds

<<11121314151617181920>>