/linux-master/net/packet/ |
H A D | af_packet.c | 454 static __u32 tpacket_get_timestamp(struct sk_buff *skb, struct timespec64 *ts, argument 461 ktime_to_timespec64_cond(shhwtstamps->hwtstamp, ts)) 465 ktime_to_timespec64_cond(skb_tstamp(skb), ts)) 475 struct timespec64 ts; local 478 if (!(ts_status = tpacket_get_timestamp(skb, &ts, READ_ONCE(po->tp_tstamp)))) 491 h.h1->tp_sec = ts.tv_sec; 492 h.h1->tp_usec = ts.tv_nsec / NSEC_PER_USEC; 495 h.h2->tp_sec = ts.tv_sec; 496 h.h2->tp_nsec = ts.tv_nsec; 499 h.h3->tp_sec = ts 823 struct timespec64 ts; local 854 struct timespec64 ts; local 2249 struct timespec64 ts; local 2517 __u32 ts; local [all...] |
/linux-master/tools/perf/util/ |
H A D | arm-spe.c | 808 u64 ts; local 828 ts = spe->heap.heap_array[0].ordinal + 1; 829 if (ts > timestamp) 830 ts = timestamp; 832 ts = timestamp; 842 ret = arm_spe_run_decoder(speq, &ts); 844 auxtrace_heap__add(&spe->heap, queue_nr, ts); 849 ret = auxtrace_heap__add(&spe->heap, queue_nr, ts); 865 u64 ts = 0; local 874 arm_spe_run_decoder(speq, &ts); [all...] |
/linux-master/drivers/memory/samsung/ |
H A D | exynos5422-dmc.c | 843 u64 diff_ts, ts; local 845 ts = ktime_get_ns(); 854 diff_ts = ts - dmc->last_overflow_ts[0]; 855 dmc->last_overflow_ts[0] = ts; 859 diff_ts = ts - dmc->last_overflow_ts[1]; 860 dmc->last_overflow_ts[1] = ts; 877 u64 ts; local 887 ts = ktime_get_ns(); 888 dmc->last_overflow_ts[0] = ts; 889 dmc->last_overflow_ts[1] = ts; [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ptp.c | 312 * @ts: timespec structure to hold the current time value 317 static int aq_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 328 *ts = ns_to_timespec64(ns); 335 * @ts: the timespec containing the new time for the cycle counter 341 const struct timespec64 *ts) 346 u64 ns = timespec64_to_ns(ts); 1146 struct timespec64 ts; local 1148 ktime_get_real_ts64(&ts); 1149 aq_ptp_settime(&aq_ptp->ptp_info, &ts); 1283 u64 ts local 340 aq_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument [all...] |
H A D | aq_hw.h | 320 int (*hw_set_sys_clock)(struct aq_hw_s *self, u64 time, u64 ts); 322 int (*hw_ts_to_sys_clock)(struct aq_hw_s *self, u64 ts, u64 *time); 330 int (*hw_get_sync_ts)(struct aq_hw_s *self, u64 *ts);
|
/linux-master/kernel/trace/ |
H A D | trace_output.c | 554 unsigned long long abs_ts = iter->ts - iter->array_buffer->time_start; 555 unsigned long long rel_ts = next_ts - iter->ts; 571 ns2usecs(iter->ts), 578 iter->ts, abs_ts, rel_ts); 594 unsigned long long ts) 600 t = ns2usecs(ts); 605 trace_seq_printf(s, " %12llu", ts); 633 trace_print_time(s, iter, iter->ts); 649 next_ts = iter->ts; 1325 trace_seq_printf(s, "#%-5u inner/outer(us): %4llu/%-5llu ts 593 trace_print_time(struct trace_seq *s, struct trace_iterator *iter, unsigned long long ts) argument [all...] |
/linux-master/fs/udf/ |
H A D | super.c | 896 struct timestamp *ts; local 917 ts = &pvoldesc->recordingDateAndTime; 919 le16_to_cpu(ts->year), ts->month, ts->day, ts->hour, 920 ts->minute, le16_to_cpu(ts->typeAndTimezone)); 2019 struct timespec64 ts; local 2021 ktime_get_real_ts64(&ts); 2262 struct timestamp ts; local [all...] |
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | base.c | 1712 struct ath5k_txq *txq, struct ath5k_tx_status *ts, 1733 for (i = 0; i < ts->ts_final_idx; i++) { 1740 info->status.rates[ts->ts_final_idx].count = ts->ts_final_retry; 1741 info->status.rates[ts->ts_final_idx + 1].idx = -1; 1743 if (unlikely(ts->ts_status)) { 1745 if (ts->ts_status & AR5K_TXERR_FILT) { 1749 if (ts->ts_status & AR5K_TXERR_XRETRY) 1751 if (ts->ts_status & AR5K_TXERR_FIFO) 1755 info->status.ack_signal = ts 1711 ath5k_tx_frame_completed(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_txq *txq, struct ath5k_tx_status *ts, struct ath5k_buf *bf) argument 1779 struct ath5k_tx_status ts = {}; local [all...] |
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icss_iep.c | 428 struct timespec64 *ts, 436 *ts = ns_to_timespec64(ns); 443 const struct timespec64 *ts) 449 ns = timespec64_to_ns(ts); 577 struct timespec64 ts; local 597 ts = ns_to_timespec64(ns); 600 rq.perout.start.sec = ts.tv_sec + 2; 427 icss_iep_ptp_gettimeex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 442 icss_iep_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
|
/linux-master/drivers/char/ |
H A D | ppdev.c | 364 struct timespec64 ts; local 636 jiffies_to_timespec64(pp->pdev->timeout, &ts); 637 time32[0] = ts.tv_sec; 638 time32[1] = ts.tv_nsec / NSEC_PER_USEC; 646 jiffies_to_timespec64(pp->pdev->timeout, &ts); 647 time64[0] = ts.tv_sec; 648 time64[1] = ts.tv_nsec / NSEC_PER_USEC;
|
/linux-master/kernel/time/ |
H A D | posix-timers.c | 1276 struct timespec64 ts; local 1281 if (get_old_timespec32(&ts, tp)) 1284 return kc->clock_set(which_clock, &ts); 1291 struct timespec64 ts; local 1297 err = kc->clock_get_timespec(which_clock, &ts); 1299 if (!err && put_old_timespec32(&ts, tp)) 1327 struct timespec64 ts; local 1333 err = kc->clock_getres(which_clock, &ts); 1334 if (!err && tp && put_old_timespec32(&ts, tp))
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 1308 static int hw_atl_b0_set_sys_clock(struct aq_hw_s *self, u64 time, u64 ts) argument 1310 s64 delta = time - (self->ptp_clk_offset + ts); 1315 static int hw_atl_b0_ts_to_sys_clock(struct aq_hw_s *self, u64 ts, u64 *time) argument 1317 *time = self->ptp_clk_offset + ts; 1370 static int hw_atl_b0_get_sync_ts(struct aq_hw_s *self, u64 *ts) argument 1377 if (!ts) 1389 *ts = (nsec_h << 16) + nsec_l + ((sec_h << 16) + sec_l) * NSEC_PER_SEC; 1628 u32 ts; local 1646 ts = hw_atl_ts_data_get(self); 1647 *temp = ts * t [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 236 struct timespec64 ts, *old; local 238 ktime_get_raw_ts64(&ts); 240 ms = ts.tv_sec * 1000 + ts.tv_nsec / 1000000; 242 sc->last_event_time = ts; 337 struct timespec64 ts; local 349 ktime_get_raw_ts64(&ts); 351 ath9k_hw_get_tsf_offset(&cur->tsf_ts, &ts); 354 prev_tsf -= ath9k_hw_get_tsf_offset(&prev->tsf_ts, &ts); 1233 struct timespec64 ts; local [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_qos.c | 28 struct timespec64 ts; local 35 sparx5_ptp_gettime64(&sparx5->phc[SPARX5_PHC_PORT].info, &ts); 36 current_time = timespec64_to_ktime(ts);
|
/linux-master/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 372 struct timespec64 ts; local 373 err = get_old_timespec32(&ts, timeout); 376 err = __do_semtimedop(semid, sops, nsops, &ts, ns);
|
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_stream.c | 77 str_info->alloc_param.ts = sst_drv_ctx->info.mailbox_start + 80 str_info->alloc_param.ts = sst_drv_ctx->mailbox_add + 84 str_info->alloc_param.ts);
|
/linux-master/arch/powerpc/kvm/ |
H A D | e500mc.c | 59 unsigned int tid, ts; local 64 ts = get_tlb_ts(gtlbe); 68 val = (tid << 16) | ts;
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 352 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts); 443 struct timespec64 ts = ns_to_timespec64(ns); local 444 *nic_major = (u32)ts.tv_sec; 445 *nic_minor = ts.tv_nsec; 473 struct timespec64 ts = ns_to_timespec64(ns); local 474 u32 maj = (u32)ts.tv_sec; 475 u32 min = (u32)(((u64)ts.tv_nsec * NS_TO_S27_MULT + 516 struct timespec64 ts = ns_to_timespec64(ns); local 518 *nic_major = (u32)ts.tv_sec; 519 *nic_minor = ts 2096 efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_inode_item_recover.c | 132 xfs_timestamp_t ts; local 137 lts = (struct xfs_legacy_timestamp *)&ts; 142 return ts;
|
/linux-master/drivers/misc/mei/ |
H A D | platform-vsc.c | 61 struct mei_vsc_host_timestamp ts = { local 66 return vsc_tp_xfer(hw->tp, VSC_TP_CMD_READ, &ts, sizeof(ts),
|
/linux-master/drivers/iio/gyro/ |
H A D | itg3200_buffer.c | 55 s64 ts __aligned(8);
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.h | 104 struct ethtool_ts_info *ts);
|
/linux-master/tools/testing/selftests/net/ |
H A D | timestamping.c | 161 struct timespec ts; local 268 if (ioctl(sock, SIOCGSTAMPNS, &ts)) 272 (long)ts.tv_sec, 273 (long)ts.tv_nsec);
|
/linux-master/include/linux/ |
H A D | hte.h | 71 * @ts: HW timestamp data. 74 typedef enum hte_return (*hte_ts_cb_t)(struct hte_ts_data *ts, void *data);
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_fc.h | 212 * @ts: FC time service 218 struct zfcp_fc_wka_port ts; member in struct:zfcp_fc_wka_ports
|