Lines Matching refs:gIOOptionsEntry

217 static IODTNVRAM *              gIOOptionsEntry;  variable
742 if (gIOChosenEntry && gIOOptionsEntry) { in IOHibernateSystemSleep()
792 gIOHibernateBootNextSave = gIOOptionsEntry->copyProperty(gIOHibernateBootNextKey); in IOHibernateSystemSleep()
793 gIOOptionsEntry->setProperty(gIOHibernateBoot0082Key, gIOHibernateBoot0082Data); in IOHibernateSystemSleep()
794 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextData); in IOHibernateSystemSleep()
859 if (!gIOOptionsEntry) { in IOSetBootImageNVRAM()
861 gIOOptionsEntry = OSDynamicCast(IODTNVRAM, regEntry); in IOSetBootImageNVRAM()
862 if (regEntry && !gIOOptionsEntry) { in IOSetBootImageNVRAM()
866 if (gIOOptionsEntry && gIOHibernateBootImageKey) { in IOSetBootImageNVRAM()
868 gIOOptionsEntry->setProperty(gIOHibernateBootImageKey, data); in IOSetBootImageNVRAM()
876 gIOOptionsEntry->removeProperty(gIOHibernateBootImageKey); in IOSetBootImageNVRAM()
878 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
882 gIOOptionsEntry->sync(); in IOSetBootImageNVRAM()
1133 if (gIOOptionsEntry) { in IOHibernateSystemHasSlept()
1135 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1138 gIOOptionsEntry->sync(); in IOHibernateSystemHasSlept()
1210 if (gIOOptionsEntry && gIOHibernateBootImageKey) { in IOHibernateSystemWake()
1215 gIOOptionsEntry->removeProperty(gIOHibernateBootImageKey); in IOHibernateSystemWake()
1271 if (gIOOptionsEntry) { in IOHibernateDone()
1273 if (gIOOptionsEntry->getProperty(gIOHibernateRTCVariablesKey)) { in IOHibernateDone()
1274 gIOOptionsEntry->removeProperty(gIOHibernateRTCVariablesKey); in IOHibernateDone()
1280 gIOOptionsEntry->setProperty(gIOHibernateBootNextKey, gIOHibernateBootNextSave); in IOHibernateDone()
1284 gIOOptionsEntry->removeProperty(gIOHibernateBootNextKey); in IOHibernateDone()
1288 gIOOptionsEntry->sync(); in IOHibernateDone()
2748 if (!gIOOptionsEntry) { in IOHibernateSystemRestart()
2750 gIOOptionsEntry = OSDynamicCast(IODTNVRAM, regEntry); in IOHibernateSystemRestart()
2751 if (regEntry && !gIOOptionsEntry) { in IOHibernateSystemRestart()
2757 if (gIOOptionsEntry && sym) { in IOHibernateSystemRestart()
2758 gIOOptionsEntry->setProperty(sym, noteProp); in IOHibernateSystemRestart()