Lines Matching refs:now
458 unsigned long now = jiffies; in ati_remote_compute_accel() local
461 if (time_after(now, ati_remote->old_jiffies + msecs_to_jiffies(250))) { in ati_remote_compute_accel()
463 ati_remote->acc_jiffies = now; in ati_remote_compute_accel()
465 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(125))) in ati_remote_compute_accel()
467 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(250))) in ati_remote_compute_accel()
469 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(500))) in ati_remote_compute_accel()
471 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(1000))) in ati_remote_compute_accel()
473 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(1500))) in ati_remote_compute_accel()
475 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(2000))) in ati_remote_compute_accel()
575 unsigned long now = jiffies; in ati_remote_input_report() local
579 time_before(now, ati_remote->old_jiffies + in ati_remote_input_report()
584 ati_remote->first_jiffies = now; in ati_remote_input_report()
587 ati_remote->old_jiffies = now; in ati_remote_input_report()
595 time_before(now, ati_remote->first_jiffies + in ati_remote_input_report()