Searched refs:time (Results 476 - 500 of 1964) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/watchdog/
H A Dwm8350_wdt.c28 unsigned int time; /* Seconds */ member in struct:__anon2924
44 if (wm8350_wdt_cfgs[i].time == timeout)
/linux-master/fs/nfsd/
H A Dnfsxdr.c87 encode_timeval(__be32 *p, const struct timespec64 *time) argument
89 *p++ = cpu_to_be32((u32)time->tv_sec);
90 if (time->tv_nsec)
91 *p++ = cpu_to_be32(time->tv_nsec / NSEC_PER_USEC);
189 * current server time". It's needed to make permissions
220 struct timespec64 time; local
263 time = stat->mtime;
264 lease_get_mtime(d_inode(dentry), &time); local
265 p = encode_timeval(p, &time);
/linux-master/arch/powerpc/platforms/powermac/
H A Dtime.c4 * the current time from the RTC on Power Macintoshes.
20 #include <linux/time.h>
32 #include <asm/time.h>
49 #define VIA_TIMER_FREQ_6 4700000 /* time 1 frequency * 6 */
99 /* Get the time from the RTC, used only at boot time */
120 /* Get the time from the RTC, used only at boot time */
/linux-master/include/linux/
H A Dgameport.h191 static inline int gameport_time(struct gameport *gameport, int time) argument
193 return (time * gameport->speed) / 1000;
/linux-master/drivers/rtc/
H A Drtc-rs5c372.c408 /* report alarm time */
409 t->time.tm_sec = 0;
410 t->time.tm_min = bcd2bin(rs5c->regs[RS5C_REG_ALARM_A_MIN] & 0x7f);
411 t->time.tm_hour = rs5c_reg2hr(rs5c, rs5c->regs[RS5C_REG_ALARM_A_HOURS]);
428 if (t->time.tm_mday != -1
429 || t->time.tm_mon != -1
430 || t->time.tm_year != -1)
450 buf[0] = bin2bcd(t->time.tm_min);
451 buf[1] = rs5c_hr2reg(rs5c, t->time.tm_hour);
457 dev_dbg(dev, "can't set alarm time\
[all...]
H A Drtc-pcf85063.c82 * while reading, the time/date registers are blocked and not updated
85 * time/date registers in one turn.
92 /* if the clock has lost its power it makes no sense to use its time */
94 dev_warn(&pcf85063->rtc->dev, "Power loss detected, invalid time\n");
117 * to accurately set the time, reset the divider chain and keep it in
118 * reset state until all time/date registers are written
172 alrm->time.tm_sec = bcd2bin(buf[0] & 0x7f);
173 alrm->time.tm_min = bcd2bin(buf[1] & 0x7f);
174 alrm->time.tm_hour = bcd2bin(buf[2] & 0x3f);
175 alrm->time
[all...]
H A Drtc-pcap.c43 struct rtc_time *tm = &alrm->time;
45 u32 tod; /* time of day, seconds since midnight */
62 unsigned long secs = rtc_tm_to_time64(&alrm->time);
/linux-master/tools/testing/selftests/vDSO/
H A Dvdso_test_abi.c14 #include <time.h>
16 #include <sys/time.h>
67 ksft_print_msg("The time is %lld.%06lld\n",
92 ksft_print_msg("The time is %lld.%06lld\n",
104 /* Find time. */
117 ksft_print_msg("The time in hours since January 1, 1970 is %lld\n",
/linux-master/arch/mips/loongson64/
H A Dnuma.c24 #include <asm/mc146818-time.h>
25 #include <asm/time.h>
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dvmx_nested_tsc_scaling_test.c12 #include <time.h>
142 srand(time(NULL));
/linux-master/arch/x86/kvm/
H A Dxen.h205 struct pvclock_vcpu_time_info time; member in struct:compat_vcpu_info
232 uint64_t time[4]; member in struct:compat_vcpu_runstate_info
/linux-master/tools/net/ynl/
H A Dcli.py7 import time namespace
84 time.sleep(args.sleep)
/linux-master/tools/testing/selftests/timers/
H A Dposix_timers.c10 #include <sys/time.h>
14 #include <time.h>
31 * Try to spend as much time as possible in kernelspace
278 * the normal DELAY since the time is elapsing nr_threads faster.
H A Dadjtick.c22 #include <sys/time.h>
24 #include <time.h>
/linux-master/tools/perf/bench/
H A Duprobe.c19 #include <sys/time.h>
21 #include <time.h>
119 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit);
/linux-master/kernel/trace/
H A Dpreemptirq_delay_test.c39 static void busy_wait(ulong time) argument
49 } while ((end - start) < (time * 1000));
/linux-master/fs/smb/client/
H A Dcifsfs.h31 static inline void cifs_set_time(struct dentry *dentry, unsigned long time) argument
33 dentry->d_fsdata = (void *) time;
149 /* when changing internal version - update following two lines at same time */
/linux-master/tools/power/pm-graph/
H A Dsleepgraph.py27 # their linux stack's suspend/resume time. Using a kernel image built
32 # time in suspend/resume. The output is a single html file which can be
54 import time namespace
70 mystarttime = time.time()
73 print('[%09.3f] %s' % (time.time()-mystarttime, msg))
236 'msleep': { 'args_x86_64': {'time':'%di:s32'}, 'ub': 1 },
329 os.path.exists(rtc+'/time') and os.path.exists(rtc+'/wakealarm'):
417 args['time']
[all...]
/linux-master/arch/mips/include/asm/
H A Dmc146818-time.h13 #include <linux/time.h>
52 * messing with unknown time zones but requires your
58 real_minutes += 30; /* correct for half hour time zone */
/linux-master/sound/core/oss/
H A Dcopy.c22 #include <linux/time.h>
/linux-master/arch/sh/boards/mach-hp6xx/
H A Dhp6xx_apm.c49 info->time = (2 * battery);
/linux-master/drivers/staging/gdm724x/
H A Dgdm_usb.h10 #include <linux/time.h>
/linux-master/include/uapi/linux/
H A Djoystick.h45 __u32 time; /* event timestamp in milliseconds */ member in struct:js_event
/linux-master/tools/testing/selftests/powerpc/stringloops/
H A Dstrlen.c5 #include <time.h>
48 printf("len %3.3d : time = %.6f\n", test_strlen(s), ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start.tv_nsec) / 1e9);
/linux-master/tools/testing/selftests/x86/
H A Dtest_FISTTP.c13 #include <sys/time.h>

Completed in 414 milliseconds

<<11121314151617181920>>