Home
last modified time | relevance | path

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

/Linux-v6.1/net/rfkill/
Drfkill-gpio.c21 struct gpio_desc *shutdown_gpio; member
36 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
111 rfkill->shutdown_gpio = gpio; in rfkill_gpio_probe()
114 if (!rfkill->reset_gpio && !rfkill->shutdown_gpio) { in rfkill_gpio_probe()
/Linux-v6.1/drivers/leds/
Dleds-is31fl319x.c91 struct gpio_desc *shutdown_gpio; member
398 is31->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in is31fl319x_parse_fw()
399 if (IS_ERR(is31->shutdown_gpio)) in is31fl319x_parse_fw()
400 return dev_err_probe(dev, PTR_ERR(is31->shutdown_gpio), in is31fl319x_parse_fw()
521 if (is31->shutdown_gpio) { in is31fl319x_probe()
522 gpiod_direction_output(is31->shutdown_gpio, 0); in is31fl319x_probe()
524 gpiod_direction_output(is31->shutdown_gpio, 1); in is31fl319x_probe()
/Linux-v6.1/drivers/media/i2c/
Dhi846.c1155 struct gpio_desc *shutdown_gpio; member
1642 if (hi846->shutdown_gpio) in hi846_power_on()
1643 gpiod_set_value_cansleep(hi846->shutdown_gpio, 0); in hi846_power_on()
1664 if (hi846->shutdown_gpio) in hi846_power_off()
1665 gpiod_set_value_cansleep(hi846->shutdown_gpio, 1); in hi846_power_off()
2038 hi846->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", in hi846_parse_dt()
2040 if (IS_ERR(hi846->shutdown_gpio)) { in hi846_parse_dt()
2042 hi846->shutdown_gpio); in hi846_parse_dt()
2043 return PTR_ERR(hi846->shutdown_gpio); in hi846_parse_dt()
/Linux-v6.1/Documentation/firmware-guide/acpi/
Dgpio-properties.rst239 static const struct acpi_gpio_params shutdown_gpio = { 0, 0, false };
243 { "shutdown-gpios", &shutdown_gpio, 1 },