Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/rfkill/
A Drfkill-gpio.c21 struct gpio_desc *shutdown_gpio; member
36 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
120 rfkill->shutdown_gpio = gpio; in rfkill_gpio_probe()
123 if (!rfkill->reset_gpio && !rfkill->shutdown_gpio) { in rfkill_gpio_probe()
/linux-6.3-rc2/drivers/leds/
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()
/linux-6.3-rc2/drivers/media/i2c/
A 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()
2040 hi846->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", in hi846_parse_dt()
2042 if (IS_ERR(hi846->shutdown_gpio)) { in hi846_parse_dt()
2044 hi846->shutdown_gpio); in hi846_parse_dt()
2045 return PTR_ERR(hi846->shutdown_gpio); in hi846_parse_dt()
/linux-6.3-rc2/Documentation/firmware-guide/acpi/
A Dgpio-properties.rst252 static const struct acpi_gpio_params shutdown_gpio = { 0, 0, false };
256 { "shutdown-gpios", &shutdown_gpio, 1 },

Completed in 14 milliseconds