Lines Matching refs:spdif_out
785 snd_array_free(&codec->spdif_out); in snd_hda_codec_cleanup_for_unbind()
956 snd_array_init(&codec->spdif_out, sizeof(struct hda_spdif_out), 16); in snd_hda_codec_device_new()
2170 if (WARN_ON(codec->spdif_out.used <= idx)) in snd_hda_spdif_default_get()
2173 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_default_get()
2279 if (WARN_ON(codec->spdif_out.used <= idx)) in snd_hda_spdif_default_put()
2282 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_default_put()
2307 if (WARN_ON(codec->spdif_out.used <= idx)) in snd_hda_spdif_out_switch_get()
2310 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_out_switch_get()
2337 if (WARN_ON(codec->spdif_out.used <= idx)) in snd_hda_spdif_out_switch_put()
2340 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_out_switch_put()
2432 spdif = snd_array_new(&codec->spdif_out); in snd_hda_create_dig_out_ctls()
2440 kctl->private_value = codec->spdif_out.used - 1; in snd_hda_create_dig_out_ctls()
2467 snd_array_for_each(&codec->spdif_out, i, spdif) { in snd_hda_spdif_out_of_nid()
2486 if (WARN_ON(codec->spdif_out.used <= idx)) in snd_hda_spdif_ctls_unassign()
2489 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_ctls_unassign()
2508 if (WARN_ON(codec->spdif_out.used <= idx)) in snd_hda_spdif_ctls_assign()
2511 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_ctls_assign()