Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nfc/
Dtrf7970a.c449 struct gpio_desc *en2_gpiod; member
1893 if (trf->en2_gpiod && in trf7970a_power_up()
1895 gpiod_set_value_cansleep(trf->en2_gpiod, 1); in trf7970a_power_up()
1925 if (trf->en2_gpiod && !(trf->quirks & TRF7970A_QUIRK_EN2_MUST_STAY_LOW)) in trf7970a_power_down()
1926 gpiod_set_value_cansleep(trf->en2_gpiod, 0); in trf7970a_power_down()
2028 trf->en2_gpiod = devm_gpiod_get_index_optional(trf->dev, "ti,enable", 1, in trf7970a_probe()
2030 if (!trf->en2_gpiod) { in trf7970a_probe()
2032 } else if (IS_ERR(trf->en2_gpiod)) { in trf7970a_probe()
2034 PTR_ERR(trf->en2_gpiod)); in trf7970a_probe()
2035 return PTR_ERR(trf->en2_gpiod); in trf7970a_probe()