parent_clk 21 drivers/clk/bcm/clk-bcm2835-aux.c struct clk *parent_clk; parent_clk 25 drivers/clk/bcm/clk-bcm2835-aux.c parent_clk = devm_clk_get(dev, NULL); parent_clk 26 drivers/clk/bcm/clk-bcm2835-aux.c if (IS_ERR(parent_clk)) parent_clk 27 drivers/clk/bcm/clk-bcm2835-aux.c return PTR_ERR(parent_clk); parent_clk 28 drivers/clk/bcm/clk-bcm2835-aux.c parent = __clk_get_name(parent_clk); parent_clk 70 drivers/clk/clk-bd718x7.c const char *parent_clk; parent_clk 83 drivers/clk/clk-bd718x7.c parent_clk = of_clk_get_parent_name(parent->of_node, 0); parent_clk 85 drivers/clk/clk-bd718x7.c init.parent_names = &parent_clk; parent_clk 86 drivers/clk/clk-bd718x7.c if (!parent_clk) { parent_clk 3601 drivers/clk/meson/meson8b.c struct clk *cpu_clk, *parent_clk; parent_clk 3620 drivers/clk/meson/meson8b.c parent_clk = __clk_lookup(clk_hw_get_name(parent_clk_hw)); parent_clk 3622 drivers/clk/meson/meson8b.c ret = clk_set_parent(cpu_clk, parent_clk); parent_clk 388 drivers/clk/microchip/clk-core.c struct clk_hw *parent_clk, *best_parent_clk = NULL; parent_clk 396 drivers/clk/microchip/clk-core.c parent_clk = clk_hw_get_parent_by_index(hw, i); parent_clk 397 drivers/clk/microchip/clk-core.c if (!parent_clk) parent_clk 401 drivers/clk/microchip/clk-core.c parent_rate = clk_hw_get_rate(parent_clk); parent_clk 408 drivers/clk/microchip/clk-core.c best_parent_clk = parent_clk; parent_clk 411 drivers/clk/samsung/clk-cpu.c struct clk *parent_clk; parent_clk 441 drivers/clk/samsung/clk-cpu.c parent_clk = __clk_lookup(parent); parent_clk 442 drivers/clk/samsung/clk-cpu.c if (!parent_clk) { parent_clk 449 drivers/clk/samsung/clk-cpu.c ret = clk_notifier_register(parent_clk, &cpuclk->clk_nb); parent_clk 474 drivers/clk/samsung/clk-cpu.c clk_notifier_unregister(parent_clk, &cpuclk->clk_nb); parent_clk 169 drivers/clk/sirf/clk-common.c struct clk_hw *parent_clk = clk_hw_get_parent(hw); parent_clk 170 drivers/clk/sirf/clk-common.c struct clk_hw *pll_parent_clk = clk_hw_get_parent(parent_clk); parent_clk 172 drivers/clk/sirf/clk-common.c return pll_clk_round_rate(parent_clk, rate, &pll_parent_rate); parent_clk 182 drivers/clk/sirf/clk-common.c struct clk_hw *parent_clk = clk_hw_get_parent(hw); parent_clk 183 drivers/clk/sirf/clk-common.c return clk_hw_get_rate(parent_clk); parent_clk 605 drivers/gpu/drm/ingenic/ingenic-drm.c struct clk *parent_clk; parent_clk 759 drivers/gpu/drm/ingenic/ingenic-drm.c parent_clk = clk_get_parent(priv->lcd_clk); parent_clk 760 drivers/gpu/drm/ingenic/ingenic-drm.c parent_rate = clk_get_rate(parent_clk); parent_clk 610 drivers/gpu/drm/omapdrm/dss/dss.c if (dss->parent_clk == NULL) { parent_clk 625 drivers/gpu/drm/omapdrm/dss/dss.c prate = clk_get_rate(dss->parent_clk); parent_clk 679 drivers/gpu/drm/omapdrm/dss/dss.c if (dss->parent_clk == NULL) { parent_clk 682 drivers/gpu/drm/omapdrm/dss/dss.c prate = clk_get_rate(dss->parent_clk); parent_clk 843 drivers/gpu/drm/omapdrm/dss/dss.c dss->parent_clk = clk; parent_clk 850 drivers/gpu/drm/omapdrm/dss/dss.c if (dss->parent_clk) parent_clk 851 drivers/gpu/drm/omapdrm/dss/dss.c clk_put(dss->parent_clk); parent_clk 232 drivers/gpu/drm/omapdrm/dss/dss.h struct clk *parent_clk; parent_clk 966 drivers/i2c/busses/i2c-aspeed.c struct clk *parent_clk; parent_clk 979 drivers/i2c/busses/i2c-aspeed.c parent_clk = devm_clk_get(&pdev->dev, NULL); parent_clk 980 drivers/i2c/busses/i2c-aspeed.c if (IS_ERR(parent_clk)) parent_clk 981 drivers/i2c/busses/i2c-aspeed.c return PTR_ERR(parent_clk); parent_clk 982 drivers/i2c/busses/i2c-aspeed.c bus->parent_clk_frequency = clk_get_rate(parent_clk); parent_clk 984 drivers/i2c/busses/i2c-aspeed.c devm_clk_put(&pdev->dev, parent_clk); parent_clk 504 drivers/i2c/busses/i2c-mt65xx.c static int mtk_i2c_set_speed(struct mtk_i2c *i2c, unsigned int parent_clk) parent_clk 514 drivers/i2c/busses/i2c-mt65xx.c clk_src = parent_clk / i2c->clk_src_div; parent_clk 163 drivers/iio/adc/ingenic-adc.c struct clk *parent_clk; parent_clk 167 drivers/iio/adc/ingenic-adc.c parent_clk = clk_get_parent(adc->clk); parent_clk 168 drivers/iio/adc/ingenic-adc.c if (!parent_clk) { parent_clk 172 drivers/iio/adc/ingenic-adc.c parent_rate = clk_get_rate(parent_clk); parent_clk 104 drivers/mmc/host/meson-mx-sdio.c struct clk *parent_clk; parent_clk 562 drivers/mmc/host/meson-mx-sdio.c clk_get_rate(host->parent_clk)); parent_clk 583 drivers/mmc/host/meson-mx-sdio.c clk_fixed_factor_parent = __clk_get_name(host->parent_clk); parent_clk 678 drivers/mmc/host/meson-mx-sdio.c host->parent_clk = devm_clk_get(host->controller_dev, "clkin"); parent_clk 679 drivers/mmc/host/meson-mx-sdio.c if (IS_ERR(host->parent_clk)) { parent_clk 680 drivers/mmc/host/meson-mx-sdio.c ret = PTR_ERR(host->parent_clk); parent_clk 99 drivers/spi/spi-mt65xx.c struct clk *parent_clk, *sel_clk, *spi_clk; parent_clk 715 drivers/spi/spi-mt65xx.c mdata->parent_clk = devm_clk_get(&pdev->dev, "parent-clk"); parent_clk 716 drivers/spi/spi-mt65xx.c if (IS_ERR(mdata->parent_clk)) { parent_clk 717 drivers/spi/spi-mt65xx.c ret = PTR_ERR(mdata->parent_clk); parent_clk 742 drivers/spi/spi-mt65xx.c ret = clk_set_parent(mdata->sel_clk, mdata->parent_clk); parent_clk 1264 drivers/tty/serial/serial-tegra.c struct clk *parent_clk = clk_get_parent(tup->uart_clk); parent_clk 1265 drivers/tty/serial/serial-tegra.c unsigned long parent_clk_rate = clk_get_rate(parent_clk); parent_clk 76 drivers/video/fbdev/omap2/omapfb/dss/dss.c struct clk *parent_clk; parent_clk 522 drivers/video/fbdev/omap2/omapfb/dss/dss.c if (dss.parent_clk == NULL) { parent_clk 537 drivers/video/fbdev/omap2/omapfb/dss/dss.c prate = clk_get_rate(dss.parent_clk); parent_clk 587 drivers/video/fbdev/omap2/omapfb/dss/dss.c if (dss.parent_clk == NULL) { parent_clk 590 drivers/video/fbdev/omap2/omapfb/dss/dss.c prate = clk_get_rate(dss.parent_clk); parent_clk 753 drivers/video/fbdev/omap2/omapfb/dss/dss.c dss.parent_clk = clk; parent_clk 760 drivers/video/fbdev/omap2/omapfb/dss/dss.c if (dss.parent_clk) parent_clk 761 drivers/video/fbdev/omap2/omapfb/dss/dss.c clk_put(dss.parent_clk); parent_clk 628 sound/soc/sh/siu_dai.c struct clk *siu_clk, *parent_clk; parent_clk 665 sound/soc/sh/siu_dai.c parent_clk = clk_get(dai->dev, parent_name); parent_clk 666 sound/soc/sh/siu_dai.c if (IS_ERR(parent_clk)) { parent_clk 667 sound/soc/sh/siu_dai.c ret = PTR_ERR(parent_clk); parent_clk 672 sound/soc/sh/siu_dai.c ret = clk_set_parent(siu_clk, parent_clk); parent_clk 684 sound/soc/sh/siu_dai.c clk_put(parent_clk); parent_clk 359 sound/soc/stm/stm32_sai_sub.c struct clk *parent_clk = sai->pdata->clk_x8k; parent_clk 363 sound/soc/stm/stm32_sai_sub.c parent_clk = sai->pdata->clk_x11k; parent_clk 365 sound/soc/stm/stm32_sai_sub.c ret = clk_set_parent(sai->sai_ck, parent_clk); parent_clk 1687 sound/soc/ti/davinci-mcasp.c struct clk *gfclk, *parent_clk; parent_clk 1706 sound/soc/ti/davinci-mcasp.c parent_clk = clk_get(NULL, parent_name); parent_clk 1707 sound/soc/ti/davinci-mcasp.c if (IS_ERR(parent_clk)) { parent_clk 1709 sound/soc/ti/davinci-mcasp.c ret = PTR_ERR(parent_clk); parent_clk 1713 sound/soc/ti/davinci-mcasp.c ret = clk_set_parent(gfclk, parent_clk); parent_clk 1720 sound/soc/ti/davinci-mcasp.c clk_put(parent_clk); parent_clk 281 sound/soc/ti/omap-dmic.c struct clk *parent_clk, *mux; parent_clk 323 sound/soc/ti/omap-dmic.c parent_clk = clk_get(dmic->dev, parent_clk_name); parent_clk 324 sound/soc/ti/omap-dmic.c if (IS_ERR(parent_clk)) { parent_clk 332 sound/soc/ti/omap-dmic.c clk_put(parent_clk); parent_clk 340 sound/soc/ti/omap-dmic.c ret = clk_set_parent(mux, parent_clk); parent_clk 343 sound/soc/ti/omap-dmic.c ret = clk_set_parent(mux, parent_clk); parent_clk 357 sound/soc/ti/omap-dmic.c clk_put(parent_clk);