Searched refs:shutdown_gpio (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/net/rfkill/ |
H 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() 123 ret = gpiod_direction_output(rfkill->shutdown_gpio, true); in rfkill_gpio_probe()
|
/kernel/linux/linux-6.6/net/rfkill/ |
H A D | rfkill-gpio.c | 22 struct gpio_desc *shutdown_gpio; member 37 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power() 121 rfkill->shutdown_gpio = gpio; in rfkill_gpio_probe() 124 if (!rfkill->reset_gpio && !rfkill->shutdown_gpio) { in rfkill_gpio_probe() 133 ret = gpiod_direction_output(rfkill->shutdown_gpio, true); in rfkill_gpio_probe()
|
/kernel/linux/linux-5.10/drivers/leds/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-is31fl319x.c | 92 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()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | hi846.c | 1155 struct gpio_desc *shutdown_gpio; member 1648 if (hi846->shutdown_gpio) in hi846_power_on() 1649 gpiod_set_value_cansleep(hi846->shutdown_gpio, 0); in hi846_power_on() 1670 if (hi846->shutdown_gpio) in hi846_power_off() 1671 gpiod_set_value_cansleep(hi846->shutdown_gpio, 1); in hi846_power_off() 2046 hi846->shutdown_gpio = devm_gpiod_get_optional(dev, "shutdown", in hi846_parse_dt() 2048 if (IS_ERR(hi846->shutdown_gpio)) { in hi846_parse_dt() 2050 hi846->shutdown_gpio); in hi846_parse_dt() 2051 return PTR_ERR(hi846->shutdown_gpio); in hi846_parse_dt()
|
Completed in 5 milliseconds