Lines Matching full:paths

8  * of_icc_bulk_get() - get interconnect paths
11 * @paths: the table with the paths we want to get
16 struct icc_bulk_data *paths) in of_icc_bulk_get() argument
21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get()
22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get()
23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get()
26 paths[i].name, ret); in of_icc_bulk_get()
27 paths[i].path = NULL; in of_icc_bulk_get()
35 icc_bulk_put(i, paths); in of_icc_bulk_get()
42 * icc_bulk_put() - put a list of interconnect paths
44 * @paths: the icc_bulk_data table with the paths being put
46 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument
49 icc_put(paths[num_paths].path); in icc_bulk_put()
50 paths[num_paths].path = NULL; in icc_bulk_put()
56 * icc_bulk_set_bw() - set bandwidth to a set of paths
58 * @paths: the icc_bulk_data table containing the paths and bandwidth
62 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument
68 ret = icc_set_bw(paths[i].path, paths[i].avg_bw, paths[i].peak_bw); in icc_bulk_set_bw()
70 pr_err("icc_set_bw() failed on path %s (%d)\n", paths[i].name, ret); in icc_bulk_set_bw()
80 * icc_bulk_enable() - enable a previously disabled set of paths
82 * @paths: the icc_bulk_data table containing the paths and bandwidth
86 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_enable() argument
91 ret = icc_enable(paths[i].path); in icc_bulk_enable()
93 pr_err("icc_enable() failed on path %s (%d)\n", paths[i].name, ret); in icc_bulk_enable()
101 icc_bulk_disable(i, paths); in icc_bulk_enable()
108 * icc_bulk_disable() - disable a set of interconnect paths
110 * @paths: the icc_bulk_data table containing the paths and bandwidth
112 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_disable() argument
115 icc_disable(paths[num_paths].path); in icc_bulk_disable()
120 struct icc_bulk_data *paths; member
128 icc_bulk_put(devres->num_paths, devres->paths); in devm_icc_bulk_release()
135 * @paths: the table with the paths we want to get
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()
150 devres->paths = paths; in devm_of_icc_bulk_get()