Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/phy/
Dphy-core-mipi-dphy.c27 unsigned long long hs_clk_rate; in phy_mipi_dphy_get_default_config() local
33 hs_clk_rate = pixel_clock * bpp; in phy_mipi_dphy_get_default_config()
34 do_div(hs_clk_rate, lanes); in phy_mipi_dphy_get_default_config()
36 ui = ALIGN(PSEC_PER_SEC, hs_clk_rate); in phy_mipi_dphy_get_default_config()
37 do_div(ui, hs_clk_rate); in phy_mipi_dphy_get_default_config()
75 cfg->hs_clk_rate = hs_clk_rate; in phy_mipi_dphy_get_default_config()
93 ui = ALIGN(PSEC_PER_SEC, cfg->hs_clk_rate); in phy_mipi_dphy_config_validate()
94 do_div(ui, cfg->hs_clk_rate); in phy_mipi_dphy_config_validate()
/Linux-v5.4/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c165 if (dphy_opts->hs_clk_rate > DATA_RATE_MAX_SPEED || in mixel_dphy_config_from_opts()
166 dphy_opts->hs_clk_rate < DATA_RATE_MIN_SPEED) in mixel_dphy_config_from_opts()
169 numerator = dphy_opts->hs_clk_rate; in mixel_dphy_config_from_opts()
175 dphy_opts->hs_clk_rate, ref_clk); in mixel_dphy_config_from_opts()
201 dphy_opts->hs_clk_rate, ref_clk, in mixel_dphy_config_from_opts()
207 dphy_opts->hs_clk_rate, ref_clk, numerator, denominator); in mixel_dphy_config_from_opts()
247 n = (144 * (dphy_opts->hs_clk_rate / 1000000) - 47500) / 10000; in mixel_dphy_config_from_opts()
251 n = (34 * (dphy_opts->hs_clk_rate / 1000000) - 2500) / 1000; in mixel_dphy_config_from_opts()
255 n = (103 * (dphy_opts->hs_clk_rate / 1000000) + 10000) / 10000; in mixel_dphy_config_from_opts()
264 if (dphy_opts->hs_clk_rate < MBPS(80)) in mixel_dphy_config_from_opts()
[all …]
/Linux-v5.4/include/linux/phy/
Dphy-mipi-dphy.h260 unsigned long hs_clk_rate; member
/Linux-v5.4/drivers/phy/cadence/
Dcdns-dphy.c116 dlane_bps = opts->hs_clk_rate; in cdns_dsi_get_dphy_pll_cfg()
/Linux-v5.4/drivers/gpu/drm/bridge/
Dcdns-dsi.c594 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config()
639 if ((u64)phy_cfg->hs_clk_rate * in cdns_dsi_check_conf()
835 phy_cfg->hs_clk_rate); in cdns_dsi_bridge_enable()