/linux-master/drivers/watchdog/ |
H A D | wm8350_wdt.c | 28 unsigned int time; /* Seconds */ member in struct:__anon2924 44 if (wm8350_wdt_cfgs[i].time == timeout)
|
/linux-master/fs/nfsd/ |
H A D | nfsxdr.c | 87 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 D | time.c | 4 * 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 D | gameport.h | 191 static inline int gameport_time(struct gameport *gameport, int time) argument 193 return (time * gameport->speed) / 1000;
|
/linux-master/drivers/rtc/ |
H A D | rtc-rs5c372.c | 408 /* 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 D | rtc-pcf85063.c | 82 * 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 D | rtc-pcap.c | 43 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 D | vdso_test_abi.c | 14 #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 D | numa.c | 24 #include <asm/mc146818-time.h> 25 #include <asm/time.h>
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 12 #include <time.h> 142 srand(time(NULL));
|
/linux-master/arch/x86/kvm/ |
H A D | xen.h | 205 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 D | cli.py | 7 import time namespace 84 time.sleep(args.sleep)
|
/linux-master/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 10 #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 D | adjtick.c | 22 #include <sys/time.h> 24 #include <time.h>
|
/linux-master/tools/perf/bench/ |
H A D | uprobe.c | 19 #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 D | preemptirq_delay_test.c | 39 static void busy_wait(ulong time) argument 49 } while ((end - start) < (time * 1000));
|
/linux-master/fs/smb/client/ |
H A D | cifsfs.h | 31 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 D | sleepgraph.py | 27 # 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 D | mc146818-time.h | 13 #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 D | copy.c | 22 #include <linux/time.h>
|
/linux-master/arch/sh/boards/mach-hp6xx/ |
H A D | hp6xx_apm.c | 49 info->time = (2 * battery);
|
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_usb.h | 10 #include <linux/time.h>
|
/linux-master/include/uapi/linux/ |
H A D | joystick.h | 45 __u32 time; /* event timestamp in milliseconds */ member in struct:js_event
|
/linux-master/tools/testing/selftests/powerpc/stringloops/ |
H A D | strlen.c | 5 #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 D | test_FISTTP.c | 13 #include <sys/time.h>
|