Home
last modified time | relevance | path

Searched refs:clk_prepare (Results 1 – 25 of 99) sorted by relevance

1234

/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy.c35 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero()
46 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero()
72 timing->clk_prepare = linear_inter(tmax, tmin, pcnt0, 0, true); in msm_dsi_dphy_timing_calc()
117 temp = ((timing->clk_prepare >> 1) + 1) * 2 * ui; in msm_dsi_dphy_timing_calc()
138 timing->clk_trail, timing->clk_prepare, timing->hs_exit, in msm_dsi_dphy_timing_calc()
252 timing->clk_trail, timing->clk_prepare, timing->hs_exit, in msm_dsi_dphy_timing_calc_v2()
295 temp = 300 * coeff - (timing->clk_prepare << 3) * ui; in msm_dsi_dphy_timing_calc_v3()
337 temp = 8 * ui + (timing->clk_prepare << 3) * ui; in msm_dsi_dphy_timing_calc_v3()
362 timing->clk_trail, timing->clk_prepare, timing->hs_exit, in msm_dsi_dphy_timing_calc_v3()
408 temp = 300 * coeff - (timing->clk_prepare << 3) * ui; in msm_dsi_dphy_timing_calc_v4()
[all …]
H A Ddsi_phy.h69 u32 clk_prepare; member
H A Ddsi_phy_20nm.c20 DSI_20nm_PHY_TIMING_CTRL_2_CLK_PREPARE(timing->clk_prepare)); in dsi_20nm_dphy_set_timing()
/openbmc/linux/drivers/phy/
H A Dphy-core-mipi-dphy.c42 cfg->clk_prepare = 38000; in phy_mipi_dphy_calc_config()
126 if (cfg->clk_prepare < 38000 || cfg->clk_prepare > 95000) in phy_mipi_dphy_config_validate()
138 if ((cfg->clk_prepare + cfg->clk_zero) < 300000) in phy_mipi_dphy_config_validate()
H A Dphy-lpc18xx-usb-otg.c37 return clk_prepare(lpc->clk); in lpc18xx_usb_otg_phy_init()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-stm32.c101 int (*clk_prepare)(struct stm32_dwmac *dwmac, bool prepare); member
134 if (dwmac->ops->clk_prepare) { in stm32_dwmac_init()
135 ret = dwmac->ops->clk_prepare(dwmac, true); in stm32_dwmac_init()
260 if (dwmac->ops->clk_prepare) in stm32_dwmac_clk_disable()
261 dwmac->ops->clk_prepare(dwmac, false); in stm32_dwmac_clk_disable()
514 .clk_prepare = stm32mp1_clk_prepare,
H A Ddwmac-sunxi.c53 ret = clk_prepare(gmac->tx_clk); in sun7i_gmac_init()
95 clk_prepare(gmac->tx_clk); in sun7i_fix_speed()
/openbmc/linux/include/linux/phy/
H A Dphy-mipi-dphy.h59 unsigned int clk_prepare; member
/openbmc/linux/include/linux/
H A Dclk.h290 int clk_prepare(struct clk *clk);
311 static inline int clk_prepare(struct clk *clk) in clk_prepare() function
1072 ret = clk_prepare(clk); in clk_prepare_enable()
/openbmc/linux/drivers/clk/
H A Dclk-devres.c71 return __devm_clk_get(dev, id, clk_get, clk_prepare, clk_unprepare); in devm_clk_get_prepared()
91 clk_prepare, clk_unprepare); in devm_clk_get_optional_prepared()
H A Dclk-bulk.c183 ret = clk_prepare(clks[i].clk); in clk_bulk_prepare()
H A Dclk-palmas.c211 ret = clk_prepare(cinfo->hw.clk); in palmas_clks_init_configure()
/openbmc/linux/arch/arm/mach-imx/
H A Dsystem.c74 clk_prepare(wdog_clk); in mxc_arch_reset_init()
/openbmc/linux/drivers/usb/host/
H A Dohci-omap.c252 retval = clk_prepare(priv->usb_host_ck); in ohci_hcd_omap_probe()
266 retval = clk_prepare(priv->usb_dc_ck); in ohci_hcd_omap_probe()
/openbmc/linux/drivers/media/cec/platform/stm32/
H A Dstm32-cec.c294 ret = clk_prepare(cec->clk_cec); in stm32_cec_probe()
308 ret = clk_prepare(cec->clk_hdmi_cec); in stm32_cec_probe()
/openbmc/linux/drivers/nvmem/
H A Dmxs-ocotp.c162 ret = clk_prepare(otp->clk); in mxs_ocotp_probe()
H A Dsunplus-ocotp.c186 ret = clk_prepare(otp->clk); in sp_ocotp_probe()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pxa.c113 ret = clk_prepare(data->clk); in serial_pxa_probe()
/openbmc/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8-mipi-dphy.c269 if (2 * dphy_opts->clk_prepare > 3 * lp_t) { in mixel_dphy_config_from_opts()
272 dphy_opts->clk_prepare, lp_t); in mixel_dphy_config_from_opts()
276 cfg->mc_prg_hs_prepare = dphy_opts->clk_prepare > lp_t ? 1 : 0; in mixel_dphy_config_from_opts()
/openbmc/linux/drivers/base/regmap/
H A Dregmap-mmio.c541 ret = clk_prepare(ctx->clk); in regmap_mmio_gen_context()
597 return clk_prepare(ctx->clk); in regmap_mmio_attach_clk()
/openbmc/linux/drivers/misc/
H A Datmel-ssc.c60 clk_prepare(ssc->clk); in ssc_request()
/openbmc/linux/drivers/phy/ti/
H A Dphy-dm816x-usb.c230 error = clk_prepare(phy->refclk); in dm816x_usb_phy_probe()
/openbmc/linux/drivers/pwm/
H A Dpwm-spear.c220 ret = clk_prepare(pc->clk); in spear_pwm_probe()
/openbmc/linux/sound/soc/mxs/
H A Dmxs-saif.c395 ret = clk_prepare(saif->clk); in mxs_saif_startup()
467 ret = clk_prepare(master_saif->clk); in mxs_saif_hw_params()
/openbmc/linux/include/trace/events/
H A Dclk.h60 DEFINE_EVENT(clk, clk_prepare,

1234