/sound/pci/hda/ |
D | patch_cmedia.c | 51 struct hda_multi_out multiout; member 164 spec->num_channel_modes, spec->multiout.max_channels); in cmi_ch_mode_get() 172 spec->num_channel_modes, &spec->multiout.max_channels); in cmi_ch_mode_put() 328 if (spec->multiout.dig_out_nid) { in cmi9880_build_controls() 329 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); in cmi9880_build_controls() 333 &spec->multiout); in cmi9880_build_controls() 336 spec->multiout.share_spdif = 1; in cmi9880_build_controls() 440 return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream, in cmi9880_playback_pcm_open() 451 return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, stream_tag, in cmi9880_playback_pcm_prepare() 460 return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout); in cmi9880_playback_pcm_cleanup() [all …]
|
D | patch_analog.c | 41 struct hda_multi_out multiout; /* playback set-up member 168 if (spec->multiout.dig_out_nid) { in ad198x_build_controls() 169 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); in ad198x_build_controls() 173 &spec->multiout); in ad198x_build_controls() 176 spec->multiout.share_spdif = 1; in ad198x_build_controls() 225 return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream, in ad198x_playback_pcm_open() 236 return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, stream_tag, in ad198x_playback_pcm_prepare() 245 return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout); in ad198x_playback_pcm_cleanup() 256 return snd_hda_multi_out_dig_open(codec, &spec->multiout); in ad198x_dig_playback_pcm_open() 264 return snd_hda_multi_out_dig_close(codec, &spec->multiout); in ad198x_dig_playback_pcm_close() [all …]
|
D | patch_via.c | 207 struct hda_multi_out multiout; member 446 if (con_nid == spec->multiout.hp_nid) { in via_independent_hp_put() 449 if (spec->multiout.num_dacs > 1) in via_independent_hp_put() 450 spec->multiout.num_dacs -= 1; in via_independent_hp_put() 455 if (spec->multiout.num_dacs > 1) in via_independent_hp_put() 456 spec->multiout.num_dacs += 1; in via_independent_hp_put() 463 if (spec->multiout.num_dacs > 1) in via_independent_hp_put() 464 spec->multiout.num_dacs += 1; in via_independent_hp_put() 469 if (spec->multiout.num_dacs > 1) in via_independent_hp_put() 470 spec->multiout.num_dacs -= 1; in via_independent_hp_put() [all …]
|
D | patch_nvhdmi.c | 33 struct hda_multi_out multiout; member 52 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); in nvhdmi_build_controls() 73 return snd_hda_multi_out_dig_open(codec, &spec->multiout); in nvhdmi_dig_playback_pcm_open() 81 return snd_hda_multi_out_dig_close(codec, &spec->multiout); in nvhdmi_dig_playback_pcm_close() 91 return snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag, in nvhdmi_dig_playback_pcm_prepare() 147 spec->multiout.num_dacs = 0; /* no analog */ in patch_nvhdmi() 148 spec->multiout.max_channels = 2; in patch_nvhdmi() 149 spec->multiout.dig_out_nid = 0x4; /* NID for copying analog to digital, in patch_nvhdmi()
|
D | patch_atihdmi.c | 32 struct hda_multi_out multiout; member 54 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); in atihdmi_build_controls() 80 return snd_hda_multi_out_dig_open(codec, &spec->multiout); in atihdmi_dig_playback_pcm_open() 88 return snd_hda_multi_out_dig_close(codec, &spec->multiout); in atihdmi_dig_playback_pcm_close() 101 err = snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag, in atihdmi_dig_playback_pcm_prepare() 173 spec->multiout.num_dacs = 0; /* no analog */ in patch_atihdmi() 174 spec->multiout.max_channels = 2; in patch_atihdmi() 179 spec->multiout.dig_out_nid = CVT_NID; in patch_atihdmi()
|
D | patch_conexant.c | 69 struct hda_multi_out multiout; /* playback set-up member 116 return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream, in conexant_playback_pcm_open() 127 return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, in conexant_playback_pcm_prepare() 137 return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout); in conexant_playback_pcm_cleanup() 148 return snd_hda_multi_out_dig_open(codec, &spec->multiout); in conexant_dig_playback_pcm_open() 156 return snd_hda_multi_out_dig_close(codec, &spec->multiout); in conexant_dig_playback_pcm_close() 166 return snd_hda_multi_out_dig_prepare(codec, &spec->multiout, in conexant_dig_playback_pcm_prepare() 286 spec->multiout.max_channels; in conexant_build_pcms() 288 spec->multiout.dac_nids[0]; in conexant_build_pcms() 298 if (spec->multiout.dig_out_nid) { in conexant_build_pcms() [all …]
|
D | patch_sigmatel.c | 201 struct hda_multi_out multiout; member 592 nid = spec->multiout.dig_out_nid; in stac92xx_smux_enum_put() 1260 int wcaps = get_wcaps(codec, spec->multiout.dig_out_nid); in stac92xx_build_controls() 1276 if (spec->multiout.dig_out_nid) { in stac92xx_build_controls() 1277 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); in stac92xx_build_controls() 1281 &spec->multiout); in stac92xx_build_controls() 1284 spec->multiout.share_spdif = 1; in stac92xx_build_controls() 1295 snd_hda_set_vmaster_tlv(codec, spec->multiout.dac_nids[0], in stac92xx_build_controls() 2393 return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream, in stac92xx_playback_pcm_open() 2404 return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, stream_tag, format, substream); in stac92xx_playback_pcm_prepare() [all …]
|
D | patch_intelhdmi.c | 42 struct hda_multi_out multiout; member 564 return snd_hda_multi_out_dig_open(codec, &spec->multiout); in intel_hdmi_playback_pcm_open() 575 return snd_hda_multi_out_dig_close(codec, &spec->multiout); in intel_hdmi_playback_pcm_close() 586 snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag, in intel_hdmi_playback_pcm_prepare() 628 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); in intel_hdmi_build_controls() 668 spec->multiout.num_dacs = 0; /* no analog */ in patch_intel_hdmi() 669 spec->multiout.max_channels = 8; in patch_intel_hdmi() 670 spec->multiout.dig_out_nid = CVT_NID; in patch_intel_hdmi()
|
D | patch_realtek.c | 267 struct hda_multi_out multiout; /* playback set-up member 439 spec->multiout.max_channels); in alc_ch_mode_get() 449 &spec->multiout.max_channels); in alc_ch_mode_put() 451 spec->multiout.num_dacs = spec->multiout.max_channels / 2; in alc_ch_mode_put() 808 spec->multiout.max_channels = spec->channel_mode[0].channels; in setup_preset() 810 spec->multiout.num_dacs = preset->num_dacs; in setup_preset() 811 spec->multiout.dac_nids = preset->dac_nids; in setup_preset() 812 spec->multiout.dig_out_nid = preset->dig_out_nid; in setup_preset() 813 spec->multiout.hp_nid = preset->hp_nid; in setup_preset() 2018 if (spec->multiout.dig_out_nid) { in alc_build_controls() [all …]
|