Lines Matching refs:icc_path

166 static struct icc_path *path_init(struct device *dev, struct icc_node *dst,
170 struct icc_path *path;
196 static struct icc_path *path_find(struct device *dev, struct icc_node *src,
199 struct icc_path *path = ERR_PTR(-EPROBE_DEFER);
302 static int apply_constraints(struct icc_path *path)
421 icc_put(*(struct icc_path **)res);
424 struct icc_path *devm_of_icc_get(struct device *dev, const char *name)
426 struct icc_path **ptr, *path;
450 * icc_path handle on success. Use icc_put() to release constraints when they
456 * Return: icc_path pointer on success or ERR_PTR() on error. NULL is returned
459 struct icc_path *of_icc_get_by_index(struct device *dev, int idx)
461 struct icc_path *path;
546 * icc_path handle on success. Use icc_put() to release constraints when they
552 * Return: icc_path pointer on success or ERR_PTR() on error. NULL is returned
555 struct icc_path *of_icc_get(struct device *dev, const char *name)
594 * icc_path handle on success. Use icc_put() to release constraints when they
597 * Return: icc_path pointer on success or ERR_PTR() on error. NULL is returned
600 struct icc_path *icc_get(struct device *dev, const char *src, const char *dst)
603 struct icc_path *path = ERR_PTR(-EPROBE_DEFER);
643 void icc_set_tag(struct icc_path *path, u32 tag)
668 const char *icc_get_name(struct icc_path *path)
692 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw)
745 static int __icc_enable(struct icc_path *path, bool enable)
766 int icc_enable(struct icc_path *path)
772 int icc_disable(struct icc_path *path)
779 * icc_put() - release the reference to the icc_path
785 void icc_put(struct icc_path *path)