Lines Matching defs:regulators
136 /* Defines asignment of regulators info table to chip model */
157 /* Encapsulates all information for the regulators driver */
603 /* Info of regulators for DA9063 */
717 /* Link chip model with regulators info table */
735 struct da9063_regulators *regulators = data;
736 struct da9063 *hw = regulators->regulator[0].hw;
744 for (i = regulators->n_regulators - 1; i >= 0; i--) {
745 regl = ®ulators->regulator[i];
846 node = of_get_child_by_name(pdev->dev.parent->of_node, "regulators");
856 dev_err(&pdev->dev, "Failed to match regulators\n");
893 struct da9063_regulators *regulators;
903 "No regulators defined for the platform\n");
907 /* Find regulators set for particular device model */
937 /* Allocate memory required by usable regulators */
938 regulators = devm_kzalloc(&pdev->dev, struct_size(regulators,
940 if (!regulators)
943 regulators->n_regulators = n_regulators;
944 platform_set_drvdata(pdev, regulators);
946 /* Register all regulators declared in platform information */
949 while (n < regulators->n_regulators) {
981 regl = ®ulators->regulator[n];
1058 "LDO_LIM", regulators);
1088 MODULE_DESCRIPTION("DA9063 regulators driver");