Home
last modified time | relevance | path

Searched refs:icc_path (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/include/linux/
Dinterconnect.h23 struct icc_path;
28 struct icc_path *icc_get(struct device *dev, const int src_id,
30 struct icc_path *of_icc_get(struct device *dev, const char *name);
31 void icc_put(struct icc_path *path);
32 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
33 void icc_set_tag(struct icc_path *path, u32 tag);
37 static inline struct icc_path *icc_get(struct device *dev, const int src_id, in icc_get()
43 static inline struct icc_path *of_icc_get(struct device *dev, in of_icc_get()
49 static inline void icc_put(struct icc_path *path) in icc_put()
53 static inline int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) in icc_set_bw()
[all …]
/Linux-v5.4/drivers/interconnect/
Dcore.c50 struct icc_path { struct
102 static struct icc_path *path_init(struct device *dev, struct icc_node *dst, in path_init()
106 struct icc_path *path; in path_init()
127 static struct icc_path *path_find(struct device *dev, struct icc_node *src, in path_find()
130 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in path_find()
218 static int apply_constraints(struct icc_path *path) in apply_constraints()
317 struct icc_path *of_icc_get(struct device *dev, const char *name) in of_icc_get()
319 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in of_icc_get()
401 void icc_set_tag(struct icc_path *path, u32 tag) in icc_set_tag()
432 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw) in icc_set_bw()
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_mdss.c31 struct icc_path *path[2];
38 struct icc_path *path0 = of_icc_get(dev->dev, "mdp0-mem"); in dpu_mdss_parse_data_bus_icc_path()
39 struct icc_path *path1 = of_icc_get(dev->dev, "mdp1-mem"); in dpu_mdss_parse_data_bus_icc_path()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpu.h114 struct icc_path *icc_path; member
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c889 gpu->icc_path = of_icc_get(dev, NULL); in adreno_get_pwrlevels()
890 if (IS_ERR(gpu->icc_path)) in adreno_get_pwrlevels()
891 gpu->icc_path = NULL; in adreno_get_pwrlevels()
939 icc_put(gpu->icc_path); in adreno_gpu_cleanup()
Da6xx_gmu.c135 icc_set_bw(gpu->icc_path, 0, MBps_to_icc(7216)); in __a6xx_gmu_set_freq()
717 icc_set_bw(gpu->icc_path, 0, MBps_to_icc(3072)); in a6xx_gmu_resume()
861 icc_set_bw(gpu->icc_path, 0, 0); in a6xx_gmu_stop()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c1069 struct icc_path *path0 = of_icc_get(&pdev->dev, "mdp0-mem"); in mdp5_setup_interconnect()
1070 struct icc_path *path1 = of_icc_get(&pdev->dev, "mdp1-mem"); in mdp5_setup_interconnect()
1071 struct icc_path *path_rot = of_icc_get(&pdev->dev, "rotator-mem"); in mdp5_setup_interconnect()