Lines Matching refs:reg_desc

213 	struct regulator_desc *reg_desc = &priv->desc;  in rt5759_regulator_register()  local
218 reg_desc->name = "rt5759-buck"; in rt5759_regulator_register()
219 reg_desc->type = REGULATOR_VOLTAGE; in rt5759_regulator_register()
220 reg_desc->owner = THIS_MODULE; in rt5759_regulator_register()
221 reg_desc->ops = &rt5759_regulator_ops; in rt5759_regulator_register()
222 reg_desc->n_voltages = RT5759_NUM_VOLTS; in rt5759_regulator_register()
223 reg_desc->min_uV = RT5759_MIN_UV; in rt5759_regulator_register()
224 reg_desc->uV_step = RT5759_STEP_UV; in rt5759_regulator_register()
225 reg_desc->vsel_reg = RT5759_REG_VSEL; in rt5759_regulator_register()
226 reg_desc->vsel_mask = RT5759_VSEL_MASK; in rt5759_regulator_register()
227 reg_desc->enable_reg = RT5759_REG_DCDCCTRL; in rt5759_regulator_register()
228 reg_desc->enable_mask = RT5759_ENABLE_MASK; in rt5759_regulator_register()
229 reg_desc->active_discharge_reg = RT5759_REG_DCDCCTRL; in rt5759_regulator_register()
230 reg_desc->active_discharge_mask = RT5759_DISCHARGE_MASK; in rt5759_regulator_register()
231 reg_desc->active_discharge_on = RT5759_DISCHARGE_MASK; in rt5759_regulator_register()
232 reg_desc->ramp_reg = RT5759_REG_FREQ; in rt5759_regulator_register()
233 reg_desc->ramp_mask = RT5759_TSTEP_MASK; in rt5759_regulator_register()
234 reg_desc->ramp_delay_table = rt5759_ramp_table; in rt5759_regulator_register()
235 reg_desc->n_ramp_values = ARRAY_SIZE(rt5759_ramp_table); in rt5759_regulator_register()
236 reg_desc->enable_time = RT5759_MINSS_TIMEUS; in rt5759_regulator_register()
237 reg_desc->of_map_mode = rt5759_of_map_mode; in rt5759_regulator_register()
244 reg_desc->uV_step = RT5759A_STEP_UV; in rt5759_regulator_register()
249 reg_cfg.init_data = of_get_regulator_init_data(priv->dev, np, reg_desc); in rt5759_regulator_register()
252 rdev = devm_regulator_register(priv->dev, reg_desc, &reg_cfg); in rt5759_regulator_register()