Home
last modified time | relevance | path

Searched refs:timespec64 (Results 1 – 49 of 49) sorted by relevance

/linux-4.1.27/include/linux/
Dtime64.h13 # define timespec64 timespec macro
15 struct timespec64 { struct
36 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument
41 static inline struct timespec64 timespec_to_timespec64(const struct timespec ts) in timespec_to_timespec64()
60 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec()
69 static inline struct timespec64 timespec_to_timespec64(const struct timespec ts) in timespec_to_timespec64()
71 struct timespec64 ret; in timespec_to_timespec64()
78 static inline int timespec64_equal(const struct timespec64 *a, in timespec64_equal()
79 const struct timespec64 *b) in timespec64_equal()
89 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare()
[all …]
Dtimekeeping.h13 extern int do_settimeofday64(const struct timespec64 *ts);
28 struct timespec64 get_monotonic_coarse64(void);
29 extern void getrawmonotonic64(struct timespec64 *ts);
30 extern void ktime_get_ts64(struct timespec64 *ts);
34 extern int __getnstimeofday64(struct timespec64 *tv);
35 extern void getnstimeofday64(struct timespec64 *tv);
36 extern void getboottime64(struct timespec64 *ts);
87 struct timespec64 ts64; in do_settimeofday()
95 struct timespec64 ts64; in __getnstimeofday()
104 struct timespec64 ts64; in getnstimeofday()
[all …]
Dtimekeeper_internal.h83 struct timespec64 wall_to_monotonic;
88 struct timespec64 raw_time;
Dptp_clock_kernel.h107 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
108 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
Dktime.h87 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime()
264 struct timespec64 *ts) in ktime_to_timespec64_cond()
Drtc.h165 extern int rtc_set_ntp_time(struct timespec64 now);
/linux-4.1.27/kernel/time/
Dtimekeeping.c75 static inline struct timespec64 tk_xtime(struct timekeeper *tk) in tk_xtime()
77 struct timespec64 ts; in tk_xtime()
84 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime()
90 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add()
97 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono()
99 struct timespec64 tmp; in tk_set_wall_to_mono()
642 int __getnstimeofday64(struct timespec64 *ts) in __getnstimeofday64()
675 void getnstimeofday64(struct timespec64 *ts) in getnstimeofday64()
777 void ktime_get_ts64(struct timespec64 *ts) in ktime_get_ts64()
780 struct timespec64 tomono; in ktime_get_ts64()
[all …]
Dntp.c462 int __weak update_persistent_clock64(struct timespec64 now64) in update_persistent_clock64()
478 struct timespec64 now; in sync_cmos_clock()
500 struct timespec64 adjust = now; in sync_cmos_clock()
545 static inline void process_adj_status(struct timex *txc, struct timespec64 *ts) in process_adj_status()
568 struct timespec64 *ts, in process_adjtimex_modes()
665 int __do_adjtimex(struct timex *txc, struct timespec64 *ts, s32 *time_tai) in __do_adjtimex()
Dntp_internal.h10 extern int __do_adjtimex(struct timex *, struct timespec64 *, s32 *);
Dtime.c439 void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec) in set_normalized_timespec64()
467 struct timespec64 ns_to_timespec64(const s64 nsec) in ns_to_timespec64()
469 struct timespec64 ts; in ns_to_timespec64()
473 return (struct timespec64) {0, 0}; in ns_to_timespec64()
Dtimekeeping_internal.h10 extern void tk_debug_account_sleep_time(struct timespec64 *t);
Dtimekeeping_debug.c70 void tk_debug_account_sleep_time(struct timespec64 *t) in tk_debug_account_sleep_time()
/linux-4.1.27/arch/arm/kernel/
Dtime.c79 static void dummy_clock_access(struct timespec64 *ts) in dummy_clock_access()
88 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64()
93 void read_boot_clock64(struct timespec64 *ts) in read_boot_clock64()
Dvdso.c300 struct timespec64 *wtm = &tk->wall_to_monotonic; in update_vsyscall()
/linux-4.1.27/arch/arm/plat-omap/
Dcounter_32k.c53 static struct timespec64 persistent_ts;
57 static void omap_read_persistent_clock64(struct timespec64 *ts) in omap_read_persistent_clock64()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c60 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read()
84 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
162 struct timespec64 now, then = ns_to_timespec64(delta); in i40e_ptp_adjtime()
169 i40e_ptp_write(pf, (const struct timespec64 *)&now); in i40e_ptp_adjtime()
184 static int i40e_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in i40e_ptp_gettime()
205 const struct timespec64 *ts) in i40e_ptp_settime()
676 struct timespec64 ts; in i40e_ptp_init()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dptp.c109 static int e1000e_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in e1000e_phc_gettime()
134 const struct timespec64 *ts) in e1000e_phc_settime()
172 struct timespec64 ts; in e1000e_systim_overflow_work()
/linux-4.1.27/drivers/rtc/
Dclass.c48 static struct timespec64 old_rtc, old_system, old_delta;
55 struct timespec64 delta, delta_delta; in rtc_suspend()
101 struct timespec64 new_system, new_rtc; in rtc_resume()
102 struct timespec64 sleep_time; in rtc_resume()
Dsystohc.c23 int rtc_set_ntp_time(struct timespec64 now) in rtc_set_ntp_time()
Dhctosys.c31 struct timespec64 tv64 = { in rtc_hctosys()
Drtc-lib.c140 struct timespec64 ts; in rtc_ktime_to_tm()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_ptp.c120 struct timespec64 *ts) in igb_ptp_read_i210()
138 const struct timespec64 *ts) in igb_ptp_write_i210()
273 struct timespec64 now, then = ns_to_timespec64(delta); in igb_ptp_adjtime_i210()
279 igb_ptp_write_i210(igb, (const struct timespec64 *)&now); in igb_ptp_adjtime_i210()
287 struct timespec64 *ts) in igb_ptp_gettime_82576()
306 struct timespec64 *ts) in igb_ptp_gettime_i210()
322 const struct timespec64 *ts) in igb_ptp_settime_82576()
341 const struct timespec64 *ts) in igb_ptp_settime_i210()
628 struct timespec64 ts; in igb_ptp_overflow_check()
1059 struct timespec64 ts = ktime_to_timespec64(ktime_get_real()); in igb_ptp_init()
[all …]
/linux-4.1.27/arch/arm/include/asm/mach/
Dtime.h15 typedef void (*clock_access_fn)(struct timespec64 *);
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c108 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time()
136 const struct timespec64 *ts) in stmmac_set_time()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c182 static int xgbe_gettime(struct ptp_clock_info *info, struct timespec64 *ts) in xgbe_gettime()
202 const struct timespec64 *ts) in xgbe_settime()
/linux-4.1.27/drivers/clocksource/
Dtegra20_timer.c54 static struct timespec64 persistent_ts;
132 static void tegra_read_persistent_clock64(struct timespec64 *ts) in tegra_read_persistent_clock64()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c168 struct timespec64 *ts) in mlx4_en_phc_gettime()
193 const struct timespec64 *ts) in mlx4_en_phc_settime()
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpts.c170 static int cpts_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cpts_ptp_gettime()
186 const struct timespec64 *ts) in cpts_ptp_settime()
223 struct timespec64 ts; in cpts_overflow_check()
/linux-4.1.27/drivers/ptp/
Dptp_ixp46x.c178 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime()
198 const struct timespec64 *ts) in ptp_ixp_settime()
Dptp_clock.c110 struct timespec64 ts = timespec_to_timespec64(*tp); in ptp_clock_settime()
118 struct timespec64 ts; in ptp_clock_gettime()
Dptp_pch.c452 static int ptp_pch_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_pch_gettime()
470 const struct timespec64 *ts) in ptp_pch_settime()
Dptp_chardev.c127 struct timespec64 ts; in ptp_ioctl()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar_ptp.c326 struct timespec64 *ts) in ptp_gianfar_gettime()
344 const struct timespec64 *ts) in ptp_gianfar_settime()
442 struct timespec64 now; in gianfar_ptp_probe()
Dfec_ptp.c393 static int fec_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fec_ptp_gettime()
418 const struct timespec64 *ts) in fec_ptp_settime()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_ptp.c288 static int fm10k_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fm10k_ptp_gettime()
306 const struct timespec64 *ts) in fm10k_ptp_settime()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c282 static int ixgbe_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ixgbe_ptp_gettime()
307 const struct timespec64 *ts) in ixgbe_ptp_settime()
407 struct timespec64 ts; in ixgbe_ptp_overflow_check()
/linux-4.1.27/arch/tile/include/gxio/
Dmpipe.h1833 struct timespec64 *ts);
1843 const struct timespec64 *ts);
/linux-4.1.27/arch/mips/lasat/
Dsysctl.c63 struct timespec64 ts; in proc_dolasatrtc()
/linux-4.1.27/arch/tile/gxio/
Dmpipe.c459 const struct timespec64 *ts) in gxio_mpipe_set_timestamp()
469 struct timespec64 *ts) in gxio_mpipe_get_timestamp()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dptp.c326 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts);
328 const struct timespec64 *e_ts);
1840 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in efx_phc_gettime()
1867 const struct timespec64 *e_ts) in efx_phc_settime()
1874 struct timespec64 time_now; in efx_phc_settime()
1875 struct timespec64 delta; in efx_phc_settime()
/linux-4.1.27/drivers/net/phy/
Ddp83640.c260 const struct timespec64 *ts, u16 cmd) in tdr_write()
414 struct timespec64 ts; in ptp_dp83640_adjtime()
431 struct timespec64 *ts) in ptp_dp83640_gettime()
456 const struct timespec64 *ts) in ptp_dp83640_settime()
617 struct timespec64 ts; in recalibrate()
/linux-4.1.27/drivers/staging/android/
Dsync_debug.c99 struct timespec64 ts64 = in sync_print_pt()
/linux-4.1.27/drivers/char/ipmi/
Dipmi_si_intf.c332 struct timespec64 t; in debug_timestamp()
1011 static inline void ipmi_si_set_not_busy(struct timespec64 *ts) in ipmi_si_set_not_busy()
1015 static inline int ipmi_si_is_busy(struct timespec64 *ts) in ipmi_si_is_busy()
1022 struct timespec64 *busy_until) in ipmi_thread_busy_wait()
1034 struct timespec64 now; in ipmi_thread_busy_wait()
1060 struct timespec64 busy_until; in ipmi_thread()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c438 struct timespec64 time; in kfd_ioctl_get_clock_counters()
/linux-4.1.27/drivers/net/ethernet/adi/
Dbfin_mac.c986 static int bfin_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in bfin_ptp_gettime()
1005 const struct timespec64 *ts) in bfin_ptp_settime()
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c842 struct timespec64 *ts) in ptp_mpipe_gettime()
854 const struct timespec64 *ts) in ptp_mpipe_settime()
/linux-4.1.27/drivers/power/
Dab8500_fg.c387 struct timespec64 ts64; in ab8500_fg_add_cap_sample()
447 struct timespec64 ts64; in ab8500_fg_fill_cap_sample()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13296 static int bnx2x_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in bnx2x_ptp_gettime()
13311 const struct timespec64 *ts) in bnx2x_ptp_settime()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c6220 static int tg3_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in tg3_ptp_gettime()
6236 const struct timespec64 *ts) in tg3_ptp_settime()