Searched refs:regl (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/regulator/ |
D | da9063-regulator.c | 198 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 …]
|
D | da9062-regulator.c | 110 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/ |
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-v5.4/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 | 512 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/ |
D | 3w-sas.c | 525 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()
|