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()
434 struct regulator *vin_regulator; member1938 ret = regulator_enable(trf->vin_regulator); in trf7970a_power_up()1981 ret = regulator_disable(trf->vin_regulator); in trf7970a_power_down()2139 trf->vin_regulator = devm_regulator_get(&spi->dev, "vin"); in trf7970a_probe()2140 if (IS_ERR(trf->vin_regulator)) { in trf7970a_probe()2141 ret = PTR_ERR(trf->vin_regulator); in trf7970a_probe()2146 ret = regulator_enable(trf->vin_regulator); in trf7970a_probe()2152 uvolts = regulator_get_voltage(trf->vin_regulator); in trf7970a_probe()2214 regulator_disable(trf->vin_regulator); in trf7970a_probe()2234 regulator_disable(trf->vin_regulator); in trf7970a_remove()