Home
last modified time | relevance | path

Searched refs:lp_t (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8-mipi-dphy.c192 u32 lp_t, numerator, denominator; in mixel_dphy_config_from_opts() local
247 lp_t = tmp; in mixel_dphy_config_from_opts()
249 dphy_opts->lp_clk_rate, lp_t); in mixel_dphy_config_from_opts()
252 if (2 * dphy_opts->hs_prepare > 5 * lp_t) { in mixel_dphy_config_from_opts()
255 dphy_opts->hs_prepare, lp_t); in mixel_dphy_config_from_opts()
259 if (dphy_opts->hs_prepare < lp_t) { in mixel_dphy_config_from_opts()
262 tmp = 2 * (dphy_opts->hs_prepare - lp_t); in mixel_dphy_config_from_opts()
263 do_div(tmp, lp_t); in mixel_dphy_config_from_opts()
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()
[all …]