/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 79 static int qede_ptp_gettime(struct ptp_clock_info *info, struct timespec64 *ts) argument 94 *ts = ns_to_timespec64(ns); 100 const struct timespec64 *ts) 109 ns = timespec64_to_ns(ts); 514 "Device supports a single outstanding pkt to ts, It will not be ts\n"); 99 qede_ptp_settime(struct ptp_clock_info *info, const struct timespec64 *ts) argument
|
/linux-master/drivers/ptp/ |
H A D | ptp_pch.c | 368 static int ptp_pch_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 379 *ts = ns_to_timespec64(ns); 384 const struct timespec64 *ts) 391 ns = timespec64_to_ns(ts); 383 ptp_pch_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
|
H A D | ptp_fc3.c | 360 static int _idtfc3_gettime(struct idtfc3 *idtfc3, struct timespec64 *ts) argument 368 *ts = ns_to_timespec64(idtfc3->ns); 373 static int idtfc3_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 379 err = _idtfc3_gettime(idtfc3, ts); 385 static int _idtfc3_settime(struct idtfc3 *idtfc3, const struct timespec64 *ts) argument 391 if (timespec64_valid(ts) == false) { 401 now_ns = timespec64_to_ns(ts); 408 static int idtfc3_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 414 err = _idtfc3_settime(idtfc3, ts);
|
/linux-master/arch/powerpc/kvm/ |
H A D | e500.c | 236 unsigned int pr, tid, ts; local 241 ts = get_tlb_ts(gtlbe); 257 pid = local_sid_lookup(&idt->id[ts][tid][pr]); 259 kvmppc_e500_id_table_reset_one(vcpu_e500, ts, tid, pr);
|
/linux-master/arch/s390/include/asm/ |
H A D | timex.h | 121 unsigned int ts : 2; member in struct:ptff_qui
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.c | 238 ktime_get_ts64(&stat->active_buf->ts); 499 data->ts.tv_sec = buf->ts.tv_sec; 500 data->ts.tv_usec = buf->ts.tv_nsec / NSEC_PER_USEC; 522 data->ts.tv_sec = data64.ts.tv_sec; 523 data->ts.tv_usec = data64.ts.tv_usec;
|
/linux-master/net/dsa/ |
H A D | tag_ksz.c | 161 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|ts(4bytes)|tag0(1byte)|tag1(1byte)| 164 * ts : time stamp (Present only if PTP is enabled in the Hardware) 170 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|ts(4bytes)|tag0(1byte)|FCS(4bytes) 172 * ts : time stamp (Present only if bit 7 of tag0 is set) 222 struct timespec64 ts; local 224 ts = ns_to_timespec64(-correction >> 16); 225 tstamp_raw = ((ts.tv_sec & 3) << 30) | ts.tv_nsec; 385 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|ts(4bytes)|tag0(1byte)|tag1(1byte)| 388 * ts [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.h | 145 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts);
|
/linux-master/drivers/net/phy/ |
H A D | dp83640.c | 258 const struct timespec64 *ts, u16 cmd) 260 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec & 0xffff);/* ns[15:0] */ 261 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec >> 16); /* ns[31:16] */ 262 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec & 0xffff); /* sec[15:0] */ 263 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec >> 16); /* sec[31:16]*/ 412 struct timespec64 ts; local 417 ts = ns_to_timespec64(delta); 421 err = tdr_write(1, phydev, &ts, PTP_STEP_CLK); 429 struct timespec64 *ts) 447 ts 257 tdr_write(int bc, struct phy_device *dev, const struct timespec64 *ts, u16 cmd) argument 428 ptp_dp83640_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 453 ptp_dp83640_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 633 struct timespec64 ts; local [all...] |
/linux-master/tools/perf/tests/ |
H A D | switch-tracking.c | 28 struct timespec ts; local 52 ts.tv_nsec = 50 * 1000 * 1000; 53 ts.tv_sec = 0; 56 err = nanosleep(&ts, NULL);
|
/linux-master/samples/bpf/ |
H A D | map_perf_test_user.c | 27 struct timespec ts; local 29 clock_gettime(CLOCK_MONOTONIC, &ts); 30 return ts.tv_sec * 1000000000ull + ts.tv_nsec;
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 98 struct timespec ts; local 100 TEST_ASSERT(!clock_gettime(CLOCK_REALTIME, &ts), 103 ts.tv_sec += 2; 104 TEST_ASSERT(!sem_timedwait(&vcpu_ready, &ts),
|
/linux-master/tools/testing/selftests/net/ |
H A D | gro.c | 420 static void tcp_write_options(char *buf, int kind, int ts) argument 448 opt_ts->tsval = ts; 460 static void add_standard_tcp_options(char *buf, char *no_ext, int ts, int order) argument 467 TCPOPT_TIMESTAMP, ts); 472 TCPOPT_TIMESTAMP, ts); 477 tcp_write_options(buf + total_hdr_len, TCPOPT_TIMESTAMP, ts); 578 struct ip_timestamp *ts = (struct ip_timestamp *)(optpkt + tcp_offset); local 585 ts->ipt_code = IPOPT_TS; 586 ts->ipt_len = optlen; 587 ts [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | hw-ops.h | 64 struct ath_tx_status *ts) 66 return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts); 63 ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) argument
|
H A D | debug.h | 260 struct ath_tx_status *ts, struct ath_txq *txq, 296 struct ath_tx_status *ts, 294 ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, struct ath_txq *txq, unsigned int flags) argument
|
/linux-master/net/ipv6/ila/ |
H A D | ila_lwt.c | 130 struct lwtunnel_state **ts, 252 *ts = newts; 128 ila_build_state(struct net *net, struct nlattr *nla, unsigned int family, const void *cfg, struct lwtunnel_state **ts, struct netlink_ext_ack *extack) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_estats.c | 126 unsigned long ts; member in struct:tcp_estats_event 167 event->ts = bpf_ktime_get_ns();
|
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-rx.c | 152 mcp251xfd_skb_set_timestamp(priv, skb, hw_rx_obj->ts); 176 err = can_rx_offload_queue_timestamp(&priv->offload, skb, hw_rx_obj->ts);
|
H A D | mcp251xfd-tef.c | 112 mcp251xfd_skb_set_timestamp(priv, skb, hw_tef_obj->ts); 115 tef_tail, hw_tef_obj->ts,
|
/linux-master/scripts/gdb/linux/ |
H A D | timerlist.py | 72 ts = cpus.per_cpu(tick_sched_ptr, cpu) 104 text += "\n".join([s.format(f, ts[f]) for s, f in fmts])
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | norm_desc.c | 241 static void ndesc_get_timestamp(void *desc, u32 ats, u64 *ts) argument 250 *ts = ns;
|
/linux-master/arch/arc/include/asm/ |
H A D | arcregs.h | 318 unsigned int pad:6, fbe:2, tqe:2, ts:4, ft:1, rse:2, pte:3, bce:3, ver:8; member in struct:bcr_bpu_arcv2 320 unsigned int ver:8, bce:3, pte:3, rse:2, ft:1, ts:4, tqe:2, fbe:2, pad:6;
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_lan_txrx.h | 194 u8 ts[3]; member in struct:idpf_splitq_tx_compl_desc 249 u8 ts[3]; member in struct:idpf_flex_tx_sched_desc::__anon382
|
/linux-master/drivers/net/hamradio/ |
H A D | baycom_ser_fdx.c | 191 static __inline__ void ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timespec64 *ts, unsigned char curs) argument 198 timediff = 1000000 + ts->tv_nsec / NSEC_PER_USEC - 251 struct timespec64 ts; local 261 ktime_get_ts64(&ts); 304 ser12_rx(dev, bc, &ts, msr & 0x10); /* CTS */
|
/linux-master/drivers/media/cec/core/ |
H A D | cec-api.c | 312 u64 ts = ~0ULL; local 333 if (entry && entry->ev.ts <= ts) { 336 ts = ev->ev.ts;
|