Searched refs:shutdown_gpio (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/leds/ |
A D | leds-is31fl319x.c | 66 struct gpio_desc *shutdown_gpio; member 212 is31->shutdown_gpio = devm_gpiod_get_optional(dev, in is31fl319x_parse_dt() 215 if (IS_ERR(is31->shutdown_gpio)) { in is31fl319x_parse_dt() 216 ret = PTR_ERR(is31->shutdown_gpio); in is31fl319x_parse_dt() 357 if (is31->shutdown_gpio) { in is31fl319x_probe() 358 gpiod_direction_output(is31->shutdown_gpio, 0); in is31fl319x_probe() 360 gpiod_direction_output(is31->shutdown_gpio, 1); in is31fl319x_probe()
|
/linux/net/rfkill/ |
A D | rfkill-gpio.c | 21 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/drivers/media/i2c/ |
A D | hi846.c | 1155 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/Documentation/firmware-guide/acpi/ |
A D | gpio-properties.rst | 239 static const struct acpi_gpio_params shutdown_gpio = { 0, 0, false }; 243 { "shutdown-gpios", &shutdown_gpio, 1 },
|
Completed in 15 milliseconds