Lines Matching defs:codec

78 	struct hda_codec *codec;  member
132 struct hda_codec *codec; member
197 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp()
203 #define codec_has_acomp(codec) false argument
251 static int pin_id_to_pin_index(struct hda_codec *codec, in pin_id_to_pin_index()
276 static int hinfo_to_pcm_index(struct hda_codec *codec, in hinfo_to_pcm_index()
290 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index()
323 static int cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) in cvt_nid_to_cvt_index()
339 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local
366 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local
411 static int hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, in hdmi_create_eld_ctl()
436 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_get_dip_index()
449 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_set_dip_index()
459 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_write_dip_byte()
465 static void hdmi_init_pin(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_init_pin()
517 struct hda_codec *codec = per_pin->codec; in eld_proc_new() local
559 static void hdmi_start_infoframe_trans(struct hda_codec *codec, in hdmi_start_infoframe_trans()
570 static void hdmi_stop_infoframe_trans(struct hda_codec *codec, in hdmi_stop_infoframe_trans()
578 static void hdmi_debug_dip_size(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_debug_dip_size()
595 static void hdmi_clear_dip_buffers(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_clear_dip_buffers()
638 static void hdmi_fill_audio_infoframe(struct hda_codec *codec, in hdmi_fill_audio_infoframe()
652 static bool hdmi_infoframe_uptodate(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_infoframe_uptodate()
673 static int hdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, in hdmi_pin_get_eld()
681 static void hdmi_pin_setup_infoframe(struct hda_codec *codec, in hdmi_pin_setup_infoframe()
738 static void hdmi_setup_audio_infoframe(struct hda_codec *codec, in hdmi_setup_audio_infoframe()
793 static void check_presence_and_report(struct hda_codec *codec, hda_nid_t nid, in check_presence_and_report()
806 static void jack_callback(struct hda_codec *codec, in jack_callback()
816 static void hdmi_intrinsic_event(struct hda_codec *codec, unsigned int res, in hdmi_intrinsic_event()
829 static void hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res) in hdmi_non_intrinsic_event()
854 static void hdmi_unsol_event(struct hda_codec *codec, unsigned int res) in hdmi_unsol_event()
883 static void haswell_verify_D0(struct hda_codec *codec, in haswell_verify_D0()
912 static int hdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_pin_hbr_setup()
947 static int hdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, in hdmi_setup_stream()
992 static int hdmi_choose_cvt(struct hda_codec *codec, in hdmi_choose_cvt()
1050 static void intel_verify_pin_cvt_connect(struct hda_codec *codec, in intel_verify_pin_cvt_connect()
1088 static void intel_not_share_assigned_cvt(struct hda_codec *codec, in intel_not_share_assigned_cvt()
1164 static void intel_not_share_assigned_cvt_nid(struct hda_codec *codec, in intel_not_share_assigned_cvt_nid()
1181 static void pin_cvt_fixup(struct hda_codec *codec, in pin_cvt_fixup()
1193 struct hda_codec *codec, in hdmi_pcm_open_no_pin()
1241 struct hda_codec *codec, in hdmi_pcm_open()
1331 static int hdmi_read_pin_conn(struct hda_codec *codec, int pin_idx) in hdmi_read_pin_conn()
1432 struct hda_codec *codec = per_pin->codec; in hdmi_pcm_setup_pin() local
1485 static struct snd_jack *pin_idx_to_pcm_jack(struct hda_codec *codec, in pin_idx_to_pcm_jack()
1500 static void update_eld(struct hda_codec *codec, in update_eld()
1605 struct hda_codec *codec = per_pin->codec; in hdmi_present_sense_via_verbs() local
1662 static void silent_stream_enable_i915(struct hda_codec *codec, in silent_stream_enable_i915()
1682 static void silent_stream_set_kae(struct hda_codec *codec, in silent_stream_set_kae()
1701 static void silent_stream_enable(struct hda_codec *codec, in silent_stream_enable()
1773 static void silent_stream_disable(struct hda_codec *codec, in silent_stream_disable()
1819 static void sync_eld_via_acomp(struct hda_codec *codec, in sync_eld_via_acomp()
1847 struct hda_codec *codec = per_pin->codec; in hdmi_present_sense() local
1859 struct hda_codec *codec = per_pin->codec; in hdmi_repoll_eld() local
1876 static int hdmi_add_pin(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_add_pin()
1955 static int hdmi_add_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) in hdmi_add_cvt()
2004 static int hdmi_parse_codec(struct hda_codec *codec) in hdmi_parse_codec()
2060 static bool check_non_pcm_per_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) in check_non_pcm_per_cvt()
2084 struct hda_codec *codec, in generic_hdmi_playback_pcm_prepare()
2162 struct hda_codec *codec, in generic_hdmi_playback_pcm_cleanup()
2170 struct hda_codec *codec, in hdmi_pcm_close()
2244 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_spk_alloc() local
2257 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_chmap() local
2271 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_set_chmap() local
2287 struct hda_codec *codec = hdac_to_hda_codec(hdac); in is_hdmi_pcm_attached() local
2294 static int generic_hdmi_build_pcms(struct hda_codec *codec) in generic_hdmi_build_pcms()
2341 static int generic_hdmi_build_jack(struct hda_codec *codec, int pcm_idx) in generic_hdmi_build_jack()
2363 static int generic_hdmi_build_controls(struct hda_codec *codec) in generic_hdmi_build_controls()
2427 static int generic_hdmi_init_per_pins(struct hda_codec *codec) in generic_hdmi_init_per_pins()
2443 static int generic_hdmi_init(struct hda_codec *codec) in generic_hdmi_init()
2477 static void generic_spec_free(struct hda_codec *codec) in generic_spec_free()
2489 static void generic_hdmi_free(struct hda_codec *codec) in generic_hdmi_free()
2517 static int generic_hdmi_suspend(struct hda_codec *codec) in generic_hdmi_suspend()
2529 static int generic_hdmi_resume(struct hda_codec *codec) in generic_hdmi_resume()
2565 static int alloc_generic_hdmi(struct hda_codec *codec) in alloc_generic_hdmi()
2594 static int patch_generic_hdmi(struct hda_codec *codec) in patch_generic_hdmi()
2617 static void reprogram_jack_detect(struct hda_codec *codec, hda_nid_t nid, in reprogram_jack_detect()
2684 struct hda_codec *codec = audio_ptr; in generic_acomp_pin_eld_notify() local
2702 static void setup_drm_audio_ops(struct hda_codec *codec, in setup_drm_audio_ops()
2720 static void generic_acomp_init(struct hda_codec *codec, in generic_acomp_init()
2748 static void intel_haswell_enable_all_pins(struct hda_codec *codec, in intel_haswell_enable_all_pins()
2769 static void intel_haswell_fixup_enable_dp12(struct hda_codec *codec) in intel_haswell_fixup_enable_dp12()
2789 static void haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg, in haswell_set_power_state()
2812 static int intel_base_nid(struct hda_codec *codec) in intel_base_nid()
2826 struct hda_codec *codec = audio_ptr; in intel_pin2port() local
2850 static int intel_port2pin(struct hda_codec *codec, int port) in intel_port2pin()
2868 struct hda_codec *codec = audio_ptr; in intel_pin_eld_notify() local
2891 static void register_i915_notifier(struct hda_codec *codec) in register_i915_notifier()
2905 static int i915_hsw_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, in i915_hsw_setup_stream()
2939 static void i915_pin_cvt_fixup(struct hda_codec *codec, in i915_pin_cvt_fixup()
2956 static int i915_adlp_hdmi_suspend(struct hda_codec *codec) in i915_adlp_hdmi_suspend()
2995 static int i915_adlp_hdmi_resume(struct hda_codec *codec) in i915_adlp_hdmi_resume()
3038 static int alloc_intel_hdmi(struct hda_codec *codec) in alloc_intel_hdmi()
3059 static int parse_intel_hdmi(struct hda_codec *codec) in parse_intel_hdmi()
3078 static int intel_hsw_common_init(struct hda_codec *codec, hda_nid_t vendor_nid, in intel_hsw_common_init()
3118 static int patch_i915_hsw_hdmi(struct hda_codec *codec) in patch_i915_hsw_hdmi()
3124 static int patch_i915_glk_hdmi(struct hda_codec *codec) in patch_i915_glk_hdmi()
3134 static int patch_i915_icl_hdmi(struct hda_codec *codec) in patch_i915_icl_hdmi()
3146 static int patch_i915_tgl_hdmi(struct hda_codec *codec) in patch_i915_tgl_hdmi()
3158 static int patch_i915_adlp_hdmi(struct hda_codec *codec) in patch_i915_adlp_hdmi()
3181 static int patch_i915_byt_hdmi(struct hda_codec *codec) in patch_i915_byt_hdmi()
3205 static int patch_i915_cpt_hdmi(struct hda_codec *codec) in patch_i915_cpt_hdmi()
3219 static int simple_playback_build_pcms(struct hda_codec *codec) in simple_playback_build_pcms()
3246 static void simple_hdmi_unsol_event(struct hda_codec *codec, in simple_hdmi_unsol_event()
3258 static int simple_playback_build_controls(struct hda_codec *codec) in simple_playback_build_controls()
3273 static int simple_playback_init(struct hda_codec *codec) in simple_playback_init()
3289 static void simple_playback_free(struct hda_codec *codec) in simple_playback_free()
3350 static int nvhdmi_7x_init_2ch(struct hda_codec *codec) in nvhdmi_7x_init_2ch()
3356 static int nvhdmi_7x_init_8ch(struct hda_codec *codec) in nvhdmi_7x_init_8ch()
3383 struct hda_codec *codec, in simple_playback_pcm_open()
3416 struct hda_codec *codec, in simple_playback_pcm_close()
3424 struct hda_codec *codec, in simple_playback_pcm_prepare()
3453 static int patch_simple_hdmi(struct hda_codec *codec, in patch_simple_hdmi()
3488 static void nvhdmi_8ch_7x_set_info_frame_parameters(struct hda_codec *codec, in nvhdmi_8ch_7x_set_info_frame_parameters()
3522 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
3547 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_prepare()
3662 static int patch_nvhdmi_2ch(struct hda_codec *codec) in patch_nvhdmi_2ch()
3680 static int nvhdmi_7x_8ch_build_pcms(struct hda_codec *codec) in nvhdmi_7x_8ch_build_pcms()
3691 static int nvhdmi_7x_8ch_build_controls(struct hda_codec *codec) in nvhdmi_7x_8ch_build_controls()
3722 static int patch_nvhdmi_8ch_7x(struct hda_codec *codec) in patch_nvhdmi_8ch_7x()
3778 static int nvhdmi_port2pin(struct hda_codec *codec, int port) in nvhdmi_port2pin()
3790 static int patch_nvhdmi(struct hda_codec *codec) in patch_nvhdmi()
3824 static int patch_nvhdmi_legacy(struct hda_codec *codec) in patch_nvhdmi_legacy()
3891 static void tegra_hdmi_set_format(struct hda_codec *codec, in tegra_hdmi_set_format()
3959 struct hda_codec *codec, in tegra_hdmi_pcm_prepare()
3978 struct hda_codec *codec, in tegra_hdmi_pcm_cleanup()
3987 static struct hda_pcm *hda_find_pcm_by_type(struct hda_codec *codec, int type) in hda_find_pcm_by_type()
4002 static int tegra_hdmi_build_pcms(struct hda_codec *codec) in tegra_hdmi_build_pcms()
4027 static int tegra_hdmi_init(struct hda_codec *codec) in tegra_hdmi_init()
4059 static int patch_tegra_hdmi(struct hda_codec *codec) in patch_tegra_hdmi()
4070 static int patch_tegra234_hdmi(struct hda_codec *codec) in patch_tegra234_hdmi()
4091 #define is_amdhdmi_rev3_or_later(codec) \ argument
4094 #define has_amd_full_remap_support(codec) is_amdhdmi_rev3_or_later(codec) argument
4134 static int atihdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, in atihdmi_pin_get_eld()
4143 static void atihdmi_pin_setup_infoframe(struct hda_codec *codec, in atihdmi_pin_setup_infoframe()
4219 struct hda_codec *codec = hdac_to_hda_codec(hdac); in atihdmi_pin_set_slot_channel() local
4255 struct hda_codec *codec = hdac_to_hda_codec(hdac); in atihdmi_pin_get_slot_channel() local
4337 static int atihdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, in atihdmi_pin_hbr_setup()
4368 static int atihdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, in atihdmi_setup_stream()
4386 static int atihdmi_init(struct hda_codec *codec) in atihdmi_init()
4421 static int atihdmi_port2pin(struct hda_codec *codec, int port) in atihdmi_port2pin()
4433 static int patch_atihdmi(struct hda_codec *codec) in patch_atihdmi()
4492 static int patch_via_hdmi(struct hda_codec *codec) in patch_via_hdmi()
4497 static int patch_gf_hdmi(struct hda_codec *codec) in patch_gf_hdmi()