Lines Matching defs:num_paths
10 * @num_paths: the number of icc_bulk_data
15 int __must_check of_icc_bulk_get(struct device *dev, int num_paths,
20 for (i = 0; i < num_paths; i++) {
43 * @num_paths: the number of icc_bulk_data
46 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths)
48 while (--num_paths >= 0) {
49 icc_put(paths[num_paths].path);
50 paths[num_paths].path = NULL;
57 * @num_paths: the number of icc_bulk_data
62 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths)
67 for (i = 0; i < num_paths; i++) {
81 * @num_paths: the number of icc_bulk_data
86 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths)
90 for (i = 0; i < num_paths; i++) {
109 * @num_paths: the number of icc_bulk_data
112 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths)
114 while (--num_paths >= 0)
115 icc_disable(paths[num_paths].path);
121 int num_paths;
128 icc_bulk_put(devres->num_paths, devres->paths);
134 * @num_paths: the number of icc_bulk_data
139 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths)
148 ret = of_icc_bulk_get(dev, num_paths, paths);
151 devres->num_paths = num_paths;