/linux-master/arch/arm/kernel/ |
H A D | time.c | 63 static void dummy_clock_access(struct timespec64 *ts) argument 65 ts->tv_sec = 0; 66 ts->tv_nsec = 0; 71 void read_persistent_clock64(struct timespec64 *ts) argument 73 __read_persistent_clock(ts);
|
/linux-master/fs/udf/ |
H A D | udftime.c | 59 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts) argument 69 seconds = ts.tv_sec + offset * 60; 77 dest->centiseconds = ts.tv_nsec / 10000000; 78 dest->hundredsOfMicroseconds = (ts.tv_nsec / 1000 - 80 dest->microseconds = (ts.tv_nsec / 1000 - dest->centiseconds * 10000 -
|
/linux-master/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 313 static int rohm_ts_manual_calibration(struct rohm_ts_data *ts) argument 315 struct i2c_client *client = ts->client; 522 struct rohm_ts_data *ts = dev_id; local 523 struct i2c_client *client = ts->client; 524 struct input_dev *input_dev = ts->input; 534 int prev_finger_count = ts->finger_count; 570 if (++ts->contact_count[0] >= threshold) 576 if (++ts->contact_count[1] >= threshold) 591 if (++ts->contact_count[2] >= threshold) 603 count = ts 734 struct rohm_ts_data *ts = i2c_get_clientdata(client); local 743 struct rohm_ts_data *ts = i2c_get_clientdata(client); local 773 struct rohm_ts_data *ts = i2c_get_clientdata(client); local 782 struct rohm_ts_data *ts = i2c_get_clientdata(client); local 812 struct rohm_ts_data *ts = i2c_get_clientdata(client); local 821 struct rohm_ts_data *ts = i2c_get_clientdata(client); local 1068 struct rohm_ts_data *ts = input_get_drvdata(input_dev); local 1088 struct rohm_ts_data *ts = input_get_drvdata(input_dev); local 1098 struct rohm_ts_data *ts; local [all...] |
H A D | sx8654.c | 109 static inline void sx865x_penrelease(struct sx8654 *ts) argument 111 struct input_dev *input_dev = ts->input; 119 struct sx8654 *ts = from_timer(ts, t, timer); local 122 spin_lock_irqsave(&ts->lock, flags); 123 sx865x_penrelease(ts); 124 spin_unlock_irqrestore(&ts->lock, flags); 125 dev_dbg(&ts->client->dev, "penrelease by timer\n"); 130 struct sx8654 *ts = handle; local 131 struct device *dev = &ts 240 sx8654_reset(struct sx8654 *ts) argument [all...] |
H A D | tsc2007.h | 88 bool tsc2007_is_pen_down(struct tsc2007 *ts); 92 int tsc2007_iio_configure(struct tsc2007 *ts); 94 static inline int tsc2007_iio_configure(struct tsc2007 *ts) argument
|
/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 41 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts, argument 63 ts->tv_nsec = gem_readl(bp, TN); 68 ts->tv_nsec = first; 72 ts->tv_sec = (((u64)sech << GEM_TSL_SIZE) | secl) 78 const struct timespec64 *ts) 84 secl = (u32)ts->tv_sec; 85 sech = (ts->tv_sec >> GEM_TSL_SIZE) & ((1 << GEM_TSH_SIZE) - 1); 86 ns = ts->tv_nsec; 222 struct timespec64 ts; local 225 ts 77 gem_tsu_set_time(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 246 gem_hw_timestamp(struct macb *bp, u32 dma_desc_ts_1, u32 dma_desc_ts_2, struct timespec64 *ts) argument 279 struct timespec64 ts; local 300 struct timespec64 ts; local [all...] |
/linux-master/fs/fat/ |
H A D | misc.c | 204 void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts, argument 231 ts->tv_sec = second + (time_cs / 100); 232 ts->tv_nsec = (time_cs % 100) * 10000000; 234 ts->tv_sec = second; 235 ts->tv_nsec = 0; 243 void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, argument 247 time64_to_tm(ts->tv_sec, -fat_tz_offset(sbi), &tm); 275 *time_cs = (ts->tv_sec & 1) * 100 + ts->tv_nsec / 10000000; 279 static inline struct timespec64 fat_timespec64_trunc_2secs(struct timespec64 ts) argument 287 fat_truncate_atime(const struct msdos_sb_info *sbi, const struct timespec64 *ts) argument 304 fat_truncate_mtime(const struct msdos_sb_info *sbi, const struct timespec64 *ts) argument 317 struct timespec64 ts; local [all...] |
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | desc.c | 439 * @ts: The &struct ath5k_tx_status 444 struct ath5k_tx_status *ts) 457 ts->ts_tstamp = AR5K_REG_MS(tx_status->tx_status_0, 459 ts->ts_shortretry = AR5K_REG_MS(tx_status->tx_status_0, 461 ts->ts_final_retry = AR5K_REG_MS(tx_status->tx_status_0, 463 /*TODO: ts->ts_virtcol + test*/ 464 ts->ts_seqnum = AR5K_REG_MS(tx_status->tx_status_1, 466 ts->ts_rssi = AR5K_REG_MS(tx_status->tx_status_1, 468 ts->ts_antenna = 1; 469 ts 442 ath5k_hw_proc_2word_tx_status(struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_tx_status *ts) argument 494 ath5k_hw_proc_4word_tx_status(struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_tx_status *ts) argument [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | nanosleep.c | 91 struct timespec timespec_add(struct timespec ts, unsigned long long ns) argument 93 ts.tv_nsec += ns; 94 while (ts.tv_nsec >= NSEC_PER_SEC) { 95 ts.tv_nsec -= NSEC_PER_SEC; 96 ts.tv_sec++; 98 return ts;
|
H A D | nsleep-lat.c | 79 struct timespec timespec_add(struct timespec ts, unsigned long long ns) argument 81 ts.tv_nsec += ns; 82 while (ts.tv_nsec >= NSEC_PER_SEC) { 83 ts.tv_nsec -= NSEC_PER_SEC; 84 ts.tv_sec++; 86 return ts;
|
H A D | leapcrash.c | 61 struct timespec ts; local 75 clock_gettime(CLOCK_REALTIME, &ts); 78 next_leap = ts.tv_sec;
|
/linux-master/tools/perf/util/ |
H A D | iostat.h | 39 char *prefix, struct timespec *ts); 44 struct perf_stat_config *config, struct timespec *ts,
|
H A D | iostat.c | 43 struct timespec *ts __maybe_unused) 49 struct timespec *ts __maybe_unused,
|
/linux-master/arch/x86/um/vdso/ |
H A D | um_vdso.c | 16 int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) argument 22 : "0" (__NR_clock_gettime), "D" (clock), "S" (ts)
|
/linux-master/net/9p/ |
H A D | trans_fd.c | 225 struct p9_trans_fd *ts = NULL; local 228 ts = client->trans; 230 if (!ts) { 236 ret = vfs_poll(ts->rd, pt); 237 if (ts->rd != ts->wr) 238 ret = (ret & ~EPOLLOUT) | (vfs_poll(ts->wr, pt) & ~EPOLLIN); 253 struct p9_trans_fd *ts = NULL; local 257 ts = client->trans; 259 if (!ts) 421 struct p9_trans_fd *ts = NULL; local 586 struct p9_trans_fd *ts = client->trans; local 668 struct p9_trans_fd *ts = client->trans; local 698 struct p9_trans_fd *ts = client->trans; local 719 struct p9_trans_fd *ts = client->trans; local 828 struct p9_trans_fd *ts = kzalloc(sizeof(struct p9_trans_fd), local 936 struct p9_trans_fd *ts; local [all...] |
/linux-master/include/linux/spi/ |
H A D | max7301.h | 35 extern int __max730x_probe(struct max7301 *ts);
|
/linux-master/drivers/spi/ |
H A D | spi-slave-time.c | 67 u64 ts; local 69 ts = local_clock(); 70 rem_us = do_div(ts, 1000000000) / 1000; 72 priv->buf[0] = cpu_to_be32(ts);
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | ravb_ptp.c | 25 static int ravb_ptp_time_read(struct ravb_private *priv, struct timespec64 *ts) argument 34 ts->tv_nsec = ravb_read(ndev, GCT0); 35 ts->tv_sec = ravb_read(ndev, GCT1) | 43 const struct timespec64 *ts) 56 ravb_write(ndev, ts->tv_nsec, GTO0); 57 ravb_write(ndev, ts->tv_sec, GTO1); 58 ravb_write(ndev, (ts->tv_sec >> 32) & 0xffff, GTO2); 124 struct timespec64 ts; local 129 error = ravb_ptp_time_read(priv, &ts); 131 u64 now = ktime_to_ns(timespec64_to_ktime(ts)); 42 ravb_ptp_time_write(struct ravb_private *priv, const struct timespec64 *ts) argument 141 ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 155 ravb_ptp_settime64(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument [all...] |
/linux-master/samples/bpf/ |
H A D | trace_output_user.c | 11 struct timespec ts; local 13 clock_gettime(CLOCK_MONOTONIC, &ts); 14 return ts.tv_sec * 1000000000ull + ts.tv_nsec;
|
H A D | tracex4_user.c | 22 struct timespec ts; local 24 clock_gettime(CLOCK_MONOTONIC, &ts); 25 return ts.tv_sec * 1000000000ull + ts.tv_nsec;
|
/linux-master/io_uring/ |
H A D | napi.h | 21 struct io_wait_queue *iowq, struct timespec64 *ts); 32 struct timespec64 *ts) 36 __io_napi_adjust_timeout(ctx, iowq, ts); 91 struct timespec64 *ts) 30 io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument 89 io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument
|
/linux-master/drivers/pps/clients/ |
H A D | pps-ktimer.c | 30 struct pps_event_time ts; local 33 pps_get_ts(&ts); 35 pps_event(pps, &ts, PPS_CAPTUREASSERT, NULL);
|
/linux-master/drivers/pps/ |
H A D | kc.c | 94 * @ts: PPS event timestamp 99 void pps_kc_event(struct pps_device *pps, struct pps_event_time *ts, argument 107 hardpps(&ts->ts_real, &ts->ts_raw);
|
/linux-master/tools/perf/scripts/perl/ |
H A D | wakeup-latency.pl | 35 my $wakeup_ts = $last_wakeup{$common_cpu}{ts}; 48 $last_wakeup{$common_cpu}{ts} = 0; 57 $last_wakeup{$target_cpu}{ts} = nsecs($common_secs, $common_nsecs);
|
/linux-master/tools/thermal/tmon/ |
H A D | pid.c | 59 p_param.ts = ticktime; 101 i_term = p_param.kp * p_param.ki * p_param.ts * ek; 102 d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts;
|