Home
last modified time | relevance | path

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

/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Drail.cpp174 bool activeLow = gpio->activeLow; in hasPgoodFaultGPIO() local
184 if ((activeLow && (value == 1)) || (!activeLow && (value == 0))) in hasPgoodFaultGPIO()
H A Drail.hpp52 bool activeLow{false}; member
H A Dconfig_file_parser.cpp357 bool activeLow{false}; in parseGPIO() local
361 activeLow = parseBoolean(*activeLowIt, variables); in parseGPIO()
368 return PgoodGPIO(line, activeLow); in parseGPIO()
/openbmc/dbus-sensors/src/
H A DGPIOInterface.cpp20 const std::string& pinName, bool activeLow, in GPIOInterface() argument
37 activeLow ? gpiod::line_request::FLAG_ACTIVE_LOW : 0}); in GPIOInterface()
H A DGPIOInterface.hpp22 bool activeLow, Callback_t updateStateCallback);
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Drail_tests.cpp41 EXPECT_FALSE(gpio.activeLow); in TEST()
48 EXPECT_TRUE(gpio.activeLow); in TEST()
110 EXPECT_TRUE(rail.getGPIO().value().activeLow); in TEST()
333 EXPECT_FALSE(rail.getGPIO().value().activeLow); in TEST()
781 bool activeLow{true}; in TEST() local
782 std::optional<PgoodGPIO> gpio{PgoodGPIO(3, activeLow)}; in TEST()
1116 bool activeLow{false}; in TEST() local
1117 std::optional<PgoodGPIO> gpio{PgoodGPIO(3, activeLow)}; in TEST()
1145 bool activeLow{false}; in TEST() local
1146 std::optional<PgoodGPIO> gpio{PgoodGPIO(3, activeLow)}; in TEST()
[all …]
H A Ducd90320_device_tests.cpp54 bool activeLow{false}; in createRail() local
55 std::optional<PgoodGPIO> gpio{PgoodGPIO{gpioLine, activeLow}}; in createRail()
H A Ducd90160_device_tests.cpp54 bool activeLow{false}; in createRail() local
55 std::optional<PgoodGPIO> gpio{PgoodGPIO{gpioLine, activeLow}}; in createRail()
H A Ducd90x_device_tests.cpp56 bool activeLow{false}; in createRail() local
57 std::optional<PgoodGPIO> gpio{PgoodGPIO{gpioLine, activeLow}}; in createRail()
H A Dbasic_device_tests.cpp98 bool activeLow{false}; in createRail() local
99 std::optional<PgoodGPIO> gpio{PgoodGPIO{gpioLine, activeLow}}; in createRail()
H A Dstandard_device_tests.cpp123 bool activeLow{false}; in createRailGPIO() local
124 std::optional<PgoodGPIO> gpio{PgoodGPIO{gpioLine, activeLow}}; in createRailGPIO()
H A Dconfig_file_parser_tests.cpp1523 EXPECT_FALSE(gpio.activeLow); in TEST()
1537 EXPECT_TRUE(gpio.activeLow); in TEST()
1552 EXPECT_FALSE(gpio.activeLow); in TEST()
2367 EXPECT_TRUE(rail->getGPIO().value().activeLow); in TEST()
2404 EXPECT_TRUE(rail->getGPIO().value().activeLow); in TEST()
/openbmc/dbus-sensors/src/leakdetector/
H A DLeakGPIODetector.hpp47 activeLow, enumerator
55 {{"Low", PinPolarity::activeLow}, {"High", PinPolarity::activeHigh}}};
H A DLeakGPIODetector.cpp54 (config.polarity == config::PinPolarity::activeLow),
/openbmc/phosphor-buttons/inc/
H A Dgpio.hpp36 activeLow, enumerator
/openbmc/phosphor-buttons/src/
H A Dmain.cpp119 : GpioPolarity::activeLow; in main()
H A Dgpio.cpp34 {GpioPolarity::activeLow, {'0', '1'}},