Lines Matching +full:2 +full:- +full:phase
4 * SPDX-License-Identifier: Apache-2.0
75 #define GPTP_POW2(exp) pow(2, exp)
88 res /= 2; in gptp_pow2()
98 /* Pre-calculated constants */
99 /* 2^16 */
101 /* 2^41 */
105 * have that bit set to 1. IEEE 802.1AS chapter 10.5.2.2.2
139 uint8_t octets[2];
154 /** Version of the PTP, always 2. */
184 /** Control value. Sync: 0, Follow-up: 2, Others: 5. */
195 (uscaled_ns_ptr)->low = \
197 (uscaled_ns_ptr)->high = 0; \
204 * @brief Define callback that is called after a phase discontinuity has been
222 * @brief Phase discontinuity callback structure.
224 * Stores the phase discontinuity callback information. Caller must make sure
233 /** Phase discontinuity callback. */
249 /** Phase change on the last Time Base Indicator Change. */
252 /** Time Base - changed only if Phase or Frequency changes. */
257 * @brief Register a phase discontinuity callback.
266 * @brief Unregister a phase discontinuity callback.
273 * @brief Call a phase discontinuity callback function.
314 * @param cb User-supplied callback function to call
329 * the ClockMaster entity of a time-aware system.