Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/
H A Dmmc-init.sh80 gpioval=$(gpioget $gpiopresent)
82 gpioval=""
85 if [ -n "$gpioval" ] && [ -z "$resetval" ]; then
86 fw_setenv rwreset "$gpioval"
87 resetval=$gpioval
89 if [ "$resetval" = "true" ] || [ -n "$gpioval" ] && [ "$resetval" != "$gpioval" ]; then
96 fw_setenv rwreset "$gpioval"
/openbmc/phosphor-state-manager/
H A Dutils.cpp147 int gpioval = -1; in getGpioValue() local
160 gpioval = gpiod_line_get_value(line); in getGpioValue()
166 return gpioval; in getGpioValue()
H A Dbmc_state_manager.cpp305 auto gpioval = in discoverLastRebootCause() local
309 if (0 == gpioval) in discoverLastRebootCause()
H A Dchassis_state_manager.cpp786 auto gpioval = utils::getGpioValue("regulator-standby-faulted"); in standbyVoltageRegulatorFault() local
788 if (-1 == gpioval) in standbyVoltageRegulatorFault()
793 if (1 == gpioval) in standbyVoltageRegulatorFault()
/openbmc/u-boot/board/freescale/corenet_ds/
H A Deth_p4080.c151 uint gpioval = in_be32(&pgpio->gpdat) & ~(EMI_MASK); in p4080ds_mux_mdio() local
152 gpioval |= muxval; in p4080ds_mux_mdio()
154 out_be32(&pgpio->gpdat, gpioval); in p4080ds_mux_mdio()
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-gpio.c555 u8 gpioval = 0x07; /* write protect enabled, signal LEDs off */ in mxl111sf_hw_gpio_initialize() local
561 ret = mxl111sf_hw_set_gpio(state, i, (gpioval >> i) & 0x01); in mxl111sf_hw_gpio_initialize()
/openbmc/linux/drivers/media/dvb-frontends/
H A Daf9013.c43 static int af9013_set_gpio(struct af9013_state *state, u8 gpio, u8 gpioval) in af9013_set_gpio() argument
50 dev_dbg(&client->dev, "gpio %u, gpioval %02x\n", gpio, gpioval); in af9013_set_gpio()
85 gpioval << pos); in af9013_set_gpio()