Home
last modified time | relevance | path

Searched refs:clk_arry (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_io_util.c21 void msm_dss_put_clk(struct dss_clk *clk_arry, int num_clk) in msm_dss_put_clk() argument
26 if (clk_arry[i].clk) in msm_dss_put_clk()
27 clk_put(clk_arry[i].clk); in msm_dss_put_clk()
28 clk_arry[i].clk = NULL; in msm_dss_put_clk()
32 int msm_dss_get_clk(struct device *dev, struct dss_clk *clk_arry, int num_clk) in msm_dss_get_clk() argument
37 clk_arry[i].clk = clk_get(dev, clk_arry[i].clk_name); in msm_dss_get_clk()
38 rc = PTR_ERR_OR_ZERO(clk_arry[i].clk); in msm_dss_get_clk()
42 clk_arry[i].clk_name, rc); in msm_dss_get_clk()
51 if (clk_arry[i].clk) in msm_dss_get_clk()
52 clk_put(clk_arry[i].clk); in msm_dss_get_clk()
[all …]
Ddpu_io_util.h51 int msm_dss_get_clk(struct device *dev, struct dss_clk *clk_arry, int num_clk);
52 void msm_dss_put_clk(struct dss_clk *clk_arry, int num_clk);
53 int msm_dss_clk_set_rate(struct dss_clk *clk_arry, int num_clk);
54 int msm_dss_enable_clk(struct dss_clk *clk_arry, int num_clk, int enable);