Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c160 u32 lp_t, numerator, denominator; in mixel_dphy_config_from_opts() local
215 lp_t = tmp; in mixel_dphy_config_from_opts()
217 dphy_opts->lp_clk_rate, lp_t); in mixel_dphy_config_from_opts()
220 if (2 * dphy_opts->hs_prepare > 5 * lp_t) { in mixel_dphy_config_from_opts()
223 dphy_opts->hs_prepare, lp_t); in mixel_dphy_config_from_opts()
227 if (dphy_opts->hs_prepare < lp_t) { in mixel_dphy_config_from_opts()
230 tmp = 2 * (dphy_opts->hs_prepare - lp_t); in mixel_dphy_config_from_opts()
231 do_div(tmp, lp_t); in mixel_dphy_config_from_opts()
237 if (2 * dphy_opts->clk_prepare > 3 * lp_t) { in mixel_dphy_config_from_opts()
240 dphy_opts->clk_prepare, lp_t); in mixel_dphy_config_from_opts()
[all …]