AC_WID_PIN
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
if (wid_type == AC_WID_PIN || wid_type == AC_WID_AUD_OUT ||
type == AC_WID_PIN)
if (type == AC_WID_PIN && idx > 0) /* only for input pins */
if (type == AC_WID_PIN && !idx) /* only for output pins */
if (type == AC_WID_PIN ||
if (get_wcaps_type(caps) == AC_WID_PIN)
if (get_wcaps_type(get_wcaps(codec, pin_nid)) != AC_WID_PIN)
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
if (wid_type != AC_WID_PIN)
get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_PIN &&
if (type == AC_WID_PIN || type == AC_WID_AUD_OUT)
get_wcaps_type(wcaps) != AC_WID_PIN)
if (wid_type != AC_WID_PIN)
[AC_WID_PIN] = "Pin Complex",
if (wid_type == AC_WID_PIN ||
if (wid_type == AC_WID_PIN &&
case AC_WID_PIN: {
if (wid_type == AC_WID_PIN && codec->dp_mst)
if (snd_hdac_get_wcaps_type(snd_hdac_get_wcaps(codec, nid)) != AC_WID_PIN)
if (snd_hdac_get_wcaps_type(snd_hdac_get_wcaps(codec, nid)) != AC_WID_PIN)
case AC_WID_PIN:
if (!(caps & AC_WCAP_DIGITAL) || (type != AC_WID_PIN))