Searched refs:en2_gpiod (Results 1 – 1 of 1) sorted by relevance
450 struct gpio_desc *en2_gpiod; member1895 if (trf->en2_gpiod && in trf7970a_power_up()1897 gpiod_set_value_cansleep(trf->en2_gpiod, 1); in trf7970a_power_up()1927 if (trf->en2_gpiod && !(trf->quirks & TRF7970A_QUIRK_EN2_MUST_STAY_LOW)) in trf7970a_power_down()1928 gpiod_set_value_cansleep(trf->en2_gpiod, 0); in trf7970a_power_down()2030 trf->en2_gpiod = devm_gpiod_get_index_optional(trf->dev, "ti,enable", 1, in trf7970a_probe()2032 if (!trf->en2_gpiod) { in trf7970a_probe()2034 } else if (IS_ERR(trf->en2_gpiod)) { in trf7970a_probe()2036 PTR_ERR(trf->en2_gpiod)); in trf7970a_probe()2037 return PTR_ERR(trf->en2_gpiod); in trf7970a_probe()