Lines Matching refs:tts
31 static struct tst_ts tts = { 0, };
38 tts.type = TST_KERN_TIMESPEC;
44 tts.type = TST_KERN_OLD_TIMESPEC;
53 ret = func(clk_id, tst_ts_get(&tts));
54 res->tv_sec = tst_ts_get_sec(tts);
55 res->tv_nsec = tst_ts_get_nsec(tts);
61 static struct tst_ts tts = { 0, };
68 tts.type = TST_KERN_TIMESPEC;
74 tts.type = TST_KERN_OLD_TIMESPEC;
83 ret = func(clk_id, tst_ts_get(&tts));
84 ts->tv_sec = tst_ts_get_sec(tts);
85 ts->tv_nsec = tst_ts_get_nsec(tts);
91 static struct tst_ts tts = { 0, };
97 tts.type = TST_KERN_TIMESPEC;
103 tts.type = TST_KERN_OLD_TIMESPEC;
112 tst_ts_set_sec(&tts, ts->tv_sec);
113 tst_ts_set_nsec(&tts, ts->tv_nsec);
114 return func(clk_id, tst_ts_get(&tts));