Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mmc/host/
Ddw_mmc-hi3798cv200.c22 struct clk *sample_clk; member
78 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
115 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
136 priv->sample_clk = devm_clk_get(host->dev, "ciu-sample"); in dw_mci_hi3798cv200_init()
137 if (IS_ERR(priv->sample_clk)) { in dw_mci_hi3798cv200_init()
139 return PTR_ERR(priv->sample_clk); in dw_mci_hi3798cv200_init()
148 ret = clk_prepare_enable(priv->sample_clk); in dw_mci_hi3798cv200_init()
164 clk_disable_unprepare(priv->sample_clk); in dw_mci_hi3798cv200_init()
187 clk_disable_unprepare(priv->sample_clk); in dw_mci_hi3798cv200_remove()
Ddw_mmc-rockchip.c22 struct clk *sample_clk; member
64 if (!IS_ERR(priv->sample_clk)) in dw_mci_rk3288_set_ios()
65 clk_set_phase(priv->sample_clk, priv->default_sample_phase); in dw_mci_rk3288_set_ios()
153 if (IS_ERR(priv->sample_clk)) { in dw_mci_rk3288_execute_tuning()
165 clk_set_phase(priv->sample_clk, in dw_mci_rk3288_execute_tuning()
212 clk_set_phase(priv->sample_clk, priv->default_sample_phase); in dw_mci_rk3288_execute_tuning()
252 clk_set_phase(priv->sample_clk, in dw_mci_rk3288_execute_tuning()
282 priv->sample_clk = devm_clk_get(host->dev, "ciu-sample"); in dw_mci_rk3288_parse_dt()
283 if (IS_ERR(priv->sample_clk)) in dw_mci_rk3288_parse_dt()