Searched refs:clk_arry (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_io_util.c | 16 void msm_dss_put_clk(struct dss_clk *clk_arry, int num_clk) in msm_dss_put_clk() argument 21 if (clk_arry[i].clk) in msm_dss_put_clk() 22 clk_put(clk_arry[i].clk); in msm_dss_put_clk() 23 clk_arry[i].clk = NULL; in msm_dss_put_clk() 27 int msm_dss_get_clk(struct device *dev, struct dss_clk *clk_arry, int num_clk) in msm_dss_get_clk() argument 32 clk_arry[i].clk = clk_get(dev, clk_arry[i].clk_name); in msm_dss_get_clk() 33 rc = PTR_ERR_OR_ZERO(clk_arry[i].clk); in msm_dss_get_clk() 37 clk_arry[i].clk_name, rc); in msm_dss_get_clk() 46 if (clk_arry[i].clk) in msm_dss_get_clk() 47 clk_put(clk_arry[i].clk); in msm_dss_get_clk() [all …]
|
D | dpu_io_util.h | 34 int msm_dss_get_clk(struct device *dev, struct dss_clk *clk_arry, int num_clk); 35 void msm_dss_put_clk(struct dss_clk *clk_arry, int num_clk); 36 int msm_dss_clk_set_rate(struct dss_clk *clk_arry, int num_clk); 37 int msm_dss_enable_clk(struct dss_clk *clk_arry, int num_clk, int enable);
|