Lines Matching refs:nid
63 static int set_beep_amp(struct conexant_spec *spec, hda_nid_t nid,
67 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir);
70 spec->gen.beep_nid = nid;
84 hda_nid_t nid;
86 for_each_hda_codec_node(nid, codec)
87 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP)
88 return set_beep_amp(spec, nid, 0, HDA_OUTPUT);
103 hda_nid_t nid;
105 for_each_hda_codec_node(nid, codec) {
106 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
108 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_EAPD))
110 spec->eapds[spec->num_eapds++] = nid;
445 #define update_mic_pin(codec, nid, val) \
446 snd_hda_codec_write_cache(codec, nid, 0, \