Lines Matching defs:desc
108 struct regulator_desc desc[TPS6507X_NUM_REGULATOR];
354 const struct regulator_desc *desc,
358 struct tps_info *info = tps->info[desc->id];
407 tps->desc[i].name = info->name;
408 tps->desc[i].of_match = of_match_ptr(info->name);
409 tps->desc[i].regulators_node = of_match_ptr("regulators");
410 tps->desc[i].of_parse_cb = tps6507x_pmic_of_parse_cb;
411 tps->desc[i].id = i;
412 tps->desc[i].n_voltages = info->table_len;
413 tps->desc[i].volt_table = info->table;
414 tps->desc[i].ops = &tps6507x_pmic_ops;
415 tps->desc[i].type = REGULATOR_VOLTAGE;
416 tps->desc[i].owner = THIS_MODULE;
422 rdev = devm_regulator_register(&pdev->dev, &tps->desc[i],