Searched refs:clk_config (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_io_util.c | 156 mp->clk_config = devm_kcalloc(&pdev->dev, in msm_dss_parse_clock() 159 if (!mp->clk_config) in msm_dss_parse_clock() 171 strlcpy(mp->clk_config[i].clk_name, clock_name, in msm_dss_parse_clock() 172 sizeof(mp->clk_config[i].clk_name)); in msm_dss_parse_clock() 174 mp->clk_config[i].type = DSS_CLK_AHB; in msm_dss_parse_clock() 177 rc = msm_dss_get_clk(&pdev->dev, mp->clk_config, num_clk); in msm_dss_parse_clock() 190 u32 rate = clk_get_rate(mp->clk_config[i].clk); in msm_dss_parse_clock() 193 mp->clk_config[i].rate = rate; in msm_dss_parse_clock() 194 mp->clk_config[i].type = DSS_CLK_PCLK; in msm_dss_parse_clock() 201 msm_dss_put_clk(mp->clk_config, num_clk); in msm_dss_parse_clock()
|
D | dpu_mdss.c | 132 ret = msm_dss_enable_clk(mp->clk_config, mp->num_clk, true); in dpu_mdss_enable() 145 ret = msm_dss_enable_clk(mp->clk_config, mp->num_clk, false); in dpu_mdss_disable() 161 msm_dss_put_clk(mp->clk_config, mp->num_clk); in dpu_mdss_destroy() 162 devm_kfree(&pdev->dev, mp->clk_config); in dpu_mdss_destroy() 238 msm_dss_put_clk(mp->clk_config, mp->num_clk); in dpu_mdss_init() 240 devm_kfree(&pdev->dev, mp->clk_config); in dpu_mdss_init()
|
D | dpu_io_util.h | 48 struct dss_clk *clk_config; member
|
D | dpu_kms.c | 934 if (!strcmp(mp->clk_config[i].clk_name, clock_name)) in _dpu_kms_get_clk() 935 return &mp->clk_config[i]; in _dpu_kms_get_clk() 1237 msm_dss_put_clk(mp->clk_config, mp->num_clk); in dpu_unbind() 1238 devm_kfree(&pdev->dev, mp->clk_config); in dpu_unbind() 1280 rc = msm_dss_enable_clk(mp->clk_config, mp->num_clk, false); in dpu_runtime_suspend() 1302 rc = msm_dss_enable_clk(mp->clk_config, mp->num_clk, true); in dpu_runtime_resume()
|
/Linux-v4.19/sound/soc/codecs/ |
D | wm8903.c | 1452 int clk_config; in wm8903_hw_params() local 1514 clk_config = 0; in wm8903_hw_params() 1524 clk_config = i; in wm8903_hw_params() 1529 if (clk_sys_ratios[clk_config].mclk_div == 2) { in wm8903_hw_params() 1539 clock1 |= clk_sys_ratios[clk_config].rate << WM8903_CLK_SYS_RATE_SHIFT; in wm8903_hw_params() 1540 clock1 |= clk_sys_ratios[clk_config].mode << WM8903_CLK_SYS_MODE_SHIFT; in wm8903_hw_params() 1543 clk_sys_ratios[clk_config].rate, in wm8903_hw_params() 1544 clk_sys_ratios[clk_config].mode, in wm8903_hw_params() 1545 clk_sys_ratios[clk_config].div); in wm8903_hw_params()
|