Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/amd64/
H A Dpm.c115 static uint16_t pm1_enable, pm1_status; variable
138 if ((pm1_enable & PM1_TMR_EN) && (pm1_status & PM1_TMR_STS)) in sci_update()
140 if ((pm1_enable & PM1_GBL_EN) && (pm1_status & PM1_GBL_STS)) in sci_update()
142 if ((pm1_enable & PM1_PWRBTN_EN) && (pm1_status & PM1_PWRBTN_STS)) in sci_update()
144 if ((pm1_enable & PM1_SLPBTN_EN) && (pm1_status & PM1_SLPBTN_STS)) in sci_update()
146 if ((pm1_enable & PM1_RTC_EN) && (pm1_status & PM1_RTC_STS)) in sci_update()
191 *eax = pm1_enable; in pm1_enable_handler()
198 pm1_enable = *eax & (PM1_RTC_EN | PM1_PWRBTN_EN | PM1_GBL_EN); in pm1_enable_handler()
205 INOUT_PORT(pm1_enable, PM1A_EVT_ADDR + 2, IOPORT_F_INOUT, pm1_enable_handler);