Searched refs:vin_regulator (Results 1 – 2 of 2) sorted by relevance
100 struct regulator *vin_regulator; member442 regulator_disable(chip->vin_regulator); in sy7802_regulator_disable_action()479 chip->vin_regulator = devm_regulator_get(dev, "vin"); in sy7802_probe()480 ret = PTR_ERR_OR_ZERO(chip->vin_regulator); in sy7802_probe()484 ret = regulator_enable(chip->vin_regulator); in sy7802_probe()
433 struct regulator *vin_regulator; member1937 ret = regulator_enable(trf->vin_regulator); in trf7970a_power_up()1980 ret = regulator_disable(trf->vin_regulator); in trf7970a_power_down()2138 trf->vin_regulator = devm_regulator_get(&spi->dev, "vin"); in trf7970a_probe()2139 if (IS_ERR(trf->vin_regulator)) { in trf7970a_probe()2140 ret = PTR_ERR(trf->vin_regulator); in trf7970a_probe()2145 ret = regulator_enable(trf->vin_regulator); in trf7970a_probe()2151 uvolts = regulator_get_voltage(trf->vin_regulator); in trf7970a_probe()2213 regulator_disable(trf->vin_regulator); in trf7970a_probe()2233 regulator_disable(trf->vin_regulator); in trf7970a_remove()