Lines Matching defs:nid
14 /* 2006-03-14 Lydia Wang Modify hard code for some pin widget nid */
259 static int set_beep_amp(struct via_spec *spec, hda_nid_t nid,
263 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir);
266 spec->gen.beep_nid = nid;
280 hda_nid_t nid;
282 for_each_hda_codec_node(nid, codec)
283 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP)
284 return set_beep_amp(spec, nid, 0, HDA_OUTPUT);
301 for (; p->nid; p++) {
303 v = snd_hda_codec_amp_read(codec, p->nid, ch, p->dir,
406 static int via_check_power_status(struct hda_codec *codec, hda_nid_t nid)
411 return snd_hda_check_amp_list_power(codec, &spec->gen.loopback, nid);
439 static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid)
444 def_conf = snd_hda_codec_get_pincfg(codec, nid);
450 snd_hda_codec_set_pincfg(codec, nid, def_conf);
816 hda_nid_t nid;
831 for_each_hda_codec_node(nid, codec) {
832 unsigned int caps = get_wcaps(codec, nid);
835 conn[nums++] = nid;