Searched refs:buttonCfg (Results 1 – 11 of 11) sorted by relevance
| /openbmc/phosphor-buttons/src/ |
| H A D | main.cpp | 62 ButtonConfig buttonCfg; in main() local 63 buttonCfg.type = ConfigType::cpld; in main() 64 buttonCfg.formFactorName = formFactorName; in main() 65 buttonCfg.extraJsonInfo = cpldConfig; in main() 72 buttonCfg.cpld = cpldCfg; in main() 75 formFactorName, bus, eventP, buttonCfg); in main() 88 ButtonConfig buttonCfg; in main() local 89 buttonCfg.formFactorName = formFactorName; in main() 90 buttonCfg.extraJsonInfo = gpioConfig; in main() 91 buttonCfg.type = ConfigType::gpio; in main() [all …]
|
| /openbmc/phosphor-buttons/inc/ |
| H A D | button_factory.hpp | 12 sdbusplus::bus_t& bus, EventPtr& event, ButtonConfig& buttonCfg)>; 41 ButtonConfig& buttonCfg) { in addToRegistry() argument 43 event, buttonCfg); in addToRegistry() 53 ButtonConfig& buttonCfg) { in addToRegistry() argument 56 buttonCfg); in addToRegistry() 66 ButtonConfig& buttonCfg) in createInstance() argument 72 return objectIter->second(bus, event, buttonCfg); in createInstance()
|
| H A D | serial_uart_mux.hpp | 24 EventPtr& event, ButtonConfig& buttonCfg) : in SerialUartMux() argument 25 ButtonIface(bus, event, buttonCfg) in SerialUartMux() 31 buttonCfg.extraJsonInfo.at("serial_uart_mux_map") in SerialUartMux() 38 if (buttonCfg.gpios.size() < 3) in SerialUartMux() 43 for (auto& gpio : buttonCfg.gpios) in SerialUartMux() 52 gpioLineCount = buttonCfg.gpios.size() - 1; in SerialUartMux()
|
| H A D | hostSelector_switch.hpp | 38 ButtonConfig& buttonCfg) : in HostSelector() argument 42 ButtonIface(bus, event, buttonCfg) in HostSelector() 46 if (buttonCfg.type == ConfigType::gpio) in HostSelector() 48 hsPosMap = buttonCfg.extraJsonInfo.at("host_selector_map") in HostSelector() 50 gpioLineCount = buttonCfg.gpios.size(); in HostSelector() 53 maxPosition(buttonCfg.extraJsonInfo["max_position"], true); in HostSelector()
|
| H A D | button_interface.hpp | 13 ButtonIface(sdbusplus::bus_t& bus, EventPtr& event, ButtonConfig& buttonCfg, in ButtonIface() argument 15 bus(bus), event(event), config(buttonCfg), callbackHandler(handler) in ButtonIface() 21 if (buttonCfg.type == ConfigType::gpio) in ButtonIface() 26 else if (buttonCfg.type == ConfigType::cpld) in ButtonIface()
|
| H A D | id_button.hpp | 39 ButtonConfig& buttonCfg) : in IDButton() argument 43 ButtonIface(bus, event, buttonCfg) in IDButton()
|
| H A D | reset_button.hpp | 39 ButtonConfig& buttonCfg) : in ResetButton() argument 43 ButtonIface(bus, event, buttonCfg) in ResetButton()
|
| H A D | debugHostSelector_button.hpp | 26 ButtonConfig& buttonCfg) : in DebugHostSelector() argument 30 ButtonIface(bus, event, buttonCfg) in DebugHostSelector()
|
| H A D | power_button.hpp | 41 ButtonConfig& buttonCfg) : in PowerButton() argument 45 ButtonIface(bus, event, buttonCfg) in PowerButton()
|
| H A D | cpld.hpp | 18 int configCpld(ButtonConfig& buttonCfg);
|
| H A D | gpio.hpp | 63 int configGroupGpio(ButtonConfig& buttonCfg);
|