Home
last modified time | relevance | path

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

12

/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 Dicc-kunit.c156 static struct icc_path *icc_test_create_path(struct kunit *test, in icc_test_create_path()
159 struct icc_path *path; in icc_test_create_path()
175 static void icc_test_destroy_path(struct kunit *test, struct icc_path *path) in icc_test_destroy_path()
199 struct icc_path *path; in icc_test_set_bw()
233 struct icc_path *path_cpu, *path_gpu; in icc_test_aggregation()
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()
H A Dtrace.h19 TP_PROTO(struct icc_path *p, struct icc_node *n, int i,
56 TP_PROTO(struct icc_path *p, int ret),
/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/gpu/drm/msm/
H A Dmsm_io_utils.c143 struct icc_path *msm_icc_get(struct device *dev, const char *name) in msm_icc_get()
146 struct icc_path *path; in msm_icc_get()
H A Dmsm_drv.h469 struct icc_path *msm_icc_get(struct device *dev, const char *name);
/linux/drivers/ufs/host/
H A Dufs-qcom.h286 struct icc_path *icc_ddr;
287 struct icc_path *icc_cpu;
/linux/sound/soc/tegra/
H A Dtegra_isomgr_bw.h19 struct icc_path *icc_path_handle;
/linux/drivers/crypto/qce/
H A Dcore.h41 struct icc_path *mem_path;
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.h102 struct icc_path *path[2];
/linux/drivers/media/platform/qcom/venus/
H A Dcore.h199 struct icc_path *video_path;
200 struct icc_path *cpucfg_path;
/linux/drivers/opp/
H A Dopp.h241 struct icc_path **paths;
H A Ddebugfs.c39 struct icc_path *path = fp->private_data; in bw_name_read()
/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/pci/controller/dwc/
H A Dpcie-tegra194.c284 struct icc_path *icc_path; member
315 if (icc_set_bw(pcie->icc_path, Mbps_to_icc(val), 0)) in tegra_pcie_icc_set()
2222 pcie->icc_path = devm_of_icc_get(&pdev->dev, "write"); in tegra_pcie_dw_probe()
2223 ret = PTR_ERR_OR_ZERO(pcie->icc_path); in tegra_pcie_dw_probe()
/linux/include/linux/soc/qcom/
H A Dgeni-se.h53 struct icc_path *path;

12