Lines Matching refs:regulators
27 static const struct regulators_map regulators[] = { variable
38 for (size_t i = 0U; i < ARRAY_SIZE(regulators); i++) { in name2reg()
39 if (strcmp(name, regulators[i].name) == 0) { in name2reg()
40 return regulators[i].dev; in name2reg()
59 for (size_t i = 0U; i < ARRAY_SIZE(regulators); i++) { in main()
60 if ((regulators[i].dev != NULL) && in main()
61 !device_is_ready(regulators[i].dev)) { in main()
63 regulators[i].name); in main()
75 for (size_t i = 0U; i < ARRAY_SIZE(regulators); i++) { in cmd_regulator_list()
76 if (regulators[i].dev != NULL) { in cmd_regulator_list()
77 shell_print(sh, "%s", regulators[i].name); in cmd_regulator_list()