Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dinterconnect.h26 struct icc_path;
38 struct icc_path *path;
46 struct icc_path *of_icc_get(struct device *dev, const char *name);
47 struct icc_path *devm_of_icc_get(struct device *dev, const char *name);
49 struct icc_path *of_icc_get_by_index(struct device *dev, int idx);
50 void icc_put(struct icc_path *path);
51 int icc_enable(struct icc_path *path);
52 int icc_disable(struct icc_path *path);
53 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
54 void icc_set_tag(struct icc_path *path, u32 tag);
[all …]
/linux/drivers/interconnect/
H A Dcore.c168 static struct icc_path *path_init(struct device *dev, struct icc_node *dst, in path_init()
172 struct icc_path *path; in path_init()
198 static struct icc_path *path_find(struct device *dev, struct icc_node *src, in path_find()
201 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in path_find()
304 static int apply_constraints(struct icc_path *path) in apply_constraints()
423 icc_put(*(struct icc_path **)res); in devm_icc_release()
426 struct icc_path *devm_of_icc_get(struct device *dev, const char *name) in devm_of_icc_get()
428 struct icc_path **ptr, *path; in devm_of_icc_get()
461 struct icc_path *of_icc_get_by_index(struct device *dev, int idx) in of_icc_get_by_index()
463 struct icc_path *path; in of_icc_get_by_index()
[all …]
H A Dinternal.h38 struct icc_path { struct
44 struct icc_path *icc_get(struct device *dev, const char *src, const char *dst); argument
H A Ddebugfs-client.c24 static struct icc_path *cur_path;
35 struct icc_path *path;
39 static struct icc_path *get_path(const char *src, const char *dst) in get_path()
/linux/drivers/gpu/drm/tegra/
H A Dplane.h11 struct icc_path;
21 struct icc_path *icc_mem;
22 struct icc_path *icc_mem_vfilter;
/linux/drivers/gpu/drm/msm/adreno/
H A Da3xx_gpu.c526 struct icc_path *ocmem_icc_path; in a3xx_gpu_init()
527 struct icc_path *icc_path; in a3xx_gpu_init() local
562 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a3xx_gpu_init()
563 if (IS_ERR(icc_path)) { in a3xx_gpu_init()
564 ret = PTR_ERR(icc_path); in a3xx_gpu_init()
583 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a3xx_gpu_init()
H A Da4xx_gpu.c638 struct icc_path *ocmem_icc_path; in a4xx_gpu_init()
639 struct icc_path *icc_path; in a4xx_gpu_init() local
675 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a4xx_gpu_init()
676 if (IS_ERR(icc_path)) { in a4xx_gpu_init()
677 ret = PTR_ERR(icc_path); in a4xx_gpu_init()
695 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a4xx_gpu_init()
/linux/drivers/remoteproc/
H A Dqcom_q6v5.h10 struct icc_path;
22 struct icc_path *path;
/linux/drivers/opp/
H A Dopp.h241 struct icc_path **paths;
H A Dof.c447 struct icc_path **paths; in dev_pm_opp_of_find_icc_paths()
/linux/drivers/i2c/busses/
H A Di2c-qup.c233 struct icc_path *icc_path; member
475 ret = icc_set_bw(qup->icc_path, 0, needed_peak_bw); in qup_i2c_vote_bw()
1777 qup->icc_path = devm_of_icc_get(&pdev->dev, NULL); in qup_i2c_probe()
1778 if (IS_ERR(qup->icc_path)) in qup_i2c_probe()
1779 return dev_err_probe(&pdev->dev, PTR_ERR(qup->icc_path), in qup_i2c_probe()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_kms.c785 struct icc_path *path0 = msm_icc_get(&pdev->dev, "mdp0-mem"); in mdp5_setup_interconnect()
786 struct icc_path *path1 = msm_icc_get(&pdev->dev, "mdp1-mem"); in mdp5_setup_interconnect()
787 struct icc_path *path_rot = msm_icc_get(&pdev->dev, "rotator-mem"); in mdp5_setup_interconnect()
/linux/drivers/usb/dwc3/
H A Ddwc3-qcom.c84 struct icc_path *icc_path_ddr;
85 struct icc_path *icc_path_apps;
H A Ddwc3-qcom-legacy.c91 struct icc_path *icc_path_ddr;
92 struct icc_path *icc_path_apps;
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom-debug.c53 struct icc_path *path;
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.c408 struct icc_path *path0; in dpu_kms_parse_data_bus_icc_path()
409 struct icc_path *path1; in dpu_kms_parse_data_bus_icc_path()
/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom.c280 struct icc_path *icc_mem;
281 struct icc_path *icc_cpu;