Home
last modified time | relevance | path

Searched refs:en2_gpiod (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/nfc/
Dtrf7970a.c449 struct gpio_desc *en2_gpiod; member
1894 if (trf->en2_gpiod && in trf7970a_power_up()
1896 gpiod_set_value_cansleep(trf->en2_gpiod, 1); in trf7970a_power_up()
1926 if (trf->en2_gpiod && !(trf->quirks & TRF7970A_QUIRK_EN2_MUST_STAY_LOW)) in trf7970a_power_down()
1927 gpiod_set_value_cansleep(trf->en2_gpiod, 0); in trf7970a_power_down()
2029 trf->en2_gpiod = devm_gpiod_get_index_optional(trf->dev, "ti,enable", 1, in trf7970a_probe()
2031 if (!trf->en2_gpiod) { in trf7970a_probe()
2033 } else if (IS_ERR(trf->en2_gpiod)) { in trf7970a_probe()
2035 PTR_ERR(trf->en2_gpiod)); in trf7970a_probe()
2036 return PTR_ERR(trf->en2_gpiod); in trf7970a_probe()