Searched refs:num_consumers (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/regulator/ |
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 …]
|
D | of_regulator.c | 746 int num_consumers = 0; in of_regulator_bulk_get_all() local 764 num_consumers++; in of_regulator_bulk_get_all() 780 return num_consumers; in of_regulator_bulk_get_all() 781 if (num_consumers == 0) in of_regulator_bulk_get_all() 783 *consumers = kmalloc_array(num_consumers, in of_regulator_bulk_get_all()
|
D | internal.h | 125 int _regulator_bulk_get(struct device *dev, int num_consumers,
|
D | core.c | 4855 int _regulator_bulk_get(struct device *dev, int num_consumers, in _regulator_bulk_get() argument 4861 for (i = 0; i < num_consumers; i++) in _regulator_bulk_get() 4864 for (i = 0; i < num_consumers; i++) { in _regulator_bulk_get() 4908 int regulator_bulk_get(struct device *dev, int num_consumers, in regulator_bulk_get() argument 4911 return _regulator_bulk_get(dev, num_consumers, consumers, NORMAL_GET); in regulator_bulk_get() 4934 int regulator_bulk_enable(int num_consumers, in regulator_bulk_enable() argument 4941 for (i = 0; i < num_consumers; i++) { in regulator_bulk_enable() 4949 for (i = 0; i < num_consumers; i++) { in regulator_bulk_enable() 4959 for (i = 0; i < num_consumers; i++) { in regulator_bulk_enable() 4983 int regulator_bulk_disable(int num_consumers, in regulator_bulk_disable() argument [all …]
|
/Linux-v6.6/include/linux/regulator/ |
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 …]
|