Lines Matching refs:dac
1351 return spec->multi_io[idx].dac;
1357 hda_nid_t dac, hda_nid_t pin)
1359 return is_reachable_path(codec, dac, pin) ? dac : 0;
1371 hda_nid_t dac;
1410 dac = dacs[i];
1411 if (!dac) {
1413 dac = try_dac(codec, get_primary_out(codec, i), pin);
1414 if (!dac)
1415 dac = try_dac(codec, dacs[0], pin);
1416 if (!dac)
1417 dac = try_dac(codec, get_primary_out(codec, i), pin);
1418 if (dac) {
1426 dac = spec->private_dac_nids[0];
1433 if (!dac)
1435 path = snd_hda_add_new_path(codec, dac, pin, -spec->mixer_nid);
1438 path = snd_hda_add_new_path(codec, dac, pin, 0);
1441 dac = dacs[i] = 0;
1544 hda_nid_t dac = 0;
1558 dac = get_dac_if_single(codec, nid);
1559 else if (!dac)
1560 dac = look_for_dac(codec, nid, false);
1561 if (!dac) {
1565 path = snd_hda_add_new_path(codec, dac, nid,
1573 spec->multi_io[spec->multi_ios].dac = dac;
1615 hda_nid_t dac;
1618 dac = get_dac_if_single(codec, pins[i]);
1619 if (!dac)
1621 path = snd_hda_add_new_path(codec, dac, pins[i],
1624 path = snd_hda_add_new_path(codec, dac, pins[i], 0);
1626 dacs[i] = dac;
1647 hda_nid_t path_dac, dac, pin;
1654 dac = spec->private_dac_nids[0];
1656 path = snd_hda_add_new_path(codec, dac, pin, spec->mixer_nid);
1658 if (dac != path_dac)
1659 dac = path_dac;
1661 dac = spec->multiout.hp_out_nid[0];
1663 dac = spec->multiout.extra_out_nid[0];
1665 dac = 0;
1666 if (dac)
1667 path = snd_hda_add_new_path(codec, dac, pin,
1715 /* fill the empty entries in the dac array for speaker/hp with the
1716 * shared dac pointed by the paths
1865 spec->multi_io[i].dac;
1929 spec->multi_io[0].dac, spec->multi_io[1].dac);
2299 hda_nid_t dac;
2304 dac = spec->multiout.dac_nids[0];
2306 dac = spec->multiout.hp_out_nid[0];
2307 if (!dac) {
2313 spec->alt_dac_nid = dac;