Searched refs:gpioval (Results 1 – 7 of 7) sorted by relevance
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-mmc-init/ |
H A D | mmc-init.sh | 80 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 D | utils.cpp | 147 int gpioval = -1; in getGpioValue() local 160 gpioval = gpiod_line_get_value(line); in getGpioValue() 166 return gpioval; in getGpioValue()
|
H A D | bmc_state_manager.cpp | 305 auto gpioval = in discoverLastRebootCause() local 309 if (0 == gpioval) in discoverLastRebootCause()
|
H A D | chassis_state_manager.cpp | 786 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 D | eth_p4080.c | 151 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 D | mxl111sf-gpio.c | 555 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 D | af9013.c | 43 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()
|