Searched refs:hs_clk_rate (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/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.10/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.10/include/linux/phy/ |
D | phy-mipi-dphy.h | 260 unsigned long hs_clk_rate; member
|
/Linux-v5.10/drivers/phy/cadence/ |
D | cdns-dphy.c | 116 dlane_bps = opts->hs_clk_rate; in cdns_dsi_get_dphy_pll_cfg()
|
/Linux-v5.10/drivers/phy/rockchip/ |
D | phy-rockchip-dphy-rx0.c | 242 data_rate_mbps = div_u64(config->hs_clk_rate, 1000 * 1000); in rk_dphy_configure()
|
D | phy-rockchip-inno-dsidphy.c | 317 inno_dsidphy_pll_calc_rate(inno, cfg->hs_clk_rate); in inno_dsidphy_mipi_mode_enable()
|
/Linux-v5.10/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 593 phy_cfg->hs_clk_rate = dlane_bps * 8; in cdns_dsi_adjust_phy_config() 638 if ((u64)phy_cfg->hs_clk_rate * in cdns_dsi_check_conf() 836 phy_cfg->hs_clk_rate); in cdns_dsi_bridge_enable()
|
D | nwl-dsi.c | 853 if (new_cfg.mipi_dphy.hs_clk_rate == dsi->phy_cfg.mipi_dphy.hs_clk_rate) in nwl_dsi_bridge_mode_set()
|