Searched refs:parent_clk (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/sound/soc/omap/ |
H A D | omap-dmic.c | 284 struct clk *parent_clk; omap_dmic_select_fclk() local 326 parent_clk = clk_get(dmic->dev, parent_clk_name); omap_dmic_select_fclk() 327 if (IS_ERR(parent_clk)) { omap_dmic_select_fclk() 336 ret = clk_set_parent(dmic->fclk, parent_clk); omap_dmic_select_fclk() 339 ret = clk_set_parent(dmic->fclk, parent_clk); omap_dmic_select_fclk() 352 clk_put(parent_clk); omap_dmic_select_fclk()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
H A D | dss.c | 86 struct clk *parent_clk; member in struct:__anon11190 532 if (dss.parent_clk == NULL) { dss_div_calc() 547 prate = clk_get_rate(dss.parent_clk); dss_div_calc() 597 if (dss.parent_clk == NULL) { dss_setup_default_clock() 600 prate = clk_get_rate(dss.parent_clk); dss_setup_default_clock() 763 dss.parent_clk = clk; dss_get_clocks() 770 if (dss.parent_clk) dss_put_clocks() 771 clk_put(dss.parent_clk); dss_put_clocks()
|
/linux-4.4.14/sound/soc/sh/ |
H A D | siu_dai.c | 642 struct clk *siu_clk, *parent_clk; siu_dai_set_sysclk() local 679 parent_clk = clk_get(dai->dev, parent_name); siu_dai_set_sysclk() 680 if (IS_ERR(parent_clk)) { siu_dai_set_sysclk() 681 ret = PTR_ERR(parent_clk); siu_dai_set_sysclk() 686 ret = clk_set_parent(siu_clk, parent_clk); siu_dai_set_sysclk() 698 clk_put(parent_clk); siu_dai_set_sysclk()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-mt65xx.c | 90 struct clk *parent_clk, *sel_clk, *spi_clk; member in struct:mtk_spi 583 mdata->parent_clk = devm_clk_get(&pdev->dev, "parent-clk"); mtk_spi_probe() 584 if (IS_ERR(mdata->parent_clk)) { mtk_spi_probe() 585 ret = PTR_ERR(mdata->parent_clk); mtk_spi_probe() 610 ret = clk_set_parent(mdata->sel_clk, mdata->parent_clk); mtk_spi_probe()
|
/linux-4.4.14/drivers/clk/sirf/ |
H A D | clk-common.c | 170 struct clk_hw *parent_clk = clk_hw_get_parent(hw); cpu_clk_round_rate() local 171 struct clk_hw *pll_parent_clk = clk_hw_get_parent(parent_clk); cpu_clk_round_rate() 173 return pll_clk_round_rate(parent_clk, rate, &pll_parent_rate); cpu_clk_round_rate() 183 struct clk_hw *parent_clk = clk_hw_get_parent(hw); cpu_clk_recalc_rate() local 184 return clk_hw_get_rate(parent_clk); cpu_clk_recalc_rate()
|
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-mt65xx.c | 277 * i2c_bus_freq = parent_clk / (clock_div * 2 * sample_cnt * step_cnt) 284 static int mtk_i2c_set_speed(struct mtk_i2c *i2c, unsigned int parent_clk, mtk_i2c_set_speed() argument 298 clk_src = parent_clk / clock_div; mtk_i2c_set_speed()
|
/linux-4.4.14/sound/soc/davinci/ |
H A D | davinci-mcasp.c | 1509 struct clk *gfclk, *parent_clk; mcasp_reparent_fck() local 1526 parent_clk = clk_get(NULL, parent_name); mcasp_reparent_fck() 1527 if (IS_ERR(parent_clk)) { mcasp_reparent_fck() 1529 ret = PTR_ERR(parent_clk); mcasp_reparent_fck() 1533 ret = clk_set_parent(gfclk, parent_clk); mcasp_reparent_fck() 1540 clk_put(parent_clk); mcasp_reparent_fck()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | serial-tegra.c | 1084 struct clk *parent_clk = clk_get_parent(tup->uart_clk); tegra_uart_set_termios() local 1085 unsigned long parent_clk_rate = clk_get_rate(parent_clk); tegra_uart_set_termios()
|
Completed in 326 milliseconds