Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/kernel/
H A Dnmi.c47 static unsigned int nmi_hz = HZ; variable
113 if (__this_cpu_read(alert_counter) == 30 * nmi_hz) in perfctr_irq()
121 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in perfctr_irq()
189 mdelay((20 * 1000) / nmi_hz); /* wait 20 ticks */ in check_nmi_watchdog()
206 nmi_hz = 1; in check_nmi_watchdog()
224 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in start_nmi_watchdog()
235 pcr_ops->write_pic(0, pcr_ops->nmi_picl_value(nmi_hz)); in nmi_adjust_hz_one()
242 nmi_hz = new_hz; in nmi_adjust_hz()
H A 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()
/openbmc/linux/arch/sparc/include/asm/
H A Dpcr.h10 u64 (*nmi_picl_value)(unsigned int nmi_hz);