Lines Matching refs:audio
22 static inline void hdmi_write(struct dw_hdmi_i2s_audio_data *audio, in hdmi_write() argument
25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write()
27 audio->write(hdmi, val, offset); in hdmi_write()
30 static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) in hdmi_read() argument
32 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_read()
34 return audio->read(hdmi, offset); in hdmi_read()
41 struct dw_hdmi_i2s_audio_data *audio = data; in dw_hdmi_i2s_hw_params() local
42 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hw_params()
54 hdmi_write(audio, HDMI_AUD_CONF0_SW_RESET, HDMI_AUD_CONF0); in dw_hdmi_i2s_hw_params()
55 hdmi_write(audio, (u8)~HDMI_MC_SWRSTZ_I2SSWRST_REQ, HDMI_MC_SWRSTZ); in dw_hdmi_i2s_hw_params()
109 hdmi_write(audio, inputclkfs, HDMI_AUD_INPUTCLKFS); in dw_hdmi_i2s_hw_params()
110 hdmi_write(audio, conf0, HDMI_AUD_CONF0); in dw_hdmi_i2s_hw_params()
111 hdmi_write(audio, conf1, HDMI_AUD_CONF1); in dw_hdmi_i2s_hw_params()
118 struct dw_hdmi_i2s_audio_data *audio = data; in dw_hdmi_i2s_audio_startup() local
119 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_startup()
128 struct dw_hdmi_i2s_audio_data *audio = data; in dw_hdmi_i2s_audio_shutdown() local
129 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_shutdown()
137 struct dw_hdmi_i2s_audio_data *audio = data; in dw_hdmi_i2s_get_eld() local
140 eld = audio->get_eld(audio->hdmi); in dw_hdmi_i2s_get_eld()
174 struct dw_hdmi_i2s_audio_data *audio = data; in dw_hdmi_i2s_hook_plugged_cb() local
175 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hook_plugged_cb()
191 struct dw_hdmi_i2s_audio_data *audio = pdev->dev.platform_data; in snd_dw_hdmi_probe() local
199 pdata.data = audio; in snd_dw_hdmi_probe()