Home
last modified time | relevance | path

Searched refs:tstamp (Results 1 – 94 of 94) sorted by relevance

/linux-4.4.14/sound/core/
Drawmidi_compat.c58 struct compat_timespec tstamp; member
88 if (put_user(status.tstamp.tv_sec, &src->tstamp.tv_sec) || in snd_rawmidi_ioctl_status_compat()
89 put_user(status.tstamp.tv_nsec, &src->tstamp.tv_nsec) || in snd_rawmidi_ioctl_status_compat()
102 struct timespec tstamp; member
134 if (put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_x32()
Dtimer_compat.c61 struct compat_timespec tstamp; member
79 status.tstamp.tv_sec = tu->tstamp.tv_sec; in snd_timer_user_status_compat()
80 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; in snd_timer_user_status_compat()
Dpcm_compat.c197 struct compat_timespec tstamp; member
237 compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_compat()
260 struct timespec tstamp; member
301 put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_x32()
465 struct compat_timespec tstamp; member
528 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat()
534 compat_put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_compat()
552 struct timespec tstamp; member
616 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32()
622 put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_x32()
Dtimer.c74 struct timespec tstamp; /* trigger tstamp */ member
401 struct timespec tstamp; in snd_timer_notify1() local
404 ktime_get_ts(&tstamp); in snd_timer_notify1()
406 getnstimeofday(&tstamp); in snd_timer_notify1()
414 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1()
425 ts->ccallback(ts, event + 100, &tstamp, resolution); in snd_timer_notify1()
934 int event, struct timespec *tstamp,
958 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify() argument
982 ti->ccallback(ti, event, tstamp, resolution); in snd_timer_notify()
985 ts->ccallback(ts, event, tstamp, resolution); in snd_timer_notify()
[all …]
Dcompress_offload.c169 struct snd_compr_tstamp *tstamp) in snd_compr_update_tstamp() argument
173 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp()
175 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp()
177 stream->runtime->total_bytes_transferred = tstamp->copied_total; in snd_compr_update_tstamp()
179 stream->runtime->total_bytes_available = tstamp->copied_total; in snd_compr_update_tstamp()
187 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail()
633 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local
636 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp()
639 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
Dpcm.c472 status.tstamp.tv_sec, status.tstamp.tv_nsec); in snd_pcm_substream_proc_status_read()
Dpcm_native.c758 status->tstamp = runtime->status->tstamp; in snd_pcm_status()
773 snd_pcm_gettime(runtime, &status->tstamp); in snd_pcm_status()
2728 sync_ptr.s.status.tstamp = status->tstamp; in snd_pcm_sync_ptr()
Dpcm_lib.c178 snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); in xrun()
268 runtime->status->tstamp = *curr_tstamp; in update_audio_tstamp()
/linux-4.4.14/sound/soc/intel/atom/sst/
Dsst_drv_interface.c280 ((void *)(ctx->mailbox + ctx->tstamp) in sst_cdev_ack()
288 addr = ((void *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack()
368 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument
375 ((void *)(ctx->mailbox + ctx->tstamp) in sst_cdev_tstamp()
384 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp()
385 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp()
386 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, in sst_cdev_tstamp()
388 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp()
390 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp()
392 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp()
[all …]
Dsst_stream.c93 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
96 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
Dsst.h409 unsigned int tstamp; member
Dsst.c187 sst->tstamp = SST_TIME_STAMP_MRFLD; in sst_driver_ops()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Ddynack.c126 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; in ath_dynack_compute_to()
133 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to()
136 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to()
137 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to()
204 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts()
226 hdr->addr1, da->st_rbf.ts[da->st_rbf.t_rb].tstamp, in ath_dynack_sample_tx_ts()
258 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts()
261 da->ack_rbf.tstamp[da->ack_rbf.t_rb], in ath_dynack_sample_ack_ts()
Ddynack.h33 u32 tstamp[ATH_DYN_BUF]; member
37 u32 tstamp; member
/linux-4.4.14/sound/pci/lola/
Dlola_pcm.c54 unsigned int tstamp = lola_get_lrc(chip) >> 8; in lola_get_tstamp() local
57 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp()
58 tstamp -= tstamp % chip->granularity; in lola_get_tstamp()
60 return tstamp << 8; in lola_get_tstamp()
74 unsigned int tstamp) in lola_stream_start() argument
82 tstamp); in lola_stream_start()
86 unsigned int tstamp) in lola_stream_stop() argument
92 tstamp); in lola_stream_stop()
523 unsigned int tstamp; in lola_pcm_trigger() local
546 tstamp = lola_get_tstamp(chip, !sync_streams); in lola_pcm_trigger()
[all …]
/linux-4.4.14/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c206 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument
211 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer()
212 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer()
214 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
Dsst-mfld-platform.h113 int (*tstamp)(struct device *dev, unsigned int str_id, member
114 struct snd_compr_tstamp *tstamp);
/linux-4.4.14/arch/powerpc/include/asm/
Dtime.h180 static inline unsigned long tb_ticks_since(unsigned long tstamp) in tb_ticks_since() argument
183 int delta = get_rtcl() - (unsigned int) tstamp; in tb_ticks_since()
186 return get_tbl() - tstamp; in tb_ticks_since()
Deeh.h95 struct timeval tstamp; /* Time on first-time freeze */ member
Dspu.h179 unsigned long long tstamp; member
/linux-4.4.14/net/netfilter/
Dnf_conntrack_timestamp.c20 module_param_named(tstamp, nf_ct_tstamp, bool, 0644);
21 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
Dxt_time.c171 if (skb->tstamp.tv64 == 0) in time_mt()
174 stamp = ktime_to_ns(skb->tstamp); in time_mt()
Dnf_conntrack_standalone.c176 struct nf_conn_tstamp *tstamp; in ct_show_delta_time() local
179 tstamp = nf_conn_tstamp_find(ct); in ct_show_delta_time()
180 if (tstamp) { in ct_show_delta_time()
181 delta_time = st->time_now - tstamp->start; in ct_show_delta_time()
Dnf_conntrack_core.c396 struct nf_conn_tstamp *tstamp; in nf_ct_delete() local
398 tstamp = nf_conn_tstamp_find(ct); in nf_ct_delete()
399 if (tstamp && tstamp->stop == 0) in nf_ct_delete()
400 tstamp->stop = ktime_get_real_ns(); in nf_ct_delete()
593 struct nf_conn_tstamp *tstamp; in __nf_conntrack_confirm() local
668 tstamp = nf_conn_tstamp_find(ct); in __nf_conntrack_confirm()
669 if (tstamp) { in __nf_conntrack_confirm()
670 if (skb->tstamp.tv64 == 0) in __nf_conntrack_confirm()
673 tstamp->start = ktime_to_ns(skb->tstamp); in __nf_conntrack_confirm()
Dnf_conntrack_netlink.c280 const struct nf_conn_tstamp *tstamp; in ctnetlink_dump_timestamp() local
282 tstamp = nf_conn_tstamp_find(ct); in ctnetlink_dump_timestamp()
283 if (!tstamp) in ctnetlink_dump_timestamp()
290 if (nla_put_be64(skb, CTA_TIMESTAMP_START, cpu_to_be64(tstamp->start)) || in ctnetlink_dump_timestamp()
291 (tstamp->stop != 0 && nla_put_be64(skb, CTA_TIMESTAMP_STOP, in ctnetlink_dump_timestamp()
292 cpu_to_be64(tstamp->stop)))) in ctnetlink_dump_timestamp()
1728 struct nf_conn_tstamp *tstamp; in ctnetlink_create_conntrack() local
1849 tstamp = nf_conn_tstamp_find(ct); in ctnetlink_create_conntrack()
1850 if (tstamp) in ctnetlink_create_conntrack()
1851 tstamp->start = ktime_get_real_ns(); in ctnetlink_create_conntrack()
Dnfnetlink_queue.c334 if (entskb->tstamp.tv64) in nfqnl_build_packet_message()
502 if (entskb->tstamp.tv64) { in nfqnl_build_packet_message()
504 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in nfqnl_build_packet_message()
Dnfnetlink_log.c542 if (skb->tstamp.tv64) { in __build_packet_message()
544 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in __build_packet_message()
/linux-4.4.14/arch/powerpc/kernel/
Deeh_pe.c511 struct timeval tstamp; in eeh_pe_update_time_stamp() local
517 do_gettimeofday(&pe->tstamp); in eeh_pe_update_time_stamp()
519 do_gettimeofday(&tstamp); in eeh_pe_update_time_stamp()
520 if (tstamp.tv_sec - pe->tstamp.tv_sec > 3600) { in eeh_pe_update_time_stamp()
521 pe->tstamp = tstamp; in eeh_pe_update_time_stamp()
Deeh_driver.c571 struct timeval tstamp; in eeh_reset_device() local
576 tstamp = pe->tstamp; in eeh_reset_device()
644 pe->tstamp = tstamp; in eeh_reset_device()
/linux-4.4.14/include/sound/
Dtimer.h105 struct timespec * tstamp,
128 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp);
Dcompress_driver.h123 struct snd_compr_tstamp *tstamp);
/linux-4.4.14/include/uapi/sound/
Dasound.h442 struct timespec tstamp; /* reference timestamp */ member
461 struct timespec tstamp; /* Timestamp */ member
632 struct timespec tstamp; /* Timestamp */ member
744 struct timespec tstamp; /* Timestamp - last update */ member
794 struct timespec tstamp; member
937 struct timespec tstamp; member
Dcompress_offload.h82 struct snd_compr_tstamp tstamp; member
/linux-4.4.14/drivers/net/wireless/mwifiex/
D11n_aggr.c204 skb_aggr->tstamp = skb_src->tstamp; in mwifiex_11n_aggregate_pkt()
206 skb_aggr->tstamp = ktime_get_real(); in mwifiex_11n_aggregate_pkt()
Dwmm.c1062 u32 queue_delay = ktime_to_ms(net_timedelta(skb->tstamp)); in mwifiex_wmm_compute_drv_pkt_delay()
/linux-4.4.14/net/ipv4/
Dtcp_probe.c60 ktime_t tstamp; member
125 p->tstamp = ktime_get(); in jtcp_rcv_established()
191 = ktime_to_timespec(ktime_sub(p->tstamp, tcp_probe.start)); in tcpprobe_sprint()
Dip_fragment.c487 qp->q.stamp = skb->tstamp; in ip_frag_queue()
616 head->tstamp = qp->q.stamp; in ip_frag_reasm()
Dtcp_output.c1022 skb->tstamp.tv64 = 0; in tcp_transmit_skb()
1192 buff->tstamp = skb->tstamp; in tcp_fragment()
3034 skb->tstamp.tv64 = 0; in tcp_make_synack()
Ddevinet.c1495 unsigned long tstamp, u32 preferred, u32 valid) in put_cacheinfo() argument
1500 ci.tstamp = cstamp_delta(tstamp); in put_cacheinfo()
/linux-4.4.14/include/net/
Dif_inet6.h60 unsigned long tstamp; /* updated timestamp */ member
207 unsigned long tstamp; /* ipv6InterfaceTable update timestamp */ member
Dsock.h2140 ktime_t kt = skb->tstamp; in sock_recv_timestamp()
2176 sk->sk_stamp = skb->tstamp; in sock_recv_ts_and_drops()
/linux-4.4.14/arch/ia64/include/uapi/asm/
Dperfmon_default_smpl.h68 unsigned long tstamp; /* ar.itc when entering perfmon intr. handler */ member
/linux-4.4.14/include/uapi/linux/
Dif_addr.h60 __u32 tstamp; /* updated timestamp, hundredths of seconds */ member
Dif_link.h314 __u32 tstamp; /* ipv6InterfaceTable updated timestamp */ member
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_desc.c195 u8 ostc_enable, u64 tstamp) in sxgbe_tx_ctxt_desc_set_tstamp() argument
199 p->tstamp_lo = (u32) tstamp; in sxgbe_tx_ctxt_desc_set_tstamp()
200 p->tstamp_hi = (u32) (tstamp>>32); in sxgbe_tx_ctxt_desc_set_tstamp()
Dsxgbe_desc.h243 u8 ostc_enable, u64 tstamp);
/linux-4.4.14/sound/oss/
Dsequencer.c163 unsigned int tstamp; in sequencer_midi_input() local
169 tstamp = jiffies - seq_time; in sequencer_midi_input()
171 if (tstamp != prev_input_time) in sequencer_midi_input()
173 tstamp = (tstamp << 8) | SEQ_WAIT; in sequencer_midi_input()
174 seq_copy_to_input((unsigned char *) &tstamp, 4); in sequencer_midi_input()
175 prev_input_time = tstamp; in sequencer_midi_input()
/linux-4.4.14/net/ipv6/
Daddrconf.c422 ndev->tstamp = jiffies; in ipv6_add_dev()
963 ifa->cstamp = ifa->tstamp = jiffies; in ipv6_add_addr()
1059 if (time_before(*expires, ifa->tstamp + lifetime * HZ)) in check_cleanup_prefix_route()
1060 *expires = ifa->tstamp + lifetime * HZ; in check_cleanup_prefix_route()
1190 age = (now - ifp->tstamp) / HZ; in ipv6_create_tempaddr()
1199 tmp_tstamp = ifp->tstamp; in ipv6_create_tempaddr()
1242 ift->tstamp = tmp_tstamp; in ipv6_create_tempaddr()
2300 ift->tstamp = now; in manage_tempaddrs()
2501 if (ifp->valid_lft > (now - ifp->tstamp) / HZ) in addrconf_prefix_rcv()
2502 stored_lft = ifp->valid_lft - (now - ifp->tstamp) / HZ; in addrconf_prefix_rcv()
[all …]
Dreassembly.c334 fq->q.stamp = skb->tstamp; in ip6_frag_queue()
492 head->tstamp = fq->q.stamp; in ip6_frag_reasm()
Dndisc.c1274 in6_dev->tstamp = jiffies; in ndisc_router_discovery()
1291 in6_dev->tstamp = jiffies; in ndisc_router_discovery()
1763 idev->tstamp = jiffies; in ndisc_ifinfo_sysctl_change()
Dexthdrs.c229 if (skb->tstamp.tv64 == 0) in ipv6_dest_hao()
/linux-4.4.14/drivers/usb/mon/
Dmon_text.c57 unsigned int tstamp; member
212 ep->tstamp = stamp; in mon_text_event()
284 ep->tstamp = mon_get_timestamp(); in mon_text_error()
490 ep->id, ep->tstamp, ep->type, in mon_text_read_head_t()
508 ep->id, ep->tstamp, ep->type, in mon_text_read_head_u()
/linux-4.4.14/Documentation/sound/alsa/
Dtimestamping.txt13 - tstamp is the current system timestamp updated during the last
15 The difference (tstamp - trigger_tstamp) defines the elapsed time.
78 In case the application requests an audio tstamp that is not supported
96 and system time using the (tstamp-trigger_tstamp)/audio_tstamp
139 this driver_timestamp will be identical to the regular system tstamp.
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dspufs.h71 struct timespec tstamp; member
135 unsigned long long tstamp; /* time of last state switch */ member
Dcontext.c69 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()
Dsched.c1047 delta = curtime - ctx->stats.tstamp; in spuctx_switch_state()
1055 ctx->stats.tstamp = curtime; in spuctx_switch_state()
1064 spu->stats.tstamp = curtime; in spuctx_switch_state()
Dfile.c2298 time += ktime_get_ns() - ctx->stats.tstamp; in spufs_acct_time()
2435 (unsigned int) p->tstamp.tv_sec, in switch_log_sprint()
2436 (unsigned int) p->tstamp.tv_nsec, in switch_log_sprint()
2558 ktime_get_ts(&p->tstamp); in spu_switch_log_notify()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h185 u8 tstamp:1; member
187 u8 tstamp:1; member
/linux-4.4.14/net/dccp/
Dinput.c407 long tstamp = dccp_timestamp(); in dccp_rcv_request_sent_state_process() local
429 dp->dccps_syn_rtt = dccp_sample_rtt(sk, 10 * (tstamp - in dccp_rcv_request_sent_state_process()
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-mixx-defs.h553 uint64_t tstamp:64; member
555 uint64_t tstamp:64;
/linux-4.4.14/arch/ia64/kernel/
Dperfmon_default_smpl.c168 ent->tstamp = stamp; in default_handler()
Dperfmon.c5182 unsigned long tstamp; in pfm_overflow_handler() local
5194 tstamp = ia64_get_itc(); in pfm_overflow_handler()
5305 ret = (*ctx->ctx_buf_fmt->fmt_handler)(task, ctx->ctx_smpl_hdr, ovfl_arg, regs, tstamp); in pfm_overflow_handler()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_conntrack_reasm.c347 fq->q.stamp = skb->tstamp; in nf_ct_frag6_queue()
463 head->tstamp = fq->q.stamp; in nf_ct_frag6_reasm()
/linux-4.4.14/net/ieee802154/6lowpan/
Dreassembly.c194 fq->q.stamp = skb->tstamp; in lowpan_frag_queue()
306 head->tstamp = fq->q.stamp; in lowpan_frag_reasm()
/linux-4.4.14/kernel/events/
Dcore.c660 u64 tstamp = perf_event_time(event); in perf_cgroup_mark_enabled() local
667 event->tstamp_enabled = tstamp - event->total_time_enabled; in perf_cgroup_mark_enabled()
670 sub->tstamp_enabled = tstamp - sub->total_time_enabled; in perf_cgroup_mark_enabled()
1560 u64 tstamp = perf_event_time(event); in event_sched_out() local
1574 delta = tstamp - event->tstamp_stopped; in event_sched_out()
1576 event->tstamp_stopped = tstamp; in event_sched_out()
1584 event->tstamp_stopped = tstamp; in event_sched_out()
1837 u64 tstamp) in perf_set_shadow_time() argument
1865 perf_cgroup_set_shadow_time(event, tstamp); in perf_set_shadow_time()
1867 event->shadow_ctx_time = tstamp - ctx->timestamp; in perf_set_shadow_time()
[all …]
/linux-4.4.14/drivers/iio/accel/
Dbmc150-accel-core.c870 int64_t tstamp; in __bmc150_accel_fifo_flush() local
914 tstamp = data->timestamp - (count - 1) * sample_period; in __bmc150_accel_fifo_flush()
938 iio_push_to_buffers_with_timestamp(indio_dev, sample, tstamp); in __bmc150_accel_fifo_flush()
940 tstamp += sample_period; in __bmc150_accel_fifo_flush()
/linux-4.4.14/net/sched/
Dsch_netem.c540 cb->tstamp_save = skb->tstamp; in netem_enqueue()
641 skb->tstamp = netem_skb_cb(skb)->tstamp_save; in netem_dequeue()
649 skb->tstamp.tv64 = 0; in netem_dequeue()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_base.c618 spu->stats.tstamp = ktime_get_ns(); in create_spu()
649 time += ktime_get_ns() - spu->stats.tstamp; in spu_acct_time()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dt4fw_ri_api.h764 __u8 tstamp:1; member
766 __u8 tstamp:1; member
Dcm.c2268 enable_tcp_timestamps && req->tcpopt.tstamp, in accept_cr()
2293 if (enable_tcp_timestamps && req->tcpopt.tstamp) in accept_cr()
2454 ((enable_tcp_timestamps && req->tcpopt.tstamp) ? 12 : 0); in pass_accept_req()
3705 req->tcpopt.tstamp = tmp_opt.saw_tstamp; in build_cpl_pass_accept_req()
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c56 u64 tstamp:1; member
64 u64 tstamp:1;
291 if (unlikely(re.s.tstamp)) { in octeon_mgmt_clean_tx_buffers()
1282 re.s.tstamp = ((skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) != 0); in octeon_mgmt_xmit()
/linux-4.4.14/sound/soc/
Dsoc-compress.c529 struct snd_compr_tstamp *tstamp) in soc_compr_pointer() argument
537 platform->driver->compr_ops->pointer(cstream, tstamp); in soc_compr_pointer()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h216 __u8 tstamp:1; member
218 __u8 tstamp:1; member
1173 __be32 tstamp; member
/linux-4.4.14/include/linux/
Dskbuff.h554 ktime_t tstamp; member
2973 return skb->tstamp; in skb_get_ktime()
2988 *stamp = ktime_to_timeval(skb->tstamp); in skb_get_timestamp()
2994 *stamp = ktime_to_timespec(skb->tstamp); in skb_get_timestampns()
2999 skb->tstamp = ktime_get_real(); in __net_timestamp()
/linux-4.4.14/drivers/hsi/clients/
Dcmt_speech.c455 struct cs_timestamp *tstamp = in cs_hsi_read_on_control_complete() local
460 tstamp->tv_sec = (__u32) tspec.tv_sec; in cs_hsi_read_on_control_complete()
461 tstamp->tv_nsec = (__u32) tspec.tv_nsec; in cs_hsi_read_on_control_complete()
/linux-4.4.14/drivers/net/can/softing/
Dsofting_main.c152 skb->tstamp = ktime; in softing_netdev_rx()
297 skb->tstamp = ktime; in softing_handle_1()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_msg.h979 __be64 tstamp; member
1000 __be64 tstamp; member
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k.h450 __le64 tstamp; member
Dfm10k_main.c435 FM10K_CB(skb)->tstamp = rx_desc->q.timestamp; in fm10k_rx_hwtstamp()
/linux-4.4.14/net/sunrpc/
Dsvcsock.c612 if (skb->tstamp.tv64 == 0) { in svc_udp_recvfrom()
613 skb->tstamp = ktime_get_real(); in svc_udp_recvfrom()
617 svsk->sk_sk->sk_stamp = skb->tstamp; in svc_udp_recvfrom()
/linux-4.4.14/net/can/
Dbcm.c327 skb->tstamp = op->rx_stamp; in bcm_send_to_user()
649 op->rx_stamp = skb->tstamp; in bcm_rx_handler()
Dgw.c432 nskb->tstamp.tv64 = 0; in can_can_gw_rcv()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dwmi.c782 u32 tstamp = le32_to_cpu(wmi->timestamp); in wmi_recv_cmd() local
785 id, wmi->mid, tstamp); in wmi_recv_cmd()
/linux-4.4.14/tools/perf/
Dbuiltin-trace.c1579 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp() argument
1581 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in trace__fprintf_tstamp()
1596 u64 duration, u64 tstamp, FILE *fp) in trace__fprintf_entry_head() argument
1598 size_t printed = trace__fprintf_tstamp(trace, tstamp, fp); in trace__fprintf_entry_head()
/linux-4.4.14/net/ipx/
Daf_ipx.c1812 if (skb->tstamp.tv64) in ipx_recvmsg()
1813 sk->sk_stamp = skb->tstamp; in ipx_recvmsg()
/linux-4.4.14/net/core/
Dskbuff.c761 new->tstamp = old->tstamp; in __copy_skb_header()
3738 skb->tstamp = ktime_get_real(); in __skb_tstamp_tx()
4235 skb->tstamp.tv64 = 0; in skb_scrub_packet()
Ddev.c1715 skb->tstamp.tv64 = 0; in net_timestamp_set()
1722 if ((COND) && !(SKB)->tstamp.tv64) \
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunhme.c98 unsigned int tstamp; member
117 tlp->tstamp = (unsigned int)jiffies; in tx_add_log()
132 tx_log[this].tstamp, in tx_dump_log()
/linux-4.4.14/Documentation/DocBook/
Dalsa-driver-api.xml.db206 API-struct-snd-compr-tstamp
/linux-4.4.14/net/
Dsocket.c647 if (need_software_tstamp && skb->tstamp.tv64 == 0) in __sock_recv_timestamp()
666 ktime_to_timespec_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp()
/linux-4.4.14/Documentation/networking/
Dtimestamping.txt450 do that. A driver must never touch sk_buff::tstamp! It is used to store
/linux-4.4.14/drivers/atm/
Deni.c539 skb->tstamp = eni_vcc->timestamp; in rx_aal0()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c6819 u64 tstamp = 0; in tg3_rx() local
6857 tstamp = tr32(TG3_RX_TSTAMP_LSB); in tg3_rx()
6858 tstamp |= (u64)tr32(TG3_RX_TSTAMP_MSB) << 32; in tg3_rx()
6904 if (tstamp) in tg3_rx()
6905 tg3_hwclock_to_timestamp(tp, tstamp, in tg3_rx()
/linux-4.4.14/net/packet/
Daf_packet.c452 if (ktime_to_timespec_cond(skb->tstamp, ts)) in tpacket_get_timestamp()