Home
last modified time | relevance | path

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

/linux-5.19.10/arch/parisc/kernel/
Dpdc_chassis.c241 u32 warnreg; in pdc_chassis_warn_show() local
246 warnreg = (warn & 0xFFFFFFFF); in pdc_chassis_warn_show()
248 if ((warnreg >> 24) & 0xFF) in pdc_chassis_warn_show()
250 (warnreg >> 24) & 0xFF); in pdc_chassis_warn_show()
252 seq_printf(m, "Battery: %s\n", (warnreg & 0x04) ? "Low!" : "OK"); in pdc_chassis_warn_show()
253 seq_printf(m, "Temp low: %s\n", (warnreg & 0x02) ? "Exceeded!" : "OK"); in pdc_chassis_warn_show()
254 seq_printf(m, "Temp mid: %s\n", (warnreg & 0x01) ? "Exceeded!" : "OK"); in pdc_chassis_warn_show()