Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A 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 …]
H A Dmvpp2.h1060 struct mvpp2_tai *tai; member
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, in mvpp22_tai_tstamp() argument
1553 static inline void mvpp22_tai_start(struct mvpp2_tai *tai) in mvpp22_tai_start() argument
1556 static inline void mvpp22_tai_stop(struct mvpp2_tai *tai) in mvpp22_tai_stop() argument
1559 static inline int mvpp22_tai_ptp_clock_index(struct mvpp2_tai *tai) in mvpp22_tai_ptp_clock_index() argument
H A Dmvpp2_main.c3405 mvpp22_tai_tstamp(port->priv->tai, ts, &shhwtstamps); in mvpp2_isr_handle_ptp_queue()
4018 mvpp22_tai_tstamp(port->priv->tai, timestamp, in mvpp2_rx()
5200 mvpp22_tai_start(port->priv->tai); in mvpp2_set_ts_config()
5222 mvpp22_tai_stop(port->priv->tai); in mvpp2_set_ts_config()
5256 info->phc_index = mvpp22_tai_ptp_clock_index(port->priv->tai); in mvpp2_ethtool_get_ts_info()
6843 if (priv->tai) in mvpp2_port_probe()
/openbmc/linux/tools/testing/selftests/net/
H A Dso_txtime.sh80 ! do_test 4 tai a,-1 a,-1
81 ! do_test 6 tai a,0 a,0
82 do_test 6 tai a,10 a,10
83 do_test 4 tai a,10,b,20 a,10,b,20
84 do_test 6 tai a,20,b,10 b,10,a,20
/openbmc/linux/tools/testing/selftests/timers/
H A 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()
H A D.gitignore15 set-tai
H A DMakefile12 leapcrash set-tai set-2038 set-tz
H A Dset-tai.c47 return tx.tai; in get_tai()
/openbmc/linux/include/uapi/linux/
H A Dtimex.h89 int tai; /* TAI offset (ro) */ member
129 int tai; /* TAI offset (ro) */ member
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh159 --utc-tai-offset ${UTC_TAI_OFFSET} \
236 --utc-tai-offset ${UTC_TAI_OFFSET} \
/openbmc/phosphor-ipmi-flash/bmc/version-handler/
H A Dversion_handler.cpp25 [infoP = info.get()](TriggerableActionInterface& tai) { in VersionBlobHandler() argument
30 if (tai.status() != ActionStatus::success) in VersionBlobHandler()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/
H A Dlog_handler.cpp38 [infoP = info.get()](TriggerableActionInterface& tai) { in LogBlobHandler() argument
43 if (tai.status() != ActionStatus::success) in LogBlobHandler()
/openbmc/linux/include/linux/
H A Dtime32.h47 s32 tai; member
/openbmc/linux/kernel/time/
H A Dntp.c816 txc->tai = *time_tai; in __do_adjtimex()
830 txc->tai++; in __do_adjtimex()
835 txc->tai--; in __do_adjtimex()
H A Dtime.c343 tx32.tai = txc->tai; in put_old_timex32()
H A Dtimekeeping.c2429 s32 orig_tai, tai; in do_adjtimex() local
2459 orig_tai = tai = tk->tai_offset; in do_adjtimex()
2460 ret = __do_adjtimex(txc, &ts, &tai, &ad); in do_adjtimex()
2462 if (tai != orig_tai) { in do_adjtimex()
2463 __timekeeping_set_tai_offset(tk, tai); in do_adjtimex()
/openbmc/linux/Documentation/core-api/
H A Dtimekeeping.rst119 in user space, along with the equivalent boottime/tai/raw
/openbmc/qemu/linux-user/
H A Dsyscall_defs.h296 abi_int tai; /* TAI offset */ member
327 abi_int tai; /* TAI offset */ member
H A Dsyscall.c7433 __get_user(host_tx->tai, &target_tx->tai); in target_to_host_timex()
7468 __put_user(host_tx->tai, &target_tx->tai); in host_to_target_timex()
7510 __get_user(host_tx->tai, &target_tx->tai); in target_to_host_timex64()
7549 __put_user(host_tx->tai, &target_tx->tai); in host_to_target_timex64()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/emacs/
H A Demacs_29.1.bb199 ${datadir}/${BPN}/${PV}/lisp/language/tai-viet.elc \
/openbmc/linux/Documentation/trace/
H A Dftrace.rst551 tai:
552 This is the tai clock (CLOCK_TAI) and is derived from the wall-
/openbmc/linux/
H A Dopengrok1.0.log[all...]