Lines Matching defs:clock

82  * clock() is called straight from the clock cyclic; see clock_init().
85 * reprime clock
111 * time_state shows the state of the system clock, with values defined
114 * time_status shows the status of the system clock, with bits defined
123 * CPU clock oscillator and is a property of the architecture; however,
128 * in cases where a precision clock counter or external clock is
130 * whether the external clock is working or not.
139 int32_t time_state = TIME_OK; /* clock state */
140 int32_t time_status = STA_UNSYNC; /* clock status bits */
144 int32_t time_precision = 1; /* clock precision (us) */
150 * residual time and frequency offset of the local clock. The scale
192 * pps_usec is latched from a high resolution counter or external clock
251 * original symbols removed from the system. The once clock driven variables are
253 * the appropriate clock resolution. The default event driven implementation is
256 * reprogramed to fire at a clock tick interval to serve consumers of lbolt who
315 static int tod_broken = 0; /* clock chip doesn't work */
317 cyclic_id_t clock_cyclic; /* clock()'s cyclic_id */
352 * tod_get() in clock(), the deferment is lifted there.
395 clock(void)
422 * the time delta processing which occurs every clock tick
571 * got the clock interrupt not the thread that is
582 * stack and not the current CPU handling the clock
617 * Check for a callout that needs be called from the clock
648 * increased to compensate for the CPU clock oscillator
660 * the end of the day, the system clock is set back one
661 * second; if in leap-delete state, the system clock is
663 * external clock driver will insure that reported time
771 * Note: the clock synchronization code now assumes
778 * of the software clock and should not be adjusted,
814 * the clock; record that.
851 cmn_err(CE_WARN, "clock: maxswap < free");
853 cmn_err(CE_WARN, "clock: maxswap < resv");
955 * Setup handler and timer for the clock cyclic.
957 clk_hdlr.cyh_func = (cyc_func_t)clock;
1010 * reboot, we calculate the number of clock ticks the system's been up
1078 * Run every second from clock () to update the loadavg count available to the
1160 * clock_update() - local clock update
1162 * This routine is called by ntp_adjtime() to update the local clock
1168 * ntp_adjtime() occur only when the caller believes the local clock
1242 * ddi_hardpps() - discipline CPU clock oscillator to external PPS signal
1245 * the CPU clock oscillator to the PPS signal. It measures the PPS phase
1246 * and leaves it in a handy spot for the clock() routine. It
1248 * frequency offset. This is used in clock() to discipline the CPU
1249 * clock oscillator so that intrinsic frequency error is cancelled out.
1254 * priority level higher than the timer interrupt routine clock().
1255 * Therefore, the variables used are distinct from the clock()
1261 * once per second by clock() and is atomically cleared in this
1283 * occurs in the clock() routine before the time variable is
1448 * will be processed later by the clock() routine.
1505 * Handle clock tick processing for a thread.
1543 * Update process times. Should use high res clock and state
1781 * Delay specified number of clock ticks.
1792 * Delay a random number of clock ticks between 1 and ticks.
1873 * is negative or is earlier than 1987, we set the clock
2000 panic("deadman: timed out after %d seconds of clock "
2058 * (3) TOD_RDONLY: when the TOD clock is not writeable e.g. because it is
2071 "Time of Day clock.");
2078 cmn_err(CE_WARN, "Time of Day clock error: "
2080 " Stopped tracking Time Of Day clock.",
2089 cmn_err(CE_WARN, "Time of Day clock error: "
2091 " Stopped tracking Time Of Day clock.",
2099 cmn_err(CE_NOTE, "!Time of Day clock is "
2365 /* ERROR - change in clock rate */
2422 * time by the number of nanoseconds per clock tick. In the cyclic driven mode
2453 * Align the next expiration to a clock tick boundary.