Home
last modified time | relevance | path

Searched refs:nmi_hz (Results 1 – 3 of 3) sorted by relevance

/arch/sparc/kernel/
Dnmi.c47 static unsigned int nmi_hz = HZ; variable
108 if (__this_cpu_read(alert_counter) == 30 * nmi_hz) in perfctr_irq()
116 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in perfctr_irq()
184 mdelay((20 * 1000) / nmi_hz); /* wait 20 ticks */ in check_nmi_watchdog()
201 nmi_hz = 1; in check_nmi_watchdog()
219 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in start_nmi_watchdog()
230 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in nmi_adjust_hz_one()
237 nmi_hz = new_hz; in nmi_adjust_hz()
Dpcr.c94 static u64 direct_picl_value(unsigned int nmi_hz) in direct_picl_value() argument
96 u32 delta = local_cpu_data().clock_tick / nmi_hz; in direct_picl_value()
124 static u64 n2_picl_value(unsigned int nmi_hz) in n2_picl_value() argument
126 u32 delta = local_cpu_data().clock_tick / (nmi_hz << 2); in n2_picl_value()
176 static u64 n4_picl_value(unsigned int nmi_hz) in n4_picl_value() argument
178 u32 delta = local_cpu_data().clock_tick / (nmi_hz << 2); in n4_picl_value()
/arch/sparc/include/asm/
Dpcr.h10 u64 (*nmi_picl_value)(unsigned int nmi_hz);