Home
last modified time | relevance | path

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

/openbmc/x86-power-control/src/
H A Dpower_control.cpp90 static ConfigData idButtonConfig; variable
108 {"IdButton", &idButtonConfig},
2270 bool asserted = state == idButtonConfig.polarity; in idButtonHandler()
2910 if (idButtonConfig.type == ConfigType::GPIO) in main()
2912 if (!idButtonConfig.lineName.empty()) in main()
2914 requestGPIOEvents(idButtonConfig.lineName, idButtonHandler, in main()
2918 else if (idButtonConfig.type == ConfigType::DBUS) in main()
2921 power_control::dbusGPIOMatcher(idButtonConfig, idButtonHandler); in main()
3483 if (idButtonConfig.type == ConfigType::GPIO) in main()
3489 idButtonPressed = getProperty(idButtonConfig) == 0; in main()