Lines Matching refs:ddata
54 struct max5970_regulator *ddata = rdev_get_drvdata(rdevs[channel]);
55 struct regmap *regmap = ddata->regmap;
67 * ddata->irng holds the voltage corresponding to the maximum value the
72 *val = (*val * ddata->irng) >> 10;
74 *val = (*val * 1000) / ddata->shunt_micro_ohms;
88 * ddata->mon_rng holds the voltage corresponding to the maximum value the
93 *val = mul_u64_u32_shr(*val, ddata->mon_rng, 10);
110 struct max5970_regulator *ddata;
115 ddata = rdev_get_drvdata(rdevs[channel]);
117 if (channel >= ddata->num_switches)
133 if (ddata->shunt_micro_ohms)