Lines Matching refs:num_paths
15 int __must_check of_icc_bulk_get(struct device *dev, int num_paths, in of_icc_bulk_get() argument
20 for (i = 0; i < num_paths; i++) { in of_icc_bulk_get()
46 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument
48 while (--num_paths >= 0) { in icc_bulk_put()
49 icc_put(paths[num_paths].path); in icc_bulk_put()
50 paths[num_paths].path = NULL; in icc_bulk_put()
62 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument
67 for (i = 0; i < num_paths; i++) { in icc_bulk_set_bw()
86 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_enable() argument
90 for (i = 0; i < num_paths; i++) { in icc_bulk_enable()
112 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_disable() argument
114 while (--num_paths >= 0) in icc_bulk_disable()
115 icc_disable(paths[num_paths].path); in icc_bulk_disable()
121 int num_paths; member
128 icc_bulk_put(devres->num_paths, devres->paths); in devm_icc_bulk_release()
139 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in devm_of_icc_bulk_get() argument
148 ret = of_icc_bulk_get(dev, num_paths, paths); in devm_of_icc_bulk_get()
151 devres->num_paths = num_paths; in devm_of_icc_bulk_get()