/* * Local helper macros and functions for HD-audio core drivers */ #ifndef __HDAC_LOCAL_H #define __HDAC_LOCAL_H #define get_wcaps(codec, nid) \ snd_hdac_read_parm(codec, nid, AC_PAR_AUDIO_WIDGET_CAP) /* get the widget type from widget capability bits */
static inline int get_wcaps_type(unsigned int wcaps) { if (!wcaps) return -1; /* invalid type */ return (wcaps & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Takashi Iwai | 30 | 100.00% | 1 | 100.00% |
Total | 30 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Subhransu S. Prusty | 38 | 100.00% | 1 | 100.00% |
Total | 38 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Takashi Iwai | 77 | 66.96% | 2 | 66.67% |
Subhransu S. Prusty | 38 | 33.04% | 1 | 33.33% |
Total | 115 | 100.00% | 3 | 100.00% |