Searched refs:vin_regulator (Results 1 – 2 of 2) sorted by relevance
23 struct regulator *vin_regulator; member47 ret = regulator_enable(priv->vin_regulator); in sgm3140_strobe_set()61 ret = regulator_disable(priv->vin_regulator); in sgm3140_strobe_set()111 ret = regulator_enable(priv->vin_regulator); in sgm3140_brightness_set()123 ret = regulator_disable(priv->vin_regulator); in sgm3140_brightness_set()142 regulator_disable(priv->vin_regulator); in sgm3140_powerdown_timer()211 priv->vin_regulator = devm_regulator_get(&pdev->dev, "vin"); in sgm3140_probe()212 ret = PTR_ERR_OR_ZERO(priv->vin_regulator); in sgm3140_probe()
427 struct regulator *vin_regulator; member1887 ret = regulator_enable(trf->vin_regulator); in trf7970a_power_up()1930 ret = regulator_disable(trf->vin_regulator); in trf7970a_power_down()2069 trf->vin_regulator = devm_regulator_get(&spi->dev, "vin"); in trf7970a_probe()2070 if (IS_ERR(trf->vin_regulator)) { in trf7970a_probe()2071 ret = PTR_ERR(trf->vin_regulator); in trf7970a_probe()2076 ret = regulator_enable(trf->vin_regulator); in trf7970a_probe()2082 uvolts = regulator_get_voltage(trf->vin_regulator); in trf7970a_probe()2144 regulator_disable(trf->vin_regulator); in trf7970a_probe()2164 regulator_disable(trf->vin_regulator); in trf7970a_remove()