Lines Matching refs:desc
221 struct regulator_desc *desc = priv->rdesc + rid; in rt5190a_of_parse_cb() local
238 desc->fixed_uV = init_data->constraints.min_uV; in rt5190a_of_parse_cb()
257 static void rt5190a_fillin_regulator_desc(struct regulator_desc *desc, int rid) in rt5190a_fillin_regulator_desc() argument
265 desc->name = regu_name[rid]; in rt5190a_fillin_regulator_desc()
266 desc->supply_name = supply[rid]; in rt5190a_fillin_regulator_desc()
267 desc->owner = THIS_MODULE; in rt5190a_fillin_regulator_desc()
268 desc->type = REGULATOR_VOLTAGE; in rt5190a_fillin_regulator_desc()
269 desc->id = rid; in rt5190a_fillin_regulator_desc()
270 desc->enable_reg = RT5190A_REG_ENABLE; in rt5190a_fillin_regulator_desc()
271 desc->enable_mask = RT5190A_RID_BITMASK(rid); in rt5190a_fillin_regulator_desc()
272 desc->active_discharge_reg = RT5190A_REG_DISCHARGE; in rt5190a_fillin_regulator_desc()
273 desc->active_discharge_mask = RT5190A_RID_BITMASK(rid); in rt5190a_fillin_regulator_desc()
274 desc->active_discharge_on = RT5190A_RID_BITMASK(rid); in rt5190a_fillin_regulator_desc()
278 desc->active_discharge_mask = RT5190A_BUCK1_DISCHG_MASK; in rt5190a_fillin_regulator_desc()
279 desc->active_discharge_on = RT5190A_BUCK1_DISCHG_ONVAL; in rt5190a_fillin_regulator_desc()
280 desc->n_voltages = 1; in rt5190a_fillin_regulator_desc()
281 desc->ops = &rt5190a_fixed_buck_ops; in rt5190a_fillin_regulator_desc()
282 desc->of_map_mode = rt5190a_of_map_mode; in rt5190a_fillin_regulator_desc()
285 desc->vsel_reg = RT5190A_REG_BUCK2VSEL; in rt5190a_fillin_regulator_desc()
286 desc->vsel_mask = RT5190A_VSEL_MASK; in rt5190a_fillin_regulator_desc()
287 desc->min_uV = RT5190A_BUCK23_MINUV; in rt5190a_fillin_regulator_desc()
288 desc->uV_step = RT5190A_BUCK23_STEPUV; in rt5190a_fillin_regulator_desc()
289 desc->n_voltages = RT5190A_BUCK23_STEPNUM; in rt5190a_fillin_regulator_desc()
290 desc->ops = &rt5190a_ranged_buck_ops; in rt5190a_fillin_regulator_desc()
293 desc->vsel_reg = RT5190A_REG_BUCK3VSEL; in rt5190a_fillin_regulator_desc()
294 desc->vsel_mask = RT5190A_VSEL_MASK; in rt5190a_fillin_regulator_desc()
295 desc->min_uV = RT5190A_BUCK23_MINUV; in rt5190a_fillin_regulator_desc()
296 desc->uV_step = RT5190A_BUCK23_STEPUV; in rt5190a_fillin_regulator_desc()
297 desc->n_voltages = RT5190A_BUCK23_STEPNUM; in rt5190a_fillin_regulator_desc()
298 desc->ops = &rt5190a_ranged_buck_ops; in rt5190a_fillin_regulator_desc()
301 desc->n_voltages = 1; in rt5190a_fillin_regulator_desc()
302 desc->ops = &rt5190a_fixed_buck_ops; in rt5190a_fillin_regulator_desc()
303 desc->of_map_mode = rt5190a_of_map_mode; in rt5190a_fillin_regulator_desc()
306 desc->n_voltages = 1; in rt5190a_fillin_regulator_desc()
307 desc->ops = &rt5190a_fixed_ldo_ops; in rt5190a_fillin_regulator_desc()
333 match->desc = reg_desc; in rt5190a_parse_regulator_dt_data()
471 struct regulator_desc *desc = priv->rdesc + i; in rt5190a_probe() local
477 priv->rdev[i] = devm_regulator_register(&i2c->dev, desc, &cfg); in rt5190a_probe()
480 desc->name); in rt5190a_probe()