/include/linux/ |
D | pps_kernel.h | 103 struct pps_event_time *ts, int event, void *data); 108 struct timespec ts) in timespec_to_pps_ktime() argument 110 kt->sec = ts.tv_sec; in timespec_to_pps_ktime() 111 kt->nsec = ts.tv_nsec; in timespec_to_pps_ktime() 116 static inline void pps_get_ts(struct pps_event_time *ts) in pps_get_ts() argument 118 getnstime_raw_and_real(&ts->ts_raw, &ts->ts_real); in pps_get_ts() 123 static inline void pps_get_ts(struct pps_event_time *ts) in pps_get_ts() argument 125 getnstimeofday(&ts->ts_real); in pps_get_ts() 131 static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec delta) in pps_sub_ts() argument 133 ts->ts_real = timespec_sub(ts->ts_real, delta); in pps_sub_ts() [all …]
|
D | time.h | 55 extern void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec); 97 static inline bool timespec_valid(const struct timespec *ts) in timespec_valid() argument 100 if (ts->tv_sec < 0) in timespec_valid() 103 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timespec_valid() 108 static inline bool timespec_valid_strict(const struct timespec *ts) in timespec_valid_strict() argument 110 if (!timespec_valid(ts)) in timespec_valid_strict() 113 if ((unsigned long long)ts->tv_sec >= KTIME_SEC_MAX) in timespec_valid_strict() 125 extern void read_persistent_clock(struct timespec *ts); 126 extern void read_boot_clock(struct timespec *ts); 160 #define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) argument [all …]
|
D | timekeeper_internal.h | 76 struct timespec ts; in tk_xtime() local 78 ts.tv_sec = tk->xtime_sec; in tk_xtime() 79 ts.tv_nsec = (long)(tk->xtime_nsec >> tk->shift); in tk_xtime() 80 return ts; in tk_xtime() 91 extern void update_vsyscall_old(struct timespec *ts, struct timespec *wtm,
|
D | ktime.h | 106 static inline ktime_t timespec_to_ktime(struct timespec ts) in timespec_to_ktime() argument 108 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime() 217 static inline ktime_t timespec_to_ktime(const struct timespec ts) in timespec_to_ktime() argument 219 return (ktime_t) { .tv = { .sec = (s32)ts.tv_sec, in timespec_to_ktime() 220 .nsec = (s32)ts.tv_nsec } }; in timespec_to_ktime() 341 static inline bool ktime_to_timespec_cond(const ktime_t kt, struct timespec *ts) in ktime_to_timespec_cond() argument 344 *ts = ktime_to_timespec(kt); in ktime_to_timespec_cond() 361 extern void ktime_get_ts(struct timespec *ts); 364 #define ktime_get_real_ts(ts) getnstimeofday(ts) argument
|
D | posix-clock.h | 62 int (*clock_gettime)(struct posix_clock *pc, struct timespec *ts); 64 int (*clock_getres) (struct posix_clock *pc, struct timespec *ts); 67 const struct timespec *ts);
|
D | ring_buffer.h | 121 ring_buffer_peek(struct ring_buffer *buffer, int cpu, u64 *ts, 124 ring_buffer_consume(struct ring_buffer *buffer, int cpu, u64 *ts, 134 ring_buffer_iter_peek(struct ring_buffer_iter *iter, u64 *ts); 136 ring_buffer_read(struct ring_buffer_iter *iter, u64 *ts); 180 int cpu, u64 *ts);
|
D | ptp_clock_kernel.h | 89 int (*gettime)(struct ptp_clock_info *ptp, struct timespec *ts); 90 int (*settime)(struct ptp_clock_info *ptp, const struct timespec *ts);
|
D | ftrace_event.h | 88 u64 ts; member
|
D | security.h | 74 extern int cap_settime(const struct timespec *ts, const struct timezone *tz); 1425 int (*settime) (const struct timespec *ts, const struct timezone *tz); 1719 int security_settime(const struct timespec *ts, const struct timezone *tz); 1956 static inline int security_settime(const struct timespec *ts, in security_settime() argument 1959 return cap_settime(ts, tz); in security_settime()
|
D | efi.h | 574 extern void efi_gettimeofday (struct timespec *ts);
|
/include/linux/ceph/ |
D | decode.h | 154 static inline void ceph_decode_timespec(struct timespec *ts, in ceph_decode_timespec() argument 157 ts->tv_sec = (__kernel_time_t)le32_to_cpu(tv->tv_sec); in ceph_decode_timespec() 158 ts->tv_nsec = (long)le32_to_cpu(tv->tv_nsec); in ceph_decode_timespec() 161 const struct timespec *ts) in ceph_encode_timespec() argument 163 BUG_ON(ts->tv_sec < 0); in ceph_encode_timespec() 164 BUG_ON(ts->tv_sec > (__kernel_time_t)U32_MAX); in ceph_encode_timespec() 165 BUG_ON(ts->tv_nsec < 0); in ceph_encode_timespec() 166 BUG_ON(ts->tv_nsec > (long)U32_MAX); in ceph_encode_timespec() 168 tv->tv_sec = cpu_to_le32((u32)ts->tv_sec); in ceph_encode_timespec() 169 tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec); in ceph_encode_timespec()
|
/include/linux/spi/ |
D | max7301.h | 34 extern int __max730x_probe(struct max7301 *ts);
|
/include/uapi/linux/ |
D | ptp_clock.h | 80 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member
|
D | omap3isp.h | 167 struct timeval ts; member
|
/include/linux/iio/ |
D | iio.h | 230 struct timespec ts; in iio_get_time_ns() local 235 ktime_get_real_ts(&ts); in iio_get_time_ns() 237 return timespec_to_ns(&ts); in iio_get_time_ns()
|
/include/linux/mfd/ |
D | tps6507x.h | 166 struct tps6507x_ts *ts; member
|
D | stmpe.h | 219 struct stmpe_ts_platform_data *ts; member
|
/include/media/ |
D | videobuf-core.h | 83 struct timeval ts; member
|
/include/net/ |
D | inet_sock.h | 49 unsigned char ts; member
|