Searched refs:warnreg (Results 1 – 1 of 1) sorted by relevance
252 u32 warnreg; in pdc_chassis_warn_show() local257 warnreg = (warn & 0xFFFFFFFF); in pdc_chassis_warn_show()259 if ((warnreg >> 24) & 0xFF) in pdc_chassis_warn_show()261 (warnreg >> 24) & 0xFF); in pdc_chassis_warn_show()263 seq_printf(m, "Battery: %s\n", (warnreg & 0x04) ? "Low!" : "OK"); in pdc_chassis_warn_show()264 seq_printf(m, "Temp low: %s\n", (warnreg & 0x02) ? "Exceeded!" : "OK"); in pdc_chassis_warn_show()265 seq_printf(m, "Temp mid: %s\n", (warnreg & 0x01) ? "Exceeded!" : "OK"); in pdc_chassis_warn_show()