Searched refs:shutdown_gpio (Results 1 - 3 of 3) sorted by relevance

/linux-master/net/rfkill/
H A Drfkill-gpio.c22 struct gpio_desc *shutdown_gpio; member in struct:rfkill_gpio_data
37 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked);
121 rfkill->shutdown_gpio = gpio;
124 if (!rfkill->reset_gpio && !rfkill->shutdown_gpio) {
133 ret = gpiod_direction_output(rfkill->shutdown_gpio, true);
/linux-master/drivers/leds/
H A Dleds-is31fl319x.c92 struct gpio_desc *shutdown_gpio; member in struct:is31fl319x_chip
399 is31->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH);
400 if (IS_ERR(is31->shutdown_gpio))
401 return dev_err_probe(dev, PTR_ERR(is31->shutdown_gpio),
527 if (is31->shutdown_gpio) {
528 gpiod_direction_output(is31->shutdown_gpio, 0);
530 gpiod_direction_output(is31->shutdown_gpio, 1);
/linux-master/drivers/media/i2c/
H A Dhi846.c1155 struct gpio_desc *shutdown_gpio; member in struct:hi846
1643 if (hi846->shutdown_gpio)
1644 gpiod_set_value_cansleep(hi846->shutdown_gpio, 0);
1665 if (hi846->shutdown_gpio)
1666 gpiod_set_value_cansleep(hi846->shutdown_gpio, 1);
2022 hi846->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown",
2024 if (IS_ERR(hi846->shutdown_gpio)) {
2026 hi846->shutdown_gpio);
2027 return PTR_ERR(hi846->shutdown_gpio);

Completed in 139 milliseconds