Searched refs:en_gpiod (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | dio5632-regulator.c | 38 struct gpio_desc *en_gpiod; member 54 if (!IS_ERR(rpdata->en_gpiod)) { in DIO5632_regulator_enable() 55 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in DIO5632_regulator_enable() 79 if (!IS_ERR(rpdata->en_gpiod)) { in DIO5632_regulator_disable() 80 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in DIO5632_regulator_disable() 93 if (!IS_ERR(rpdata->en_gpiod)) in DIO5632_regulator_is_enabled() 118 rpdata->en_gpiod = devm_fwnode_get_index_gpiod_from_child(dio->dev, in DIO5632_of_parse_cb() 121 if (IS_ERR_OR_NULL(rpdata->en_gpiod)) { in DIO5632_of_parse_cb() 122 ret = PTR_ERR(rpdata->en_gpiod); in DIO5632_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()
|
| /OK3568_Linux_fs/kernel/drivers/nfc/ |
| H A D | trf7970a.c | 448 struct gpio_desc *en_gpiod; member 1899 gpiod_set_value_cansleep(trf->en_gpiod, 1); in trf7970a_power_up() 1923 gpiod_set_value_cansleep(trf->en_gpiod, 0); in trf7970a_power_down() 2021 trf->en_gpiod = devm_gpiod_get_index(trf->dev, "ti,enable", 0, in trf7970a_probe() 2023 if (IS_ERR(trf->en_gpiod)) { in trf7970a_probe() 2025 return PTR_ERR(trf->en_gpiod); in trf7970a_probe()
|