Lines Matching refs:torch_gpio
81 struct gpio_desc *torch_gpio; member
223 if (flash->torch_gpio) in sgm3784_set_mode()
224 gpiod_direction_output(flash->torch_gpio, 0); in sgm3784_set_mode()
233 if (flash->torch_gpio) { in sgm3784_set_mode()
246 if (flash->torch_gpio) in sgm3784_set_mode()
247 gpiod_direction_output(flash->torch_gpio, 1); in sgm3784_set_mode()
251 if (flash->torch_gpio) in sgm3784_set_mode()
252 gpiod_direction_output(flash->torch_gpio, 0); in sgm3784_set_mode()
627 flash->torch_gpio = devm_gpiod_get(&client->dev, in sgm3784_of_init()
629 if (IS_ERR(flash->torch_gpio)) { in sgm3784_of_init()
630 flash->torch_gpio = NULL; in sgm3784_of_init()