Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/regulator/
Dtps65132-regulator.c50 struct gpio_desc *en_gpiod; member
71 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable()
72 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable()
96 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_disable()
97 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in tps65132_regulator_disable()
117 if (!IS_ERR(rpdata->en_gpiod)) in tps65132_regulator_is_enabled()
142 rpdata->en_gpiod = devm_fwnode_get_index_gpiod_from_child(tps->dev, in tps65132_of_parse_cb()
144 if (IS_ERR(rpdata->en_gpiod)) { in tps65132_of_parse_cb()
145 ret = PTR_ERR(rpdata->en_gpiod); in tps65132_of_parse_cb()
/Linux-v4.19/drivers/nfc/
Dtrf7970a.c451 struct gpio_desc *en_gpiod; member
1903 gpiod_set_value_cansleep(trf->en_gpiod, 1); in trf7970a_power_up()
1927 gpiod_set_value_cansleep(trf->en_gpiod, 0); in trf7970a_power_down()
2025 trf->en_gpiod = devm_gpiod_get_index(trf->dev, "ti,enable", 0, in trf7970a_probe()
2027 if (IS_ERR(trf->en_gpiod)) { in trf7970a_probe()
2029 return PTR_ERR(trf->en_gpiod); in trf7970a_probe()