Lines Matching refs:mode
80 int mode;
130 switch (c->mode) {
167 if (c->mode == TIMER_RATEGEN) {
264 * For mode 0, see if the elapsed time is greater
268 if (c->mode == TIMER_INTTC && vatpit_get_out(vatpit, channel))
301 int sel, rw, mode;
305 mode = val & TIMER_MODE_MASK;
315 * Counter mode is not affected when issuing a
318 if (mode != TIMER_INTTC &&
319 mode != TIMER_RATEGEN &&
320 mode != TIMER_SQWAVE &&
321 mode != TIMER_SWSTROBE)
329 c->mode = mode;
355 VM_CTR0(vatpit->vm, "vatpit attempt to read mode");
384 * TSC calibration). Assuming the access mode is 16-bit,