Lines Matching full:compare
139 /* clear capture or output compare interrupt status if have. in fec_ptp_enable_pps()
144 * TCSR register to be cleared before the first compare counter in fec_ptp_enable_pps()
156 /* We want to find the first compare event in the next in fec_ptp_enable_pps()
176 * is still running when we calculate the first compare event, it is in fec_ptp_enable_pps()
177 * possible that the remaining nanoseonds run out before the compare in fec_ptp_enable_pps()
179 * this possibility, we will set the compare event to be the next in fec_ptp_enable_pps()
195 /* Calculate the second the compare event timestamp */ in fec_ptp_enable_pps()
198 /* * Enable compare event when overflow */ in fec_ptp_enable_pps()
203 /* Compare channel setting. */ in fec_ptp_enable_pps()
211 /* Write the second compare event timestamp and calculate in fec_ptp_enable_pps()
259 /* Enable compare event when overflow */ in fec_ptp_pps_perout()
264 /* Compare channel setting. */ in fec_ptp_pps_perout()
272 /* Write the second compare event timestamp and calculate in fec_ptp_pps_perout()
665 /* This function checks the pps event and reloads the timer compare counter. */
676 /* Write the next next compare(not the next according the spec) in fec_pps_interrupt()