Searched refs:per_pin (Results 1 – 6 of 6) sorted by relevance
| /linux/sound/hda/codecs/hdmi/ |
| H A D | hdmi.c | 55 struct hdmi_spec_per_pin *per_pin; in snd_hda_hdmi_pin_id_to_pin_index() local 65 per_pin = get_pin(spec, pin_idx); in snd_hda_hdmi_pin_id_to_pin_index() 66 if ((per_pin->pin_nid == pin_nid) && in snd_hda_hdmi_pin_id_to_pin_index() 67 (per_pin->dev_id == dev_id)) in snd_hda_hdmi_pin_id_to_pin_index() 94 struct hdmi_spec_per_pin *per_pin; in hinfo_to_pin_index() local 98 per_pin = get_pin(spec, pin_idx); in hinfo_to_pin_index() 99 if (per_pin->pcm && in hinfo_to_pin_index() 100 per_pin->pcm->pcm->stream == hinfo) in hinfo_to_pin_index() 113 struct hdmi_spec_per_pin *per_pin; in pcm_idx_to_pin() local 116 per_pin = get_pin(spec, i); in pcm_idx_to_pin() [all …]
|
| H A D | intelhdmi.c | 201 struct hdmi_spec_per_pin *per_pin) in silent_stream_enable_i915() argument 205 snd_hdac_sync_audio_rate(&codec->core, per_pin->pin_nid, in silent_stream_enable_i915() 206 per_pin->dev_id, I915_SILENT_RATE); in silent_stream_enable_i915() 211 snd_hda_codec_setup_stream(codec, per_pin->cvt_nid, in silent_stream_enable_i915() 214 snd_hda_codec_setup_stream(codec, per_pin->cvt_nid, I915_SILENT_FMT_MASK, 0, format); in silent_stream_enable_i915() 216 per_pin->channels = I915_SILENT_CHANNELS; in silent_stream_enable_i915() 217 snd_hda_hdmi_setup_audio_infoframe(codec, per_pin, per_pin->non_pcm); in silent_stream_enable_i915() 221 struct hdmi_spec_per_pin *per_pin, in silent_stream_set_kae() argument 226 codec_dbg(codec, "HDMI: KAE %d cvt-NID=0x%x\n", enable, per_pin->cvt_nid); in silent_stream_set_kae() 228 param = snd_hda_codec_read(codec, per_pin->cvt_nid, 0, AC_VERB_GET_DIGI_CONVERT_1, 0); in silent_stream_set_kae() [all …]
|
| H A D | simplehdmi.c | 96 struct hdmi_spec_per_pin *per_pin = get_pin(spec, 0); in snd_hda_hdmi_simple_init() local 97 hda_nid_t pin = per_pin->pin_nid; in snd_hda_hdmi_simple_init() 105 snd_hda_jack_detect_enable(codec, pin, per_pin->dev_id); in snd_hda_hdmi_simple_init() 176 struct hdmi_spec_per_pin *per_pin; in snd_hda_hdmi_simple_probe() local 192 per_pin = snd_array_new(&spec->pins); in snd_hda_hdmi_simple_probe() 194 if (!per_pin || !per_cvt) { in snd_hda_hdmi_simple_probe() 199 per_pin->pin_nid = pin_nid; in snd_hda_hdmi_simple_probe()
|
| H A D | hdmi_local.h | 78 struct hdmi_spec_per_pin *per_pin, 82 struct hdmi_spec_per_pin *per_pin, 273 struct hdmi_spec_per_pin *per_pin,
|
| H A D | atihdmi.c | 495 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); in atihdmi_init() local 498 snd_hda_codec_write(codec, per_pin->pin_nid, 0, ATI_VERB_SET_DOWNMIX_INFO, 0); in atihdmi_init() 502 snd_hda_codec_write(codec, per_pin->pin_nid, 0, in atihdmi_init()
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | dp-mst.rst | 8 Virtual pin is an extension of per_pin. The most difference of DP MST 13 several pins, if we use one pcm per per_pin, there will be many PCMs. 15 per_pin. Driver uses spec->dyn_pcm_assign flag to indicate whether to use 58 For !dyn_pcm_assign, per_pin->pcm will assigned to spec->pcm[n] statically. 60 For dyn_pcm_assign, per_pin->pcm will assigned to spec->pcm[n]
|