Home
last modified time | relevance | path

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

/openbmc/x86-power-control/src/
H A Dpower_control.cpp88 static ConfigData powerButtonConfig; variable
106 {"PowerButton", &powerButtonConfig},
2055 bool asserted = state == powerButtonConfig.polarity; in powerButtonHandler()
2863 if (powerButtonConfig.type == ConfigType::GPIO) in main()
2865 if (!requestGPIOEvents(powerButtonConfig.lineName, powerButtonHandler, in main()
2871 else if (powerButtonConfig.type == ConfigType::DBUS) in main()
2874 power_control::dbusGPIOMatcher(powerButtonConfig, in main()
3304 if (!powerButtonConfig.lineName.empty()) in main()
3344 if (powerButtonConfig.type == ConfigType::GPIO) in main()
3350 powerButtonPressed = getProperty(powerButtonConfig) == 0; in main()