Searched refs:warnreg (Results 1 – 1 of 1) sorted by relevance
241 u32 warnreg; in pdc_chassis_warn_show() local246 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()