/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;
|
H A D | cec.h | 351 u8 error_cnt, ktime_t ts); 366 u8 status, ktime_t ts); 375 struct cec_msg *msg, ktime_t ts); 389 * @ts: the timestamp for this event 393 bool dropped_events, ktime_t ts); 400 * @ts: the timestamp for this event 403 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts); 410 * @ts: the timestamp for this event 413 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
|
/linux-master/fs/nfs/ |
H A D | internal.h | 857 u64 nfs_timespec_to_change_attr(const struct timespec64 *ts) argument 859 return ((u64)ts->tv_sec << 30) + ts->tv_nsec;
|
/linux-master/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 2397 struct timespec64 ts; local 2401 ts = ktime_to_timespec64(t); 2402 p = xdr_encode_hyper(p, ts.tv_sec); 2403 *p++ = cpu_to_be32(ts.tv_nsec);
|
/linux-master/fs/ |
H A D | inode.c | 2082 struct timespec64 ts; local 2088 ts = inode_get_mtime(inode); 2089 if (!timespec64_equal(&ts, &now)) 2092 ts = inode_get_ctime(inode); 2093 if (!timespec64_equal(&ts, &now))
|
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-capture.c | 374 u64 ts = ktime_get_ns(); local 384 ready_buf->vb.vb2_buf.timestamp = ts;
|
/linux-master/drivers/staging/media/meson/vdec/ |
H A D | vdec.h | 33 * @ts: timestamp from the VB2 buffer 41 u64 ts; member in struct:amvdec_timestamp
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 30 struct timespec64 ts; \ 32 ktime_get_ts64(&ts); \ 33 (ts.tv_sec*1000000+ts.tv_nsec / 1000); \
|
/linux-master/drivers/media/usb/em28xx/ |
H A D | em28xx-cards.c | 3486 if (dev->ts == PRIMARY_TS) 3511 if (dev->ts == PRIMARY_TS) 3938 dev->ts = PRIMARY_TS; 4033 dev->dev_next->ts = SECONDARY_TS;
|
/linux-master/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 46 u64 ts, struct vb2_buffer *vb2_buf) 52 ts, vb2_buf->index); 54 len = scnprintf(*buf, *buflen, "%s: %lld\n", name, ts); 45 visl_print_ts_idx(u8 **buf, __kernel_size_t *buflen, const char *name, u64 ts, struct vb2_buffer *vb2_buf) argument
|
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_drv.c | 46 dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts) argument 51 buf = vb2_find_buffer(q, ts);
|
H A D | hantro.h | 456 dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts);
|
/linux-master/drivers/media/cec/core/ |
H A D | cec-adap.c | 71 * Queue a new event for this filehandle. If ts == 0, then set it 79 const struct cec_event *new_ev, u64 ts) 90 if (ts == 0) 91 ts = ktime_get_ns(); 106 entry->ev.ts = ts; 140 u64 ts = ktime_get_ns(); local 145 cec_queue_event_fh(fh, ev, ts); 151 bool dropped_events, ktime_t ts) 163 cec_queue_event_fh(fh, &ev, ktime_to_ns(ts)); 78 cec_queue_event_fh(struct cec_fh *fh, const struct cec_event *new_ev, u64 ts) argument 150 cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, bool dropped_events, ktime_t ts) argument 170 cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) argument 186 cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) argument 585 cec_transmit_done_ts(struct cec_adapter *adap, u8 status, u8 arb_lost_cnt, u8 nack_cnt, u8 low_drive_cnt, u8 error_cnt, ktime_t ts) argument 713 cec_transmit_attempt_done_ts(struct cec_adapter *adap, u8 status, ktime_t ts) argument 1073 cec_received_msg_ts(struct cec_adapter *adap, struct cec_msg *msg, ktime_t ts) argument [all...] |
/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/tools/testing/selftests/damon/ |
H A D | debugfs_target_ids_read_before_terminate_race.c | 57 static inline uint64_t ts_to_ms(struct timespec *ts) argument 59 return (uint64_t)ts->tv_sec * 1000 + (uint64_t)ts->tv_nsec / 1000000;
|
/linux-master/tools/perf/util/ |
H A D | thread.h | 57 struct thread_stack *ts; local 266 return RC_CHK_ACCESS(thread)->ts; 269 static inline void thread__set_ts(struct thread *thread, struct thread_stack *ts) argument 271 RC_CHK_ACCESS(thread)->ts = ts;
|
H A D | stat.h | 224 struct target *_target, struct timespec *ts, int argc, const char **argv);
|
H A D | stat-display.c | 1239 char *prefix, size_t len, struct timespec *ts) 1246 (unsigned long) ts->tv_sec, ts->tv_nsec); 1249 (unsigned long) ts->tv_sec, ts->tv_nsec, config->csv_sep); 1252 (unsigned long) ts->tv_sec, ts->tv_nsec); 1545 struct target *_target, struct timespec *ts, 1562 prepare_interval(config, buf, sizeof(buf), ts); 1582 iostat_print_counters(evlist, config, ts, bu 1238 prepare_interval(struct perf_stat_config *config, char *prefix, size_t len, struct timespec *ts) argument 1544 evlist__print_counters(struct evlist *evlist, struct perf_stat_config *config, struct target *_target, struct timespec *ts, int argc, const char **argv) argument [all...] |
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 1547 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; local 1549 return fprintf(fp, "%10.3f ", ts); 2284 double ts = (double)sample->time / NSEC_PER_MSEC; local 2287 evsel__name(evsel), ts,
|
H A D | builtin-stat.c | 100 static void print_counters(struct timespec *ts, int argc, const char **argv); 439 struct timespec ts, rs; local 441 clock_gettime(CLOCK_MONOTONIC, &ts); 442 diff_timespec(&rs, &ts, &ref_time); 973 static void print_counters(struct timespec *ts, int argc, const char **argv) argument 981 evlist__print_counters(evsel_list, &stat_config, &target, ts, argc, argv); 2309 struct timespec tsh, *ts = NULL; local 2321 ts = &tsh; 2324 print_counters(ts, argc, argv);
|
H A D | builtin-sched.c | 281 struct timespec ts; local 283 clock_gettime(CLOCK_MONOTONIC, &ts); 285 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; 299 struct timespec ts; local 301 ts.tv_nsec = nsecs % 999999999; 302 ts.tv_sec = nsecs / 999999999; 304 nanosleep(&ts, NULL);
|
/linux-master/sound/soc/meson/ |
H A D | axg-tdm-interface.c | 150 struct axg_tdm_stream *ts = local 154 if (!axg_tdm_slots_total(ts->mask)) { 187 struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); local 195 if (axg_tdm_slots_total(ts->mask) < channels) { 206 ts->physical_width = params_physical_width(params); 207 ts->width = params_width(params); 208 ts->channels = params_channels(params); 312 struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); 350 ret = axg_tdm_stream_set_cont_clocks(ts, iface->fmt); 360 struct axg_tdm_stream *ts 355 struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); local 366 struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); local 377 struct axg_tdm_stream *ts = snd_soc_dai_dma_data_get(dai, stream); local 392 struct axg_tdm_stream *ts; local [all...] |
/linux-master/sound/pci/hda/ |
H A D | hda_controller.c | 487 struct snd_pcm_audio_tstamp_config *ts) 490 if (ts->type_requested == SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED) 486 is_link_time_supported(struct snd_pcm_runtime *runtime, struct snd_pcm_audio_tstamp_config *ts) argument
|
/linux-master/kernel/ |
H A D | signal.c | 3620 * @ts: upper bound on process time suspension 3623 const struct timespec64 *ts) 3631 if (ts) { 3632 if (!timespec64_valid(ts)) 3634 timeout = timespec64_to_ktime(*ts); 3687 struct timespec64 ts; local 3699 if (get_timespec64(&ts, uts)) 3703 ret = do_sigtimedwait(&these, &info, uts ? &ts : NULL); 3720 struct timespec64 ts; local 3731 if (get_old_timespec32(&ts, ut 3622 do_sigtimedwait(const sigset_t *which, kernel_siginfo_t *info, const struct timespec64 *ts) argument [all...] |
/linux-master/include/linux/ |
H A D | security.h | 150 extern int cap_settime(const struct timespec64 *ts, const struct timezone *tz); 296 int security_settime64(const struct timespec64 *ts, const struct timezone *tz); 629 static inline int security_settime64(const struct timespec64 *ts, argument 632 return cap_settime(ts, tz);
|