Home
last modified time | relevance | path

Searched refs:tai (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_tai.c152 static u64 mvpp22_calc_frac_ppm(struct mvpp2_tai *tai, long abs_scaled_ppm) in mvpp22_calc_frac_ppm() argument
154 u64 val = tai->period * abs_scaled_ppm >> 4; in mvpp22_calc_frac_ppm()
159 static s32 mvpp22_calc_max_adj(struct mvpp2_tai *tai) in mvpp22_calc_max_adj() argument
166 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_adjfine() local
177 val = mvpp22_calc_frac_ppm(tai, scaled_ppm); in mvpp22_tai_adjfine()
195 base = tai->base; in mvpp22_tai_adjfine()
196 spin_lock_irqsave(&tai->lock, flags); in mvpp22_tai_adjfine()
200 spin_unlock_irqrestore(&tai->lock, flags); in mvpp22_tai_adjfine()
207 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_adjtime() local
226 base = tai->base; in mvpp22_tai_adjtime()
[all …]
Dmvpp2.h971 struct mvpp2_tai *tai; member
1441 void mvpp22_tai_tstamp(struct mvpp2_tai *tai, u32 tstamp,
1443 void mvpp22_tai_start(struct mvpp2_tai *tai);
1444 void mvpp22_tai_stop(struct mvpp2_tai *tai);
1445 int mvpp22_tai_ptp_clock_index(struct mvpp2_tai *tai);
1451 static inline void mvpp22_tai_tstamp(struct mvpp2_tai *tai, u32 tstamp, in mvpp22_tai_tstamp() argument
1455 static inline void mvpp22_tai_start(struct mvpp2_tai *tai) in mvpp22_tai_start() argument
1458 static inline void mvpp22_tai_stop(struct mvpp2_tai *tai) in mvpp22_tai_stop() argument
1461 static inline int mvpp22_tai_ptp_clock_index(struct mvpp2_tai *tai) in mvpp22_tai_ptp_clock_index() argument
Dmvpp2_main.c3017 mvpp22_tai_tstamp(port->priv->tai, ts, &shhwtstamps); in mvpp2_isr_handle_ptp_queue()
3630 mvpp22_tai_tstamp(port->priv->tai, timestamp, in mvpp2_rx()
4799 mvpp22_tai_start(port->priv->tai); in mvpp2_set_ts_config()
4821 mvpp22_tai_stop(port->priv->tai); in mvpp2_set_ts_config()
4855 info->phc_index = mvpp22_tai_ptp_clock_index(port->priv->tai); in mvpp2_ethtool_get_ts_info()
6448 if (priv->tai) in mvpp2_port_probe()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dso_txtime.sh27 ! ./so_txtime -4 -6 -c tai a,-1 a,-1
28 ! ./so_txtime -4 -6 -c tai a,0 a,0
29 ./so_txtime -4 -6 -c tai a,10 a,10
30 ./so_txtime -4 -6 -c tai a,10,b,20 a,10,b,20
31 ./so_txtime -4 -6 -c tai a,20,b,10 b,10,a,20
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dleap-a-day.c144 tx.tai, in sigalarm()
153 tx.tai, in sigalarm()
331 struct timespec tai; in main() local
338 clock_gettime(CLOCK_TAI, &tai); in main()
340 tai.tv_sec, in main()
341 tai.tv_nsec, in main()
350 tx.tai, in main()
D.gitignore15 set-tai
DMakefile12 leapcrash set-tai set-2038 set-tz
Dset-tai.c47 return tx.tai; in get_tai()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dtimex.h43 int tai; member
83 int tai; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dtimex.h89 int tai; /* TAI offset (ro) */ member
129 int tai; /* TAI offset (ro) */ member
/kernel/linux/linux-5.10/include/linux/
Dtime32.h47 s32 tai; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dtimex.h30 int tai; member
/kernel/linux/linux-5.10/kernel/time/
Dntp.c769 txc->tai = *time_tai; in __do_adjtimex()
783 txc->tai++; in __do_adjtimex()
788 txc->tai--; in __do_adjtimex()
Dtimekeeping.c2391 s32 orig_tai, tai; in do_adjtimex() local
2419 orig_tai = tai = tk->tai_offset; in do_adjtimex()
2420 ret = __do_adjtimex(txc, &ts, &tai, &ad); in do_adjtimex()
2422 if (tai != orig_tai) { in do_adjtimex()
2423 __timekeeping_set_tai_offset(tk, tai); in do_adjtimex()
2437 if (tai != orig_tai) in do_adjtimex()
Dtime.c343 tx32.tai = txc->tai; in put_old_timex32()
/kernel/linux/linux-5.10/Documentation/core-api/
Dtimekeeping.rst119 in user space, along with the equivalent boottime/tai/raw