Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/
H A Dgbs-gpio-common.sh101 local active_low=${GPIO_NAMES_TO_ACTIVE_LOW["${name}"]}
102 if [[ -z ${active_low} ]]; then
110 echo "${active_low}" >"/sys/class/gpio/gpio${number}/active_low"
/openbmc/u-boot/drivers/led/
H A Dled_bcm6358.c37 bool active_low; member
72 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6358_led_get_state()
75 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6358_led_get_state()
89 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6358_led_set_state()
92 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6358_led_set_state()
164 priv->active_low = true; in bcm6358_led_probe()
H A Dled_bcm6328.c44 bool active_low; member
73 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6328_led_get_state()
76 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6328_led_get_state()
95 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6328_led_set_state()
98 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6328_led_set_state()
195 priv->active_low = true; in bcm6328_led_probe()
/openbmc/openbmc/meta-google/recipes-google/gpio/gpio-ctrl/
H A Dlib.sh170 local active_low=0
172 active_low=1
174 if ! echo "$active_low" >"/sys/class/gpio/gpio$num/active_low"; then
/openbmc/gpioplus/src/gpioplus/
H A Dhandle.cpp14 output(line_flags.output), active_low(line_flags.active_low), in HandleFlags()
29 if (active_low) in toInt()
H A Dchip.hpp30 bool active_low; member
H A Dhandle.hpp18 bool active_low; member
H A Dchip.cpp15 active_low(flags & GPIOLINE_FLAG_ACTIVE_LOW), in LineFlags()
/openbmc/gpioplus/test/
H A Dchip.cpp33 EXPECT_FALSE(line_flags.active_low); in TEST()
40 EXPECT_TRUE(line_flags.active_low); in TEST()
118 EXPECT_TRUE(retrieved_info.flags.active_low); in TEST_F()
H A Dhandle.cpp32 EXPECT_FALSE(handle_flags.active_low); in TEST()
41 handle_flags.active_low = true; in TEST()
48 handle_flags.active_low = false; in TEST()
/openbmc/u-boot/drivers/reset/
H A Dsti-reset.c57 bool active_low; member
182 .active_low = true,
230 u32 ctrl_val = reset_desc->active_low ? !assert : !!assert; in sti_reset_program_hw()
/openbmc/phosphor-power/phosphor-power-sequencer/docs/config_file/
H A Dgpio.md15 | active_low | no | boolean (true or false) | If true, the GPIO value 0 indicates a true pgoo…
/openbmc/phosphor-buttons/
H A DREADME.md227 "polarity": "active_low"
233 "polarity": "active_low"
239 "polarity": "active_low"
245 "polarity": "active_low"
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dconfig_file_parser_tests.cpp1531 "active_low": true in TEST()
1545 "active_low": "${active_low}" in TEST()
1573 "active_low": true in TEST()
1591 "active_low": true in TEST()
1609 "active_low": "true" in TEST()
1645 "active_low": "${active_low}" in TEST()
2351 "gpio": { "line": 60, "active_low": true } in TEST()
2380 "gpio": { "line": "${line}", "active_low": true } in TEST()
/openbmc/docs/designs/
H A Dgpio-based-cable-presence.md40 "Polarity": "active_low",