Lines Matching refs:pm1_status
129 static uint16_t pm1_enable, pm1_status; variable
152 if ((pm1_enable & PM1_TMR_EN) && (pm1_status & PM1_TMR_STS)) in sci_update()
154 if ((pm1_enable & PM1_GBL_EN) && (pm1_status & PM1_GBL_STS)) in sci_update()
156 if ((pm1_enable & PM1_PWRBTN_EN) && (pm1_status & PM1_PWRBTN_STS)) in sci_update()
158 if ((pm1_enable & PM1_SLPBTN_EN) && (pm1_status & PM1_SLPBTN_STS)) in sci_update()
160 if ((pm1_enable & PM1_RTC_EN) && (pm1_status & PM1_RTC_STS)) in sci_update()
181 *eax = pm1_status; in pm1_status_handler()
187 pm1_status &= ~(*eax & (PM1_WAK_STS | PM1_RTC_STS | in pm1_status_handler()
218 INOUT_PORT(pm1_status, PM1A_EVT_ADDR, IOPORT_F_INOUT, pm1_status_handler);
229 if (!(pm1_status & PM1_PWRBTN_STS)) { in power_button_handler()
230 pm1_status |= PM1_PWRBTN_STS; in power_button_handler()
257 if (!(pm1_status & PM1_PWRBTN_STS)) { in power_button_handler()
258 pm1_status |= PM1_PWRBTN_STS; in power_button_handler()