Lines Matching refs:dac
1357 return spec->multi_io[idx].dac;
1363 hda_nid_t dac, hda_nid_t pin)
1365 return is_reachable_path(codec, dac, pin) ? dac : 0;
1377 hda_nid_t dac;
1416 dac = dacs[i];
1417 if (!dac) {
1419 dac = try_dac(codec, get_primary_out(codec, i), pin);
1420 if (!dac)
1421 dac = try_dac(codec, dacs[0], pin);
1422 if (!dac)
1423 dac = try_dac(codec, get_primary_out(codec, i), pin);
1424 if (dac) {
1432 dac = spec->private_dac_nids[0];
1439 if (!dac)
1441 path = snd_hda_add_new_path(codec, dac, pin, -spec->mixer_nid);
1444 path = snd_hda_add_new_path(codec, dac, pin, 0);
1550 hda_nid_t dac = 0;
1564 dac = get_dac_if_single(codec, nid);
1565 else if (!dac)
1566 dac = look_for_dac(codec, nid, false);
1567 if (!dac) {
1571 path = snd_hda_add_new_path(codec, dac, nid,
1579 spec->multi_io[spec->multi_ios].dac = dac;
1621 hda_nid_t dac;
1624 dac = get_dac_if_single(codec, pins[i]);
1625 if (!dac)
1627 path = snd_hda_add_new_path(codec, dac, pins[i],
1630 path = snd_hda_add_new_path(codec, dac, pins[i], 0);
1632 dacs[i] = dac;
1653 hda_nid_t path_dac, dac, pin;
1660 dac = spec->private_dac_nids[0];
1662 path = snd_hda_add_new_path(codec, dac, pin, spec->mixer_nid);
1664 if (dac != path_dac)
1665 dac = path_dac;
1667 dac = spec->multiout.hp_out_nid[0];
1669 dac = spec->multiout.extra_out_nid[0];
1671 dac = 0;
1672 if (dac)
1673 path = snd_hda_add_new_path(codec, dac, pin,
1721 /* fill the empty entries in the dac array for speaker/hp with the
1722 * shared dac pointed by the paths
1871 spec->multi_io[i].dac;
1935 spec->multi_io[0].dac, spec->multi_io[1].dac);
2305 hda_nid_t dac;
2310 dac = spec->multiout.dac_nids[0];
2312 dac = spec->multiout.hp_out_nid[0];
2313 if (!dac) {
2319 spec->alt_dac_nid = dac;