/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 35 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 D | dsi_phy.h | 69 u32 clk_prepare; member
|
H A D | dsi_phy_20nm.c | 20 DSI_20nm_PHY_TIMING_CTRL_2_CLK_PREPARE(timing->clk_prepare)); in dsi_20nm_dphy_set_timing()
|
/openbmc/linux/drivers/phy/ |
H A D | phy-core-mipi-dphy.c | 42 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 D | phy-lpc18xx-usb-otg.c | 37 return clk_prepare(lpc->clk); in lpc18xx_usb_otg_phy_init()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-stm32.c | 101 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 D | dwmac-sunxi.c | 53 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 D | phy-mipi-dphy.h | 59 unsigned int clk_prepare; member
|
/openbmc/linux/include/linux/ |
H A D | clk.h | 290 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 D | clk-devres.c | 71 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 D | clk-bulk.c | 183 ret = clk_prepare(clks[i].clk); in clk_bulk_prepare()
|
H A D | clk-palmas.c | 211 ret = clk_prepare(cinfo->hw.clk); in palmas_clks_init_configure()
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | system.c | 74 clk_prepare(wdog_clk); in mxc_arch_reset_init()
|
/openbmc/linux/drivers/usb/host/ |
H A D | ohci-omap.c | 252 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 D | stm32-cec.c | 294 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 D | mxs-ocotp.c | 162 ret = clk_prepare(otp->clk); in mxs_ocotp_probe()
|
H A D | sunplus-ocotp.c | 186 ret = clk_prepare(otp->clk); in sp_ocotp_probe()
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_pxa.c | 113 ret = clk_prepare(data->clk); in serial_pxa_probe()
|
/openbmc/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8-mipi-dphy.c | 269 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 D | regmap-mmio.c | 541 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 D | atmel-ssc.c | 60 clk_prepare(ssc->clk); in ssc_request()
|
/openbmc/linux/drivers/phy/ti/ |
H A D | phy-dm816x-usb.c | 230 error = clk_prepare(phy->refclk); in dm816x_usb_phy_probe()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-spear.c | 220 ret = clk_prepare(pc->clk); in spear_pwm_probe()
|
/openbmc/linux/sound/soc/mxs/ |
H A D | mxs-saif.c | 395 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 D | clk.h | 60 DEFINE_EVENT(clk, clk_prepare,
|