/linux-5.19.10/drivers/regulator/ |
D | da9063-regulator.c | 208 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 …]
|
D | da9062-regulator.c | 117 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 …]
|
D | pf8x00-regulator.c | 285 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 …]
|
D | bd71815-regulator.c | 298 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/ |
D | rt5033_battery.c | 39 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/ |
D | lm95245.c | 164 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, ®vall); in lm95245_read_temp()
|
D | adt7411.c | 383 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()
|
D | lm90.c | 559 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/ |
D | 3w-sas.c | 524 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()
|