get_wcaps
get_wcaps_type(get_wcaps(codec, 0x1d)) != AC_WID_AUD_MIX)
if (get_wcaps(codec, pin) & AC_WCAP_OUT_AMP)
if (dac && (get_wcaps(codec, dac) & AC_WCAP_OUT_AMP))
if (get_wcaps(codec, pin) & AC_WCAP_IN_AMP)
if (adc && (get_wcaps(codec, adc) & AC_WCAP_IN_AMP)) {
get_wcaps(codec, 0x18) | AC_WCAP_STEREO);
if (get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) {
snd_hda_override_wcaps(codec, nid, (get_wcaps(codec, nid) | AC_WCAP_UNSOL_CAP));
if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP)
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
if (nid && (get_wcaps(codec, nid) & AC_WCAP_STEREO))
unsigned int wid_type = get_wcaps_type(get_wcaps(codec, nid));
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_AUD_OUT)
unsigned int caps = get_wcaps(codec, nid);
get_wcaps_type(get_wcaps(codec, conn[i])) != AC_WID_AUD_OUT ||
unsigned int wcaps = get_wcaps(codec, dig_nid);
type = get_wcaps_type(get_wcaps(codec, conn[i]));
if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX)
if (get_wcaps_type(get_wcaps(codec, nid)) >= AC_WID_POWER)
cap_digital = !!(get_wcaps(codec, nid) & AC_WCAP_DIGITAL);
if (!(get_wcaps(codec, nid1) & (1 << (dir + 1))))
return !(get_wcaps(codec, nid2) & (1 << (dir + 1)));
unsigned int caps = get_wcaps(codec, nid);
unsigned int caps = get_wcaps(codec, nid);
int type = get_wcaps_type(get_wcaps(codec, nid));
unsigned int wcaps = get_wcaps(codec, nid);
return !!(get_wcaps(codec, conn) & AC_WCAP_STEREO);
type = get_wcaps_type(get_wcaps(codec, nid));
if (!(get_wcaps(codec, nid) & AC_WCAP_POWER))
chans = get_wcaps(codec, cvt_nid);
caps = get_wcaps(codec, nid);
caps = get_wcaps(codec, nid);
if (get_wcaps(codec, cvt_nid) & AC_WCAP_STRIPE) {
if (get_wcaps_type(get_wcaps(codec, pin_nid)) != AC_WID_PIN)
if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP)
if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP)
if (get_wcaps(codec, per_cvt->cvt_nid) & AC_WCAP_STRIPE)
if (!(get_wcaps(codec, pin_nid) & AC_WCAP_CONN_LIST)) {
pin_nid, get_wcaps(codec, pin_nid));
if (get_wcaps(codec, pin) & AC_WCAP_OUT_AMP)
chans = get_wcaps(codec, per_cvt->cvt_nid);
snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b) & ~AC_WCAP_IN_AMP);
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
if ((get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) &&
(get_wcaps(codec, nid) & (AC_WCAP_OUT_AMP | AC_WCAP_AMP_OVRD)))
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
if (get_wcaps_type(get_wcaps(codec, 0x28)) == AC_WID_VOL_KNB)
if (get_wcaps(codec, 0xa) & AC_WCAP_IN_AMP) {
if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP)
get_wcaps(codec, pin) | AC_WCAP_IN_AMP);
if (get_wcaps_type(get_wcaps(codec, conn[i])) == AC_WID_AUD_OUT)
unsigned int caps = get_wcaps(codec, nid);
unsigned int wid_caps = get_wcaps(codec, nid);
unsigned int wcaps = get_wcaps(codec, nid);
type = get_wcaps_type(get_wcaps(codec, nid));
get_wcaps_type(get_wcaps(c, p->nid)) == type)
if (!(get_wcaps(codec, nid) & AC_WCAP_AMP_OVRD))
if (get_wcaps(codec, nid) & (1 << (dir + 1)))
get_wcaps(codec, nid) | AC_WCAP_AMP_OVRD);
if ((get_wcaps(codec, nid) & AC_WCAP_OUT_AMP) &&
unsigned int wcaps = get_wcaps(codec, nid);
get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_PIN &&
unsigned int wcaps = get_wcaps(codec, nid);
unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i]));
unsigned int wcaps = get_wcaps(codec, nid);
unsigned int wcaps = get_wcaps(codec, nid);
if (!(get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) &&