Lines Matching refs:desc
34 struct regulator_desc desc; member
120 const struct regulator_desc *desc) in of_get_fixed_voltage_config() argument
131 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config()
191 &drvdata->desc); in reg_fixed_voltage_probe()
201 drvdata->desc.name = devm_kstrdup(&pdev->dev, in reg_fixed_voltage_probe()
204 if (drvdata->desc.name == NULL) { in reg_fixed_voltage_probe()
208 drvdata->desc.type = REGULATOR_VOLTAGE; in reg_fixed_voltage_probe()
209 drvdata->desc.owner = THIS_MODULE; in reg_fixed_voltage_probe()
212 drvdata->desc.ops = &fixed_voltage_clkenabled_ops; in reg_fixed_voltage_probe()
220 drvdata->desc.ops = &fixed_voltage_domain_ops; in reg_fixed_voltage_probe()
228 drvdata->desc.ops = &fixed_voltage_ops; in reg_fixed_voltage_probe()
231 drvdata->desc.enable_time = config->startup_delay; in reg_fixed_voltage_probe()
232 drvdata->desc.off_on_delay = config->off_on_delay; in reg_fixed_voltage_probe()
235 drvdata->desc.supply_name = devm_kstrdup(&pdev->dev, in reg_fixed_voltage_probe()
238 if (!drvdata->desc.supply_name) in reg_fixed_voltage_probe()
243 drvdata->desc.n_voltages = 1; in reg_fixed_voltage_probe()
245 drvdata->desc.fixed_uV = config->microvolts; in reg_fixed_voltage_probe()
283 drvdata->dev = devm_regulator_register(&pdev->dev, &drvdata->desc, in reg_fixed_voltage_probe()
294 dev_dbg(&pdev->dev, "%s supplying %duV\n", drvdata->desc.name, in reg_fixed_voltage_probe()
295 drvdata->desc.fixed_uV); in reg_fixed_voltage_probe()