Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Dinterconnect.h23 struct icc_path;
35 struct icc_path *path;
43 struct icc_path *icc_get(struct device *dev, const int src_id,
45 struct icc_path *of_icc_get(struct device *dev, const char *name);
46 struct icc_path *devm_of_icc_get(struct device *dev, const char *name);
48 struct icc_path *of_icc_get_by_index(struct device *dev, int idx);
49 void icc_put(struct icc_path *path);
50 int icc_enable(struct icc_path *path);
51 int icc_disable(struct icc_path *path);
52 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
[all …]
Dqcom-geni-se.h50 struct icc_path *path;
/linux-6.1.9/drivers/interconnect/
Dcore.c151 static struct icc_path *path_init(struct device *dev, struct icc_node *dst, in path_init()
155 struct icc_path *path; in path_init()
177 static struct icc_path *path_find(struct device *dev, struct icc_node *src, in path_find()
180 struct icc_path *path = ERR_PTR(-EPROBE_DEFER); in path_find()
283 static int apply_constraints(struct icc_path *path) in apply_constraints()
399 icc_put(*(struct icc_path **)res); in devm_icc_release()
402 struct icc_path *devm_of_icc_get(struct device *dev, const char *name) in devm_of_icc_get()
404 struct icc_path **ptr, *path; in devm_of_icc_get()
437 struct icc_path *of_icc_get_by_index(struct device *dev, int idx) in of_icc_get_by_index()
439 struct icc_path *path; in of_icc_get_by_index()
[all …]
Dtrace.h19 TP_PROTO(struct icc_path *p, struct icc_node *n, int i,
56 TP_PROTO(struct icc_path *p, int ret),
Dinternal.h38 struct icc_path { struct
/linux-6.1.9/drivers/gpu/drm/tegra/
Dplane.h11 struct icc_path;
21 struct icc_path *icc_mem;
22 struct icc_path *icc_mem_vfilter;
/linux-6.1.9/drivers/remoteproc/
Dqcom_q6v5.h10 struct icc_path;
22 struct icc_path *path;
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da3xx_gpu.c522 struct icc_path *ocmem_icc_path; in a3xx_gpu_init()
523 struct icc_path *icc_path; in a3xx_gpu_init() local
573 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a3xx_gpu_init()
574 if (IS_ERR(icc_path)) { in a3xx_gpu_init()
575 ret = PTR_ERR(icc_path); in a3xx_gpu_init()
594 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a3xx_gpu_init()
Da4xx_gpu.c651 struct icc_path *ocmem_icc_path; in a4xx_gpu_init()
652 struct icc_path *icc_path; in a4xx_gpu_init() local
701 icc_path = devm_of_icc_get(&pdev->dev, "gfx-mem"); in a4xx_gpu_init()
702 if (IS_ERR(icc_path)) { in a4xx_gpu_init()
703 ret = PTR_ERR(icc_path); in a4xx_gpu_init()
721 icc_set_bw(icc_path, 0, Bps_to_icc(gpu->fast_rate) * 8); in a4xx_gpu_init()
/linux-6.1.9/drivers/staging/media/imx/
Dimx8mq-mipi-csi2.c131 struct icc_path *icc_path; member
770 ret = icc_set_bw(state->icc_path, 0, 0); in imx8mq_mipi_csi_runtime_suspend()
783 ret = icc_set_bw(state->icc_path, 0, state->icc_path_bw); in imx8mq_mipi_csi_runtime_resume()
835 icc_put(state->icc_path); in imx8mq_mipi_csi_release_icc()
844 state->icc_path = of_icc_get(&pdev->dev, "dram"); in imx8mq_mipi_csi_init_icc()
845 if (IS_ERR_OR_NULL(state->icc_path)) in imx8mq_mipi_csi_init_icc()
846 return PTR_ERR_OR_ZERO(state->icc_path); in imx8mq_mipi_csi_init_icc()
/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss.h105 struct icc_path *icc_path[ICC_SM8250_COUNT]; member
Dcamss.c1529 camss->icc_path[i] = devm_of_icc_get(camss->dev, in camss_icc_get()
1531 if (IS_ERR(camss->icc_path[i])) in camss_icc_get()
1532 return PTR_ERR(camss->icc_path[i]); in camss_icc_get()
1760 ret = icc_set_bw(camss->icc_path[i], 0, 0); in camss_runtime_suspend()
1779 ret = icc_set_bw(camss->icc_path[i], in camss_runtime_resume()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_io_utils.c130 struct icc_path *msm_icc_get(struct device *dev, const char *name) in msm_icc_get()
133 struct icc_path *path; in msm_icc_get()
Dmsm_mdss.c42 struct icc_path *path[2];
49 struct icc_path *path0; in msm_mdss_parse_data_bus_icc_path()
50 struct icc_path *path1; in msm_mdss_parse_data_bus_icc_path()
Dmsm_drv.h469 struct icc_path *msm_icc_get(struct device *dev, const char *name);
/linux-6.1.9/drivers/net/ipa/
Dipa.h22 struct icc_path;
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dcore.h161 struct icc_path *video_path;
162 struct icc_path *cpucfg_path;
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.h113 struct icc_path *path[2];
Ddpu_kms.c383 struct icc_path *path0; in dpu_kms_parse_data_bus_icc_path()
384 struct icc_path *path1; in dpu_kms_parse_data_bus_icc_path()
/linux-6.1.9/drivers/opp/
Dopp.h232 struct icc_path **paths;
Ddebugfs.c39 struct icc_path *path = fp->private_data; in bw_name_read()
Dof.c466 struct icc_path **paths; in dev_pm_opp_of_find_icc_paths()
/linux-6.1.9/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.1.9/drivers/usb/dwc3/
Ddwc3-qcom.c92 struct icc_path *icc_path_ddr;
93 struct icc_path *icc_path_apps;
/linux-6.1.9/drivers/spi/
Dspi-qcom-qspi.c144 struct icc_path *icc_path_cpu_to_qspi;

12