Lines Matching refs:hdmi_priv

65 	struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv;  in cdv_hdmi_mode_set()  local
80 if (hdmi_priv->has_hdmi_audio) { in cdv_hdmi_mode_set()
85 REG_WRITE(hdmi_priv->hdmi_reg, hdmib); in cdv_hdmi_mode_set()
86 REG_READ(hdmi_priv->hdmi_reg); in cdv_hdmi_mode_set()
93 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms() local
96 hdmib = REG_READ(hdmi_priv->hdmi_reg); in cdv_hdmi_dpms()
99 REG_WRITE(hdmi_priv->hdmi_reg, hdmib & ~HDMIB_PORT_EN); in cdv_hdmi_dpms()
101 REG_WRITE(hdmi_priv->hdmi_reg, hdmib | HDMIB_PORT_EN); in cdv_hdmi_dpms()
102 REG_READ(hdmi_priv->hdmi_reg); in cdv_hdmi_dpms()
109 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save() local
111 hdmi_priv->save_HDMIB = REG_READ(hdmi_priv->hdmi_reg); in cdv_hdmi_save()
118 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore() local
120 REG_WRITE(hdmi_priv->hdmi_reg, hdmi_priv->save_HDMIB); in cdv_hdmi_restore()
121 REG_READ(hdmi_priv->hdmi_reg); in cdv_hdmi_restore()
128 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect() local
134 hdmi_priv->has_hdmi_sink = false; in cdv_hdmi_detect()
135 hdmi_priv->has_hdmi_audio = false; in cdv_hdmi_detect()
139 hdmi_priv->has_hdmi_sink = in cdv_hdmi_detect()
141 hdmi_priv->has_hdmi_audio = in cdv_hdmi_detect()
279 struct mid_intel_hdmi_priv *hdmi_priv; in cdv_hdmi_init() local
292 hdmi_priv = kzalloc(sizeof(struct mid_intel_hdmi_priv), GFP_KERNEL); in cdv_hdmi_init()
293 if (!hdmi_priv) in cdv_hdmi_init()
336 hdmi_priv->hdmi_reg = reg; in cdv_hdmi_init()
337 hdmi_priv->has_hdmi_sink = false; in cdv_hdmi_init()
338 gma_encoder->dev_priv = hdmi_priv; in cdv_hdmi_init()
351 hdmi_priv->dev = dev; in cdv_hdmi_init()
359 kfree(hdmi_priv); in cdv_hdmi_init()