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; in cx_auto_parse_beep() local
108 for_each_hda_codec_node(nid, codec) in cx_auto_parse_beep()
109 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) { in cx_auto_parse_beep()
110 set_beep_amp(spec, nid, 0, HDA_OUTPUT); in cx_auto_parse_beep()
122 hda_nid_t nid; in cx_auto_parse_eapd() local
124 for_each_hda_codec_node(nid, codec) { in cx_auto_parse_eapd()
125 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in cx_auto_parse_eapd()
127 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_EAPD)) in cx_auto_parse_eapd()
129 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd()
352 #define update_mic_pin(codec, nid, val) \ argument
353 snd_hda_codec_update_cache(codec, nid, 0, \