Lines Matching refs:phy_write
110 static int phy_write(struct phy *phy, u32 value, unsigned int reg) in phy_write() function
292 phy_write(phy, priv->cfg.m_prg_hs_prepare, DPHY_M_PRG_HS_PREPARE); in mixel_phy_set_hs_timings()
293 phy_write(phy, priv->cfg.mc_prg_hs_prepare, DPHY_MC_PRG_HS_PREPARE); in mixel_phy_set_hs_timings()
294 phy_write(phy, priv->cfg.m_prg_hs_zero, DPHY_M_PRG_HS_ZERO); in mixel_phy_set_hs_timings()
295 phy_write(phy, priv->cfg.mc_prg_hs_zero, DPHY_MC_PRG_HS_ZERO); in mixel_phy_set_hs_timings()
296 phy_write(phy, priv->cfg.m_prg_hs_trail, DPHY_M_PRG_HS_TRAIL); in mixel_phy_set_hs_timings()
297 phy_write(phy, priv->cfg.mc_prg_hs_trail, DPHY_MC_PRG_HS_TRAIL); in mixel_phy_set_hs_timings()
298 phy_write(phy, priv->cfg.rxhs_settle, priv->devdata->reg_rxhs_settle); in mixel_phy_set_hs_timings()
314 phy_write(phy, CM(priv->cfg.cm), DPHY_CM); in mixel_dphy_set_pll_params()
315 phy_write(phy, CN(priv->cfg.cn), DPHY_CN); in mixel_dphy_set_pll_params()
316 phy_write(phy, CO(priv->cfg.co), DPHY_CO); in mixel_dphy_set_pll_params()
333 phy_write(phy, 0x00, DPHY_LOCK_BYP); in mixel_dphy_configure()
334 phy_write(phy, 0x01, priv->devdata->reg_tx_rcal); in mixel_dphy_configure()
335 phy_write(phy, 0x00, priv->devdata->reg_auto_pd_en); in mixel_dphy_configure()
336 phy_write(phy, 0x02, priv->devdata->reg_rxlprp); in mixel_dphy_configure()
337 phy_write(phy, 0x02, priv->devdata->reg_rxcdrp); in mixel_dphy_configure()
338 phy_write(phy, 0x25, DPHY_TST); in mixel_dphy_configure()
361 phy_write(phy, PWR_OFF, DPHY_PD_PLL); in mixel_dphy_init()
362 phy_write(phy, PWR_OFF, DPHY_PD_DPHY); in mixel_dphy_init()
369 phy_write(phy, 0, DPHY_CM); in mixel_dphy_exit()
370 phy_write(phy, 0, DPHY_CN); in mixel_dphy_exit()
371 phy_write(phy, 0, DPHY_CO); in mixel_dphy_exit()
386 phy_write(phy, PWR_ON, DPHY_PD_PLL); in mixel_dphy_power_on()
394 phy_write(phy, PWR_ON, DPHY_PD_DPHY); in mixel_dphy_power_on()
406 phy_write(phy, PWR_OFF, DPHY_PD_PLL); in mixel_dphy_power_off()
407 phy_write(phy, PWR_OFF, DPHY_PD_DPHY); in mixel_dphy_power_off()