Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/bpf/progs/
A Dtest_tc_edt.c34 uint64_t tstamp, next_tstamp = 0; in throttle_flow() local
39 tstamp = skb->tstamp; in throttle_flow()
40 if (tstamp < now) in throttle_flow()
41 tstamp = now; in throttle_flow()
44 if (next_tstamp <= tstamp) { in throttle_flow()
45 if (bpf_map_update_elem(&flow_map, &key, &tstamp, BPF_ANY)) in throttle_flow()
60 skb->tstamp = next_tstamp; in throttle_flow()
/linux/sound/soc/intel/atom/sst/
A Dsst_drv_interface.c258 addr = ((void __iomem *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack()
345 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument
352 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + in sst_cdev_tstamp()
362 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp()
363 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp()
366 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp()
368 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp()
370 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp()
371 dev_dbg(dev, "rendered %d\n", tstamp->pcm_io_frames); in sst_cdev_tstamp()
532 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + in sst_read_timestamp()
[all …]
/linux/net/sched/
A Dsch_etf.c78 ktime_t txtime = nskb->tstamp; in is_packet_valid()
131 next = ktime_sub_ns(skb->tstamp, q->delta); in reset_watchdog()
139 ktime_t txtime = skb->tstamp; in report_sock_error()
167 ktime_t txtime = nskb->tstamp; in etf_enqueue_timesortedlist()
181 if (ktime_compare(txtime, skb->tstamp) >= 0) { in etf_enqueue_timesortedlist()
208 if (ktime_after(skb->tstamp, now)) in timesortedlist_drop()
248 q->last = skb->tstamp; in timesortedlist_remove()
266 if (ktime_before(skb->tstamp, now)) { in etf_dequeue_timesortedlist()
277 skb->tstamp = now; in etf_dequeue_timesortedlist()
281 next = ktime_sub_ns(skb->tstamp, q->delta); in etf_dequeue_timesortedlist()
/linux/net/dsa/
A Dtag_sja1105.c80 u64 tstamp; member
102 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); in sja1105_meta_unpack()
321 SJA1105_SKB_CB(skb)->tstamp = meta->tstamp; in sja1105_transfer_meta()
528 u64 tstamp) in sja1110_process_meta_tstamp() argument
559 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(tstamp)); in sja1110_process_meta_tstamp()
583 u64 tstamp; in sja1110_rcv_meta() local
588 tstamp = be64_to_cpu(*(__be64 *)(buf + 2)); in sja1110_rcv_meta()
591 tstamp); in sja1110_rcv_meta()
627 u64 *tstamp = &SJA1105_SKB_CB(skb)->tstamp; in sja1110_rcv_inband_control_extension() local
633 packing(rx_trailer, tstamp, 63, 0, 8, UNPACK, 0); in sja1110_rcv_inband_control_extension()
/linux/sound/pci/lola/
A Dlola_pcm.c41 unsigned int tstamp = lola_get_lrc(chip) >> 8; in lola_get_tstamp() local
45 tstamp -= tstamp % chip->granularity; in lola_get_tstamp()
47 return tstamp << 8; in lola_get_tstamp()
61 unsigned int tstamp) in lola_stream_start() argument
69 tstamp); in lola_stream_start()
73 unsigned int tstamp) in lola_stream_stop() argument
79 tstamp); in lola_stream_stop()
509 unsigned int tstamp; in lola_pcm_trigger() local
532 tstamp = lola_get_tstamp(chip, !sync_streams); in lola_pcm_trigger()
539 lola_stream_start(chip, str, tstamp); in lola_pcm_trigger()
[all …]
/linux/drivers/net/ethernet/cavium/common/
A Dcavium_ptp.h32 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/net/ipv6/
A Dnetfilter.c124 ktime_t tstamp = skb->tstamp; in br_ip6_fragment() local
189 skb->tstamp = tstamp; in br_ip6_fragment()
222 skb2->tstamp = tstamp; in br_ip6_fragment()
/linux/sound/soc/intel/atom/
A Dsst-mfld-platform-compress.c205 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument
210 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer()
211 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer()
213 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
/linux/sound/firewire/
A Damdtp-stream.c856 u32 tstamp = be32_to_cpu(ctx_header_tstamp) & HEADER_TSTAMP_MASK; in compute_ohci_cycle_count() local
857 return (((tstamp >> 13) & 0x07) * 8000) + (tstamp & 0x1fff); in compute_ohci_cycle_count()
1179 skip_rx_packets(context, tstamp, length, ctx_header, private_data); in process_rx_packets_intermediately()
1191 process_rx_packets(context, tstamp, header_length, ctx_header, private_data); in process_rx_packets_intermediately()
1303 drop_tx_packets(context, tstamp, length, ctx_header, s); in process_tx_packets_intermediately()
1315 process_tx_packets(context, tstamp, header_length, ctx_header, s); in process_tx_packets_intermediately()
1376 drop_tx_packets(context, tstamp, header_length, header, s); in drop_tx_packets_initially()
1445 process_rx_packets(context, tstamp, header_length, header, private_data); in irq_target_callback()
1466 skip_rx_packets(context, tstamp, header_length, header, private_data); in irq_target_callback_skip()
1517 u32 tstamp, size_t header_length, in amdtp_stream_first_callback() argument
[all …]
/linux/sound/core/
A Dtimer.c502 struct timespec64 tstamp; in snd_timer_notify1() local
505 ktime_get_ts64(&tstamp); in snd_timer_notify1()
507 ktime_get_real_ts64(&tstamp); in snd_timer_notify1()
1375 tu->tstamp = *tstamp; in snd_timer_user_ccallback()
1380 r1.tstamp_sec = tstamp->tv_sec; in snd_timer_user_ccallback()
1404 struct timespec64 tstamp; in snd_timer_user_tinterrupt() local
1408 memset(&tstamp, 0, sizeof(tstamp)); in snd_timer_user_tinterrupt()
1417 ktime_get_ts64(&tstamp); in snd_timer_user_tinterrupt()
1419 ktime_get_real_ts64(&tstamp); in snd_timer_user_tinterrupt()
1424 r1.tstamp_sec = tstamp.tv_sec; in snd_timer_user_tinterrupt()
[all …]
A Dcompress_offload.c167 struct snd_compr_tstamp *tstamp) in snd_compr_update_tstamp() argument
171 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp()
173 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp()
175 stream->runtime->total_bytes_transferred = tstamp->copied_total; in snd_compr_update_tstamp()
177 stream->runtime->total_bytes_available = tstamp->copied_total; in snd_compr_update_tstamp()
185 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail()
696 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local
699 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp()
702 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
/linux/drivers/platform/chrome/
A Dcros_usbpd_logger.c81 ktime_t tstamp) in cros_usbpd_print_log_entry() argument
94 tstamp = ktime_sub_us(tstamp, r->timestamp << PD_LOG_TIMESTAMP_SHIFT); in cros_usbpd_print_log_entry()
95 rt = rtc_ktime_to_tm(tstamp); in cros_usbpd_print_log_entry()
161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
/linux/tools/testing/selftests/net/
A Drxtimestamp.c30 bool tstamp; member
72 { .tstamp = true }
108 { .tstamp = true, .swtstamp = true }
145 if (t->expected.tstamp) in print_test_case()
214 actual.tstamp = true; in do_recv()
243 VALIDATE(tstamp); in do_recv()
A Dso_txtime.c162 int64_t tstamp = 0; in do_recv_errqueue_timeout() local
212 tstamp = ((int64_t) err->ee_data) << 32 | err->ee_info; in do_recv_errqueue_timeout()
213 tstamp -= (int64_t) glob_tstart; in do_recv_errqueue_timeout()
214 tstamp /= 1000 * 1000; in do_recv_errqueue_timeout()
216 data[ret - 1], tstamp, reason); in do_recv_errqueue_timeout()
/linux/drivers/net/wireless/ath/ath9k/
A Ddynack.c159 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; in ath_dynack_compute_to()
166 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to()
169 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to()
170 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to()
248 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts()
304 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts()
A Ddynack.h33 u32 tstamp[ATH_DYN_BUF]; member
37 u32 tstamp; member
/linux/tools/testing/selftests/bpf/prog_tests/
A Dskb_ctx.c16 .tstamp = 7, in test_skb_ctx()
106 CHECK_ATTR(skb.tstamp != 8, in test_skb_ctx()
109 skb.tstamp, 8); in test_skb_ctx()
/linux/sound/soc/sof/intel/
A Dhda-probes.c103 struct snd_compr_tstamp *tstamp, in hda_probe_compr_pointer() argument
110 tstamp->copied_total = hdac_stream(stream)->curr_pos; in hda_probe_compr_pointer()
111 tstamp->sampling_rate = snd_pcm_rate_bit_to_rate(pstream->rates); in hda_probe_compr_pointer()
/linux/net/bridge/netfilter/
A Dnf_conntrack_bridge.c36 ktime_t tstamp = skb->tstamp; in nf_br_ip_fragment() local
84 skb->tstamp = tstamp; in nf_br_ip_fragment()
115 skb2->tstamp = tstamp; in nf_br_ip_fragment()
/linux/arch/powerpc/kernel/
A Deeh_pe.c491 time64_t tstamp; in eeh_pe_update_time_stamp() local
497 pe->tstamp = ktime_get_seconds(); in eeh_pe_update_time_stamp()
499 tstamp = ktime_get_seconds(); in eeh_pe_update_time_stamp()
500 if (tstamp - pe->tstamp > 3600) { in eeh_pe_update_time_stamp()
501 pe->tstamp = tstamp; in eeh_pe_update_time_stamp()
/linux/net/netfilter/
A Dnf_conntrack_timestamp.c19 module_param_named(tstamp, nf_ct_tstamp, bool, 0644);
20 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
/linux/net/rxrpc/
A Dinput.c59 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management()
83 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management()
96 if (ktime_before(skb->tstamp, in rxrpc_congestion_management()
101 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management()
159 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management()
879 rxrpc_input_ping_response(call, skb->tstamp, acked_serial, in rxrpc_input_ack()
929 call->acks_latest_ts = skb->tstamp; in rxrpc_input_ack()
1224 if (skb->tstamp == 0) in rxrpc_input_packet()
1225 skb->tstamp = ktime_get_real(); in rxrpc_input_packet()
1249 if (skb->tstamp == 0) in rxrpc_input_packet()
[all …]
/linux/net/bluetooth/
A Dmgmt_util.c119 skb->tstamp = mskb->tstamp; in mgmt_cmd_status()
167 skb->tstamp = mskb->tstamp; in mgmt_cmd_complete()
/linux/arch/powerpc/include/asm/
A Dtime.h79 static inline unsigned long tb_ticks_since(unsigned long tstamp) in tb_ticks_since() argument
81 return mftb() - tstamp; in tb_ticks_since()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtrap.c44 rq->tstamp = &priv->tstamp; in mlx5e_init_trap_rq()
137 t->tstamp = &priv->tstamp; in mlx5e_open_trap()

Completed in 59 milliseconds

123456789