HDMI_PHY_HPD
return hdmi_readb(hdmi, HDMI_PHY_STAT0) & HDMI_PHY_HPD ?
hdmi_writeb(hdmi, HDMI_PHY_HPD | HDMI_PHY_RX_SENSE, HDMI_PHY_POL0);
phy_pol_mask |= HDMI_PHY_HPD;
phy_stat & HDMI_PHY_HPD,
if ((phy_stat & (HDMI_PHY_RX_SENSE | HDMI_PHY_HPD)) == 0) {
if (phy_stat & HDMI_PHY_HPD)
if (!(phy_stat & (HDMI_PHY_HPD | HDMI_PHY_RX_SENSE)))
hdmi->phy_mask = (u8)~(HDMI_PHY_HPD | HDMI_PHY_RX_SENSE);