Home
last modified time | relevance | path

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

/openbmc/x86-power-control/src/
H A Dpower_control.cpp91 static ConfigData nmiButtonConfig; variable
109 {"NMIButton", &nmiButtonConfig},
2252 bool asserted = state == nmiButtonConfig.polarity; in nmiButtonHandler()
2895 if (nmiButtonConfig.type == ConfigType::GPIO) in main()
2897 if (!nmiButtonConfig.lineName.empty()) in main()
2899 requestGPIOEvents(nmiButtonConfig.lineName, nmiButtonHandler, in main()
2903 else if (nmiButtonConfig.type == ConfigType::DBUS) in main()
2906 power_control::dbusGPIOMatcher(nmiButtonConfig, nmiButtonHandler); in main()
3446 if (nmiButtonConfig.type == ConfigType::GPIO) in main()
3452 nmiButtonPressed = getProperty(nmiButtonConfig) == 0; in main()