Lines Matching refs:hda_codec
119 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid,
121 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
123 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
125 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid,
127 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir,
129 struct snd_kcontrol *snd_hda_find_mixer_ctl(struct hda_codec *codec,
131 int __snd_hda_add_vmaster(struct hda_codec *codec, char *name,
137 int snd_hda_codec_reset(struct hda_codec *codec);
138 void snd_hda_codec_register(struct hda_codec *codec);
139 void snd_hda_codec_cleanup_for_unbind(struct hda_codec *codec);
150 struct hda_codec *codec;
153 int snd_hda_add_vmaster_hook(struct hda_codec *codec,
165 int snd_hda_create_dig_out_ctls(struct hda_codec *codec,
170 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid);
187 int snd_hda_input_mux_put(struct hda_codec *codec,
191 int snd_hda_add_imux_item(struct hda_codec *codec,
225 int snd_hda_create_spdif_share_sw(struct hda_codec *codec,
227 int snd_hda_multi_out_dig_open(struct hda_codec *codec,
229 int snd_hda_multi_out_dig_close(struct hda_codec *codec,
231 int snd_hda_multi_out_dig_prepare(struct hda_codec *codec,
236 int snd_hda_multi_out_dig_cleanup(struct hda_codec *codec,
238 int snd_hda_multi_out_analog_open(struct hda_codec *codec,
242 int snd_hda_multi_out_analog_prepare(struct hda_codec *codec,
247 int snd_hda_multi_out_analog_cleanup(struct hda_codec *codec,
254 int snd_hda_codec_proc_new(struct hda_codec *codec);
256 static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; } in snd_hda_codec_proc_new()
265 int snd_hda_add_new_ctls(struct hda_codec *codec,
290 void (*func)(struct hda_codec *codec,
347 int snd_hda_add_verbs(struct hda_codec *codec, const struct hda_verb *list);
348 void snd_hda_apply_verbs(struct hda_codec *codec);
349 void snd_hda_apply_pincfgs(struct hda_codec *codec,
351 void snd_hda_apply_fixup(struct hda_codec *codec, int action);
352 void snd_hda_pick_fixup(struct hda_codec *codec,
356 void snd_hda_pick_pin_fixup(struct hda_codec *codec,
392 unsigned int snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin);
393 unsigned int snd_hda_correct_pin_ctl(struct hda_codec *codec,
395 int _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin,
414 snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val) in snd_hda_set_pin_ctl()
428 snd_hda_set_pin_ctl_cache(struct hda_codec *codec, hda_nid_t pin, in snd_hda_set_pin_ctl_cache()
434 int snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid);
435 int snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid,
444 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps()
470 static inline void snd_hda_override_wcaps(struct hda_codec *codec, in snd_hda_override_wcaps()
478 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction);
479 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir,
493 snd_hda_query_pin_caps(struct hda_codec *codec, hda_nid_t nid) in snd_hda_query_pin_caps()
510 snd_hda_override_pin_caps(struct hda_codec *codec, hda_nid_t nid, in snd_hda_override_pin_caps()
516 bool snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid,
535 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid,
537 int snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl,
539 void snd_hda_ctls_clear(struct hda_codec *codec);
545 int snd_hda_create_hwdep(struct hda_codec *codec);
547 static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } in snd_hda_create_hwdep()
550 void snd_hda_sysfs_init(struct hda_codec *codec);
551 void snd_hda_sysfs_clear(struct hda_codec *codec);
556 const char *snd_hda_get_hint(struct hda_codec *codec, const char *key);
557 int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key);
558 int snd_hda_get_int_hint(struct hda_codec *codec, const char *key, int *valp);
561 const char *snd_hda_get_hint(struct hda_codec *codec, const char *key) in snd_hda_get_hint()
567 int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key) in snd_hda_get_bool_hint()
573 int snd_hda_get_int_hint(struct hda_codec *codec, const char *key, int *valp) in snd_hda_get_int_hint()
583 void snd_hda_schedule_power_save(struct hda_codec *codec);
596 int snd_hda_check_amp_list_power(struct hda_codec *codec,
602 snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid, in snd_hda_check_power_state()
608 static inline unsigned int snd_hda_sync_power_state(struct hda_codec *codec, in snd_hda_sync_power_state()
614 unsigned int snd_hda_codec_eapd_power_filter(struct hda_codec *codec,
618 void snd_hda_codec_shutdown(struct hda_codec *codec);
691 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid);
692 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid,
694 int snd_hdmi_parse_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e,
696 void snd_hdmi_show_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e);
700 int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid,
714 void snd_hda_codec_display_power(struct hda_codec *codec, bool enable);