Home
last modified time | relevance | path

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

/linux-6.12.1/net/rfkill/
Drfkill-gpio.c23 struct gpio_desc *shutdown_gpio; member
38 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
139 rfkill->shutdown_gpio = gpio; in rfkill_gpio_probe()
142 if (!rfkill->reset_gpio && !rfkill->shutdown_gpio) { in rfkill_gpio_probe()
151 ret = gpiod_direction_output(rfkill->shutdown_gpio, true); in rfkill_gpio_probe()
/linux-6.12.1/drivers/leds/
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()
515 if (is31->shutdown_gpio) { in is31fl319x_probe()
516 gpiod_direction_output(is31->shutdown_gpio, 0); in is31fl319x_probe()
518 gpiod_direction_output(is31->shutdown_gpio, 1); in is31fl319x_probe()
/linux-6.12.1/drivers/media/i2c/
Dhi846.c1155 struct gpio_desc *shutdown_gpio; member
1643 if (hi846->shutdown_gpio) in hi846_power_on()
1644 gpiod_set_value_cansleep(hi846->shutdown_gpio, 0); in hi846_power_on()
1665 if (hi846->shutdown_gpio) in hi846_power_off()
1666 gpiod_set_value_cansleep(hi846->shutdown_gpio, 1); in hi846_power_off()
2022 hi846->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", in hi846_parse_dt()
2024 if (IS_ERR(hi846->shutdown_gpio)) { in hi846_parse_dt()
2026 hi846->shutdown_gpio); in hi846_parse_dt()
2027 return PTR_ERR(hi846->shutdown_gpio); in hi846_parse_dt()
/linux-6.12.1/Documentation/firmware-guide/acpi/
Dgpio-properties.rst252 static const struct acpi_gpio_params shutdown_gpio = { 0, 0, false };
256 { "shutdown-gpios", &shutdown_gpio, 1 },