/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_tai.c | 152 static u64 mvpp22_calc_frac_ppm(struct mvpp2_tai *tai, long abs_scaled_ppm) argument 154 u64 val = tai->period * abs_scaled_ppm >> 4; 159 static s32 mvpp22_calc_max_adj(struct mvpp2_tai *tai) argument 166 struct mvpp2_tai *tai = ptp_to_tai(ptp); local 177 val = mvpp22_calc_frac_ppm(tai, scaled_ppm); 195 base = tai->base; 196 spin_lock_irqsave(&tai->lock, flags); 200 spin_unlock_irqrestore(&tai->lock, flags); 207 struct mvpp2_tai *tai = ptp_to_tai(ptp); local 226 base = tai 239 struct mvpp2_tai *tai = ptp_to_tai(ptp); local 279 struct mvpp2_tai *tai = ptp_to_tai(ptp); local 304 struct mvpp2_tai *tai = ptp_to_tai(ptp); local 311 mvpp22_tai_set_step(struct mvpp2_tai *tai) argument 330 mvpp22_tai_init(struct mvpp2_tai *tai) argument 340 mvpp22_tai_ptp_clock_index(struct mvpp2_tai *tai) argument 345 mvpp22_tai_tstamp(struct mvpp2_tai *tai, u32 tstamp, struct skb_shared_hwtstamps *hwtstamp) argument 371 mvpp22_tai_start(struct mvpp2_tai *tai) argument 380 mvpp22_tai_stop(struct mvpp2_tai *tai) argument 387 struct mvpp2_tai *tai = priv; local 395 struct mvpp2_tai *tai; local [all...] |
H A D | mvpp2.h | 1060 struct mvpp2_tai *tai; member in struct:mvpp2 1539 void mvpp22_tai_tstamp(struct mvpp2_tai *tai, u32 tstamp, 1541 void mvpp22_tai_start(struct mvpp2_tai *tai); 1542 void mvpp22_tai_stop(struct mvpp2_tai *tai); 1543 int mvpp22_tai_ptp_clock_index(struct mvpp2_tai *tai); 1549 static inline void mvpp22_tai_tstamp(struct mvpp2_tai *tai, u32 tstamp, argument 1553 static inline void mvpp22_tai_start(struct mvpp2_tai *tai) argument 1556 static inline void mvpp22_tai_stop(struct mvpp2_tai *tai) argument 1559 static inline int mvpp22_tai_ptp_clock_index(struct mvpp2_tai *tai) argument
|
H A D | mvpp2_main.c | 3417 mvpp22_tai_tstamp(port->priv->tai, ts, &shhwtstamps); 4027 mvpp22_tai_tstamp(port->priv->tai, timestamp, 5209 mvpp22_tai_start(port->priv->tai); 5231 mvpp22_tai_stop(port->priv->tai); 5265 info->phc_index = mvpp22_tai_ptp_clock_index(port->priv->tai); 6819 if (priv->tai)
|
/linux-master/tools/testing/selftests/timers/ |
H A D | Makefile | 12 leapcrash set-tai set-2038 set-tz
|
H A D | leap-a-day.c | 144 tx.tai, 153 tx.tai, 331 struct timespec tai; local 338 clock_gettime(CLOCK_TAI, &tai); 340 tai.tv_sec, 341 tai.tv_nsec, 350 tx.tai,
|
H A D | set-tai.c | 1 /* Set tai offset 47 return tx.tai; 55 printf("tai offset started at %i\n", ret); 57 printf("Checking tai offsets can be properly set: ");
|
/linux-master/tools/testing/selftests/net/ |
H A D | so_txtime.sh | 94 do_fail_test 4 tai a,-1 a,-1 95 do_fail_test 6 tai a,0 a,0 96 do_test 6 tai a,10 a,10 97 do_test 4 tai a,10,b,20 a,10,b,20 98 do_test 6 tai a,20,b,10 b,10,a,20
|
/linux-master/include/uapi/linux/ |
H A D | timex.h | 89 int tai; /* TAI offset (ro) */ member in struct:timex 129 int tai; /* TAI offset (ro) */ member in struct:__kernel_timex
|
/linux-master/include/linux/ |
H A D | time32.h | 47 s32 tai; member in struct:old_timex32
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | tsn_lib.sh | 159 --utc-tai-offset ${UTC_TAI_OFFSET} \ 236 --utc-tai-offset ${UTC_TAI_OFFSET} \
|
/linux-master/kernel/time/ |
H A D | ntp.c | 817 txc->tai = *time_tai; 831 txc->tai++; 836 txc->tai--;
|
H A D | time.c | 343 tx32.tai = txc->tai;
|
H A D | timekeeping.c | 541 * ktime_get_tai_fast_ns - NMI safe and fast access to tai clock. 2301 * @offs_tai: pointer to storage for monotonic -> clock tai offset 2430 s32 orig_tai, tai; local 2460 orig_tai = tai = tk->tai_offset; 2461 ret = __do_adjtimex(txc, &ts, &tai, &ad); 2463 if (tai != orig_tai) { 2464 __timekeeping_set_tai_offset(tk, tai);
|