Lines Matching refs:hdmi

27 	struct hdmi *hdmi;  member
255 struct hdmi *hdmi = phy_8960->hdmi; in hdmi_pll_enable() local
262 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x8d); in hdmi_pll_enable()
263 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG0, 0x10); in hdmi_pll_enable()
264 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG1, 0x1a); in hdmi_pll_enable()
274 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x0d); in hdmi_pll_enable()
276 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_REG12); in hdmi_pll_enable()
279 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
287 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
288 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x3f); in hdmi_pll_enable()
290 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_REG12); in hdmi_pll_enable()
292 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
297 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_PLL_PWRDN_B); in hdmi_pll_enable()
300 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_PWRDN_B, val); in hdmi_pll_enable()
301 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x80); in hdmi_pll_enable()
307 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_PLL_STATUS0); in hdmi_pll_enable()
321 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x8d); in hdmi_pll_enable()
323 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x0d); in hdmi_pll_enable()
340 struct hdmi *hdmi = phy_8960->hdmi; in hdmi_pll_disable() local
345 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_REG12); in hdmi_pll_disable()
347 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_disable()
349 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_PLL_PWRDN_B); in hdmi_pll_disable()
352 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_PWRDN_B, val); in hdmi_pll_disable()
384 struct hdmi *hdmi = phy_8960->hdmi; in hdmi_pll_set_rate() local
391 hdmi_write(hdmi, pll_rate->conf[i].reg, pll_rate->conf[i].val); in hdmi_pll_set_rate()
433 struct hdmi *hdmi = phy_8960->hdmi; in hdmi_phy_8960_powerup() local
437 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x00); in hdmi_phy_8960_powerup()
438 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG0, 0x1b); in hdmi_phy_8960_powerup()
439 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG1, 0xf2); in hdmi_phy_8960_powerup()
440 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG4, 0x00); in hdmi_phy_8960_powerup()
441 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG5, 0x00); in hdmi_phy_8960_powerup()
442 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG6, 0x00); in hdmi_phy_8960_powerup()
443 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG7, 0x00); in hdmi_phy_8960_powerup()
444 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG8, 0x00); in hdmi_phy_8960_powerup()
445 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG9, 0x00); in hdmi_phy_8960_powerup()
446 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG10, 0x00); in hdmi_phy_8960_powerup()
447 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG11, 0x00); in hdmi_phy_8960_powerup()
448 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG3, 0x20); in hdmi_phy_8960_powerup()
454 struct hdmi *hdmi = phy_8960->hdmi; in hdmi_phy_8960_powerdown() local
458 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x7f); in hdmi_phy_8960_powerdown()
467 struct hdmi_phy *hdmi_phy_8960_init(struct hdmi *hdmi) in hdmi_phy_8960_init() argument
491 phy_8960->hdmi = hdmi; in hdmi_phy_8960_init()
495 phy_8960->pll = devm_clk_register(&hdmi->pdev->dev, &phy_8960->pll_hw); in hdmi_phy_8960_init()