Home
last modified time | relevance | path

Searched refs:tclk_period (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/Documentation/devicetree/bindings/ptp/
Dptp-qoriq.txt33 tclk_period = desired clock period nanoseconds
34 NominalFreq = 1000 / tclk_period MHz
41 tmr_fiper1 = tmr_prsc * tclk_period * FiperDiv1 - tclk_period
/Linux-v5.4/drivers/ptp/
Dptp_qoriq.c60 ns -= ptp_qoriq->tclk_period; in set_alarm()
422 ptp_qoriq->tclk_period = 1000000000UL / nominal_freq; in ptp_qoriq_auto_config()
435 ptp_qoriq->tmr_fiper1 = DEFAULT_FIPER1_PERIOD - ptp_qoriq->tclk_period; in ptp_qoriq_auto_config()
436 ptp_qoriq->tmr_fiper2 = DEFAULT_FIPER2_PERIOD - ptp_qoriq->tclk_period; in ptp_qoriq_auto_config()
472 "fsl,tclk-period", &ptp_qoriq->tclk_period) || in ptp_qoriq_init()
516 (ptp_qoriq->tclk_period & TCLK_PERIOD_MASK) << TCLK_PERIOD_SHIFT | in ptp_qoriq_init()
/Linux-v5.4/include/linux/fsl/
Dptp_qoriq.h154 u32 tclk_period; /* nanoseconds */ member