Lines Matching refs:desc
88 struct regulator_desc desc; member
225 const struct regulator_desc *desc) in of_get_tps51632_platform_data() argument
235 desc); in of_get_tps51632_platform_data()
254 const struct regulator_desc *desc) in of_get_tps51632_platform_data() argument
284 tps->desc.name = client->name; in tps51632_probe()
285 tps->desc.id = 0; in tps51632_probe()
286 tps->desc.ramp_delay = TPS51632_DEFAULT_RAMP_DELAY; in tps51632_probe()
287 tps->desc.min_uV = TPS51632_MIN_VOLTAGE; in tps51632_probe()
288 tps->desc.uV_step = TPS51632_VOLTAGE_STEP_10mV; in tps51632_probe()
289 tps->desc.linear_min_sel = TPS51632_MIN_VSEL; in tps51632_probe()
290 tps->desc.n_voltages = TPS51632_MAX_VSEL + 1; in tps51632_probe()
291 tps->desc.ops = &tps51632_dcdc_ops; in tps51632_probe()
292 tps->desc.type = REGULATOR_VOLTAGE; in tps51632_probe()
293 tps->desc.owner = THIS_MODULE; in tps51632_probe()
297 pdata = of_get_tps51632_platform_data(&client->dev, &tps->desc); in tps51632_probe()
319 tps->desc.vsel_reg = TPS51632_VOLTAGE_BASE_REG; in tps51632_probe()
321 tps->desc.vsel_reg = TPS51632_VOLTAGE_SELECT_REG; in tps51632_probe()
322 tps->desc.vsel_mask = TPS51632_VOUT_MASK; in tps51632_probe()
345 rdev = devm_regulator_register(&client->dev, &tps->desc, &config); in tps51632_probe()