• Home
  • Raw
  • Download

Lines Matching refs:hdmi

74 int msm_hdmi_audio_update(struct hdmi *hdmi)  in msm_hdmi_audio_update()  argument
76 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update()
87 DBG("video: power_on=%d, pixclock=%lu", hdmi->power_on, hdmi->pixclock); in msm_hdmi_audio_update()
89 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in msm_hdmi_audio_update()
95 arcs = get_arcs(hdmi->pixclock); in msm_hdmi_audio_update()
98 hdmi->pixclock); in msm_hdmi_audio_update()
104 acr_pkt_ctrl = hdmi_read(hdmi, REG_HDMI_ACR_PKT_CTRL); in msm_hdmi_audio_update()
105 vbi_pkt_ctrl = hdmi_read(hdmi, REG_HDMI_VBI_PKT_CTRL); in msm_hdmi_audio_update()
106 aud_pkt_ctrl = hdmi_read(hdmi, REG_HDMI_AUDIO_PKT_CTRL1); in msm_hdmi_audio_update()
107 infofrm_ctrl = hdmi_read(hdmi, REG_HDMI_INFOFRAME_CTRL0); in msm_hdmi_audio_update()
108 audio_config = hdmi_read(hdmi, REG_HDMI_AUDIO_CFG); in msm_hdmi_audio_update()
152 hdmi_write(hdmi, REG_HDMI_ACR_0(select - 1), in msm_hdmi_audio_update()
154 hdmi_write(hdmi, REG_HDMI_ACR_1(select - 1), in msm_hdmi_audio_update()
157 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL2, in msm_hdmi_audio_update()
166 hdmi_write(hdmi, REG_HDMI_AUDIO_INFO0, in msm_hdmi_audio_update()
169 hdmi_write(hdmi, REG_HDMI_AUDIO_INFO1, in msm_hdmi_audio_update()
172 hdmi_write(hdmi, REG_HDMI_GC, 0); in msm_hdmi_audio_update()
200 hdmi_write(hdmi, REG_HDMI_ACR_PKT_CTRL, acr_pkt_ctrl); in msm_hdmi_audio_update()
201 hdmi_write(hdmi, REG_HDMI_VBI_PKT_CTRL, vbi_pkt_ctrl); in msm_hdmi_audio_update()
202 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL1, aud_pkt_ctrl); in msm_hdmi_audio_update()
203 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL0, infofrm_ctrl); in msm_hdmi_audio_update()
205 hdmi_write(hdmi, REG_HDMI_AUD_INT, in msm_hdmi_audio_update()
209 hdmi_write(hdmi, REG_HDMI_AUDIO_CFG, audio_config); in msm_hdmi_audio_update()
217 int msm_hdmi_audio_info_setup(struct hdmi *hdmi, bool enabled, in msm_hdmi_audio_info_setup() argument
223 if (!hdmi) in msm_hdmi_audio_info_setup()
226 audio = &hdmi->audio; in msm_hdmi_audio_info_setup()
237 return msm_hdmi_audio_update(hdmi); in msm_hdmi_audio_info_setup()
240 void msm_hdmi_audio_set_sample_rate(struct hdmi *hdmi, int rate) in msm_hdmi_audio_set_sample_rate() argument
244 if (!hdmi) in msm_hdmi_audio_set_sample_rate()
247 audio = &hdmi->audio; in msm_hdmi_audio_set_sample_rate()
253 msm_hdmi_audio_update(hdmi); in msm_hdmi_audio_set_sample_rate()