/Linux-v4.19/sound/core/ |
D | rawmidi_compat.c | 60 struct compat_timespec tstamp; member 92 if (compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_compat() 105 struct timespec tstamp; member 139 if (put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_x32()
|
D | pcm_compat.c | 188 struct compat_timespec tstamp; member 228 compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_compat() 251 struct timespec tstamp; member 292 put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_x32() 458 struct compat_timespec tstamp; member 521 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat() 527 compat_put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_compat() 545 struct timespec tstamp; member 610 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32() 616 put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_x32()
|
D | timer_compat.c | 87 struct compat_timespec tstamp; member 105 status.tstamp.tv_sec = tu->tstamp.tv_sec; in snd_timer_user_status_compat() 106 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; in snd_timer_user_status_compat()
|
D | timer.c | 76 struct timespec tstamp; /* trigger tstamp */ member 461 struct timespec tstamp; in snd_timer_notify1() local 464 ktime_get_ts(&tstamp); in snd_timer_notify1() 466 getnstimeofday(&tstamp); in snd_timer_notify1() 475 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1() 484 ts->ccallback(ts, event + 100, &tstamp, resolution); in snd_timer_notify1() 1013 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify() argument 1033 ti->ccallback(ti, event, tstamp, resolution); in snd_timer_notify() 1036 ts->ccallback(ts, event, tstamp, resolution); in snd_timer_notify() 1306 struct timespec *tstamp, in snd_timer_user_ccallback() argument [all …]
|
D | compress_offload.c | 181 struct snd_compr_tstamp *tstamp) in snd_compr_update_tstamp() argument 185 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp() 187 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp() 189 stream->runtime->total_bytes_transferred = tstamp->copied_total; in snd_compr_update_tstamp() 191 stream->runtime->total_bytes_available = tstamp->copied_total; in snd_compr_update_tstamp() 199 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail() 658 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local 661 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp() 664 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
|
/Linux-v4.19/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.h | 32 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time() argument 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time() 58 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time() argument
|
/Linux-v4.19/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 269 addr = ((void __iomem *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack() 356 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument 363 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + in sst_cdev_tstamp() 373 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp() 374 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp() 375 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, in sst_cdev_tstamp() 377 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp() 379 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp() 381 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp() 382 dev_dbg(dev, "rendered %d\n", tstamp->pcm_io_frames); in sst_cdev_tstamp() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | dynack.c | 126 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()
|
D | dynack.h | 33 u32 tstamp[ATH_DYN_BUF]; member 37 u32 tstamp; member
|
/Linux-v4.19/net/sched/ |
D | sch_etf.c | 76 ktime_t txtime = nskb->tstamp; in is_packet_valid() 123 next = ktime_sub_ns(skb->tstamp, q->delta); in reset_watchdog() 131 ktime_t txtime = skb->tstamp; in report_sock_error() 158 ktime_t txtime = nskb->tstamp; in etf_enqueue_timesortedlist() 171 if (ktime_after(txtime, skb->tstamp)) in etf_enqueue_timesortedlist() 215 q->last = skb->tstamp; in timesortedlist_erase() 234 if (ktime_before(skb->tstamp, now)) { in etf_dequeue_timesortedlist() 245 skb->tstamp = now; in etf_dequeue_timesortedlist() 249 next = ktime_sub_ns(skb->tstamp, q->delta); in etf_dequeue_timesortedlist()
|
/Linux-v4.19/sound/pci/lola/ |
D | lola_pcm.c | 54 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-v4.19/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 211 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument 216 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer() 217 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer() 219 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
|
D | sst-mfld-platform.h | 115 int (*tstamp)(struct device *dev, unsigned int str_id, member 116 struct snd_compr_tstamp *tstamp);
|
/Linux-v4.19/tools/testing/selftests/networking/timestamping/ |
D | rxtimestamp.c | 29 bool tstamp; member 70 { tstamp: true } 106 { tstamp: true, swtstamp: true } 139 if (t->expected.tstamp) in print_test_case() 208 actual.tstamp = true; in do_recv() 237 VALIDATE(tstamp); in do_recv()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | time.h | 174 static inline unsigned long tb_ticks_since(unsigned long tstamp) in tb_ticks_since() argument 177 int delta = get_rtcl() - (unsigned int) tstamp; in tb_ticks_since() 180 return get_tbl() - tstamp; in tb_ticks_since()
|
/Linux-v4.19/sound/firewire/ |
D | amdtp-stream.c | 664 static inline u32 compute_cycle_count(u32 tstamp) in compute_cycle_count() argument 666 return (((tstamp >> 13) & 0x07) * 8000) + (tstamp & 0x1fff); in compute_cycle_count() 684 static void out_stream_callback(struct fw_iso_context *context, u32 tstamp, in out_stream_callback() argument 695 cycle = compute_cycle_count(tstamp); in out_stream_callback() 714 static void in_stream_callback(struct fw_iso_context *context, u32 tstamp, in in_stream_callback() argument 730 cycle = compute_cycle_count(tstamp); in in_stream_callback() 769 u32 tstamp, size_t header_length, in amdtp_stream_first_callback() argument 783 cycle = compute_cycle_count(tstamp); in amdtp_stream_first_callback() 805 context->callback.sc(context, tstamp, header_length, header, s); in amdtp_stream_first_callback()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_timestamp.c | 22 module_param_named(tstamp, nf_ct_tstamp, bool, 0644); 23 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
|
D | xt_time.c | 174 if (skb->tstamp == 0) in time_mt() 177 stamp = ktime_to_ns(skb->tstamp); in time_mt()
|
/Linux-v4.19/net/bluetooth/ |
D | mgmt_util.c | 119 skb->tstamp = mskb->tstamp; in mgmt_cmd_status() 167 skb->tstamp = mskb->tstamp; in mgmt_cmd_complete()
|
/Linux-v4.19/net/rxrpc/ |
D | input.c | 63 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 87 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 100 if (ktime_before(skb->tstamp, in rxrpc_congestion_management() 105 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 163 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 207 ktime_t now = skb->tstamp; in rxrpc_send_ping() 643 sent_at = skb->tstamp; in rxrpc_input_requested_ack() 864 rxrpc_input_ping_response(call, skb->tstamp, acked_serial, in rxrpc_input_ack() 867 rxrpc_input_requested_ack(call, skb->tstamp, acked_serial, in rxrpc_input_ack() 896 call->acks_latest_ts = skb->tstamp; in rxrpc_input_ack() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | eeh_pe.c | 527 time64_t tstamp; in eeh_pe_update_time_stamp() local 533 pe->tstamp = ktime_get_seconds(); in eeh_pe_update_time_stamp() 535 tstamp = ktime_get_seconds(); in eeh_pe_update_time_stamp() 536 if (tstamp - pe->tstamp > 3600) { in eeh_pe_update_time_stamp() 537 pe->tstamp = tstamp; in eeh_pe_update_time_stamp()
|
/Linux-v4.19/tools/perf/util/ |
D | trace-event.h | 84 struct perf_evsel *evsel, u64 tstamp); 85 void (*process_stat_interval)(u64 tstamp);
|
/Linux-v4.19/include/sound/ |
D | timer.h | 107 struct timespec * tstamp, 131 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp);
|
/Linux-v4.19/tools/include/uapi/sound/ |
D | asound.h | 461 struct timespec tstamp; /* reference timestamp */ member 480 struct timespec tstamp; /* Timestamp */ member 652 struct timespec tstamp; /* Timestamp */ member 764 struct timespec tstamp; /* Timestamp - last update */ member 814 struct timespec tstamp; member 957 struct timespec tstamp; member
|
/Linux-v4.19/include/uapi/sound/ |
D | asound.h | 461 struct timespec tstamp; /* reference timestamp */ member 480 struct timespec tstamp; /* Timestamp */ member 652 struct timespec tstamp; /* Timestamp */ member 764 struct timespec tstamp; /* Timestamp - last update */ member 814 struct timespec tstamp; member 957 struct timespec tstamp; member
|