Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/phy/
Dphy-mipi-dphy.h260 unsigned long hs_clk_rate; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0031_linux_drivers_perf_phy_pinctrl_ptp_pwm.patch667 - if (dphy_opts->hs_clk_rate < MBPS(80))
669 - else if (dphy_opts->hs_clk_rate < MBPS(90))
671 - else if (dphy_opts->hs_clk_rate < MBPS(125))
673 - else if (dphy_opts->hs_clk_rate < MBPS(150))
675 - else if (dphy_opts->hs_clk_rate < MBPS(225))
677 - else if (dphy_opts->hs_clk_rate < MBPS(500))
682 + if (dphy_opts->hs_clk_rate < MBPS(80))
684 + else if (dphy_opts->hs_clk_rate < MBPS(90))
686 + else if (dphy_opts->hs_clk_rate < MBPS(125))
688 + else if (dphy_opts->hs_clk_rate < MBPS(150))
[all …]
D0020_linux_drivers_gpu.patch6765 - if (new_cfg.mipi_dphy.hs_clk_rate == dsi->phy_cfg.mipi_dphy.hs_clk_rate)
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dcdns-dphy.c116 dlane_bps = opts->hs_clk_rate; in cdns_dsi_get_dphy_pll_cfg()
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-dphy-rx0.c242 data_rate_mbps = div_u64(config->hs_clk_rate, 1000 * 1000); in rk_dphy_configure()
Dphy-rockchip-inno-dsidphy.c317 inno_dsidphy_pll_calc_rate(inno, cfg->hs_clk_rate); in inno_dsidphy_mipi_mode_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dcdns-dsi.c593 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()
Dnwl-dsi.c863 if (new_cfg.mipi_dphy.hs_clk_rate == dsi->phy_cfg.mipi_dphy.hs_clk_rate) in nwl_dsi_bridge_mode_set()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch6037 + ret = clk_set_rate(mipi_dsi->px_clk, mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate);
6040 + mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate);
6107 + if (mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate > 600*1000000) {
6108 + mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate = max(800 * 1000000,
6109 + mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate);
6112 + *lane_mbps = mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate / 1000000;
10785 + temp = (1000000 * 100) / (priv->config.hs_clk_rate / 1000);
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch18131 + unsigned long target_pclk, hs_clk_rate;
18186 + hs_clk_rate = dsi->phy_opts.mipi_dphy.hs_clk_rate;
18187 + dsi->lane_mbps = DIV_ROUND_UP(hs_clk_rate, USEC_PER_SEC);
46405 - inno_dsidphy_pll_calc_rate(inno, cfg->hs_clk_rate);
46725 + inno_dsidphy_pll_calc_rate(inno, cfg->hs_clk_rate);
46726 + cfg->hs_clk_rate = inno->pll.rate;
46727 + opts->mipi_dphy.hs_clk_rate = inno->pll.rate;