Searched refs:clk_prepare (Results 1 - 75 of 75) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/msm/dsi/
H A Ddsi_phy.c25 u32 clk_prepare; member in struct:dsi_dphy_timing
68 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; dsi_dphy_timing_calc_clk_zero()
79 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; dsi_dphy_timing_calc_clk_zero()
103 timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, true); dsi_dphy_timing_calc()
111 /* Calculate clk_zero after clk_prepare and hs_rqst */ dsi_dphy_timing_calc()
148 temp = ((timing->clk_prepare >> 1) + 1) * 2 * ui; dsi_dphy_timing_calc()
166 timing->clk_trail, timing->clk_prepare, timing->hs_exit, dsi_dphy_timing_calc()
217 DSI_28nm_PHY_TIMING_CTRL_2_CLK_PREPARE(timing->clk_prepare)); dsi_28nm_phy_enable()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sunxi.c89 clk_prepare(gmac->tx_clk); sun7i_gmac_init()
129 clk_prepare(gmac->tx_clk); sun7i_fix_speed()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_pm.c47 ret = clk_prepare(pm->clock_gate); s5p_mfc_init_pm()
/linux-4.1.27/drivers/clk/
H A Dclk-fixed-factor.c20 * prepare - clk_prepare only ensures that parents are prepared
H A Dclk-mux.c24 * prepare - clk_prepare only ensures that parents are prepared
H A Dclk.c980 * clk_prepare - prepare a clock source
983 * clk_prepare may sleep, which differentiates it from clk_enable. In a simple
984 * case, clk_prepare can be used instead of clk_enable to ungate a clk if the
987 * It is this reason that clk_prepare and clk_enable are not mutually
988 * exclusive. In fact clk_prepare must be called before clk_enable.
991 int clk_prepare(struct clk *clk) clk_prepare() function
1004 EXPORT_SYMBOL_GPL(clk_prepare); variable
1105 * clk_enable must not sleep, which differentiates it from clk_prepare. In a
1106 * simple case, clk_enable can be used instead of clk_prepare to ungate a clk
1110 * clk_enable and clk_prepare are not mutually exclusive. In fact clk_prepare
1467 * a clk_prepare()). __clk_set_parent_before()
H A Dclk-palmas.c222 ret = clk_prepare(cinfo->clk); palmas_clks_init_configure()
H A Dclk-divider.c25 * prepare - clk_prepare only ensures that parents are prepared
/linux-4.1.27/include/trace/events/
H A Dclk.h68 DEFINE_EVENT(clk, clk_prepare,
/linux-4.1.27/arch/arm/mach-imx/
H A Dsystem.c89 clk_prepare(wdog_clk); mxc_arch_reset_init()
/linux-4.1.27/drivers/phy/
H A Dphy-omap-usb2.c285 clk_prepare(phy->wkupclk); omap_usb2_probe()
301 clk_prepare(phy->optclk); omap_usb2_probe()
H A Dphy-dm816x-usb.c243 error = clk_prepare(phy->refclk); dm816x_usb_phy_probe()
/linux-4.1.27/drivers/misc/
H A Datmel-ssc.c60 clk_prepare(ssc->clk); ssc_request()
/linux-4.1.27/drivers/clk/versatile/
H A Dclk-sp810.c102 clk_prepare(new_parent); clk_sp810_timerclken_prepare()
/linux-4.1.27/include/linux/amba/
H A Dbus.h108 return clk_prepare(dev->pclk); amba_pclk_prepare()
/linux-4.1.27/include/linux/
H A Dclk.h166 * clk_prepare - prepare a clock source
174 int clk_prepare(struct clk *clk);
176 static inline int clk_prepare(struct clk *clk) clk_prepare() function
457 ret = clk_prepare(clk); clk_prepare_enable()
H A Dclk-provider.h154 * The clk_enable/clk_disable and clk_prepare/clk_unprepare pairs allow
157 * this must be done in clk_prepare. Clock enable code that will never be
160 * Typically, drivers will call clk_prepare when a clock may be needed later
162 * required (eg. from an interrupt). Note that clk_prepare MUST have been
/linux-4.1.27/drivers/tty/serial/
H A Defm32-uart.c460 ret = clk_prepare(efm_port->clk); efm32_uart_request_port()
616 ret = clk_prepare(efm_port->clk); efm32_uart_console_setup()
619 "console: clk_prepare failed: %d\n", ret); efm32_uart_console_setup()
H A Damba-pl010.c670 ret = clk_prepare(uap->clk); pl010_console_setup()
H A Dpxa.c873 ret = clk_prepare(sport->clk); serial_pxa_probe()
H A Damba-pl011.c2095 ret = clk_prepare(uap->clk); pl011_console_setup()
H A Dimx.c1781 retval = clk_prepare(sport->clk_per); imx_console_setup()
/linux-4.1.27/drivers/pwm/
H A Dpwm-tiehrpwm.c477 ret = clk_prepare(pc->tbclk); ehrpwm_pwm_probe()
479 dev_err(&pdev->dev, "clk_prepare() failed: %d\n", ret); ehrpwm_pwm_probe()
H A Dpwm-rockchip.c256 ret = clk_prepare(pc->clk); rockchip_pwm_probe()
H A Dpwm-spear.c201 ret = clk_prepare(pc->clk); spear_pwm_probe()
H A Dpwm-vt8500.c235 ret = clk_prepare(chip->clk); vt8500_pwm_probe()
H A Dpwm-atmel.c342 ret = clk_prepare(atmel_pwm->clk); atmel_pwm_probe()
H A Dpwm-sti.c356 ret = clk_prepare(pc->clk); sti_pwm_probe()
/linux-4.1.27/drivers/rtc/
H A Drtc-coh901331.c239 clk_prepare(rtap->clk); coh901331_resume()
/linux-4.1.27/drivers/input/keyboard/
H A Dspear-keyboard.c262 error = clk_prepare(kbd->clk); spear_kbd_probe()
H A Dsamsung-keypad.c374 error = clk_prepare(keypad->clk); samsung_keypad_probe()
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-factors.c26 * prepare - clk_prepare only ensures that parents are prepared
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-mmio.c285 ret = clk_prepare(ctx->clk); regmap_mmio_gen_context()
/linux-4.1.27/drivers/gpu/host1x/
H A Dmipi.c316 err = clk_prepare(mipi->clk); tegra_mipi_probe()
/linux-4.1.27/arch/arm/common/
H A Dtimer-sp.c41 err = clk_prepare(clk); sp804_get_clock_rate()
H A Dsa1111.c710 ret = clk_prepare(sachip->clk); __sa1111_probe()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-tegra.c782 ret = clk_prepare(i2c_dev->fast_clk); tegra_i2c_probe()
797 ret = clk_prepare(i2c_dev->div_clk); tegra_i2c_probe()
H A Di2c-meson.c434 ret = clk_prepare(i2c->clk); meson_i2c_probe()
H A Di2c-sirf.c294 err = clk_prepare(clk); i2c_sirfsoc_probe()
H A Di2c-mv64xxx.c905 clk_prepare(drv_data->clk); mv64xxx_i2c_probe()
H A Di2c-rk3x.c985 ret = clk_prepare(i2c->clk); rk3x_i2c_probe()
/linux-4.1.27/drivers/iio/adc/
H A Dexynos_adc.c138 ret = clk_prepare(info->clk); exynos_adc_prepare_clk()
145 ret = clk_prepare(info->sclk); exynos_adc_prepare_clk()
/linux-4.1.27/drivers/media/platform/s5p-g2d/
H A Dg2d.c648 ret = clk_prepare(dev->clk); g2d_probe()
661 ret = clk_prepare(dev->gate); g2d_probe()
/linux-4.1.27/sound/soc/mxs/
H A Dmxs-saif.c428 clk_prepare(saif->clk); mxs_saif_hw_params()
443 clk_prepare(master_saif->clk); mxs_saif_hw_params()
/linux-4.1.27/drivers/mfd/
H A Domap-usb-tll.c273 clk_prepare(tll->ch_clk[i]); usbtll_omap_probe()
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-rcar-gen2.c43 * prepare - clk_prepare only ensures that parents are prepared
/linux-4.1.27/drivers/clocksource/
H A Dsh_mtu2.c415 ret = clk_prepare(mtu->clk); sh_mtu2_setup()
H A Dsh_tmu.c562 ret = clk_prepare(tmu->clk); sh_tmu_setup()
H A Dsh_cmt.c784 clk_prepare(ch->cmt->clk); sh_cmt_clock_event_resume()
993 ret = clk_prepare(cmt->clk); sh_cmt_setup()
/linux-4.1.27/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c1303 ret = clk_prepare(vop->hclk); vop_initial()
1309 ret = clk_prepare(vop->dclk); vop_initial()
1315 ret = clk_prepare(vop->aclk); vop_initial()
/linux-4.1.27/drivers/media/platform/s3c-camif/
H A Dcamif-core.c364 ret = clk_prepare(camif->clock[i]); camif_clk_get()
/linux-4.1.27/drivers/spi/
H A Dspi-tegra20-sflash.c597 dev_err(tsd->dev, "clk_prepare failed: %d\n", ret); tegra_sflash_runtime_resume()
H A Dspi-tegra114.c1212 dev_err(tspi->dev, "clk_prepare failed: %d\n", ret); tegra_spi_runtime_resume()
H A Dspi-tegra20-slink.c1213 dev_err(tspi->dev, "clk_prepare failed: %d\n", ret); tegra_slink_runtime_resume()
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_gpu.c99 clk_prepare(gpu->grp_clks[i]); enable_clk()
/linux-4.1.27/drivers/base/power/
H A Dclock_ops.c66 clk_prepare(ce->clk); pm_clk_acquire()
/linux-4.1.27/arch/arm/mach-omap2/
H A Domap_hwmod.c782 * HACK: This needs a re-visit once clk_prepare() is implemented _init_main_clk()
784 * If clk_prepare() is used at some point to do things like _init_main_clk()
789 clk_prepare(oh->_clk); _init_main_clk()
829 * HACK: This needs a re-visit once clk_prepare() is implemented _init_interface_clks()
831 * If clk_prepare() is used at some point to do things like _init_interface_clks()
836 clk_prepare(os->_clk); _init_interface_clks()
866 * HACK: This needs a re-visit once clk_prepare() is implemented _init_opt_clks()
868 * If clk_prepare() is used at some point to do things like _init_opt_clks()
873 clk_prepare(oc->_clk); _init_opt_clks()
/linux-4.1.27/drivers/iommu/
H A Dexynos-iommu.c658 ret = clk_prepare(data->clk); exynos_sysmmu_probe()
667 ret = clk_prepare(data->clk_master); exynos_sysmmu_probe()
/linux-4.1.27/drivers/thermal/samsung/
H A Dexynos_tmu.c1162 ret = clk_prepare(data->clk_sec); exynos_tmu_probe()
1169 ret = clk_prepare(data->clk); exynos_tmu_probe()
/linux-4.1.27/drivers/video/fbdev/
H A Damba-clcd.c458 ret = clk_prepare(fb->clk); clcdfb_register()
/linux-4.1.27/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c569 ret = clk_prepare(plgpio->clk); plgpio_probe()
/linux-4.1.27/sound/soc/sh/rcar/
H A Dcore.c154 int ret = clk_prepare(clk); rsnd_mod_init()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c1477 ret = clk_prepare(device_data->clk); ux500_cryp_probe()
1479 dev_err(dev, "[%s]: clk_prepare() failed!", __func__); ux500_cryp_probe()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c1710 ret = clk_prepare(device_data->clk); ux500_hash_probe()
1712 dev_err(dev, "%s: clk_prepare() failed!\n", __func__); ux500_hash_probe()
/linux-4.1.27/drivers/dma/
H A Dimx-sdma.c1506 clk_prepare(sdma->clk_ipg); sdma_probe()
1507 clk_prepare(sdma->clk_ahb); sdma_probe()
H A Ds3c24xx-dma.c1269 ret = clk_prepare(phy->clk); s3c24xx_dma_probe()
/linux-4.1.27/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c1025 ret = clk_prepare(gsc->clock); gsc_clk_get()
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dfimc-core.c820 ret = clk_prepare(fimc->clock[i]); fimc_clk_get()
H A Dmipi-csis.c412 ret = clk_prepare(state->clock[i]); s5pcsis_clk_get()
H A Dfimc-lite.c1489 ret = clk_prepare(fimc->clock); fimc_lite_clk_get()
/linux-4.1.27/drivers/crypto/
H A Datmel-sha.c1414 err = clk_prepare(sha_dd->iclk); atmel_sha_probe()
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-at91.c1764 ret = clk_prepare(at91_chip->clock); at91_gpio_probe()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dat91_udc.c1865 retval = clk_prepare(udc->fclk); at91udc_probe()
H A Dpxa27x_udc.c2451 retval = clk_prepare(udc->clk); pxa_udc_probe()
/linux-4.1.27/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c1226 clk_prepare(clk); nmk_gpio_probe()

Completed in 2164 milliseconds