cregit-Linux how code gets into the kernel

Release 4.7 include/sound/hda_i915.h

Directory: include/sound
/*
 * HD-Audio helpers to sync with i915 driver
 */
#ifndef __SOUND_HDA_I915_H

#define __SOUND_HDA_I915_H

#include <drm/i915_component.h>

#ifdef CONFIG_SND_HDA_I915
int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
int snd_hdac_display_power(struct hdac_bus *bus, bool enable);
void snd_hdac_i915_set_bclk(struct hdac_bus *bus);
int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, int rate);
int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid,
			   bool *audio_enabled, char *buffer, int max_bytes);
int snd_hdac_i915_init(struct hdac_bus *bus);
int snd_hdac_i915_exit(struct hdac_bus *bus);
int snd_hdac_i915_register_notifier(const struct i915_audio_component_audio_ops *);
#else

static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
mengdong linmengdong lin1794.44%150.00%
takashi iwaitakashi iwai15.56%150.00%
Total18100.00%2100.00%


static inline int snd_hdac_display_power(struct hdac_bus *bus, bool enable) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
mengdong linmengdong lin18100.00%1100.00%
Total18100.00%1100.00%


static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus) { }

Contributors

PersonTokensPropCommitsCommitProp
mengdong linmengdong lin872.73%150.00%
takashi iwaitakashi iwai327.27%150.00%
Total11100.00%2100.00%


static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, int rate) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
takashi iwaitakashi iwai21100.00%2100.00%
Total21100.00%2100.00%


static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, bool *audio_enabled, char *buffer, int max_bytes) { return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
takashi iwaitakashi iwai30100.00%2100.00%
Total30100.00%2100.00%


static inline int snd_hdac_i915_init(struct hdac_bus *bus) { return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
mengdong linmengdong lin16100.00%1100.00%
Total16100.00%1100.00%


static inline int snd_hdac_i915_exit(struct hdac_bus *bus) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
mengdong linmengdong lin15100.00%1100.00%
Total15100.00%1100.00%


static inline int snd_hdac_i915_register_notifier(const struct i915_audio_component_audio_ops *ops) { return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
david henningssondavid henningsson17100.00%1100.00%
Total17100.00%1100.00%

#endif #endif /* __SOUND_HDA_I915_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
mengdong linmengdong lin14053.03%116.67%
takashi iwaitakashi iwai9535.98%466.67%
david henningssondavid henningsson2910.98%116.67%
Total264100.00%6100.00%
Directory: include/sound
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}