Home
last modified time | relevance | path

Searched refs:per_pin (Results 1 – 6 of 6) sorted by relevance

/linux/sound/hda/codecs/hdmi/
H A Dhdmi.c55 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 in pcm_idx_to_pin()
141 struct hdmi_spec_per_pin *per_pin; hdmi_eld_ctl_info() local
165 struct hdmi_spec_per_pin *per_pin; hdmi_eld_ctl_get() local
288 struct hdmi_spec_per_pin *per_pin = entry->private_data; print_eld_info() local
298 struct hdmi_spec_per_pin *per_pin = entry->private_data; write_eld_info() local
304 eld_proc_new(struct hdmi_spec_per_pin * per_pin,int index) eld_proc_new() argument
324 eld_proc_free(struct hdmi_spec_per_pin * per_pin) eld_proc_free() argument
332 eld_proc_new(struct hdmi_spec_per_pin * per_pin,int index) eld_proc_new() argument
337 eld_proc_free(struct hdmi_spec_per_pin * per_pin) eld_proc_free() argument
529 snd_hda_hdmi_setup_audio_infoframe(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool non_pcm) snd_hda_hdmi_setup_audio_infoframe() argument
770 struct hdmi_spec_per_pin *per_pin; hdmi_choose_cvt() local
824 pin_cvt_fixup(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,hda_nid_t cvt_nid) pin_cvt_fixup() argument
889 struct hdmi_spec_per_pin *per_pin; hdmi_pcm_open() local
971 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); hdmi_read_pin_conn() local
1002 hdmi_find_pcm_slot(struct hdmi_spec * spec,struct hdmi_spec_per_pin * per_pin) hdmi_find_pcm_slot() argument
1014 hdmi_attach_hda_pcm(struct hdmi_spec * spec,struct hdmi_spec_per_pin * per_pin) hdmi_attach_hda_pcm() argument
1038 hdmi_detach_hda_pcm(struct hdmi_spec * spec,struct hdmi_spec_per_pin * per_pin) hdmi_detach_hda_pcm() argument
1054 hdmi_get_pin_cvt_mux(struct hdmi_spec * spec,struct hdmi_spec_per_pin * per_pin,hda_nid_t cvt_nid) hdmi_get_pin_cvt_mux() argument
1067 hdmi_pcm_setup_pin(struct hdmi_spec * spec,struct hdmi_spec_per_pin * per_pin) hdmi_pcm_setup_pin() argument
1110 hdmi_pcm_reset_pin(struct hdmi_spec * spec,struct hdmi_spec_per_pin * per_pin) hdmi_pcm_reset_pin() argument
1123 pin_idx_to_pcm_jack(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) pin_idx_to_pcm_jack() argument
1138 update_eld(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,struct hdmi_eld * eld,int repoll) update_eld() argument
1239 hdmi_present_sense_via_verbs(struct hdmi_spec_per_pin * per_pin,int repoll) hdmi_present_sense_via_verbs() argument
1290 silent_stream_enable(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) silent_stream_enable() argument
1342 silent_stream_disable(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) silent_stream_disable() argument
1377 sync_eld_via_acomp(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) sync_eld_via_acomp() argument
1402 hdmi_present_sense(struct hdmi_spec_per_pin * per_pin,int repoll) hdmi_present_sense() argument
1414 struct hdmi_spec_per_pin *per_pin = hdmi_repoll_eld() local
1437 struct hdmi_spec_per_pin *per_pin; hdmi_add_pin() local
1650 struct hdmi_spec_per_pin *per_pin; snd_hda_hdmi_generic_pcm_prepare() local
1732 struct hdmi_spec_per_pin *per_pin; hdmi_pcm_close() local
1793 struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx); hdmi_get_spk_alloc() local
1806 struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx); hdmi_get_chmap() local
1820 struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx); hdmi_set_chmap() local
1835 struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx); is_hdmi_pcm_attached() local
1947 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); snd_hda_hdmi_generic_build_controls() local
1981 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); snd_hda_hdmi_generic_init_per_pins() local
1999 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); snd_hda_hdmi_generic_init() local
2052 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); snd_hda_hdmi_generic_remove() local
2073 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); snd_hda_hdmi_generic_suspend() local
2089 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); snd_hda_hdmi_generic_resume() local
[all...]
H A Dintelhdmi.c201 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 in silent_stream_set_kae()
240 i915_set_silent_stream(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool enable) i915_set_silent_stream() argument
292 intel_verify_pin_cvt_connect(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) intel_verify_pin_cvt_connect() argument
337 struct hdmi_spec_per_pin *per_pin; intel_not_share_assigned_cvt() local
428 struct hdmi_spec_per_pin *per_pin; i915_hsw_setup_stream() local
457 i915_pin_cvt_fixup(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,hda_nid_t cvt_nid) i915_pin_cvt_fixup() argument
483 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); i915_hdmi_suspend() local
527 struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx); i915_hdmi_resume() local
[all...]
H A Dsimplehdmi.c96 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 Dhdmi_local.h78 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 Datihdmi.c495 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 Ddp-mst.rst8 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]