/linux-master/include/linux/mfd/ |
H A D | ipaq-micro.h | 106 * @ts: callback for asynchronous touchscreen events 121 void (*ts) (void *data, int len, unsigned char *rxdata); member in struct:ipaq_micro
|
/linux-master/arch/x86/include/asm/ |
H A D | pvclock.h | 16 struct timespec64 *ts);
|
/linux-master/drivers/iio/proximity/ |
H A D | sx_common.h | 129 s64 ts __aligned(8);
|
/linux-master/fs/ufs/ |
H A D | ialloc.c | 180 struct timespec64 ts; local 328 ktime_get_real_ts64(&ts); 329 ufs2_inode->ui_birthtime = cpu_to_fs64(sb, ts.tv_sec); 330 ufs2_inode->ui_birthnsec = cpu_to_fs32(sb, ts.tv_nsec);
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_perf.c | 47 struct timespec ts; local 49 if (clock_gettime(CLOCK_REALTIME, &ts)) 52 return (ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec;
|
/linux-master/drivers/accel/qaic/ |
H A D | qaic_timesync.c | 255 struct timespec64 ts; local 275 ktime_get_real_ts64(&ts); 276 req->data.tv_sec = cpu_to_le64(ts.tv_sec); 277 req->data.tv_usec = cpu_to_le64(div_u64(ts.tv_nsec, NSEC_PER_USEC));
|
/linux-master/kernel/time/ |
H A D | timer_list.c | 146 (unsigned long long)(ts->x)) 149 (unsigned long long)(ktime_to_ns(ts->x))) 151 SEQ_printf(m, " .%-15s: %d\n", #x, !!(ts->flags & (f))) 154 struct tick_sched *ts = tick_get_tick_sched(cpu); local
|
/linux-master/drivers/ptp/ |
H A D | ptp_dte.c | 173 static int ptp_dte_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 179 *ts = ns_to_timespec64(dte_read_nco_with_ovf(ptp_dte)); 186 const struct timespec64 *ts) 196 dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts)); 185 ptp_dte_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
|
/linux-master/tools/perf/arch/arm64/util/ |
H A D | arm-spe.c | 467 struct timespec ts; local 469 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); 471 return ts.tv_sec ^ ts.tv_nsec;
|
/linux-master/arch/nios2/kernel/ |
H A D | time.c | 339 void read_persistent_clock64(struct timespec64 *ts) argument 341 ts->tv_sec = mktime64(2007, 1, 1, 0, 0, 0); 342 ts->tv_nsec = 0;
|
/linux-master/samples/vfs/ |
H A D | test-statx.c | 48 static void print_time(const char *field, struct statx_timestamp *ts) argument 55 tim = ts->tv_sec; 67 printf(".%09u", ts->tv_nsec);
|
/linux-master/net/mpls/ |
H A D | mpls_iptunnel.c | 165 struct lwtunnel_state **ts, 215 *ts = newts; 221 *ts = NULL; 163 mpls_build_state(struct net *net, struct nlattr *nla, unsigned int family, const void *cfg, struct lwtunnel_state **ts, struct netlink_ext_ack *extack) argument
|
/linux-master/io_uring/ |
H A D | poll.c | 153 static void io_poll_tw_hash_eject(struct io_kiocb *req, struct io_tw_state *ts) argument 164 io_tw_lock(ctx, ts); 264 static int io_poll_check_events(struct io_kiocb *req, struct io_tw_state *ts) argument 331 int ret = io_poll_issue(req, ts); 353 void io_poll_task_func(struct io_kiocb *req, struct io_tw_state *ts) argument 357 ret = io_poll_check_events(req, ts); 365 io_poll_tw_hash_eject(req, ts); 374 io_req_task_submit(req, ts); 382 io_req_task_complete(req, ts); 384 io_tw_lock(req->ctx, ts); [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | set-timer-lat.c | 100 struct timespec ts; local 102 clock_gettime(clock_id, &ts); 105 delta_ns = timespec_sub(start_time, ts);
|
/linux-master/tools/testing/selftests/kvm/include/ |
H A D | test_util.h | 83 int64_t timespec_to_ns(struct timespec ts); 84 struct timespec timespec_add_ns(struct timespec ts, int64_t ns); 88 struct timespec timespec_div(struct timespec ts, int divisor);
|
/linux-master/fs/fat/ |
H A D | fat.h | 336 extern int fat_alloc_new_dir(struct inode *dir, struct timespec64 *ts); 453 extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts, 455 extern void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, 458 const struct timespec64 *ts); 460 const struct timespec64 *ts);
|
/linux-master/arch/arm/xen/ |
H A D | enlighten.c | 78 static void xen_read_wallclock(struct timespec64 *ts) argument 96 *ts = timespec64_add(now, ts_monotonic); 547 struct timespec64 ts; local 548 xen_read_wallclock(&ts); 549 do_settimeofday64(&ts);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | steal_time.c | 309 struct timespec ts, stop; local 311 clock_gettime(CLOCK_MONOTONIC, &ts); 312 stop = timespec_add_ns(ts, MIN_RUN_DELAY_NS); 315 clock_gettime(CLOCK_MONOTONIC, &ts); 316 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0)
|
/linux-master/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 432 struct task_status_struct *ts = &task->task_status; local 445 ts->resp = SAS_TASK_UNDELIVERED; 446 ts->stat = SAS_PHY_DOWN; 454 ts->resp = SAS_TASK_UNDELIVERED; 468 ts->resp = SAS_TASK_UNDELIVERED; 469 ts->stat = SAS_PHY_DOWN; 749 struct task_status_struct *ts; local 773 ts = &task->task_status; 774 ts->resp = SAS_TASK_COMPLETE; 776 ts [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dcb.c | 251 enum mlxsw_reg_qpts_trust_state ts) 256 mlxsw_reg_qpts_pack(qpts_pl, mlxsw_sp_port->local_port, ts); 274 enum mlxsw_reg_qpts_trust_state ts) 276 bool rewrite_dscp = ts == MLXSW_REG_QPTS_TRUST_STATE_DSCP; 279 if (mlxsw_sp_port->dcb.trust_state == ts) 282 err = mlxsw_sp_port_dcb_app_update_qpts(mlxsw_sp_port, ts); 290 mlxsw_sp_port->dcb.trust_state = ts; 250 mlxsw_sp_port_dcb_app_update_qpts(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_reg_qpts_trust_state ts) argument 273 mlxsw_sp_port_dcb_toggle_trust(struct mlxsw_sp_port *mlxsw_sp_port, enum mlxsw_reg_qpts_trust_state ts) argument
|
/linux-master/drivers/video/fbdev/ |
H A D | pxa3xx-gcu.c | 117 struct timespec64 ts; \ 121 ktime_get_ts64(&ts); \ 122 ts = timespec64_sub(ts, priv->base_time); \ 128 (s64)(ts.tv_sec), \ 129 ts.tv_nsec / NSEC_PER_MSEC, \ 130 (ts.tv_nsec % NSEC_PER_MSEC) / USEC_PER_MSEC, \
|
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 33 struct timespec64 ts = ns_to_timespec64(buf->buf.vb2_buf.timestamp); local 41 if (video->queue.buf_used == 0 && ts.tv_sec) { 43 u32 pts = ((u64)ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / NSEC_PER_USEC) * 48; 54 ktime_get_ts64(&ts); 55 stc = ((u64)ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / NSEC_PER_USEC) * 48;
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_cpu.c | 30 struct timespec ts; member in struct:cpu_hog_func_param 135 struct timespec ts_run = param->ts; 206 .ts = { 306 .ts = { 468 .ts = { 591 .ts = { 651 .ts = {
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 104 struct timespec64 ts; local 136 * NSEC_PER_SEC - ts.tv_nsec. Add the remaining nanoseconds 142 ts = ns_to_timespec64(ns); 147 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; 151 * - ts.tv_nsec is close to be zero(For example 20ns); Since the timer 162 /* We add (2 * NSEC_PER_SEC - (u32)ts.tv_nsec) to current 164 * (NSEC_PER_SEC - (u32)ts.tv_nsec) is less than 2 second. 437 * @ts: timespec structure to hold the current time value 442 static int fec_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 460 *ts 473 fec_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument [all...] |
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpts.c | 517 struct timespec64 *ts, 526 *ts = ns_to_timespec64(ns); 535 /* reuse ptp_clk_lock as it serialize ts push */ 545 const struct timespec64 *ts) 550 ns = timespec64_to_ns(ts); 639 struct timespec64 ts; local 643 ts.tv_sec = req->period.sec; 644 ts.tv_nsec = req->period.nsec; 645 ns_period = timespec64_to_ns(&ts); 649 ts 516 am65_cpts_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 544 am65_cpts_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 697 struct timespec64 ts; local [all...] |