Home
last modified time | relevance | path

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

/openbmc/phosphor-buttons/inc/
H A Dbutton_config.hpp10 enum class ConfigType enum
19 ConfigType type;
H A Dbutton_interface.hpp21 if (buttonCfg.type == ConfigType::gpio) in ButtonIface()
26 else if (buttonCfg.type == ConfigType::cpld) in ButtonIface()
H A DhostSelector_switch.hpp46 if (buttonCfg.type == ConfigType::gpio) in HostSelector()
/openbmc/phosphor-buttons/src/
H A DhostSelector_switch.cpp69 if (config.type == ConfigType::gpio) in setInitialHostSelectorValue()
81 else if (config.type == ConfigType::cpld) in setInitialHostSelectorValue()
151 if (config.type == ConfigType::gpio) in handleEvent()
160 else if (config.type == ConfigType::cpld) in handleEvent()
H A Dmain.cpp63 buttonCfg.type = ConfigType::cpld; in main()
91 buttonCfg.type = ConfigType::gpio; in main()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp63 enum class ConfigType enum
78 ConfigType type;
2407 tempGpioData->type = ConfigType::GPIO; in loadConfigValues()
2411 tempGpioData->type = ConfigType::DBUS; in loadConfigValues()
2420 if (tempGpioData->type == ConfigType::GPIO) in loadConfigValues()
2788 if (powerOkConfig.type == ConfigType::GPIO) in main()
2796 else if (powerOkConfig.type == ConfigType::DBUS) in main()
2810 if (sioPwrGoodConfig.type == ConfigType::GPIO) in main()
2819 else if (sioPwrGoodConfig.type == ConfigType::DBUS) in main()
2833 if (sioOnControlConfig.type == ConfigType::GPIO) in main()
[all …]