Searched refs:vdd_io (Results 1 – 5 of 5) sorted by relevance
37 lsm9ds0->vdd_io = devm_regulator_get(dev, "vddio"); in st_lsm9ds0_power_enable()38 if (IS_ERR(lsm9ds0->vdd_io)) { in st_lsm9ds0_power_enable()41 return PTR_ERR(lsm9ds0->vdd_io); in st_lsm9ds0_power_enable()43 ret = regulator_enable(lsm9ds0->vdd_io); in st_lsm9ds0_power_enable()57 regulator_disable(lsm9ds0->vdd_io); in st_lsm9ds0_power_disable()97 data->vdd_io = lsm9ds0->vdd_io; in st_lsm9ds0_probe_accel()126 data->vdd_io = lsm9ds0->vdd_io; in st_lsm9ds0_probe_magn()
17 struct regulator *vdd_io; member
240 pdata->vdd_io = devm_regulator_get(indio_dev->dev.parent, "vddio"); in st_sensors_power_enable()241 if (IS_ERR(pdata->vdd_io)) { in st_sensors_power_enable()243 err = PTR_ERR(pdata->vdd_io); in st_sensors_power_enable()246 err = regulator_enable(pdata->vdd_io); in st_sensors_power_enable()266 regulator_disable(pdata->vdd_io); in st_sensors_power_disable()
1138 ks->vdd_io = devm_regulator_get(dev, "vdd-io"); in ks8851_probe_common()1139 if (IS_ERR(ks->vdd_io)) { in ks8851_probe_common()1140 ret = PTR_ERR(ks->vdd_io); in ks8851_probe_common()1144 ret = regulator_enable(ks->vdd_io); in ks8851_probe_common()1244 regulator_disable(ks->vdd_io); in ks8851_probe_common()1263 regulator_disable(priv->vdd_io); in ks8851_remove_common()
408 struct regulator *vdd_io; member