Lines Matching refs:desc
152 struct regulator_desc *desc; in pbias_regulator_probe() local
165 desc = devm_kcalloc(&pdev->dev, count, sizeof(*desc), GFP_KERNEL); in pbias_regulator_probe()
166 if (!desc) in pbias_regulator_probe()
198 desc->name = info->name; in pbias_regulator_probe()
199 desc->owner = THIS_MODULE; in pbias_regulator_probe()
200 desc->type = REGULATOR_VOLTAGE; in pbias_regulator_probe()
201 desc->ops = &pbias_regulator_voltage_ops; in pbias_regulator_probe()
202 desc->volt_table = info->pbias_volt_table; in pbias_regulator_probe()
203 desc->n_voltages = info->n_voltages; in pbias_regulator_probe()
204 desc->enable_time = info->enable_time; in pbias_regulator_probe()
205 desc->vsel_reg = offset; in pbias_regulator_probe()
206 desc->vsel_mask = info->vmode; in pbias_regulator_probe()
207 desc->enable_reg = offset; in pbias_regulator_probe()
208 desc->enable_mask = info->enable_mask; in pbias_regulator_probe()
209 desc->enable_val = info->enable; in pbias_regulator_probe()
210 desc->disable_val = info->disable_val; in pbias_regulator_probe()
215 rdev = devm_regulator_register(&pdev->dev, desc, &cfg); in pbias_regulator_probe()
222 desc++; in pbias_regulator_probe()