Searched refs:lpx (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/tegra/ |
D | mipi-phy.c | 49 timing->lpx = 60; in mipi_dphy_timing_get_default() 50 timing->taget = 5 * timing->lpx; in mipi_dphy_timing_get_default() 51 timing->tago = 4 * timing->lpx; in mipi_dphy_timing_get_default() 52 timing->tasure = 2 * timing->lpx; in mipi_dphy_timing_get_default() 118 if (timing->lpx < 50) in mipi_dphy_timing_validate() 121 if (timing->taget != 5 * timing->lpx) in mipi_dphy_timing_validate() 124 if (timing->tago != 4 * timing->lpx) in mipi_dphy_timing_validate() 127 if (timing->tasure < timing->lpx || timing->tasure > 2 * timing->lpx) in mipi_dphy_timing_validate()
|
D | mipi-phy.h | 36 unsigned int lpx; member
|
D | dsi.c | 372 DSI_TIMING_FIELD(timing->lpx, period, 1); in tegra_dsi_set_phy_timing()
|
/Linux-v5.10/drivers/phy/ |
D | phy-core-mipi-dphy.c | 69 cfg->lpx = 60000; in phy_mipi_dphy_get_default_config() 70 cfg->ta_get = 5 * cfg->lpx; in phy_mipi_dphy_get_default_config() 71 cfg->ta_go = 4 * cfg->lpx; in phy_mipi_dphy_get_default_config() 72 cfg->ta_sure = 2 * cfg->lpx; in phy_mipi_dphy_get_default_config() 149 if (cfg->lpx < 50000) in phy_mipi_dphy_config_validate() 152 if (cfg->ta_get != (5 * cfg->lpx)) in phy_mipi_dphy_config_validate() 155 if (cfg->ta_go != (4 * cfg->lpx)) in phy_mipi_dphy_config_validate() 158 if (cfg->ta_sure < cfg->lpx || cfg->ta_sure > (2 * cfg->lpx)) in phy_mipi_dphy_config_validate()
|
/Linux-v5.10/drivers/phy/rockchip/ |
D | phy-rockchip-inno-dsidphy.c | 313 u32 hs_exit, clk_post, clk_pre, wakeup, lpx, ta_go, ta_sure, ta_wait; in inno_dsidphy_mipi_mode_enable() local 373 lpx = DIV_ROUND_UP(cfg->lpx, t_txbyteclkhs); in inno_dsidphy_mipi_mode_enable() 374 if (lpx >= 2) in inno_dsidphy_mipi_mode_enable() 375 lpx -= 2; in inno_dsidphy_mipi_mode_enable() 416 T_LPX_CNT(lpx)); in inno_dsidphy_mipi_mode_enable()
|
/Linux-v5.10/include/linux/phy/ |
D | phy-mipi-dphy.h | 208 unsigned int lpx; member
|
/Linux-v5.10/drivers/gpu/drm/mediatek/ |
D | mtk_dsi.c | 154 u32 lpx; member 233 timing->lpx = (60 * data_rate_mhz / (8 * 1000)) + 1; in mtk_dsi_phy_timconfig() 239 timing->ta_go = 4 * timing->lpx - 2; in mtk_dsi_phy_timconfig() 240 timing->ta_sure = timing->lpx + 2; in mtk_dsi_phy_timconfig() 241 timing->ta_get = 4 * timing->lpx; in mtk_dsi_phy_timconfig() 242 timing->da_hs_exit = 2 * timing->lpx + 1; in mtk_dsi_phy_timconfig() 250 timcon0 = timing->lpx | timing->da_hs_prepare << 8 | in mtk_dsi_phy_timconfig() 477 data_phy_cycles = timing->lpx + timing->da_hs_prepare + in mtk_dsi_config_vdo_timing()
|
/Linux-v5.10/drivers/gpu/drm/vc4/ |
D | vc4_dsi.c | 832 u32 lpx = dsi_esc_timing(60); in vc4_dsi_encoder_enable() local 982 VC4_SET_FIELD(dsi_hs_timing(ui_ns, lpx * ESC_TIME_NS, 0), in vc4_dsi_encoder_enable() 1003 VC4_SET_FIELD(lpx * 5, DSI_HS_DLT6_TA_GET) | in vc4_dsi_encoder_enable() 1004 VC4_SET_FIELD(lpx, DSI_HS_DLT6_TA_SURE) | in vc4_dsi_encoder_enable() 1005 VC4_SET_FIELD(lpx * 4, DSI_HS_DLT6_TA_GO) | in vc4_dsi_encoder_enable() 1006 VC4_SET_FIELD(lpx, DSI_HS_DLT6_LP_LPX)); in vc4_dsi_encoder_enable() 1021 VC4_SET_FIELD(lpx - 1, DSI0_PHYC_ESC_CLK_LPDT) : in vc4_dsi_encoder_enable() 1022 VC4_SET_FIELD(lpx - 1, DSI1_PHYC_ESC_CLK_LPDT))); in vc4_dsi_encoder_enable()
|
/Linux-v5.10/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 53 s32 ui, lpx; in msm_dsi_dphy_timing_calc() local 66 lpx = mult_frac(NSEC_PER_MSEC, coeff, esc_rate / 1000); in msm_dsi_dphy_timing_calc() 72 temp = lpx / ui; in msm_dsi_dphy_timing_calc() 117 temp += 8 * ui + lpx; in msm_dsi_dphy_timing_calc()
|
/Linux-v5.10/drivers/gpu/drm/bridge/ |
D | nwl-dsi.c | 243 cycles = ps2bc(dsi, cfg->lpx + cfg->clk_prepare + cfg->clk_zero); in nwl_dsi_config_host()
|