Home
last modified time | relevance | path

Searched refs:regl (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/regulator/
Dda9063-regulator.c198 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_buck_set_mode() local
215 return regmap_field_write(regl->mode, val); in da9063_buck_set_mode()
226 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_buck_get_mode() local
231 ret = regmap_field_read(regl->mode, &val); in da9063_buck_get_mode()
250 ret = regmap_field_read(regl->suspend, &val); in da9063_buck_get_mode()
256 field = regl->suspend_sleep; in da9063_buck_get_mode()
258 field = regl->sleep; in da9063_buck_get_mode()
279 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_ldo_set_mode() local
293 return regmap_field_write(regl->sleep, val); in da9063_ldo_set_mode()
298 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_ldo_get_mode() local
[all …]
Dda9062-regulator.c110 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_buck_set_mode() local
127 return regmap_field_write(regl->mode, val); in da9062_buck_set_mode()
138 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_buck_get_mode() local
142 ret = regmap_field_read(regl->mode, &val); in da9062_buck_get_mode()
160 ret = regmap_field_read(regl->sleep, &val); in da9062_buck_get_mode()
179 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_ldo_set_mode() local
193 return regmap_field_write(regl->sleep, val); in da9062_ldo_set_mode()
198 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_ldo_get_mode() local
201 ret = regmap_field_read(regl->sleep, &val); in da9062_ldo_get_mode()
247 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_set_suspend_voltage() local
[all …]
/Linux-v5.4/drivers/power/supply/
Drt5033_battery.c39 unsigned int regh, regl; in rt5033_battery_get_watt_prop() local
46 regl = RT5033_FUEL_REG_VBAT_L; in rt5033_battery_get_watt_prop()
50 regl = RT5033_FUEL_REG_AVG_VOLT_L; in rt5033_battery_get_watt_prop()
54 regl = RT5033_FUEL_REG_OCV_L; in rt5033_battery_get_watt_prop()
61 regmap_read(battery->regmap, regl, &lsb); in rt5033_battery_get_watt_prop()
/Linux-v5.4/drivers/hwmon/
Dlm95245.c164 int ret, regl, regh, regvall, regvalh; in lm95245_read_temp() local
168 regl = channel ? LM95245_REG_R_REMOTE_TEMPL_S : in lm95245_read_temp()
172 ret = regmap_read(regmap, regl, &regvall); in lm95245_read_temp()
Dadt7411.c383 int ret, reg, regl, regh; in adt7411_read_temp() local
387 regl = channel ? ADT7411_REG_EXT_TEMP_AIN14_LSB : in adt7411_read_temp()
391 ret = adt7411_read_10_bit(client, regl, regh, 0); in adt7411_read_temp()
Dlm90.c512 static int lm90_read16(struct i2c_client *client, u8 regh, u8 regl) in lm90_read16() argument
532 l = lm90_read_reg(client, regl); in lm90_read16()
539 l = lm90_read_reg(client, regl); in lm90_read16()
/Linux-v5.4/drivers/scsi/
D3w-sas.c525 u32 regh, regl; in twl_poll_response() local
535 regl = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_poll_response()
536 mfa = ((u64)regh << 32) | regl; in twl_poll_response()
1126 u32 reg, regl, regh, response, request_id = 0; in twl_interrupt() local
1157 regl = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_interrupt()
1158 mfa = ((u64)regh << 32) | regl; in twl_interrupt()