/linux-4.1.27/include/linux/ |
D | time64.h | 13 # 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 …]
|
D | timekeeping.h | 13 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 …]
|
D | timekeeper_internal.h | 83 struct timespec64 wall_to_monotonic; 88 struct timespec64 raw_time;
|
D | ptp_clock_kernel.h | 107 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 108 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
|
D | ktime.h | 87 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() 264 struct timespec64 *ts) in ktime_to_timespec64_cond()
|
D | rtc.h | 165 extern int rtc_set_ntp_time(struct timespec64 now);
|
/linux-4.1.27/kernel/time/ |
D | timekeeping.c | 75 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 …]
|
D | ntp.c | 462 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()
|
D | ntp_internal.h | 10 extern int __do_adjtimex(struct timex *, struct timespec64 *, s32 *);
|
D | time.c | 439 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()
|
D | timekeeping_internal.h | 10 extern void tk_debug_account_sleep_time(struct timespec64 *t);
|
D | timekeeping_debug.c | 70 void tk_debug_account_sleep_time(struct timespec64 *t) in tk_debug_account_sleep_time()
|
/linux-4.1.27/arch/arm/kernel/ |
D | time.c | 79 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()
|
D | vdso.c | 300 struct timespec64 *wtm = &tk->wall_to_monotonic; in update_vsyscall()
|
/linux-4.1.27/arch/arm/plat-omap/ |
D | counter_32k.c | 53 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/ |
D | i40e_ptp.c | 60 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/ |
D | ptp.c | 109 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/ |
D | class.c | 48 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()
|
D | systohc.c | 23 int rtc_set_ntp_time(struct timespec64 now) in rtc_set_ntp_time()
|
D | hctosys.c | 31 struct timespec64 tv64 = { in rtc_hctosys()
|
D | rtc-lib.c | 140 struct timespec64 ts; in rtc_ktime_to_tm()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 120 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/ |
D | time.h | 15 typedef void (*clock_access_fn)(struct timespec64 *);
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 108 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/ |
D | xgbe-ptp.c | 182 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/ |
D | tegra20_timer.c | 54 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/ |
D | en_clock.c | 168 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/ |
D | cpts.c | 170 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/ |
D | ptp_ixp46x.c | 178 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()
|
D | ptp_clock.c | 110 struct timespec64 ts = timespec_to_timespec64(*tp); in ptp_clock_settime() 118 struct timespec64 ts; in ptp_clock_gettime()
|
D | ptp_pch.c | 452 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()
|
D | ptp_chardev.c | 127 struct timespec64 ts; in ptp_ioctl()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ptp.c | 326 struct timespec64 *ts) in ptp_gianfar_gettime() 344 const struct timespec64 *ts) in ptp_gianfar_settime() 442 struct timespec64 now; in gianfar_ptp_probe()
|
D | fec_ptp.c | 393 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/ |
D | fm10k_ptp.c | 288 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/ |
D | ixgbe_ptp.c | 282 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/ |
D | mpipe.h | 1833 struct timespec64 *ts); 1843 const struct timespec64 *ts);
|
/linux-4.1.27/arch/mips/lasat/ |
D | sysctl.c | 63 struct timespec64 ts; in proc_dolasatrtc()
|
/linux-4.1.27/arch/tile/gxio/ |
D | mpipe.c | 459 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/ |
D | ptp.c | 326 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/ |
D | dp83640.c | 260 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/ |
D | sync_debug.c | 99 struct timespec64 ts64 = in sync_print_pt()
|
/linux-4.1.27/drivers/char/ipmi/ |
D | ipmi_si_intf.c | 332 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/ |
D | kfd_chardev.c | 438 struct timespec64 time; in kfd_ioctl_get_clock_counters()
|
/linux-4.1.27/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 986 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/ |
D | tilegx.c | 842 struct timespec64 *ts) in ptp_mpipe_gettime() 854 const struct timespec64 *ts) in ptp_mpipe_settime()
|
/linux-4.1.27/drivers/power/ |
D | ab8500_fg.c | 387 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/ |
D | bnx2x_main.c | 13296 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/ |
D | tg3.c | 6220 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()
|