/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_mac.c | 317 struct ath_tx_status *ts) 326 ts->ts_tstamp = ads->AR_SendTimestamp; 327 ts->ts_status = 0; 328 ts->ts_flags = 0; 331 ts->ts_status |= ATH9K_TXERR_XTXOP; 332 ts->tid = MS(status, AR_TxTid); 333 ts->ts_rateindex = MS(status, AR_FinalTxIdx); 334 ts->ts_seqnum = MS(status, AR_SeqNum); 337 ts->ts_rssi_ctl0 = MS(status, AR_TxRSSIAnt00); 338 ts 316 ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) argument [all...] |
/linux-master/tools/perf/util/bpf_skel/ |
H A D | kwork_top.bpf.c | 139 static void on_sched_out(struct task_struct *task, __u64 ts, __u32 cpu) argument 146 delta = ts - pelem->timestamp; 148 delta = ts - from_timestamp; 160 static void on_sched_in(struct task_struct *task, __u64 ts) argument 167 pelem->timestamp = ts; 186 __u64 ts = bpf_ktime_get_ns(); 188 on_sched_out(prev, ts, cpu); 189 on_sched_in(next, ts); 207 __u64 ts = bpf_ktime_get_ns(); 220 .timestamp = ts, [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | vmlinux.c | 12 struct timespec ts = { .tv_nsec = MY_TV_NSEC }; local 14 (void)syscall(__NR_nanosleep, &ts, NULL);
|
/linux-master/drivers/input/touchscreen/ |
H A D | Makefile | 8 wm97xx-ts-y := wm97xx-core.o 11 obj-$(CONFIG_TOUCHSCREEN_88PM860X) += 88pm860x-ts.o 20 obj-$(CONFIG_TOUCHSCREEN_AUO_PIXCIR) += auo-pixcir-ts.o 34 obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o 63 obj-$(CONFIG_TOUCHSCREEN_MXS_LRADC) += mxs-lradc-ts.o 73 obj-$(CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS) += novatek-nvt-ts.o 76 obj-$(CONFIG_TOUCHSCREEN_IPAQ_MICRO) += ipaq-micro-ts.o 88 obj-$(CONFIG_TOUCHSCREEN_STMPE) += stmpe-ts.o 89 obj-$(CONFIG_TOUCHSCREEN_SUN4I) += sun4i-ts.o 96 obj-$(CONFIG_TOUCHSCREEN_TS4800) += ts4800-ts [all...] |
/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_tai.c | 90 static void mvpp22_tai_read_ts(struct timespec64 *ts, void __iomem *base) argument 92 ts->tv_sec = (u64)mvpp2_tai_read(base + 0) << 32 | 96 ts->tv_nsec = mvpp2_tai_read(base + 12) << 16 | 104 static void mvpp2_tai_write_tlv(const struct timespec64 *ts, u32 frac, argument 107 mvpp2_tai_write(ts->tv_sec >> 32, base + MVPP22_TAI_TLV_SEC_HIGH); 108 mvpp2_tai_write(ts->tv_sec >> 16, base + MVPP22_TAI_TLV_SEC_MED); 109 mvpp2_tai_write(ts->tv_sec, base + MVPP22_TAI_TLV_SEC_LOW); 110 mvpp2_tai_write(ts->tv_nsec >> 16, base + MVPP22_TAI_TLV_NANO_HIGH); 111 mvpp2_tai_write(ts->tv_nsec, base + MVPP22_TAI_TLV_NANO_LOW); 208 struct timespec64 ts; local 235 mvpp22_tai_gettimex64(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 276 mvpp22_tai_settime64(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 348 struct timespec64 ts; local [all...] |
/linux-master/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 37 u64 ts; member in struct:pulse_elem 195 if (p->ts >= min_valid_ts) 201 static bool pulse_queue_enqueue(struct pri_detector *pde, u64 ts) argument 214 p->ts = ts; 217 pde->last_ts = ts; 225 u64 ts, u32 min_count) 233 u32 delta_ts = ts - p->ts; 246 ps.first_ts = p->ts; 224 pseq_handler_create_sequences(struct pri_detector *pde, u64 ts, u32 min_count) argument 304 pseq_handler_add_to_existing_seqs(struct pri_detector *pde, u64 ts) argument 358 pri_detector_reset(struct pri_detector *pde, u64 ts) argument 386 u64 ts = event->ts; local [all...] |
/linux-master/drivers/scsi/aic94xx/ |
H A D | aic94xx_task.c | 148 struct task_status_struct *ts = &task->task_status; local 172 ts->buf_valid_size = 0; 179 ts->residual = le32_to_cpu(*(__le32 *)r); 183 struct ata_task_resp *resp = (void *) &ts->buf[0]; 185 ts->residual = le32_to_cpu(*(__le32 *)r); 190 ts->buf_valid_size = sizeof(*resp); 201 struct task_status_struct *ts = &task->task_status; local 210 ts->resp = SAS_TASK_COMPLETE; 211 ts->stat = SAS_SAM_STAT_GOOD; 214 ts [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | leap-a-day.c | 71 struct timespec timespec_add(struct timespec ts, unsigned long long ns) argument 73 ts.tv_nsec += ns; 74 while (ts.tv_nsec >= NSEC_PER_SEC) { 75 ts.tv_nsec -= NSEC_PER_SEC; 76 ts.tv_sec++; 78 return ts; 213 struct timespec ts; local 215 if (clock_gettime(CLOCK_TAI, &ts)) { 238 struct timespec ts; local 243 clock_gettime(CLOCK_REALTIME, &ts); [all...] |
H A D | raw_skew.c | 46 unsigned long long ts_to_nsec(struct timespec ts) argument 48 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; 53 struct timespec ts; local 55 ts.tv_sec = ns/NSEC_PER_SEC; 56 ts.tv_nsec = ns%NSEC_PER_SEC; 57 return ts;
|
/linux-master/fs/exfat/ |
H A D | misc.c | 52 static void exfat_adjust_tz(struct timespec64 *ts, u8 tz_off) argument 55 ts->tv_sec -= TIMEZONE_SEC(tz_off); 57 ts->tv_sec += TIMEZONE_SEC(0x80 - tz_off); 68 void exfat_get_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, argument 74 ts->tv_sec = mktime64(1980 + (d >> 9), d >> 5 & 0x000F, d & 0x001F, 80 ts->tv_sec += time_cs / 100; 81 ts->tv_nsec = (time_cs % 100) * 10 * NSEC_PER_MSEC; 83 ts->tv_nsec = 0; 87 exfat_adjust_tz(ts, tz & ~EXFAT_TZ_VALID); 89 ts 93 exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) argument 123 exfat_truncate_atime(struct timespec64 *ts) argument [all...] |
/linux-master/kernel/time/ |
H A D | time.c | 144 struct timespec64 ts; local 146 ktime_get_real_ts64(&ts); 147 if (put_user(ts.tv_sec, &tv->tv_sec) || 148 put_user(ts.tv_nsec / 1000, &tv->tv_usec)) 228 struct timespec64 ts; local 230 ktime_get_real_ts64(&ts); 231 if (put_user(ts.tv_sec, &tv->tv_sec) || 232 put_user(ts.tv_nsec / 1000, &tv->tv_usec)) 472 struct timespec64 ts = ns_to_timespec64(nsec); local 475 tv.tv_sec = ts 495 set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec) argument 525 struct timespec64 ts = { 0, 0 }; local 871 get_timespec64(struct timespec64 *ts, const struct __kernel_timespec __user *uts) argument 902 put_timespec64(const struct timespec64 *ts, struct __kernel_timespec __user *uts) argument 917 struct old_timespec32 ts; local 933 struct old_timespec32 ts = { local 949 get_old_timespec32(struct timespec64 *ts, const void __user *uts) argument 968 put_old_timespec32(const struct timespec64 *ts, void __user *uts) argument [all...] |
H A D | ntp_internal.h | 12 const struct timespec64 *ts,
|
/linux-master/tools/leds/ |
H A D | led_hw_brightness_mon.c | 31 struct timespec ts; local 67 clock_gettime(CLOCK_MONOTONIC, &ts); 79 printf("[%ld.%09ld] %d\n", ts.tv_sec, ts.tv_nsec, atoi(buf));
|
/linux-master/tools/perf/util/ |
H A D | time-utils.h | 45 struct timespec ts; local 47 clock_gettime(CLOCK_MONOTONIC, &ts); 48 return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
|
/linux-master/drivers/iio/light/ |
H A D | st_uvis25.h | 33 s64 ts __aligned(8);
|
/linux-master/arch/s390/include/asm/vdso/ |
H A D | gettimeofday.h | 37 long clock_gettime_fallback(clockid_t clkid, struct __kernel_timespec *ts) argument 39 return syscall2(__NR_clock_gettime, (long)clkid, (long)ts); 50 long clock_getres_fallback(clockid_t clkid, struct __kernel_timespec *ts) argument 52 return syscall2(__NR_clock_getres, (long)clkid, (long)ts);
|
/linux-master/arch/arm64/include/asm/vdso/ |
H A D | gettimeofday.h | 38 register struct __kernel_timespec *ts asm("x1") = _ts; 46 : "r" (clkid), "r" (ts), "r" (nr) 55 register struct __kernel_timespec *ts asm("x1") = _ts; 63 : "r" (clkid), "r" (ts), "r" (nr)
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | netcnt_prog.c | 30 __u64 ts, dt; local 49 ts = bpf_ktime_get_ns(); 50 dt = ts - percpu_cnt->prev_ts; 61 percpu_cnt->prev_ts = ts;
|
/linux-master/arch/riscv/include/asm/vdso/ |
H A D | gettimeofday.h | 41 register struct __kernel_timespec *ts asm("a1") = _ts; 47 : "r"(clkid), "r"(ts), "r"(nr) 57 register struct __kernel_timespec *ts asm("a1") = _ts; 63 : "r"(clkid), "r"(ts), "r"(nr)
|
/linux-master/arch/loongarch/include/asm/vdso/ |
H A D | gettimeofday.h | 41 register struct __kernel_timespec *ts asm("a1") = _ts; 48 : "r" (nr), "r" (clkid), "r" (ts) 60 register struct __kernel_timespec *ts asm("a1") = _ts; 67 : "r" (nr), "r" (clkid), "r" (ts)
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | rcar_gen4_ptp.c | 48 struct timespec64 *ts) 52 ts->tv_nsec = ioread32(ptp_priv->addr + ptp_priv->offs->monitor_t0); 53 ts->tv_sec = ioread32(ptp_priv->addr + ptp_priv->offs->monitor_t1) | 58 struct timespec64 *ts) 64 _rcar_gen4_ptp_gettime(ptp, ts); 72 const struct timespec64 *ts) 81 iowrite32(ts->tv_sec >> 32, ptp_priv->addr + ptp_priv->offs->config_t2); 82 iowrite32(ts->tv_sec, ptp_priv->addr + ptp_priv->offs->config_t1); 83 iowrite32(ts->tv_nsec, ptp_priv->addr + ptp_priv->offs->config_t0); 87 const struct timespec64 *ts) 47 _rcar_gen4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 57 rcar_gen4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 71 _rcar_gen4_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 86 rcar_gen4_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 102 struct timespec64 ts; local [all...] |
/linux-master/include/linux/ |
H A D | ptp_kvm.h | 18 int kvm_arch_ptp_get_clock(struct timespec64 *ts);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_clock.c | 23 static inline u64 timespec_to_us(const struct timespec64 *ts) argument 25 return (u64)DIV_ROUND_CLOSEST_ULL(timespec64_to_ns(ts), NSEC_PER_USEC); 28 static inline u64 timespec_to_ms(const struct timespec64 *ts) argument 30 return (u64)DIV_ROUND_CLOSEST_ULL(timespec64_to_ns(ts), NSEC_PER_MSEC); 35 struct timespec64 ts; local 37 ktime_get_real_ts64(&ts); 38 return timespec_to_ms(&ts);
|
/linux-master/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 1475 struct task_status_struct *ts; local 1501 ts = &t->task_status; 1502 ts->resp = SAS_TASK_COMPLETE; 1504 ts->stat = SAS_QUEUE_FULL; 1514 t, pw->handler, ts->resp, ts->stat); 1630 struct task_status_struct *ts; local 1638 ts = &task->task_status; 1649 ts->resp = SAS_TASK_COMPLETE; 1723 struct task_status_struct *ts; local 1949 struct task_status_struct *ts; local 2126 struct task_status_struct *ts; local 2489 struct task_status_struct *ts; local 2677 struct task_status_struct *ts; local 3447 struct task_status_struct *ts; local [all...] |
H A D | pm80xx_hwi.c | 1782 struct task_status_struct *ts; local 1802 ts = &t->task_status; 1818 ts->resp = SAS_TASK_COMPLETE; 1819 ts->stat = SAS_SAM_STAT_GOOD; 1821 ts->resp = SAS_TASK_COMPLETE; 1822 ts->stat = SAS_PROTO_RESPONSE; 1823 ts->residual = param; 1832 ts->resp = SAS_TASK_COMPLETE; 1833 ts->stat = SAS_ABORTED_TASK; 1841 ts 2064 struct task_status_struct *ts; local 2253 struct task_status_struct *ts; local 2654 struct task_status_struct *ts; local 2861 struct task_status_struct *ts; local [all...] |