Home
last modified time | relevance | path

Searched refs:hs_prepare (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/drivers/phy/
Dphy-core-mipi-dphy.c50 cfg->hs_prepare = 40000 + 4 * ui; in phy_mipi_dphy_calc_config()
150 if (cfg->hs_prepare < (40000 + 4 * ui) || in phy_mipi_dphy_config_validate()
151 cfg->hs_prepare > (85000 + 6 * ui)) in phy_mipi_dphy_config_validate()
154 if ((cfg->hs_prepare + cfg->hs_zero) < (145000 + 10 * ui)) in phy_mipi_dphy_config_validate()
/Linux-v6.6/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c92 timing->hs_prepare = linear_inter(tmax, tmin, pcnt1, 0, true); in msm_dsi_dphy_timing_calc()
95 temp = ((timing->hs_prepare >> 1) + 1) * 2 * ui + 2 * ui; in msm_dsi_dphy_timing_calc()
139 timing->hs_zero, timing->hs_prepare, timing->hs_trail, in msm_dsi_dphy_timing_calc()
201 timing->hs_prepare = linear_inter(tmax, tmin, pcnt1, 0, false); in msm_dsi_dphy_timing_calc_v2()
203 temp = 145 * coeff + 10 * ui - ((timing->hs_prepare << 3) + val) * ui; in msm_dsi_dphy_timing_calc_v2()
253 timing->hs_zero, timing->hs_prepare, timing->hs_trail, in msm_dsi_dphy_timing_calc_v2()
309 timing->hs_prepare = linear_inter(tmax, tmin, pcnt1, 0, false); in msm_dsi_dphy_timing_calc_v3()
311 temp = 145 * coeff + 10 * ui - (timing->hs_prepare << 3) * ui; in msm_dsi_dphy_timing_calc_v3()
363 timing->hs_zero, timing->hs_prepare, timing->hs_trail, in msm_dsi_dphy_timing_calc_v3()
422 timing->hs_prepare = linear_inter(tmax, tmin, pcnt_hs_prep, 0, false); in msm_dsi_dphy_timing_calc_v4()
[all …]
Ddsi_phy.h72 u32 hs_prepare; member
Ddsi_phy_20nm.c29 DSI_20nm_PHY_TIMING_CTRL_6_HS_PREPARE(timing->hs_prepare)); in dsi_20nm_dphy_set_timing()
Ddsi_phy_28nm_8960.c492 DSI_28nm_8960_PHY_TIMING_CTRL_6_HS_PREPARE(timing->hs_prepare)); in dsi_28nm_dphy_set_timing()
Ddsi_phy_28nm.c717 DSI_28nm_PHY_TIMING_CTRL_6_HS_PREPARE(timing->hs_prepare)); in dsi_28nm_dphy_set_timing()
Ddsi_phy_10nm.c869 timing->hs_prepare); in dsi_10nm_phy_enable()
Ddsi_phy_14nm.c913 u32 prepare = clk_ln ? timing->clk_prepare : timing->hs_prepare; in dsi_14nm_dphy_set_timing()
Ddsi_phy_7nm.c1045 dsi_phy_write(base + REG_DSI_7nm_PHY_CMN_TIMING_CTRL_6, timing->hs_prepare); in dsi_7nm_phy_enable()
/Linux-v6.6/include/linux/phy/
Dphy-mipi-dphy.h143 unsigned int hs_prepare; member
/Linux-v6.6/drivers/phy/rockchip/
Dphy-rockchip-inno-dsidphy.c240 u8 hs_prepare; member
373 u32 hs_prepare, hs_trail, hs_zero, clk_lane_hs_zero, data_lane_hs_zero; in inno_dsidphy_mipi_mode_enable() local
474 hs_prepare = timings[i].hs_prepare; in inno_dsidphy_mipi_mode_enable()
489 T_HS_PREPARE_CNT(hs_prepare)); in inno_dsidphy_mipi_mode_enable()
/Linux-v6.6/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c252 if (2 * dphy_opts->hs_prepare > 5 * lp_t) { in mixel_dphy_config_from_opts()
255 dphy_opts->hs_prepare, lp_t); in mixel_dphy_config_from_opts()
259 if (dphy_opts->hs_prepare < lp_t) { in mixel_dphy_config_from_opts()
262 tmp = 2 * (dphy_opts->hs_prepare - lp_t); in mixel_dphy_config_from_opts()
/Linux-v6.6/drivers/phy/amlogic/
Dphy-meson-axg-mipi-dphy.c260 (DIV_ROUND_UP(priv->config.hs_prepare, temp) << 24)); in phy_meson_axg_mipi_dphy_power_on()
/Linux-v6.6/drivers/gpu/drm/bridge/
Dsamsung-dsim.c725 int hs_exit, hs_prepare, hs_zero, hs_trail; in samsung_dsim_set_phy_ctrl() local
756 hs_prepare = PS_TO_CYCLE(cfg.hs_prepare, byte_clock); in samsung_dsim_set_phy_ctrl()
807 reg = DSIM_PHYTIMING2_HS_PREPARE(hs_prepare) | in samsung_dsim_set_phy_ctrl()
/Linux-v6.6/drivers/gpu/drm/bridge/cadence/
Dcdns-dsi-core.c815 reg_wakeup = (phy_cfg->hs_prepare + phy_cfg->hs_zero) / tx_byte_period; in cdns_dsi_bridge_enable()
/Linux-v6.6/drivers/media/i2c/
Dtc358746.c528 val = tc358746_ps_to_cnt(cfg->hs_prepare, hs_byte_clk) - 1; in tc358746_apply_dphy_config()