Home
last modified time | relevance | path

Searched refs:parent_clk (Results 1 – 5 of 5) sorted by relevance

/sound/soc/ti/
Domap-dmic.c282 struct clk *parent_clk, *mux; in omap_dmic_select_fclk() local
324 parent_clk = clk_get(dmic->dev, parent_clk_name); in omap_dmic_select_fclk()
325 if (IS_ERR(parent_clk)) { in omap_dmic_select_fclk()
333 clk_put(parent_clk); in omap_dmic_select_fclk()
341 ret = clk_set_parent(mux, parent_clk); in omap_dmic_select_fclk()
344 ret = clk_set_parent(mux, parent_clk); in omap_dmic_select_fclk()
358 clk_put(parent_clk); in omap_dmic_select_fclk()
Ddavinci-mcasp.c1831 struct clk *gfclk, *parent_clk; in mcasp_reparent_fck() local
1850 parent_clk = clk_get(NULL, parent_name); in mcasp_reparent_fck()
1851 if (IS_ERR(parent_clk)) { in mcasp_reparent_fck()
1853 ret = PTR_ERR(parent_clk); in mcasp_reparent_fck()
1857 ret = clk_set_parent(gfclk, parent_clk); in mcasp_reparent_fck()
1864 clk_put(parent_clk); in mcasp_reparent_fck()
/sound/soc/sh/
Dsiu_dai.c628 struct clk *siu_clk, *parent_clk; in siu_dai_set_sysclk() local
665 parent_clk = clk_get(dai->dev, parent_name); in siu_dai_set_sysclk()
666 if (IS_ERR(parent_clk)) { in siu_dai_set_sysclk()
667 ret = PTR_ERR(parent_clk); in siu_dai_set_sysclk()
672 ret = clk_set_parent(siu_clk, parent_clk); in siu_dai_set_sysclk()
684 clk_put(parent_clk); in siu_dai_set_sysclk()
/sound/soc/stm/
Dstm32_i2s.c318 struct clk *parent_clk; in stm32_i2s_set_parent_clock() local
322 parent_clk = i2s->x11kclk; in stm32_i2s_set_parent_clock()
324 parent_clk = i2s->x8kclk; in stm32_i2s_set_parent_clock()
326 ret = clk_set_parent(i2s->i2sclk, parent_clk); in stm32_i2s_set_parent_clock()
Dstm32_sai_sub.c360 struct clk *parent_clk = sai->pdata->clk_x8k; in stm32_sai_set_parent_clock() local
364 parent_clk = sai->pdata->clk_x11k; in stm32_sai_set_parent_clock()
366 ret = clk_set_parent(sai->sai_ck, parent_clk); in stm32_sai_set_parent_clock()