Lines Matching refs:gIOOptionsEntry

221 static IODTNVRAM *              gIOOptionsEntry;  variable
778 if (gIOChosenEntry && gIOOptionsEntry) { in IOHibernateSystemSleep()
828 gIOHibernateBootNextSave = gIOOptionsEntry->copyProperty(gIOHibernateBootNextKey); in IOHibernateSystemSleep()
829 gIOOptionsEntry->setProperty(gIOHibernateBoot0082Key, gIOHibernateBoot0082Data); in IOHibernateSystemSleep()
830 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextData); in IOHibernateSystemSleep()
896 if (!gIOOptionsEntry) { in IOSetBootImageNVRAM()
898 gIOOptionsEntry = OSDynamicCast(IODTNVRAM, regEntry); in IOSetBootImageNVRAM()
899 if (regEntry && !gIOOptionsEntry) { in IOSetBootImageNVRAM()
903 if (gIOOptionsEntry && gIOHibernateBootImageKey) { in IOSetBootImageNVRAM()
905 gIOOptionsEntry->setProperty(gIOHibernateBootImageKey, data); in IOSetBootImageNVRAM()
913 gIOOptionsEntry->removeProperty(gIOHibernateBootImageKey); in IOSetBootImageNVRAM()
915 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
919 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
1170 if (gIOOptionsEntry) { in IOHibernateSystemHasSlept()
1172 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1175 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1247 if (gIOOptionsEntry && gIOHibernateBootImageKey) { in IOHibernateSystemWake()
1252 gIOOptionsEntry->removeProperty(gIOHibernateBootImageKey); in IOHibernateSystemWake()
1308 if (gIOOptionsEntry) { in IOHibernateDone()
1310 if (gIOOptionsEntry->getProperty(gIOHibernateRTCVariablesKey)) { in IOHibernateDone()
1311 gIOOptionsEntry->removeProperty(gIOHibernateRTCVariablesKey); in IOHibernateDone()
1317 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextSave); in IOHibernateDone()
1321 gIOOptionsEntry->removeProperty(gIOHibernateBootNextKey); in IOHibernateDone()
1325 gIOOptionsEntry->sync(); in IOHibernateDone()
2806 if (!gIOOptionsEntry) { in IOHibernateSystemRestart()
2808 gIOOptionsEntry = OSDynamicCast(IODTNVRAM, regEntry); in IOHibernateSystemRestart()
2809 if (regEntry && !gIOOptionsEntry) { in IOHibernateSystemRestart()
2815 if (gIOOptionsEntry && sym) { in IOHibernateSystemRestart()
2816 gIOOptionsEntry->setProperty(sym, noteProp); in IOHibernateSystemRestart()