Searched refs:ts (Results 476 - 500 of 795) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c140 struct skb_shared_hwtstamps ts; local
162 memset(&ts, 0, sizeof(ts));
163 ts.hwtstamp = ns_to_ktime(tsns);
164 skb_tstamp_tx(skb, &ts);
1085 struct timespec64 ts; local
1097 ts = ns_to_timespec64(pfvf->ptp->tstamp);
1098 origin_tstamp->seconds_msb = htons((ts.tv_sec >> 32) & 0xffff);
1099 origin_tstamp->seconds_lsb = htonl(ts.tv_sec & 0xffffffff);
1100 origin_tstamp->nanoseconds = htonl(ts
[all...]
/linux-master/fs/
H A Deventpoll.c2484 struct timespec64 ts, *to = NULL; local
2487 if (get_timespec64(&ts, timeout))
2489 to = &ts;
2490 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec))
2541 struct timespec64 ts, *to = NULL; local
2544 if (get_timespec64(&ts, timeout))
2546 to = &ts;
2547 if (poll_select_set_timeout(to, ts.tv_sec, ts
[all...]
H A Daio.c2228 struct timespec64 *ts)
2230 ktime_t until = ts ? timespec64_to_ktime(*ts) : KTIME_MAX;
2263 struct timespec64 ts; local
2266 if (timeout && unlikely(get_timespec64(&ts, timeout)))
2269 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2291 struct timespec64 ts; local
2295 if (timeout && unlikely(get_timespec64(&ts, timeout)))
2305 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2326 struct timespec64 ts; local
2224 do_io_getevents(aio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct timespec64 *ts) argument
[all...]
/linux-master/tools/perf/util/
H A Dstat-display.c1239 char *prefix, size_t len, struct timespec *ts)
1246 (unsigned long) ts->tv_sec, ts->tv_nsec);
1249 (unsigned long) ts->tv_sec, ts->tv_nsec, config->csv_sep);
1252 (unsigned long) ts->tv_sec, ts->tv_nsec);
1545 struct target *_target, struct timespec *ts,
1562 prepare_interval(config, buf, sizeof(buf), ts);
1582 iostat_print_counters(evlist, config, ts, bu
1238 prepare_interval(struct perf_stat_config *config, char *prefix, size_t len, struct timespec *ts) argument
1544 evlist__print_counters(struct evlist *evlist, struct perf_stat_config *config, struct target *_target, struct timespec *ts, int argc, const char **argv) argument
[all...]
/linux-master/drivers/iio/accel/
H A Dmma8452.c118 s64 ts __aligned(8);
1026 s64 ts = iio_get_time_ns(indio_dev); local
1038 ts);
1045 ts);
1052 ts);
1076 s64 ts = iio_get_time_ns(indio_dev); local
1083 ts);
H A Dfxls8962af-core.c164 s64 ts __aligned(8);
987 s64 ts = iio_get_time_ns(indio_dev); local
1001 IIO_EV_TYPE_THRESH, ev_code), ts);
1009 IIO_EV_TYPE_THRESH, ev_code), ts);
1017 IIO_EV_TYPE_THRESH, ev_code), ts);
/linux-master/drivers/input/
H A Devdev.c146 struct timespec64 ts = ktime_to_timespec64(ev_time[client->clk_type]); local
149 ev.input_event_sec = ts.tv_sec;
150 ev.input_event_usec = ts.tv_nsec / NSEC_PER_USEC;
250 struct timespec64 ts; local
256 ts = ktime_to_timespec64(ev_time[client->clk_type]);
257 event.input_event_sec = ts.tv_sec;
258 event.input_event_usec = ts.tv_nsec / NSEC_PER_USEC;
/linux-master/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c2207 struct task_status_struct *ts = &task->task_status; local
2232 ts->residual = trans_tx_fail_type;
2233 ts->stat = SAS_DATA_UNDERRUN;
2235 ts->stat = SAS_QUEUE_FULL;
2238 ts->stat = SAS_OPEN_REJECT;
2239 ts->open_rej_reason = SAS_OREJ_RSVD_RETRY;
2254 ts->stat = SAS_PROTO_RESPONSE;
2257 ts->residual = trans_tx_fail_type;
2258 ts->stat = SAS_DATA_UNDERRUN;
2261 ts
2285 struct task_status_struct *ts; local
[all...]
/linux-master/fs/udf/
H A Dinode.c1330 struct timespec64 ts; local
1507 udf_disk_stamp_to_time(&ts, fe->accessTime);
1508 inode_set_atime_to_ts(inode, ts);
1509 udf_disk_stamp_to_time(&ts, fe->modificationTime);
1510 inode_set_mtime_to_ts(inode, ts);
1511 udf_disk_stamp_to_time(&ts, fe->attrTime);
1512 inode_set_ctime_to_ts(inode, ts);
1524 udf_disk_stamp_to_time(&ts, efe->accessTime);
1525 inode_set_atime_to_ts(inode, ts);
1526 udf_disk_stamp_to_time(&ts, ef
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Ddebug.c812 struct ath_tx_status *ts, struct ath_txq *txq,
826 if (ts->ts_status & ATH9K_TXERR_XRETRY)
832 if (ts->ts_status & ATH9K_TXERR_FILT)
834 if (ts->ts_status & ATH9K_TXERR_FIFO)
836 if (ts->ts_status & ATH9K_TXERR_XTXOP)
838 if (ts->ts_status & ATH9K_TXERR_TIMER_EXPIRED)
840 if (ts->ts_flags & ATH9K_TX_DESC_CFG_ERR)
842 if (ts->ts_flags & ATH9K_TX_DATA_UNDERRUN)
844 if (ts->ts_flags & ATH9K_TX_DELIM_UNDERRUN)
811 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/drivers/net/ethernet/sfc/
H A Dptp.c356 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts);
460 struct timespec64 ts = ns_to_timespec64(ns); local
461 u32 maj = (u32)ts.tv_sec;
462 u32 min = (u32)(((u64)ts.tv_nsec * NS_TO_S27_MULT +
503 struct timespec64 ts = ns_to_timespec64(ns); local
505 *nic_major = (u32)ts.tv_sec;
506 *nic_minor = ts.tv_nsec * 4;
2143 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument
2165 *ts = ktime_to_timespec64(kt);
/linux-master/fs/smb/client/
H A Dcifsfs.c192 struct timespec64 ts; local
221 ts = cnvrtDosUnixTm(cpu_to_le16(SMB_DATE_MIN), 0, 0);
222 sb->s_time_min = ts.tv_sec;
223 ts = cnvrtDosUnixTm(cpu_to_le16(SMB_DATE_MAX),
225 sb->s_time_max = ts.tv_sec;
232 ts = cifs_NTtimeToUnix(0);
233 sb->s_time_min = ts.tv_sec;
234 ts = cifs_NTtimeToUnix(cpu_to_le64(S64_MAX));
235 sb->s_time_max = ts.tv_sec;
H A Ddfs_cache.c110 struct timespec64 ts; local
112 ktime_get_coarse_real_ts64(&ts);
113 return timespec64_compare(&ts, &ce->etime) >= 0;
350 struct timespec64 ts = { local
357 return timespec64_add(now, ts);
/linux-master/sound/soc/codecs/
H A Didt821034.c165 u8 ts; local
182 ts = idt821034->cache.ch[0].rx_slot;
185 ts = idt821034->cache.ch[0].tx_slot;
187 ts = 0x00;
191 ret = idt821034_2x8bit_write(idt821034, conf, ts);
/linux-master/drivers/soc/fsl/qe/
H A Dtsa.c368 u32 ts; local
370 route_name = is_rx ? "fsl,rx-ts-routes" : "fsl,tx-ts-routes";
383 ts = 0;
401 dev_dbg(tsa->dev, "tdm_id=%u, %s ts %u..%u -> %s\n",
402 tdm_id, route_name, ts, ts+count-1, serial_name);
403 ts += count;
/linux-master/net/netfilter/
H A Dnfnetlink_log.c603 struct nfulnl_msg_packet_timestamp ts; local
604 ts.sec = cpu_to_be64(kts.tv_sec);
605 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC);
607 if (nla_put(inst->skb, NFULA_TIMESTAMP, sizeof(ts), &ts))
/linux-master/net/ipv6/
H A Dioam6.c703 struct timespec64 ts; local
750 ts = ktime_to_timespec64(tstamp);
752 *(__be32 *)data = cpu_to_be32((u32)ts.tv_sec);
764 ts = ktime_to_timespec64(tstamp);
767 *(__be32 *)data = cpu_to_be32((u32)(ts.tv_nsec / NSEC_PER_USEC));
/linux-master/fs/xfs/
H A Dxfs_rtalloc.c1267 struct timespec64 ts; /* timespec in inode */ local
1271 ts = inode_get_atime(VFS_I(mp->m_rbmip));
1276 seq = ts.tv_sec;
1289 ts.tv_sec = seq + 1;
1290 inode_set_atime_to_ts(VFS_I(mp->m_rbmip), ts);
/linux-master/fs/exfat/
H A Dinode.c29 struct timespec64 ts; local
59 ts = inode_get_mtime(inode);
60 exfat_set_entry_time(sbi, &ts,
65 ts = inode_get_atime(inode);
66 exfat_set_entry_time(sbi, &ts,
/linux-master/net/ipv4/
H A Dtcp.c1734 tss->ts[0] = ktime_to_timespec64(skb->tstamp);
1736 tss->ts[0] = (struct timespec64) {0};
1739 tss->ts[2] = ktime_to_timespec64(skb_hwtstamps(skb)->hwtstamp);
1741 tss->ts[2] = (struct timespec64) {0};
2230 if (tss->ts[0].tv_sec || tss->ts[0].tv_nsec) {
2235 .tv_sec = tss->ts[0].tv_sec,
2236 .tv_nsec = tss->ts[0].tv_nsec,
2242 .tv_sec = tss->ts[0].tv_sec,
2243 .tv_nsec = tss->ts[
[all...]
/linux-master/net/
H A Dcompat.c252 struct __kernel_old_timespec *ts = data; local
254 cts[i].tv_sec = ts[i].tv_sec;
255 cts[i].tv_nsec = ts[i].tv_nsec;
/linux-master/fs/nfs/
H A Dinode.c1435 struct timespec64 ts; local
1447 ts = inode_get_ctime(inode);
1450 && timespec64_equal(&ts, &fattr->pre_ctime)) {
1454 ts = inode_get_mtime(inode);
1457 && timespec64_equal(&ts, &fattr->pre_mtime)) {
1483 struct timespec64 ts; local
1509 ts = inode_get_mtime(inode);
1510 if ((fattr->valid & NFS_ATTR_FATTR_MTIME) && !timespec64_equal(&ts, &fattr->mtime))
1513 ts = inode_get_ctime(inode);
1514 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) && !timespec64_equal(&ts,
[all...]
/linux-master/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c259 struct mtk_btcvsd_snd_time_buffer_info *ts)
261 ts->time_stamp_us = bt->tx->time_stamp;
262 ts->data_count_equi_time = bt->tx->buf_data_equivalent_time;
266 struct mtk_btcvsd_snd_time_buffer_info *ts)
268 ts->time_stamp_us = bt->rx->time_stamp;
269 ts->data_count_equi_time = bt->rx->buf_data_equivalent_time;
258 get_tx_time_stamp(struct mtk_btcvsd_snd *bt, struct mtk_btcvsd_snd_time_buffer_info *ts) argument
265 get_rx_time_stamp(struct mtk_btcvsd_snd *bt, struct mtk_btcvsd_snd_time_buffer_info *ts) argument
/linux-master/fs/ntfs3/
H A Dntfs_fs.h984 static inline __le64 kernel2nt(const struct timespec64 *ts) argument
988 (ts->tv_sec + SecondsToStartOf1970) +
989 ts->tv_nsec / NTFS_TIME_GRAN);
995 static inline void nt2kernel(const __le64 tm, struct timespec64 *ts) argument
1000 ts->tv_nsec = do_div(t, _100ns2seconds) * 100;
1001 ts->tv_sec = t;
/linux-master/drivers/net/fddi/skfp/h/
H A Dsmt.h739 struct smt_p_timestamp ts ; /* time stamp */ member in struct:smt_sif_config
757 struct smt_p_timestamp ts ; /* time stamp */ member in struct:smt_sif_operation

Completed in 261 milliseconds

<<11121314151617181920>>