Searched refs:en2_gpiod (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/nfc/ |
H A D | trf7970a.c | 449 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() [all...] |
/kernel/linux/linux-6.6/drivers/nfc/ |
H A D | trf7970a.c | 449 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() [all...] |
Completed in 6 milliseconds