Lines Matching defs:desc
116 struct regulator_desc desc[TPS6507X_NUM_REGULATOR];
362 const struct regulator_desc *desc,
366 struct tps_info *info = tps->info[desc->id];
415 tps->desc[i].name = info->name;
416 tps->desc[i].of_match = of_match_ptr(info->name);
417 tps->desc[i].regulators_node = of_match_ptr("regulators");
418 tps->desc[i].of_parse_cb = tps6507x_pmic_of_parse_cb;
419 tps->desc[i].id = i;
420 tps->desc[i].n_voltages = info->table_len;
421 tps->desc[i].volt_table = info->table;
422 tps->desc[i].ops = &tps6507x_pmic_ops;
423 tps->desc[i].type = REGULATOR_VOLTAGE;
424 tps->desc[i].owner = THIS_MODULE;
430 rdev = devm_regulator_register(&pdev->dev, &tps->desc[i],