Lines Matching defs:codec

50 int snd_hda_hdmi_pin_id_to_pin_index(struct hda_codec *codec,  in snd_hda_hdmi_pin_id_to_pin_index()
76 static int hinfo_to_pcm_index(struct hda_codec *codec, in hinfo_to_pcm_index()
90 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index()
123 static int cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) in cvt_nid_to_cvt_index()
139 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local
166 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local
211 static int hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, in hdmi_create_eld_ctl()
236 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_get_dip_index()
249 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_set_dip_index()
259 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_write_dip_byte()
265 static void hdmi_init_pin(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_init_pin()
317 struct hda_codec *codec = per_pin->codec; in eld_proc_new() local
359 static void hdmi_start_infoframe_trans(struct hda_codec *codec, in hdmi_start_infoframe_trans()
370 static void hdmi_stop_infoframe_trans(struct hda_codec *codec, in hdmi_stop_infoframe_trans()
378 static void hdmi_debug_dip_size(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_debug_dip_size()
395 static void hdmi_clear_dip_buffers(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_clear_dip_buffers()
438 static void hdmi_fill_audio_infoframe(struct hda_codec *codec, in hdmi_fill_audio_infoframe()
452 static bool hdmi_infoframe_uptodate(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_infoframe_uptodate()
473 static int hdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, in hdmi_pin_get_eld()
481 static void hdmi_pin_setup_infoframe(struct hda_codec *codec, in hdmi_pin_setup_infoframe()
538 void snd_hda_hdmi_setup_audio_infoframe(struct hda_codec *codec, in snd_hda_hdmi_setup_audio_infoframe()
594 void snd_hda_hdmi_check_presence_and_report(struct hda_codec *codec, in snd_hda_hdmi_check_presence_and_report()
609 static void jack_callback(struct hda_codec *codec, in jack_callback()
619 static void hdmi_intrinsic_event(struct hda_codec *codec, unsigned int res, in hdmi_intrinsic_event()
632 static void hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res) in hdmi_non_intrinsic_event()
656 void snd_hda_hdmi_generic_unsol_event(struct hda_codec *codec, unsigned int res) in snd_hda_hdmi_generic_unsol_event()
694 static int hdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_pin_hbr_setup()
729 int snd_hda_hdmi_setup_stream(struct hda_codec *codec, in snd_hda_hdmi_setup_stream()
776 static int hdmi_choose_cvt(struct hda_codec *codec, in hdmi_choose_cvt()
834 static void pin_cvt_fixup(struct hda_codec *codec, in pin_cvt_fixup()
846 struct hda_codec *codec, in hdmi_pcm_open_no_pin()
894 struct hda_codec *codec, in hdmi_pcm_open()
984 static int hdmi_read_pin_conn(struct hda_codec *codec, int pin_idx) in hdmi_read_pin_conn()
1085 struct hda_codec *codec = per_pin->codec; in hdmi_pcm_setup_pin() local
1138 static struct snd_jack *pin_idx_to_pcm_jack(struct hda_codec *codec, in pin_idx_to_pcm_jack()
1153 static void update_eld(struct hda_codec *codec, in update_eld()
1258 struct hda_codec *codec = per_pin->codec; in hdmi_present_sense_via_verbs() local
1309 static void silent_stream_enable(struct hda_codec *codec, in silent_stream_enable()
1368 static void silent_stream_disable(struct hda_codec *codec, in silent_stream_disable()
1409 static void sync_eld_via_acomp(struct hda_codec *codec, in sync_eld_via_acomp()
1437 struct hda_codec *codec = per_pin->codec; in hdmi_present_sense() local
1449 struct hda_codec *codec = per_pin->codec; in hdmi_repoll_eld() local
1466 static int hdmi_add_pin(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_add_pin()
1545 static int hdmi_add_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) in hdmi_add_cvt()
1597 int snd_hda_hdmi_parse_codec(struct hda_codec *codec) in snd_hda_hdmi_parse_codec()
1654 static bool check_non_pcm_per_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) in check_non_pcm_per_cvt()
1678 struct hda_codec *codec, in snd_hda_hdmi_generic_pcm_prepare()
1757 struct hda_codec *codec, in snd_hda_hdmi_generic_pcm_cleanup()
1766 struct hda_codec *codec, in hdmi_pcm_close()
1840 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_spk_alloc() local
1853 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_chmap() local
1867 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_set_chmap() local
1883 struct hda_codec *codec = hdac_to_hda_codec(hdac); in is_hdmi_pcm_attached() local
1890 int snd_hda_hdmi_generic_build_pcms(struct hda_codec *codec) in snd_hda_hdmi_generic_build_pcms()
1938 static int generic_hdmi_build_jack(struct hda_codec *codec, int pcm_idx) in generic_hdmi_build_jack()
1960 int snd_hda_hdmi_generic_build_controls(struct hda_codec *codec) in snd_hda_hdmi_generic_build_controls()
2025 int snd_hda_hdmi_generic_init_per_pins(struct hda_codec *codec) in snd_hda_hdmi_generic_init_per_pins()
2042 int snd_hda_hdmi_generic_init(struct hda_codec *codec) in snd_hda_hdmi_generic_init()
2077 void snd_hda_hdmi_generic_spec_free(struct hda_codec *codec) in snd_hda_hdmi_generic_spec_free()
2090 void snd_hda_hdmi_generic_remove(struct hda_codec *codec) in snd_hda_hdmi_generic_remove()
2118 int snd_hda_hdmi_generic_suspend(struct hda_codec *codec) in snd_hda_hdmi_generic_suspend()
2131 int snd_hda_hdmi_generic_resume(struct hda_codec *codec) in snd_hda_hdmi_generic_resume()
2155 int snd_hda_hdmi_generic_alloc(struct hda_codec *codec) in snd_hda_hdmi_generic_alloc()
2183 int snd_hda_hdmi_generic_probe(struct hda_codec *codec) in snd_hda_hdmi_generic_probe()
2207 static void reprogram_jack_detect(struct hda_codec *codec, hda_nid_t nid, in reprogram_jack_detect()
2276 struct hda_codec *codec = audio_ptr; in snd_hda_hdmi_acomp_pin_eld_notify() local
2295 void snd_hda_hdmi_setup_drm_audio_ops(struct hda_codec *codec, in snd_hda_hdmi_setup_drm_audio_ops()
2314 void snd_hda_hdmi_acomp_init(struct hda_codec *codec, in snd_hda_hdmi_acomp_init()
2342 static int generichdmi_probe(struct hda_codec *codec, in generichdmi_probe()