/linux-master/include/linux/dsa/ |
H A D | ksz_common.h | 18 static inline ktime_t ksz_decode_tstamp(u32 tstamp) argument 20 u64 ns = FIELD_GET(KSZ_TSTAMP_SEC_MASK, tstamp) * NSEC_PER_SEC + 21 FIELD_GET(KSZ_TSTAMP_NSEC_MASK, tstamp); 41 u32 tstamp; member in struct:ksz_skb_cb
|
H A D | sja1105.h | 53 enum sja1110_meta_tstamp dir, u64 tstamp); 58 u64 tstamp; member in struct:sja1105_skb_cb
|
/linux-master/drivers/net/ethernet/cavium/common/ |
H A D | cavium_ptp.h | 32 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) argument 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); 58 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) argument
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_timestamp.c | 19 module_param_named(tstamp, nf_ct_tstamp, bool, 0644); 20 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_edt.c | 34 uint64_t tstamp, next_tstamp = 0; local 39 tstamp = skb->tstamp; 40 if (tstamp < now) 41 tstamp = now; 44 if (next_tstamp <= tstamp) { 45 if (bpf_map_update_elem(&flow_map, &key, &tstamp, BPF_ANY)) 60 skb->tstamp = next_tstamp;
|
H A D | test_time_tai.c | 19 skb->tstamp = ts1;
|
H A D | test_skb_ctx.c | 20 skb->tstamp++;
|
H A D | test_tc_dtime.c | 226 skb->tstamp) 232 skb->tstamp) 238 skb->tstamp = EGRESS_ENDHOST_MAGIC; 256 skb->tstamp == EGRESS_FWDNS_MAGIC) 279 if (skb->tstamp == EGRESS_ENDHOST_MAGIC) 283 skb->tstamp = 0; 303 if (skb->tstamp == INGRESS_FWDNS_MAGIC) 309 skb->tstamp = 0; 332 skb->tstamp != expected_dtime) 342 skb->tstamp [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ptp.h | 30 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
|
H A D | otx2_ptp.c | 104 u64 tstamp; local 106 tstamp = otx2_ptp_get_clock(ptp); 108 *ts = ns_to_timespec64(tstamp); 248 u64 tstamp; local 251 tstamp = timecounter_read(&ptp->time_counter); 253 *ts = ns_to_timespec64(tstamp); 288 static u64 otx2_ptp_hw_tstamp2time(const struct timecounter *time_counter, u64 tstamp) argument 291 return tstamp; 327 u64 tstamp; local 330 tstamp 511 otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) argument [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 556 struct igc_tx_timestamp_request *tstamp = &adapter->tx_tstamp[i]; local 558 dev_kfree_skb_any(tstamp->skb); 559 tstamp->skb = NULL; 658 struct igc_tx_timestamp_request *tstamp) 660 dev_kfree_skb_any(tstamp->skb); 661 tstamp->skb = NULL; 669 struct igc_tx_timestamp_request *tstamp; local 678 tstamp = &adapter->tx_tstamp[i]; 680 if (!tstamp->skb) 683 if (time_is_after_jiffies(tstamp 657 igc_ptp_tx_timeout(struct igc_adapter *adapter, struct igc_tx_timestamp_request *tstamp) argument 700 igc_ptp_tx_reg_to_stamp(struct igc_adapter *adapter, struct igc_tx_timestamp_request *tstamp, u64 regval) argument 799 struct igc_tx_timestamp_request *tstamp = &adapter->tx_tstamp[i]; local 901 igc_device_tstamp_to_system(u64 tstamp) argument 1058 struct igc_tx_timestamp_request *tstamp; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | trap.h | 25 struct hwtstamp_config *tstamp; member in struct:mlx5e_trap
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | dynack.h | 29 * @tstamp: ACK RX timestamp buffer 33 u32 tstamp[ATH_DYN_BUF]; member in struct:ath_dyn_rxbuf 37 u32 tstamp; member in struct:ts_info
|
H A D | dynack.c | 159 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; 166 ack_ts, st_ts->tstamp, st_ts->dur, 169 if (ack_ts > st_ts->tstamp + st_ts->dur) { 170 ackto = ack_ts - st_ts->tstamp - st_ts->dur; 248 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; 304 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | time.h | 82 static inline unsigned long tb_ticks_since(unsigned long tstamp) argument 84 return mftb() - tstamp;
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | time_tai.c | 25 .tstamp = 0, 51 ts1 = skb.tstamp;
|
H A D | skb_ctx.c | 16 .tstamp = 7, 87 ASSERT_EQ(skb.tstamp, 8, "ctx_out_tstamp");
|
/linux-master/sound/soc/sof/amd/ |
H A D | acp-probes.c | 111 struct snd_compr_tstamp *tstamp, 118 tstamp->copied_total = stream->cstream_posn; 119 tstamp->sampling_rate = snd_pcm_rate_bit_to_rate(pstream->rates); 109 acp_probes_compr_pointer(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai) argument
|
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-compress.c | 205 struct snd_compr_tstamp *tstamp) 210 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); 211 tstamp->byte_offset = tstamp->copied_total % 213 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); 203 sst_platform_compr_pointer(struct snd_soc_component *component, struct snd_compr_stream *cstream, struct snd_compr_tstamp *tstamp) argument
|
/linux-master/net/sched/ |
H A D | sch_etf.c | 78 ktime_t txtime = nskb->tstamp; 131 next = ktime_sub_ns(skb->tstamp, q->delta); 139 ktime_t txtime = skb->tstamp; 155 serr->ee.ee_data = (txtime >> 32); /* high part of tstamp */ 156 serr->ee.ee_info = txtime; /* low part of tstamp */ 167 ktime_t txtime = nskb->tstamp; 181 if (ktime_compare(txtime, skb->tstamp) >= 0) { 208 if (ktime_after(skb->tstamp, now)) 248 q->last = skb->tstamp; 266 if (ktime_before(skb->tstamp, no [all...] |
/linux-master/sound/pci/lola/ |
H A D | lola_pcm.c | 41 unsigned int tstamp = lola_get_lrc(chip) >> 8; local 44 tstamp += (wait_banks + 1) * chip->granularity - 1; 45 tstamp -= tstamp % chip->granularity; 47 return tstamp << 8; 61 unsigned int tstamp) 69 tstamp); 73 unsigned int tstamp) 79 tstamp); 509 unsigned int tstamp; local 60 lola_stream_start(struct lola *chip, struct lola_stream *str, unsigned int tstamp) argument 72 lola_stream_stop(struct lola *chip, struct lola_stream *str, unsigned int tstamp) argument [all...] |
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_drv_interface.c | 255 addr = ((void __iomem *)(ctx->mailbox + ctx->tstamp)) + 342 struct snd_compr_tstamp *tstamp) 349 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + 359 tstamp->copied_total = fw_tstamp.ring_buffer_counter; 360 tstamp->pcm_frames = fw_tstamp.frames_decoded; 361 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, 363 tstamp->sampling_rate = fw_tstamp.sampling_frequency; 365 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); 367 str_id, tstamp->copied_total, tstamp 341 sst_cdev_tstamp(struct device *dev, unsigned int str_id, struct snd_compr_tstamp *tstamp) argument [all...] |
/linux-master/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 36 } tstamp SEC(".maps"); 338 pelem = bpf_map_lookup_elem(&tstamp, &pid); 346 if (bpf_map_update_elem(&tstamp, &pid, &zero, BPF_NOEXIST) < 0) { 351 pelem = bpf_map_lookup_elem(&tstamp, &pid); 434 pelem = bpf_map_lookup_elem(&tstamp, &pid); 444 bpf_map_delete_elem(&tstamp, &pid); 482 bpf_map_delete_elem(&tstamp, &pid); 507 bpf_map_delete_elem(&tstamp, &pid); 522 bpf_map_delete_elem(&tstamp, &pid);
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_usbpd_logger.c | 81 ktime_t tstamp) 94 tstamp = ktime_sub_us(tstamp, r->timestamp << PD_LOG_TIMESTAMP_SHIFT); 95 rt = rtc_ktime_to_tm(tstamp); 161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); 80 cros_usbpd_print_log_entry(struct ec_response_pd_log *r, ktime_t tstamp) argument
|
/linux-master/sound/soc/sof/intel/ |
H A D | hda-probes.c | 115 struct snd_compr_tstamp *tstamp, 122 tstamp->copied_total = hdac_stream(hext_stream)->curr_pos; 123 tstamp->sampling_rate = snd_pcm_rate_bit_to_rate(pstream->rates); 113 hda_probes_compr_pointer(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai) argument
|