2 * HD-Audio helpers to sync with i915 driver
4 #ifndef __SOUND_HDA_I915_H
5 #define __SOUND_HDA_I915_H
7 #ifdef CONFIG_SND_HDA_I915
8 int snd_hdac_set_codec_wakeup(struct hdac_bus
*bus
, bool enable
);
9 int snd_hdac_display_power(struct hdac_bus
*bus
, bool enable
);
10 int snd_hdac_get_display_clk(struct hdac_bus
*bus
);
11 int snd_hdac_i915_init(struct hdac_bus
*bus
);
12 int snd_hdac_i915_exit(struct hdac_bus
*bus
);
14 static int snd_hdac_set_codec_wakeup(struct hdac_bus
*bus
, bool enable
)
18 static inline int snd_hdac_display_power(struct hdac_bus
*bus
, bool enable
)
22 static inline int snd_hdac_get_display_clk(struct hdac_bus
*bus
)
26 static inline int snd_hdac_i915_init(struct hdac_bus
*bus
)
30 static inline int snd_hdac_i915_exit(struct hdac_bus
*bus
)
36 #endif /* __SOUND_HDA_I915_H */