Lines Matching full:regulators

133 /* Defines asignment of regulators info table to chip model */
153 /* Encapsulates all information for the regulators driver */
449 /* Info of regulators for DA9063 */
544 /* Link chip model with regulators info table */
562 struct da9063_regulators *regulators = data; in da9063_ldo_lim_event() local
563 struct da9063 *hw = regulators->regulator[0].hw; in da9063_ldo_lim_event()
571 for (i = regulators->n_regulators - 1; i >= 0; i--) { in da9063_ldo_lim_event()
572 regl = &regulators->regulator[i]; in da9063_ldo_lim_event()
638 node = of_get_child_by_name(pdev->dev.parent->of_node, "regulators"); in da9063_parse_regulators_dt()
640 dev_err(&pdev->dev, "Regulators device node not found\n"); in da9063_parse_regulators_dt()
648 dev_err(&pdev->dev, "Failed to match regulators\n"); in da9063_parse_regulators_dt()
685 struct da9063_regulators *regulators; in da9063_regulator_probe() local
695 "No regulators defined for the platform\n"); in da9063_regulator_probe()
699 /* Find regulators set for particular device model */ in da9063_regulator_probe()
729 /* Allocate memory required by usable regulators */ in da9063_regulator_probe()
730 regulators = devm_kzalloc(&pdev->dev, struct_size(regulators, in da9063_regulator_probe()
732 if (!regulators) in da9063_regulator_probe()
735 regulators->n_regulators = n_regulators; in da9063_regulator_probe()
736 platform_set_drvdata(pdev, regulators); in da9063_regulator_probe()
738 /* Register all regulators declared in platform information */ in da9063_regulator_probe()
741 while (n < regulators->n_regulators) { in da9063_regulator_probe()
773 regl = &regulators->regulator[n]; in da9063_regulator_probe()
836 "LDO_LIM", regulators); in da9063_regulator_probe()
865 MODULE_DESCRIPTION("DA9063 regulators driver");