/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/drivers/net/ethernet/ti/ |
H A D | am65-cpts.c | 510 struct timespec64 *ts, 519 *ts = ns_to_timespec64(ns); 528 /* reuse ptp_clk_lock as it serialize ts push */ 538 const struct timespec64 *ts) 543 ns = timespec64_to_ns(ts); 632 struct timespec64 ts; local 636 ts.tv_sec = req->period.sec; 637 ts.tv_nsec = req->period.nsec; 638 ns_period = timespec64_to_ns(&ts); 642 ts 509 am65_cpts_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 537 am65_cpts_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 690 struct timespec64 ts; local [all...] |
/linux-master/tools/perf/ |
H A D | builtin-lock.c | 593 static struct lock_seq_stat *get_seq(struct thread_stat *ts, u64 addr) argument 597 list_for_each_entry(seq, &ts->seq_list, list) { 610 list_add(&seq->list, &ts->seq_list); 663 struct thread_stat *ts; local 679 ts = thread_stat_findnew(sample->tid); 680 if (!ts) 683 seq = get_seq(ts, addr); 738 struct thread_stat *ts; local 754 ts = thread_stat_findnew(sample->tid); 755 if (!ts) 804 struct thread_stat *ts; local 862 struct thread_stat *ts; local 1063 struct thread_stat *ts; local 1227 struct thread_stat *ts; local [all...] |
/linux-master/io_uring/ |
H A D | io_uring.c | 256 struct io_tw_state ts = { .locked = true, }; local 261 req->io_task_work.func(req, &ts); 262 if (WARN_ON_ONCE(!ts.locked)) 1160 static void ctx_flush_and_put(struct io_ring_ctx *ctx, struct io_tw_state *ts) argument 1166 if (ts->locked) { 1169 ts->locked = false; 1184 struct io_tw_state ts = { }; local 1192 ctx_flush_and_put(ctx, &ts); 1195 ts.locked = mutex_trylock(&ctx->uring_lock); 1200 req, &ts); 1425 __io_run_local_work(struct io_ring_ctx *ctx, struct io_tw_state *ts, int min_events) argument 1469 struct io_tw_state ts = { .locked = true, }; local 1484 struct io_tw_state ts = {}; local 1495 io_req_task_cancel(struct io_kiocb *req, struct io_tw_state *ts) argument 1501 io_req_task_submit(struct io_kiocb *req, struct io_tw_state *ts) argument 1712 io_req_task_complete(struct io_kiocb *req, struct io_tw_state *ts) argument 1925 io_poll_issue(struct io_kiocb *req, struct io_tw_state *ts) argument 2614 struct timespec64 ts; local 3571 io_get_ext_arg(unsigned flags, const void __user *argp, size_t *argsz, struct __kernel_timespec __user **ts, const sigset_t __user **sig) argument 3707 struct __kernel_timespec __user *ts; local [all...] |
/linux-master/drivers/mmc/core/ |
H A D | mmc_test.c | 93 * @ts: time values of transfer 101 struct timespec64 ts; member in struct:mmc_test_transfer_result 510 static unsigned int mmc_test_rate(uint64_t bytes, struct timespec64 *ts) argument 514 ns = timespec64_to_ns(ts); 534 unsigned int count, unsigned int sectors, struct timespec64 ts, 548 tr->ts = ts; 562 struct timespec64 ts; local 564 ts = timespec64_sub(*ts2, *ts1); 566 rate = mmc_test_rate(bytes, &ts); 533 mmc_test_save_transfer_result(struct mmc_test_card *test, unsigned int count, unsigned int sectors, struct timespec64 ts, unsigned int rate, unsigned int iops) argument 588 struct timespec64 ts; local 1911 struct timespec64 ts1, ts2, ts; local [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_ocp.c | 1202 __ptp_ocp_gettime_locked(struct ptp_ocp *bp, struct timespec64 *ts, argument 1229 ts->tv_sec = time_sec; 1230 ts->tv_nsec = time_ns; 1236 ptp_ocp_gettimex(struct ptp_clock_info *ptp_info, struct timespec64 *ts, argument 1244 err = __ptp_ocp_gettime_locked(bp, ts, sts); 1251 __ptp_ocp_settime_locked(struct ptp_ocp *bp, const struct timespec64 *ts) argument 1256 time_ns = ts->tv_nsec; 1257 time_sec = ts->tv_sec; 1273 ptp_ocp_settime(struct ptp_clock_info *ptp_info, const struct timespec64 *ts) argument 1279 __ptp_ocp_settime_locked(bp, ts); 1306 struct timespec64 ts; local 1577 struct timespec64 ts; local 2035 struct timespec64 ts; local 2100 struct timespec64 ts; local 3175 struct timespec64 ts; local 3272 struct timespec64 ts; local 3949 struct timespec64 ts; local 4386 struct timespec64 ts; local [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_calendar.c | 394 u32 slot, jdx, kdx, ts; local 420 ts = 0; 443 data->temp_sched[ts] = 445 ts++; 451 data->temp_sched[ts] = 453 ts++;
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_phc.c | 72 struct hwtstamp_config ts; local 93 config = &ts; 380 const struct timespec64 *ts) 392 ns = timespec64_to_ns(ts); 409 struct timespec64 *ts, 429 *ts = ns_to_timespec64(ns); 379 ionic_phc_settime64(struct ptp_clock_info *info, const struct timespec64 *ts) argument 408 ionic_phc_gettimex64(struct ptp_clock_info *info, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
/linux-master/drivers/net/phy/ |
H A D | micrel.c | 332 /* Lock for Rx ts fifo */ 2649 struct timespec64 *ts) 2660 ts->tv_sec = seconds; 2661 ts->tv_nsec = nano_seconds; 2667 const struct timespec64 *ts) 2674 lan8814_ptp_clock_set(phydev, ts->tv_sec, ts->tv_nsec); 3864 struct timespec64 ts; local 3879 ts.tv_sec = ptp_priv->seconds; 3887 if ((ts 2648 lan8814_ptpci_gettime64(struct ptp_clock_info *ptpci, struct timespec64 *ts) argument 2666 lan8814_ptpci_settime64(struct ptp_clock_info *ptpci, const struct timespec64 *ts) argument 3936 lan8841_ptp_update_target(struct kszphy_ptp_priv *ptp_priv, const struct timespec64 *ts) argument 3980 lan8841_ptp_settime64(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 4017 lan8841_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 4047 lan8841_ptp_getseconds(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 4082 struct timespec64 ts; local 4577 struct timespec64 ts; local [all...] |
/linux-master/tools/perf/bench/ |
H A D | mem-functions.c | 94 static double timeval2double(struct timeval *ts) argument 96 return (double)ts->tv_sec + (double)ts->tv_usec / (double)USEC_PER_SEC;
|
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 261 struct timespec ts = { .tv_sec = delay / 1000 }; local 265 ts.tv_nsec = delay * 1000llu * 1000llu; 267 nanosleep(&ts, NULL);
|
/linux-master/kernel/trace/ |
H A D | trace_mmiotrace.c | 171 unsigned long long t = ns2usecs(iter->ts); 216 unsigned long long t = ns2usecs(iter->ts); 250 unsigned long long t = ns2usecs(iter->ts);
|
H A D | ring_buffer_benchmark.c | 16 u64 ts; member in struct:rb_page 89 u64 ts; local 91 event = ring_buffer_consume(buffer, cpu, &ts, NULL);
|
/linux-master/drivers/hwtracing/stm/ |
H A D | p_sys-t.c | 343 u64 ts = ktime_get_real_ns(); local 345 sz = stm_data_write(data, m, c, false, &ts, sizeof(ts));
|
/linux-master/include/uapi/linux/ |
H A D | omap3isp.h | 163 * @ts: Timestamp of returned framestats. 175 } ts; member in struct:omap3isp_stat_data 177 struct timeval ts; 193 } ts; member in struct:omap3isp_stat_data_time32
|
/linux-master/kernel/time/ |
H A D | namespace.c | 347 static void show_offset(struct seq_file *m, int clockid, struct timespec64 *ts) argument 362 seq_printf(m, "%-10s %10lld %9ld\n", clock, ts->tv_sec, ts->tv_nsec);
|
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-empress.c | 27 MODULE_PARM_DESC(empress_nr,"ts device number"); 111 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; 130 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; 153 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets;
|
/linux-master/fs/smb/client/ |
H A D | netmisc.c | 930 struct timespec64 ts; local 944 ts.tv_nsec = (time64_t)(do_div(abs_t, 10000000) * 100); 945 ts.tv_nsec = -ts.tv_nsec; 946 ts.tv_sec = -abs_t; 949 ts.tv_nsec = (time64_t)do_div(abs_t, 10000000) * 100; 950 ts.tv_sec = abs_t; 953 return ts; 970 struct timespec64 ts; local 1015 ts [all...] |
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_demux.c | 130 return feed->cb.ts(&buf[p], count, NULL, 0, &feed->feed.ts, 203 dprintk_sect_loss("section ts padding loss: %d/%d\n", 373 if (!feed->feed.ts.is_filtering) 379 feed->cb.ts(buf, 188, NULL, 0, &feed->feed.ts, 402 ((f)->feed.ts.is_filtering) && \ 489 feed->cb.ts(buf, 188, NULL, 0, &feed->feed.ts, 609 demux->feed->cb.ts(bu [all...] |
/linux-master/drivers/bus/ |
H A D | imx-weim.c | 148 struct cs_timing_state *ts; local 158 ts = &priv->timing_state; 185 cst = &ts->cs[cs_idx];
|
/linux-master/include/media/ |
H A D | v4l2-common.h | 590 struct timespec64 ts = ns_to_timespec64(timestamp); local 592 buf->timestamp.tv_sec = ts.tv_sec; 593 buf->timestamp.tv_usec = ts.tv_nsec / NSEC_PER_USEC;
|
/linux-master/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | Core.py | 112 def ts(self): member in class:EventHeaders
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_dfs.h | 64 u32 ts; member in struct:mt76x02_dfs_event
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.h | 39 struct timespec64 ts; member in struct:ispstat_buffer
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_crtc.h | 107 * @ts: timestamp at queue entry 114 ktime_t ts; member in struct:dpu_crtc_frame_event
|