Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
Dinterconnect.h23 struct icc_path;
35 struct icc_path *path;
43 struct icc_path *of_icc_get(struct device *dev, const char *name);
44 struct icc_path *devm_of_icc_get(struct device *dev, const char *name);
46 struct icc_path *of_icc_get_by_index(struct device *dev, int idx);
47 void icc_put(struct icc_path *path);
48 int icc_enable(struct icc_path *path);
49 int icc_disable(struct icc_path *path);
50 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
51 void icc_set_tag(struct icc_path *path, u32 tag);
[all …]
/linux-6.6.21/drivers/interconnect/
Dcore.c166 static struct icc_path *path_init(struct device *dev, struct icc_node *dst, in path_init()
170 struct icc_path *path; in path_init()
192 static struct icc_path *path_find(struct device *dev, struct icc_node *src, in path_find()
195 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in path_find()
298 static int apply_constraints(struct icc_path *path) in apply_constraints()
417 icc_put(*(struct icc_path **)res); in devm_icc_release()
420 struct icc_path *devm_of_icc_get(struct device *dev, const char *name) in devm_of_icc_get()
422 struct icc_path **ptr, *path; in devm_of_icc_get()
455 struct icc_path *of_icc_get_by_index(struct device *dev, int idx) in of_icc_get_by_index()
457 struct icc_path *path; in of_icc_get_by_index()
[all …]
Dinternal.h38 struct icc_path { struct
44 struct icc_path *icc_get(struct device *dev, const char *src, const char *dst); argument
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()
Dtrace.h19 TP_PROTO(struct icc_path *p, struct icc_node *n, int i,
56 TP_PROTO(struct icc_path *p, int ret),
/linux-6.6.21/drivers/gpu/drm/tegra/
Dplane.h11 struct icc_path;
21 struct icc_path *icc_mem;
22 struct icc_path *icc_mem_vfilter;
/linux-6.6.21/drivers/remoteproc/
Dqcom_q6v5.h10 struct icc_path;
22 struct icc_path *path;
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
Da3xx_gpu.c533 struct icc_path *ocmem_icc_path; in a3xx_gpu_init()
534 struct icc_path *icc_path; in a3xx_gpu_init() local
584 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a3xx_gpu_init()
585 if (IS_ERR(icc_path)) { in a3xx_gpu_init()
586 ret = PTR_ERR(icc_path); in a3xx_gpu_init()
605 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a3xx_gpu_init()
Da4xx_gpu.c661 struct icc_path *ocmem_icc_path; in a4xx_gpu_init()
662 struct icc_path *icc_path; in a4xx_gpu_init() local
711 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a4xx_gpu_init()
712 if (IS_ERR(icc_path)) { in a4xx_gpu_init()
713 ret = PTR_ERR(icc_path); in a4xx_gpu_init()
731 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a4xx_gpu_init()
/linux-6.6.21/drivers/media/platform/nxp/
Dimx8mq-mipi-csi2.c127 struct icc_path *icc_path; member
723 ret = icc_set_bw(state->icc_path, 0, 0); in imx8mq_mipi_csi_runtime_suspend()
736 ret = icc_set_bw(state->icc_path, 0, state->icc_path_bw); in imx8mq_mipi_csi_runtime_resume()
796 icc_put(state->icc_path); in imx8mq_mipi_csi_release_icc()
805 state->icc_path = of_icc_get(&pdev->dev, "dram"); in imx8mq_mipi_csi_init_icc()
806 if (IS_ERR_OR_NULL(state->icc_path)) in imx8mq_mipi_csi_init_icc()
807 return PTR_ERR_OR_ZERO(state->icc_path); in imx8mq_mipi_csi_init_icc()
/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss.h106 struct icc_path *icc_path[ICC_SM8250_COUNT]; member
Dcamss.c1530 camss->icc_path[i] = devm_of_icc_get(camss->dev, in camss_icc_get()
1532 if (IS_ERR(camss->icc_path[i])) in camss_icc_get()
1533 return PTR_ERR(camss->icc_path[i]); in camss_icc_get()
1767 ret = icc_set_bw(camss->icc_path[i], 0, 0); in camss_runtime_suspend()
1786 ret = icc_set_bw(camss->icc_path[i], in camss_runtime_resume()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_io_utils.c131 struct icc_path *msm_icc_get(struct device *dev, const char *name) in msm_icc_get()
134 struct icc_path *path; in msm_icc_get()
Dmsm_mdss.c43 struct icc_path *path[2];
50 struct icc_path *path0; in msm_mdss_parse_data_bus_icc_path()
51 struct icc_path *path1; in msm_mdss_parse_data_bus_icc_path()
Dmsm_drv.h489 struct icc_path *msm_icc_get(struct device *dev, const char *name);
/linux-6.6.21/drivers/ufs/host/
Dufs-qcom.h209 struct icc_path *icc_ddr;
210 struct icc_path *icc_cpu;
/linux-6.6.21/drivers/crypto/qce/
Dcore.h38 struct icc_path *mem_path;
/linux-6.6.21/drivers/net/ipa/
Dipa.h22 struct icc_path;
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.h112 struct icc_path *path[2];
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dcore.h187 struct icc_path *video_path;
188 struct icc_path *cpucfg_path;
/linux-6.6.21/drivers/opp/
Dopp.h230 struct icc_path **paths;
Ddebugfs.c39 struct icc_path *path = fp->private_data; in bw_name_read()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c904 struct icc_path *path0 = msm_icc_get(&pdev->dev, "mdp0-mem"); in mdp5_setup_interconnect()
905 struct icc_path *path1 = msm_icc_get(&pdev->dev, "mdp1-mem"); in mdp5_setup_interconnect()
906 struct icc_path *path_rot = msm_icc_get(&pdev->dev, "rotator-mem"); in mdp5_setup_interconnect()
/linux-6.6.21/include/linux/soc/qcom/
Dgeni-se.h51 struct icc_path *path;
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-tegra194.c292 struct icc_path *icc_path; member
327 if (icc_set_bw(pcie->icc_path, MBps_to_icc(val), 0)) in tegra_pcie_icc_set()
2235 pcie->icc_path = devm_of_icc_get(&pdev->dev, "write"); in tegra_pcie_dw_probe()
2236 ret = PTR_ERR_OR_ZERO(pcie->icc_path); in tegra_pcie_dw_probe()

12