Searched refs:en_gpiod (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/regulator/ |
| H A D | aw37503-regulator.c | 37 struct gpio_desc *en_gpiod; member 53 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_enable() 54 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in aw37503_regulator_enable() 78 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_disable() 79 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in aw37503_regulator_disable() 92 if (!IS_ERR(rpdata->en_gpiod)) in aw37503_regulator_is_enabled() 117 rpdata->en_gpiod = devm_fwnode_gpiod_get(chip->dev, of_fwnode_handle(np), in aw37503_of_parse_cb() 121 if (IS_ERR(rpdata->en_gpiod)) { in aw37503_of_parse_cb() 122 ret = PTR_ERR(rpdata->en_gpiod); in aw37503_of_parse_cb()
|
| H A D | tps65132-regulator.c | 50 struct gpio_desc *en_gpiod; member 68 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable() 69 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable() 93 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_disable() 94 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in tps65132_regulator_disable() 114 if (!IS_ERR(rpdata->en_gpiod)) in tps65132_regulator_is_enabled() 139 rpdata->en_gpiod = devm_fwnode_gpiod_get(tps->dev, of_fwnode_handle(np), in tps65132_of_parse_cb() 142 if (IS_ERR(rpdata->en_gpiod)) { in tps65132_of_parse_cb() 143 ret = PTR_ERR(rpdata->en_gpiod); in tps65132_of_parse_cb()
|
| H A D | adp5055-regulator.c | 62 struct gpio_desc *en_gpiod[ADP5055_NUM_CH]; member 209 adp5055->en_gpiod[id] = devm_fwnode_gpiod_get(config->dev, in adp5055_of_parse_cb() 212 if (IS_ERR(adp5055->en_gpiod[id])) in adp5055_of_parse_cb() 213 return dev_err_probe(config->dev, PTR_ERR(adp5055->en_gpiod[id]), in adp5055_of_parse_cb() 216 config->ena_gpiod = adp5055->en_gpiod[id]; in adp5055_of_parse_cb()
|
| /linux/drivers/nfc/ |
| H A D | trf7970a.c | 456 struct gpio_desc *en_gpiod; member 1952 gpiod_set_value_cansleep(trf->en_gpiod, 1); in trf7970a_power_up() 1976 gpiod_set_value_cansleep(trf->en_gpiod, 0); in trf7970a_power_down() 2079 trf->en_gpiod = devm_gpiod_get_index(trf->dev, "ti,enable", 0, in trf7970a_probe() 2081 if (IS_ERR(trf->en_gpiod)) { in trf7970a_probe() 2083 return PTR_ERR(trf->en_gpiod); in trf7970a_probe()
|