Lines Matching defs:nid
56 static int set_beep_amp(struct conexant_spec *spec, hda_nid_t nid,
60 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir);
63 spec->gen.beep_nid = nid;
77 hda_nid_t nid;
79 for_each_hda_codec_node(nid, codec)
80 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP)
81 return set_beep_amp(spec, nid, 0, HDA_OUTPUT);
96 hda_nid_t nid;
98 for_each_hda_codec_node(nid, codec) {
99 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
101 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_EAPD))
103 spec->eapds[spec->num_eapds++] = nid;
340 #define update_mic_pin(codec, nid, val) \
341 snd_hda_codec_write_cache(codec, nid, 0, \