Searched refs:dphy_opts (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8-mipi-dphy.c | 187 struct phy_configure_opts_mipi_dphy *dphy_opts, in mixel_dphy_config_from_opts() argument 197 if (dphy_opts->hs_clk_rate > DATA_RATE_MAX_SPEED || in mixel_dphy_config_from_opts() 198 dphy_opts->hs_clk_rate < DATA_RATE_MIN_SPEED) in mixel_dphy_config_from_opts() 201 numerator = dphy_opts->hs_clk_rate; in mixel_dphy_config_from_opts() 207 dphy_opts->hs_clk_rate, ref_clk); in mixel_dphy_config_from_opts() 233 dphy_opts->hs_clk_rate, ref_clk, in mixel_dphy_config_from_opts() 239 dphy_opts->hs_clk_rate, ref_clk, numerator, denominator); in mixel_dphy_config_from_opts() 243 do_div(tmp, dphy_opts->lp_clk_rate); /* ps */ 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() [all …]
|
/linux/drivers/gpu/drm/bridge/imx/ |
H A D | imx93-mipi-dsi.c | 221 struct phy_configure_opts_mipi_dphy *dphy_opts, in dphy_pll_get_configure_from_opts() argument 235 if (dphy_opts->hs_clk_rate < DATA_RATE_MIN_SPEED || in dphy_pll_get_configure_from_opts() 236 dphy_opts->hs_clk_rate > DATA_RATE_MAX_SPEED) { in dphy_pll_get_configure_from_opts() 238 dphy_opts->hs_clk_rate); in dphy_pll_get_configure_from_opts() 242 fout = data_rate_to_fout(dphy_opts->hs_clk_rate); in dphy_pll_get_configure_from_opts() 321 dphy_pll_get_hsfreqrange(struct phy_configure_opts_mipi_dphy *dphy_opts) in dphy_pll_get_hsfreqrange() argument 323 unsigned long mbps = dphy_opts->hs_clk_rate / MHZ(1); in dphy_pll_get_hsfreqrange() 333 static u8 dphy_pll_get_vco(struct phy_configure_opts_mipi_dphy *dphy_opts) in dphy_pll_get_vco() argument 335 unsigned long fout = data_rate_to_fout(dphy_opts->hs_clk_rate) / MHZ(1); in dphy_pll_get_vco() 345 static u8 dphy_pll_get_prop(struct phy_configure_opts_mipi_dphy *dphy_opts) in dphy_pll_get_prop() argument [all …]
|