Searched refs:hsfreq (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/phy/rockchip/ |
D | phy-rockchip-dphy-rx0.c | 156 u8 hsfreq; member 211 rk_dphy_write(priv, LANE0_HS_RX_CONTROL, priv->hsfreq << 1); in rk_dphy_enable() 213 rk_dphy_write(priv, LANE1_HS_RX_CONTROL, priv->hsfreq << 1); in rk_dphy_enable() 215 rk_dphy_write(priv, LANE2_HS_RX_CONTROL, priv->hsfreq << 1); in rk_dphy_enable() 217 rk_dphy_write(priv, LANE3_HS_RX_CONTROL, priv->hsfreq << 1); in rk_dphy_enable() 231 unsigned int hsfreq = 0; in rk_dphy_configure() local 247 hsfreq = drv_data->hsfreq_ranges[i].cfg_bit; in rk_dphy_configure() 251 if (!hsfreq) in rk_dphy_configure() 254 priv->hsfreq = hsfreq; in rk_dphy_configure()
|
D | phy-rockchip-inno-csidphy.c | 139 u8 hsfreq; member 177 int hsfreq, int offset) in rockchip_inno_csidphy_ths_settle() argument 184 val |= hsfreq; in rockchip_inno_csidphy_ths_settle() 194 unsigned int hsfreq = 0; in rockchip_inno_csidphy_configure() local 210 hsfreq = drv_data->hsfreq_ranges[i].cfg_bit; in rockchip_inno_csidphy_configure() 214 if (!hsfreq) in rockchip_inno_csidphy_configure() 217 priv->hsfreq = hsfreq; in rockchip_inno_csidphy_configure() 278 rockchip_inno_csidphy_ths_settle(priv, priv->hsfreq, in rockchip_inno_csidphy_power_on() 281 rockchip_inno_csidphy_ths_settle(priv, priv->hsfreq, in rockchip_inno_csidphy_power_on()
|
/Linux-v6.6/drivers/gpu/drm/renesas/rcar-du/ |
D | rzg2l_mipi_dsi.c | 188 unsigned long hsfreq) in rzg2l_mipi_dsi_dphy_init() argument 202 if (hsfreq <= dphy_timings->hsfreq_max) in rzg2l_mipi_dsi_dphy_init() 261 unsigned long hsfreq; in rzg2l_mipi_dsi_startup() local 283 hsfreq = (mode->clock * bpp * 8) / (8 * dsi->lanes); in rzg2l_mipi_dsi_startup() 291 ret = rzg2l_mipi_dsi_dphy_init(dsi, hsfreq); in rzg2l_mipi_dsi_startup() 307 if (hsfreq > 445500) { in rzg2l_mipi_dsi_startup() 312 } else if (hsfreq > 250000) { in rzg2l_mipi_dsi_startup()
|
D | rcar_mipi_dsi.c | 79 unsigned long hsfreq; member 256 if (setup_info->hsfreq < MHZ(450)) { in rcar_mipi_dsi_init_phtw_v4h() 267 if (setup_info->hsfreq <= MHZ(1000)) in rcar_mipi_dsi_init_phtw_v4h() 270 else if (setup_info->hsfreq <= MHZ(1500)) in rcar_mipi_dsi_init_phtw_v4h() 273 else if (setup_info->hsfreq <= MHZ(2500)) in rcar_mipi_dsi_init_phtw_v4h() 299 if (setup_info->hsfreq <= MHZ(1500)) { in rcar_mipi_dsi_init_phtw_v4h() 315 if (setup_info->hsfreq <= MHZ(1500)) { in rcar_mipi_dsi_post_init_phtw_v4h() 427 setup_info->hsfreq = setup_info->fout * 2; in rcar_mipi_dsi_parameters_calc() 429 if (hsfreqrange_table[i][0] >= setup_info->hsfreq) { in rcar_mipi_dsi_parameters_calc()
|
/Linux-v6.6/drivers/media/platform/renesas/rzg2l-cru/ |
D | rzg2l-csi2.c | 120 unsigned long hsfreq; member 306 csi2->hsfreq = mbps; in rzg2l_csi2_dphy_enable() 312 if (csi2->hsfreq <= dphy_timing->max_hsfreq) in rzg2l_csi2_dphy_enable() 374 frrskw = DIV_ROUND_UP(frrskw_coeff, csi2->hsfreq); in rzg2l_csi2_mipi_link_enable() 375 frrclk = DIV_ROUND_UP(frrclk_coeff, csi2->hsfreq); in rzg2l_csi2_mipi_link_enable()
|
/Linux-v6.6/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-csi2.c | 702 const struct rcsi2_mbps_reg *hsfreq; in rcsi2_set_phypll() local 709 for (hsfreq = priv->info->hsfreqrange; hsfreq->mbps != 0; hsfreq++) { in rcsi2_set_phypll() 710 if (hsfreq->mbps >= mbps) in rcsi2_set_phypll() 712 hsfreq_prev = hsfreq; in rcsi2_set_phypll() 715 if (!hsfreq->mbps) { in rcsi2_set_phypll() 721 ((mbps - hsfreq_prev->mbps) <= (hsfreq->mbps - mbps))) in rcsi2_set_phypll() 722 hsfreq = hsfreq_prev; in rcsi2_set_phypll() 724 rcsi2_write(priv, PHYPLL_REG, PHYPLL_HSFREQRANGE(hsfreq->reg)); in rcsi2_set_phypll()
|