/openbmc/linux/drivers/regulator/ |
H A D | devres.c | 179 int num_consumers; member 186 regulator_bulk_free(devres->num_consumers, devres->consumers); in devm_regulator_bulk_release() 189 static int _devm_regulator_bulk_get(struct device *dev, int num_consumers, in _devm_regulator_bulk_get() argument 201 ret = _regulator_bulk_get(dev, num_consumers, consumers, get_type); in _devm_regulator_bulk_get() 204 devres->num_consumers = num_consumers; in _devm_regulator_bulk_get() 228 int devm_regulator_bulk_get(struct device *dev, int num_consumers, in devm_regulator_bulk_get() argument 231 return _devm_regulator_bulk_get(dev, num_consumers, consumers, NORMAL_GET); in devm_regulator_bulk_get() 251 int devm_regulator_bulk_get_exclusive(struct device *dev, int num_consumers, in devm_regulator_bulk_get_exclusive() argument 254 return _devm_regulator_bulk_get(dev, num_consumers, consumers, EXCLUSIVE_GET); in devm_regulator_bulk_get_exclusive() 272 int devm_regulator_bulk_get_const(struct device *dev, int num_consumers, in devm_regulator_bulk_get_const() argument [all …]
|
H A D | of_regulator.c | 758 int num_consumers = 0; in of_regulator_bulk_get_all() local 776 num_consumers++; in of_regulator_bulk_get_all() 792 return num_consumers; in of_regulator_bulk_get_all() 793 if (num_consumers == 0) in of_regulator_bulk_get_all() 795 *consumers = kmalloc_array(num_consumers, in of_regulator_bulk_get_all()
|
H A D | internal.h | 125 int _regulator_bulk_get(struct device *dev, int num_consumers,
|
H A D | core.c | 4875 int _regulator_bulk_get(struct device *dev, int num_consumers, in _regulator_bulk_get() 4881 for (i = 0; i < num_consumers; i++) in _regulator_bulk_get() 4884 for (i = 0; i < num_consumers; i++) { in _regulator_bulk_get() 4918 * @num_consumers: Number of consumers to register in regulator_bulk_get() argument 4928 int regulator_bulk_get(struct device *dev, int num_consumers, in regulator_bulk_enable_async() 4931 return _regulator_bulk_get(dev, num_consumers, consumers, NORMAL_GET); 4945 * @num_consumers: Number of consumers in regulator_bulk_enable() 4954 int regulator_bulk_enable(int num_consumers, in regulator_bulk_enable() 4961 for (i = 0; i < num_consumers; i++) { in regulator_bulk_enable() 4969 for (i = 0; i < num_consumers; in regulator_bulk_enable() 4865 _regulator_bulk_get(struct device * dev,int num_consumers,struct regulator_bulk_data * consumers,enum regulator_get_type get_type) _regulator_bulk_get() argument 4944 regulator_bulk_enable(int num_consumers,struct regulator_bulk_data * consumers) regulator_bulk_enable() argument 4993 regulator_bulk_disable(int num_consumers,struct regulator_bulk_data * consumers) regulator_bulk_disable() argument 5034 regulator_bulk_force_disable(int num_consumers,struct regulator_bulk_data * consumers) regulator_bulk_force_disable() argument 5062 regulator_bulk_free(int num_consumers,struct regulator_bulk_data * consumers) regulator_bulk_free() argument [all...] |
/openbmc/linux/include/linux/regulator/ |
H A D | consumer.h | 245 int __must_check regulator_bulk_get(struct device *dev, int num_consumers, 249 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers, 252 int __must_check devm_regulator_bulk_get_exclusive(struct device *dev, int num_consumers, 255 struct device *dev, int num_consumers, 258 int __must_check regulator_bulk_enable(int num_consumers, 260 int devm_regulator_bulk_get_enable(struct device *dev, int num_consumers, 262 int regulator_bulk_disable(int num_consumers, 264 int regulator_bulk_force_disable(int num_consumers, 266 void regulator_bulk_free(int num_consumers, 474 int num_consumers, in regulator_bulk_get() argument [all …]
|