Lines Matching refs:rtc_freq
144 static unsigned long rtc_freq = 0; /* Current periodic IRQ rate */ variable
184 mod_timer(&rtc_irq_timer, jiffies + HZ/rtc_freq + 2*HZ/100); in rtc_interrupt()
347 if ((rtc_freq > rtc_max_user_freq) && in rtc_ioctl()
353 rtc_irq_timer.expires = jiffies + HZ/rtc_freq + 2*HZ/100; in rtc_ioctl()
527 return put_user(rtc_freq, (unsigned long *)arg); in rtc_ioctl()
556 rtc_freq = arg; in rtc_ioctl()
801 rtc_freq = HZ; in rtc_init()
853 rtc_freq = 1024; in rtc_init()
910 mod_timer(&rtc_irq_timer, jiffies + HZ/rtc_freq + 2*HZ/100); in rtc_dropped_irq()
912 rtc_irq_data += ((rtc_freq/HZ)<<8); in rtc_dropped_irq()
916 freq = rtc_freq; in rtc_dropped_irq()
945 freq = rtc_freq; in rtc_proc_output()