Searched refs:hs_clk_rate (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/phy/ |
D | phy-core-mipi-dphy.c | 27 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/ |
D | phy-fsl-imx8-mipi-dphy.c | 165 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/ |
D | phy-mipi-dphy.h | 260 unsigned long hs_clk_rate; member
|
/Linux-v5.4/drivers/phy/cadence/ |
D | cdns-dphy.c | 116 dlane_bps = opts->hs_clk_rate; in cdns_dsi_get_dphy_pll_cfg()
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 594 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()
|