Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/regulator/
Dda9063-regulator.c208 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_buck_set_mode() local
225 return regmap_field_write(regl->mode, val); in da9063_buck_set_mode()
236 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_buck_get_mode() local
240 ret = regmap_field_read(regl->mode, &val); in da9063_buck_get_mode()
257 ret = regmap_field_read(regl->sleep, &val); in da9063_buck_get_mode()
274 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_ldo_set_mode() local
288 return regmap_field_write(regl->sleep, val); in da9063_ldo_set_mode()
293 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_ldo_get_mode() local
296 ret = regmap_field_read(regl->sleep, &val); in da9063_ldo_get_mode()
342 struct da9063_regulator *regl = rdev_get_drvdata(rdev); in da9063_set_suspend_voltage() local
[all …]
Dda9062-regulator.c117 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_buck_set_mode() local
134 return regmap_field_write(regl->mode, val); in da9062_buck_set_mode()
145 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_buck_get_mode() local
149 ret = regmap_field_read(regl->mode, &val); in da9062_buck_get_mode()
165 ret = regmap_field_read(regl->sleep, &val); in da9062_buck_get_mode()
182 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_ldo_set_mode() local
196 return regmap_field_write(regl->sleep, val); in da9062_ldo_set_mode()
201 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_ldo_get_mode() local
204 ret = regmap_field_read(regl->sleep, &val); in da9062_ldo_get_mode()
250 struct da9062_regulator *regl = rdev_get_drvdata(rdev); in da9062_set_suspend_voltage() local
[all …]
Dpf8x00-regulator.c285 struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev); in pf8x00_suspend_enable() local
288 return regmap_update_bits(rmap, regl->suspend_enable_reg, in pf8x00_suspend_enable()
289 regl->suspend_enable_mask, in pf8x00_suspend_enable()
290 regl->suspend_enable_mask); in pf8x00_suspend_enable()
295 struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev); in pf8x00_suspend_disable() local
298 return regmap_update_bits(rmap, regl->suspend_enable_reg, in pf8x00_suspend_disable()
299 regl->suspend_enable_mask, 0); in pf8x00_suspend_disable()
304 struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev); in pf8x00_set_suspend_voltage() local
307 if (regl->suspend_voltage_cache == uV) in pf8x00_set_suspend_voltage()
317 uV, regl->suspend_voltage_reg, regl->desc.vsel_mask, ret); in pf8x00_set_suspend_voltage()
[all …]
Dbd71815-regulator.c298 int ret, regh, regl, val; in bd7181x_buck12_get_voltage_sel() local
301 regl = BD71815_REG_BUCK1_VOLT_L + rid * 0x2; in bd7181x_buck12_get_voltage_sel()
315 ret = regmap_read(rdev->regmap, regl, &val); in bd7181x_buck12_get_voltage_sel()
330 int ret, val, reg, regh, regl; in bd7181x_buck12_set_voltage_sel() local
333 regl = BD71815_REG_BUCK1_VOLT_L + rid*0x2; in bd7181x_buck12_set_voltage_sel()
350 reg = regl; in bd7181x_buck12_set_voltage_sel()
/linux-5.19.10/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-5.19.10/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.c559 static int lm90_read16(struct i2c_client *client, u8 regh, u8 regl) in lm90_read16() argument
579 l = lm90_read_reg(client, regl); in lm90_read16()
586 l = lm90_read_reg(client, regl); in lm90_read16()
/linux-5.19.10/drivers/scsi/
D3w-sas.c524 u32 regh, regl; in twl_poll_response() local
534 regl = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_poll_response()
535 mfa = ((u64)regh << 32) | regl; in twl_poll_response()
1124 u32 reg, regl, regh, response, request_id = 0; in twl_interrupt() local
1155 regl = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); in twl_interrupt()
1156 mfa = ((u64)regh << 32) | regl; in twl_interrupt()