Home
last modified time | relevance | path

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

/openbmc/phosphor-buttons/inc/
H A Dgpio.hpp34 enum class GpioPolarity enum
53 GpioPolarity polarity;
74 void setGpioState(int fd, GpioPolarity polarity, GpioState state);
76 GpioState getGpioState(int fd, GpioPolarity polarity);
/openbmc/phosphor-buttons/src/
H A Dgpio.cpp33 std::unordered_map<GpioPolarity, GPIOBufferValue> GpioValueMap = {
34 {GpioPolarity::activeLow, {'0', '1'}},
35 {GpioPolarity::activeHigh, {'1', '0'}}};
37 void setGpioState(int fd, GpioPolarity polarity, GpioState state) in setGpioState()
58 GpioState getGpioState(int fd, GpioPolarity polarity) in getGpioState()
H A Dmain.cpp118 ? GpioPolarity::activeHigh in main()
119 : GpioPolarity::activeLow; in main()
/openbmc/qemu/include/hw/misc/
H A Dled.h94 GpioPolarity gpio_polarity,
/openbmc/qemu/hw/misc/
H A Dled.c138 GpioPolarity gpio_polarity, in type_init()
/openbmc/qemu/include/hw/
H A Dqdev-core.h603 } GpioPolarity; typedef
/openbmc/qemu/
H A Dmeson.build4062 'GpioPolarity',