Lines Matching refs:desc
15 struct regulator_desc desc; member
146 data->desc.n_voltages = data->num_voltages; in cros_ec_regulator_init_info()
150 data->desc.name = devm_kstrdup(dev, resp.name, GFP_KERNEL); in cros_ec_regulator_init_info()
151 if (!data->desc.name) in cros_ec_regulator_init_info()
164 struct regulator_desc *desc; in cros_ec_regulator_probe() local
173 desc = &drvdata->desc; in cros_ec_regulator_probe()
175 init_data = of_get_regulator_init_data(dev, np, desc); in cros_ec_regulator_probe()
183 desc->owner = THIS_MODULE; in cros_ec_regulator_probe()
184 desc->type = REGULATOR_VOLTAGE; in cros_ec_regulator_probe()
185 desc->ops = &cros_ec_regulator_voltage_ops; in cros_ec_regulator_probe()
196 drvdata->dev = devm_regulator_register(dev, &drvdata->desc, &cfg); in cros_ec_regulator_probe()