Lines Matching refs:nid
59 static inline void set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, in set_beep_amp() argument
62 spec->gen.beep_nid = nid; in set_beep_amp()
63 spec->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir); in set_beep_amp()
94 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument
106 hda_nid_t nid, end_nid; in cx_auto_parse_beep() local
109 for (nid = codec->start_nid; nid < end_nid; nid++) in cx_auto_parse_beep()
110 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) { in cx_auto_parse_beep()
111 set_beep_amp(spec, nid, 0, HDA_OUTPUT); in cx_auto_parse_beep()
123 hda_nid_t nid, end_nid; in cx_auto_parse_eapd() local
126 for (nid = codec->start_nid; nid < end_nid; nid++) { in cx_auto_parse_eapd()
127 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in cx_auto_parse_eapd()
129 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_EAPD)) in cx_auto_parse_eapd()
131 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd()
327 #define update_mic_pin(codec, nid, val) \ argument
328 snd_hda_codec_update_cache(codec, nid, 0, \