Lines Matching refs:gIOOptionsEntry
226 static IODTNVRAM * gIOOptionsEntry; variable
831 if (gIOChosenEntry && gIOOptionsEntry) { in IOHibernateSystemSleep()
881 gIOHibernateBootNextSave = gIOOptionsEntry->copyProperty(gIOHibernateBootNextKey); in IOHibernateSystemSleep()
882 gIOOptionsEntry->setProperty(gIOHibernateBoot0082Key, gIOHibernateBoot0082Data); in IOHibernateSystemSleep()
883 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextData); in IOHibernateSystemSleep()
949 if (!gIOOptionsEntry) { in IOSetBootImageNVRAM()
951 gIOOptionsEntry = OSDynamicCast(IODTNVRAM, regEntry); in IOSetBootImageNVRAM()
952 if (regEntry && !gIOOptionsEntry) { in IOSetBootImageNVRAM()
956 if (gIOOptionsEntry && gIOHibernateBootImageKey) { in IOSetBootImageNVRAM()
958 gIOOptionsEntry->setProperty(gIOHibernateBootImageKey, data); in IOSetBootImageNVRAM()
966 gIOOptionsEntry->removeProperty(gIOHibernateBootImageKey); in IOSetBootImageNVRAM()
968 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
972 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
1223 if (gIOOptionsEntry) { in IOHibernateSystemHasSlept()
1225 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1228 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1300 if (gIOOptionsEntry && gIOHibernateBootImageKey) { in IOHibernateSystemWake()
1305 gIOOptionsEntry->removeProperty(gIOHibernateBootImageKey); in IOHibernateSystemWake()
1361 if (gIOOptionsEntry) { in IOHibernateDone()
1363 if (gIOOptionsEntry->getProperty(gIOHibernateRTCVariablesKey)) { in IOHibernateDone()
1364 gIOOptionsEntry->removeProperty(gIOHibernateRTCVariablesKey); in IOHibernateDone()
1370 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextSave); in IOHibernateDone()
1374 gIOOptionsEntry->removeProperty(gIOHibernateBootNextKey); in IOHibernateDone()
1378 gIOOptionsEntry->sync(); in IOHibernateDone()
2868 if (!gIOOptionsEntry) { in IOHibernateSystemRestart()
2870 gIOOptionsEntry = OSDynamicCast(IODTNVRAM, regEntry); in IOHibernateSystemRestart()
2871 if (regEntry && !gIOOptionsEntry) { in IOHibernateSystemRestart()
2877 if (gIOOptionsEntry && sym) { in IOHibernateSystemRestart()
2878 gIOOptionsEntry->setProperty(sym, noteProp); in IOHibernateSystemRestart()