Home
last modified time | relevance | path

Searched refs:shutdown_gpio (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/rfkill/
H A Drfkill-gpio.c22 struct gpio_desc *shutdown_gpio; member
41 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
125 rfkill->shutdown_gpio = gpio; in rfkill_gpio_probe()
128 if (!rfkill->reset_gpio && !rfkill->shutdown_gpio) { in rfkill_gpio_probe()
137 ret = gpiod_direction_output(rfkill->shutdown_gpio, true); in rfkill_gpio_probe()
/openbmc/linux/drivers/leds/
H A Dleds-is31fl319x.c92 struct gpio_desc *shutdown_gpio; member
399 is31->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in is31fl319x_parse_fw()
400 if (IS_ERR(is31->shutdown_gpio)) in is31fl319x_parse_fw()
401 return dev_err_probe(dev, PTR_ERR(is31->shutdown_gpio), in is31fl319x_parse_fw()
527 if (is31->shutdown_gpio) { in is31fl319x_probe()
528 gpiod_direction_output(is31->shutdown_gpio, 0); in is31fl319x_probe()
530 gpiod_direction_output(is31->shutdown_gpio, 1); in is31fl319x_probe()
/openbmc/linux/drivers/media/i2c/
H A Dhi846.c1155 struct gpio_desc *shutdown_gpio; member
1648 if (hi846->shutdown_gpio) in hi846_power_on()
1649 gpiod_set_value_cansleep(hi846->shutdown_gpio, 0); in hi846_power_on()
1670 if (hi846->shutdown_gpio) in hi846_power_off()
1671 gpiod_set_value_cansleep(hi846->shutdown_gpio, 1); in hi846_power_off()
2046 hi846->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", in hi846_parse_dt()
2048 if (IS_ERR(hi846->shutdown_gpio)) { in hi846_parse_dt()
2050 hi846->shutdown_gpio); in hi846_parse_dt()
2051 return PTR_ERR(hi846->shutdown_gpio); in hi846_parse_dt()
/openbmc/linux/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst252 static const struct acpi_gpio_params shutdown_gpio = { 0, 0, false };
256 { "shutdown-gpios", &shutdown_gpio, 1 },