cregit-Linux how code gets into the kernel

Release 4.12 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 dev_id, int rate);
int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
			   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 Lin1794.44%150.00%
Takashi 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 Lin18100.00%1100.00%
Total18100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Mengdong Lin872.73%150.00%
Takashi 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 dev_id, int rate) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Takashi Iwai2187.50%266.67%
Dhinakaran Pandiyan312.50%133.33%
Total24100.00%3100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Takashi Iwai3090.91%266.67%
Dhinakaran Pandiyan39.09%133.33%
Total33100.00%3100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Mengdong Lin16100.00%1100.00%
Total16100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Mengdong 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 Henningsson17100.00%1100.00%
Total17100.00%1100.00%

#endif #endif /* __SOUND_HDA_I915_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Mengdong Lin14050.72%114.29%
Takashi Iwai9534.42%457.14%
David Henningsson2910.51%114.29%
Dhinakaran Pandiyan124.35%114.29%
Total276100.00%7100.00%
Directory: include/sound
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.