Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/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()
196 static struct icc_path *path_find(struct device *dev, struct icc_node *src, in path_find()
199 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in path_find()
302 static int apply_constraints(struct icc_path *path) in apply_constraints()
421 icc_put(*(struct icc_path **)res); in devm_icc_release()
424 struct icc_path *devm_of_icc_get(struct device *dev, const char *name) in devm_of_icc_get()
426 struct icc_path **ptr, *path; in devm_of_icc_get()
459 struct icc_path *of_icc_get_by_index(struct device *dev, int idx) in of_icc_get_by_index()
461 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.12.1/drivers/gpu/drm/tegra/
Dplane.h11 struct icc_path;
21 struct icc_path *icc_mem;
22 struct icc_path *icc_mem_vfilter;
/linux-6.12.1/drivers/remoteproc/
Dqcom_q6v5.h10 struct icc_path;
22 struct icc_path *path;
/linux-6.12.1/drivers/gpu/drm/msm/adreno/
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()
Da3xx_gpu.c548 struct icc_path *ocmem_icc_path; in a3xx_gpu_init()
549 struct icc_path *icc_path; in a3xx_gpu_init() local
599 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a3xx_gpu_init()
600 if (IS_ERR(icc_path)) { in a3xx_gpu_init()
601 ret = PTR_ERR(icc_path); in a3xx_gpu_init()
620 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a3xx_gpu_init()
/linux-6.12.1/drivers/media/platform/nxp/
Dimx8mq-mipi-csi2.c127 struct icc_path *icc_path; member
727 ret = icc_set_bw(state->icc_path, 0, 0); in imx8mq_mipi_csi_runtime_suspend()
740 ret = icc_set_bw(state->icc_path, 0, state->icc_path_bw); in imx8mq_mipi_csi_runtime_resume()
800 icc_put(state->icc_path); in imx8mq_mipi_csi_release_icc()
809 state->icc_path = of_icc_get(&pdev->dev, "dram"); in imx8mq_mipi_csi_init_icc()
810 if (IS_ERR_OR_NULL(state->icc_path)) in imx8mq_mipi_csi_init_icc()
811 return PTR_ERR_OR_ZERO(state->icc_path); in imx8mq_mipi_csi_init_icc()
/linux-6.12.1/drivers/media/platform/qcom/camss/
Dcamss.h117 struct icc_path *icc_path[ICC_SM8250_COUNT]; member
Dcamss.c2178 camss->icc_path[i] = devm_of_icc_get(camss->dev, in camss_icc_get()
2180 if (IS_ERR(camss->icc_path[i])) in camss_icc_get()
2181 return PTR_ERR(camss->icc_path[i]); in camss_icc_get()
2466 ret = icc_set_bw(camss->icc_path[i], 0, 0); in camss_runtime_suspend()
2482 ret = icc_set_bw(camss->icc_path[i], in camss_runtime_resume()
/linux-6.12.1/drivers/spi/
Dspi-qup.c134 struct icc_path *icc_path; /* interconnect to RAM */ member
200 ret = icc_set_bw(controller->icc_path, 0, needed_peak_bw); in spi_qup_vote_bw()
1025 struct icc_path *icc_path; in spi_qup_probe() local
1051 icc_path = devm_of_icc_get(dev, NULL); in spi_qup_probe()
1052 if (IS_ERR(icc_path)) in spi_qup_probe()
1053 return dev_err_probe(dev, PTR_ERR(icc_path), in spi_qup_probe()
1107 controller->icc_path = icc_path; in spi_qup_probe()
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_io_utils.c144 struct icc_path *msm_icc_get(struct device *dev, const char *name) in msm_icc_get()
147 struct icc_path *path; in msm_icc_get()
Dmsm_mdss.c46 struct icc_path *mdp_path[2];
48 struct icc_path *reg_bus_path;
54 struct icc_path *path0; in msm_mdss_parse_data_bus_icc_path()
55 struct icc_path *path1; in msm_mdss_parse_data_bus_icc_path()
56 struct icc_path *reg_bus_path; in msm_mdss_parse_data_bus_icc_path()
/linux-6.12.1/drivers/ufs/host/
Dufs-qcom.h193 struct icc_path *icc_ddr;
194 struct icc_path *icc_cpu;
/linux-6.12.1/drivers/crypto/qce/
Dcore.h38 struct icc_path *mem_path;
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.h100 struct icc_path *path[2];
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dcore.h187 struct icc_path *video_path;
188 struct icc_path *cpucfg_path;
/linux-6.12.1/drivers/opp/
Dopp.h240 struct icc_path **paths;
Ddebugfs.c39 struct icc_path *path = fp->private_data; in bw_name_read()
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp5/
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-6.12.1/drivers/usb/dwc3/
Ddwc3-qcom.c91 struct icc_path *icc_path_ddr;
92 struct icc_path *icc_path_apps;
/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-tegra194.c285 struct icc_path *icc_path; member
316 if (icc_set_bw(pcie->icc_path, Mbps_to_icc(val), 0)) in tegra_pcie_icc_set()
2228 pcie->icc_path = devm_of_icc_get(&pdev->dev, "write"); in tegra_pcie_dw_probe()
2229 ret = PTR_ERR_OR_ZERO(pcie->icc_path); in tegra_pcie_dw_probe()
/linux-6.12.1/include/linux/soc/qcom/
Dgeni-se.h51 struct icc_path *path;

12