summaryrefslogtreecommitdiffstats
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-01-31 13:57:58 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-03 17:31:54 +0100
commit372d855f87b535005e392094afff9927bc000cf9 (patch)
treecd4b01afab672cc9870ab2cd143e86449a87d888 /sound/x86/intel_hdmi_audio.h
parentALSA: x86: Flatten two abstraction layers (diff)
downloadlinux-372d855f87b535005e392094afff9927bc000cf9.tar.xz
linux-372d855f87b535005e392094afff9927bc000cf9.zip
ALSA: x86: Fold intel_hdmi_audio_if.c into main file
As the very last step, we fold intel_hdmi_audio_if.c into the main file, intel_hdmi_audio.c. This is merely a cleanup, and no functional change. By this move, we can mark all functions and variables as static, which allows the compiler more optimizations. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r--sound/x86/intel_hdmi_audio.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index 6efa846f98c9..d301c3021375 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -154,35 +154,4 @@ struct snd_intelhad {
struct work_struct hdmi_audio_wq;
};
-int hdmi_lpe_audio_suspend(struct platform_device *pdev, pm_message_t state);
-int hdmi_lpe_audio_resume(struct platform_device *pdev);
-extern struct snd_pcm_ops snd_intelhad_playback_ops;
-
-int had_process_buffer_done(struct snd_intelhad *intelhaddata);
-int had_process_buffer_underrun(struct snd_intelhad *intelhaddata);
-int had_process_hot_plug(struct snd_intelhad *intelhaddata);
-int had_process_hot_unplug(struct snd_intelhad *intelhaddata);
-
-int snd_intelhad_init_audio_ctrl(struct snd_pcm_substream *substream,
- struct snd_intelhad *intelhaddata,
- int flag_silence);
-int snd_intelhad_prog_buffer(struct snd_intelhad *intelhaddata,
- int start, int end);
-int snd_intelhad_invd_buffer(int start, int end);
-int snd_intelhad_read_len(struct snd_intelhad *intelhaddata);
-void had_build_channel_allocation_map(struct snd_intelhad *intelhaddata);
-
-void snd_intelhad_enable_audio_int(struct snd_intelhad *ctx, bool enable);
-void snd_intelhad_enable_audio(struct snd_intelhad *ctx, bool enable);
-void snd_intelhad_handle_underrun(struct snd_intelhad *intelhaddata);
-
-/* Register access functions */
-int had_get_hwstate(struct snd_intelhad *intelhaddata);
-int had_read_register(struct snd_intelhad *intelhaddata,
- u32 reg_addr, u32 *data);
-int had_write_register(struct snd_intelhad *intelhaddata,
- u32 reg_addr, u32 data);
-int had_read_modify(struct snd_intelhad *intelhaddata,
- u32 reg_addr, u32 data, u32 mask);
-
#endif /* _INTEL_HDMI_AUDIO_ */