Home
last modified time | relevance | path

Searched full:codec (Results 1 – 25 of 1649) sorted by relevance

12345678910>>...66

/linux/sound/hda/common/
H A Dbind.c3 * HD-audio codec driver binding
19 * find a matching codec id
23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
34 codec->preset = list; in hda_codec_match()
44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
45 struct hda_codec_driver *driver = hda_codec_to_driver(codec); in hda_codec_unsol_event()
48 if (codec->card->shutdown || codec->bus->shutdown) in hda_codec_unsol_event()
52 if (codec->core.dev.power.power_state.event != PM_EVENT_ON) in hda_codec_unsol_event()
[all …]
H A Dcodec.c3 * Universal Interface for Intel High Definition Audio Codec
28 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core) argument
29 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core) argument
30 #define codec_has_epss(codec) \ argument
31 ((codec)->core.power_caps & AC_PWRST_EPSS)
32 #define codec_has_clkstop(codec) \ argument
33 ((codec)->core.power_caps & AC_PWRST_CLKSTOP)
35 static int call_exec_verb(struct hda_bus *bus, struct hda_codec *codec, in call_exec_verb() argument
57 struct hda_codec *codec = container_of(dev, struct hda_codec, core); codec_exec_verb() local
88 snd_hda_sequence_write(struct hda_codec * codec,const struct hda_verb * seq) snd_hda_sequence_write() argument
105 lookup_conn_list(struct hda_codec * codec,hda_nid_t nid) lookup_conn_list() argument
115 add_conn_list(struct hda_codec * codec,hda_nid_t nid,int len,const hda_nid_t * list) add_conn_list() argument
130 remove_conn_list(struct hda_codec * codec) remove_conn_list() argument
141 read_and_add_raw_conns(struct hda_codec * codec,hda_nid_t nid) read_and_add_raw_conns() argument
177 snd_hda_get_conn_list(struct hda_codec * codec,hda_nid_t nid,const hda_nid_t ** listp) snd_hda_get_conn_list() argument
216 snd_hda_get_connections(struct hda_codec * codec,hda_nid_t nid,hda_nid_t * conn_list,int max_conns) snd_hda_get_connections() argument
247 snd_hda_override_conn_list(struct hda_codec * codec,hda_nid_t nid,int len,const hda_nid_t * list) snd_hda_override_conn_list() argument
273 snd_hda_get_conn_index(struct hda_codec * codec,hda_nid_t mux,hda_nid_t nid,int recursive) snd_hda_get_conn_index() argument
309 snd_hda_get_num_devices(struct hda_codec * codec,hda_nid_t nid) snd_hda_get_num_devices() argument
335 snd_hda_get_devices(struct hda_codec * codec,hda_nid_t nid,u8 * dev_list,unsigned int max_devices) snd_hda_get_devices() argument
372 snd_hda_get_dev_select(struct hda_codec * codec,hda_nid_t nid) snd_hda_get_dev_select() argument
390 snd_hda_set_dev_select(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_set_dev_select() argument
423 read_widget_caps(struct hda_codec * codec,hda_nid_t fg_node) read_widget_caps() argument
439 read_pin_defaults(struct hda_codec * codec) read_pin_defaults() argument
467 look_up_pincfg(struct hda_codec * codec,struct snd_array * array,hda_nid_t nid) look_up_pincfg() argument
484 snd_hda_add_pincfg(struct hda_codec * codec,struct snd_array * list,hda_nid_t nid,unsigned int cfg) snd_hda_add_pincfg() argument
510 snd_hda_codec_set_pincfg(struct hda_codec * codec,hda_nid_t nid,unsigned int cfg) snd_hda_codec_set_pincfg() argument
526 snd_hda_codec_get_pincfg(struct hda_codec * codec,hda_nid_t nid) snd_hda_codec_get_pincfg() argument
562 snd_hda_codec_set_pin_target(struct hda_codec * codec,hda_nid_t nid,unsigned int val) snd_hda_codec_set_pin_target() argument
580 snd_hda_codec_get_pin_target(struct hda_codec * codec,hda_nid_t nid) snd_hda_codec_get_pin_target() argument
598 snd_hda_shutup_pins(struct hda_codec * codec) snd_hda_shutup_pins() argument
618 restore_shutup_pins(struct hda_codec * codec) restore_shutup_pins() argument
637 struct hda_codec *codec = hda_jackpoll_work() local
652 free_init_pincfgs(struct hda_codec * codec) free_init_pincfgs() argument
675 get_hda_cvt_setup(struct hda_codec * codec,hda_nid_t nid) get_hda_cvt_setup() argument
700 snd_hda_codec_pcm_new(struct hda_codec * codec,const char * fmt,...) snd_hda_codec_pcm_new() argument
728 snd_hda_codec_disconnect_pcms(struct hda_codec * codec) snd_hda_codec_disconnect_pcms() argument
742 codec_release_pcms(struct hda_codec * codec) codec_release_pcms() argument
760 snd_hda_codec_cleanup_for_unbind(struct hda_codec * codec) snd_hda_codec_cleanup_for_unbind() argument
799 snd_hda_codec_display_power(struct hda_codec * codec,bool enable) snd_hda_codec_display_power() argument
811 snd_hda_codec_register(struct hda_codec * codec) snd_hda_codec_register() argument
835 snd_hda_codec_unregister(struct hda_codec * codec) snd_hda_codec_unregister() argument
864 struct hda_codec *codec = dev_to_hda_codec(dev); snd_hda_codec_dev_release() local
890 struct hda_codec *codec; snd_hda_codec_device_init() local
950 struct hda_codec *codec; snd_hda_codec_new() local
968 snd_hda_codec_device_new(struct hda_bus * bus,struct snd_card * card,unsigned int codec_addr,struct hda_codec * codec,bool snddev_managed) snd_hda_codec_device_new() argument
1047 snd_hda_codec_update_widgets(struct hda_codec * codec) snd_hda_codec_update_widgets() argument
1073 update_pcm_stream_id(struct hda_codec * codec,struct hda_cvt_setup * p,hda_nid_t nid,u32 stream_tag,int channel_id) update_pcm_stream_id() argument
1092 update_pcm_format(struct hda_codec * codec,struct hda_cvt_setup * p,hda_nid_t nid,int format) update_pcm_format() argument
1118 snd_hda_codec_setup_stream(struct hda_codec * codec,hda_nid_t nid,u32 stream_tag,int channel_id,int format) snd_hda_codec_setup_stream() argument
1170 __snd_hda_codec_cleanup_stream(struct hda_codec * codec,hda_nid_t nid,int do_now) __snd_hda_codec_cleanup_stream() argument
1196 really_cleanup_stream(struct hda_codec * codec,struct hda_cvt_setup * q) really_cleanup_stream() argument
1214 purify_inactive_streams(struct hda_codec * codec) purify_inactive_streams() argument
1229 hda_cleanup_all_streams(struct hda_codec * codec) hda_cleanup_all_streams() argument
1256 query_amp_caps(struct hda_codec * codec,hda_nid_t nid,int direction) query_amp_caps() argument
1275 snd_hda_check_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int bits) snd_hda_check_amp_caps() argument
1300 snd_hda_override_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int caps) snd_hda_override_amp_caps() argument
1312 encode_amp(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx) encode_amp() argument
1336 snd_hda_codec_amp_update(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,int mask,int val) snd_hda_codec_amp_update() argument
1357 snd_hda_codec_amp_stereo(struct hda_codec * codec,hda_nid_t nid,int direction,int idx,int mask,int val) snd_hda_codec_amp_stereo() argument
1385 snd_hda_codec_amp_init(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,int mask,int val) snd_hda_codec_amp_init() argument
1407 snd_hda_codec_amp_init_stereo(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int mask,int val) snd_hda_codec_amp_init_stereo() argument
1421 get_amp_max_value(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int ofs) get_amp_max_value() argument
1443 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_info() local
1465 read_amp_value(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,unsigned int ofs) read_amp_value() argument
1479 update_amp_value(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,unsigned int ofs,unsigned int val) update_amp_value() argument
1506 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_get() local
1533 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_put() local
1563 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); get_ctl_amp_tlv() local
1619 snd_hda_set_vmaster_tlv(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int * tlv) snd_hda_set_vmaster_tlv() argument
1638 find_mixer_ctl(struct hda_codec * codec,const char * name,int dev,int idx) find_mixer_ctl() argument
1658 snd_hda_find_mixer_ctl(struct hda_codec * codec,const char * name) snd_hda_find_mixer_ctl() argument
1665 find_empty_mixer_ctl_idx(struct hda_codec * codec,const char * name,int start_idx) find_empty_mixer_ctl_idx() argument
1696 snd_hda_ctl_add(struct hda_codec * codec,hda_nid_t nid,struct snd_kcontrol * kctl) snd_hda_ctl_add() argument
1729 snd_hda_ctls_clear(struct hda_codec * codec) snd_hda_ctls_clear() argument
1749 struct hda_codec *codec; snd_hda_lock_devices() local
1799 snd_hda_codec_reset(struct hda_codec * codec) snd_hda_codec_reset() argument
1817 map_followers(struct hda_codec * codec,const char * const * followers,const char * suffix,map_follower_func_t func,void * data) map_followers() argument
1848 check_follower_present(struct hda_codec * codec,void * data,struct snd_kcontrol * sctl) check_follower_present() argument
1869 struct hda_codec *codec; global() member
1928 add_follower(struct hda_codec * codec,void * data,struct snd_kcontrol * follower) add_follower() argument
1954 __snd_hda_add_vmaster(struct hda_codec * codec,char * name,unsigned int * tlv,const char * const * followers,const char * suffix,bool init_follower_vol,unsigned int access,struct snd_kcontrol ** ctl_ret) __snd_hda_add_vmaster() argument
2015 snd_hda_add_vmaster_hook(struct hda_codec * codec,struct hda_vmaster_mute_hook * hook) snd_hda_add_vmaster_hook() argument
2079 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_get() local
2107 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_put() local
2171 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_get() local
2241 set_dig_out(struct hda_codec * codec,hda_nid_t nid,int mask,int val) set_dig_out() argument
2256 set_dig_out_convert(struct hda_codec * codec,hda_nid_t nid,int dig1,int dig2) set_dig_out_convert() argument
2276 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_put() local
2306 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_get() local
2318 set_spdif_ctls(struct hda_codec * codec,hda_nid_t nid,int dig1,int dig2) set_spdif_ctls() argument
2332 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_put() local
2397 snd_hda_create_dig_out_ctls(struct hda_codec * codec,hda_nid_t associated_nid,hda_nid_t cvt_nid,int type) snd_hda_create_dig_out_ctls() argument
2468 snd_hda_spdif_out_of_nid(struct hda_codec * codec,hda_nid_t nid) snd_hda_spdif_out_of_nid() argument
2489 snd_hda_spdif_ctls_unassign(struct hda_codec * codec,int idx) snd_hda_spdif_ctls_unassign() argument
2509 snd_hda_spdif_ctls_assign(struct hda_codec * codec,int idx,hda_nid_t nid) snd_hda_spdif_ctls_assign() argument
2558 snd_hda_create_spdif_share_sw(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_create_spdif_share_sw() argument
2583 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_get() local
2592 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_put() local
2610 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_status_get() local
2653 snd_hda_create_spdif_in_ctls(struct hda_codec * codec,hda_nid_t nid) snd_hda_create_spdif_in_ctls() argument
2692 snd_hda_codec_set_power_to_all(struct hda_codec * codec,hda_nid_t fg,unsigned int power_state) snd_hda_codec_set_power_to_all() argument
2722 snd_hda_codec_eapd_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) snd_hda_codec_eapd_power_filter() argument
2743 hda_set_power_state(struct hda_codec * codec,unsigned int power_state) hda_set_power_state() argument
2787 sync_power_up_states(struct hda_codec * codec) sync_power_up_states() argument
2811 hda_exec_init_verbs(struct hda_codec * codec) hda_exec_init_verbs() argument
2817 hda_exec_init_verbs(struct hda_codec * codec) hda_exec_init_verbs() argument
2821 update_power_acct(struct hda_codec * codec,bool on) update_power_acct() argument
2832 snd_hda_update_power_acct(struct hda_codec * codec) snd_hda_update_power_acct() argument
2841 hda_call_codec_suspend(struct hda_codec * codec) hda_call_codec_suspend() argument
2860 hda_call_codec_resume(struct hda_codec * codec) hda_call_codec_resume() argument
2891 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_suspend() local
2910 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_resume() local
2925 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_idle() local
2934 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_prepare() local
2943 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_complete() local
2968 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_freeze() local
3002 snd_hda_codec_shutdown(struct hda_codec * codec) snd_hda_codec_shutdown() argument
3022 add_std_chmaps(struct hda_codec * codec) add_std_chmaps() argument
3060 snd_hda_codec_build_controls(struct hda_codec * codec) snd_hda_codec_build_controls() argument
3096 hda_pcm_default_open_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) hda_pcm_default_open_close() argument
3103 hda_pcm_default_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) hda_pcm_default_prepare() argument
3113 hda_pcm_default_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) hda_pcm_default_cleanup() argument
3120 set_pcm_default_values(struct hda_codec * codec,struct hda_pcm_stream * info) set_pcm_default_values() argument
3166 snd_hda_codec_prepare(struct hda_codec * codec,struct hda_pcm_stream * hinfo,unsigned int stream,unsigned int format,struct snd_pcm_substream * substream) snd_hda_codec_prepare() argument
3194 snd_hda_codec_cleanup(struct hda_codec * codec,struct hda_pcm_stream * hinfo,struct snd_pcm_substream * substream) snd_hda_codec_cleanup() argument
3258 snd_hda_codec_parse_pcms(struct hda_codec * codec) snd_hda_codec_parse_pcms() argument
3300 snd_hda_codec_build_pcms(struct hda_codec * codec) snd_hda_codec_build_pcms() argument
3345 snd_hda_add_new_ctls(struct hda_codec * codec,const struct snd_kcontrol_new * knew) snd_hda_add_new_ctls() argument
3397 snd_hda_codec_set_power_save(struct hda_codec * codec,int delay) snd_hda_codec_set_power_save() argument
3446 snd_hda_check_amp_list_power(struct hda_codec * codec,struct hda_loopback_check * check,hda_nid_t nid) snd_hda_check_amp_list_power() argument
3518 snd_hda_input_mux_put(struct hda_codec * codec,const struct hda_input_mux * imux,struct snd_ctl_elem_value * ucontrol,hda_nid_t nid,unsigned int * cur_val) snd_hda_input_mux_put() argument
3573 setup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid,unsigned int stream_tag,unsigned int format) setup_dig_out_stream() argument
3612 cleanup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid) cleanup_dig_out_stream() argument
3627 snd_hda_multi_out_dig_open(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_dig_open() argument
3647 snd_hda_multi_out_dig_prepare(struct hda_codec * codec,struct hda_multi_out * mout,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) snd_hda_multi_out_dig_prepare() argument
3664 snd_hda_multi_out_dig_cleanup(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_dig_cleanup() argument
3678 snd_hda_multi_out_dig_close(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_dig_close() argument
3698 snd_hda_multi_out_analog_open(struct hda_codec * codec,struct hda_multi_out * mout,struct snd_pcm_substream * substream,struct hda_pcm_stream * hinfo) snd_hda_multi_out_analog_open() argument
3752 snd_hda_multi_out_analog_prepare(struct hda_codec * codec,struct hda_multi_out * mout,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) snd_hda_multi_out_analog_prepare() argument
3828 snd_hda_multi_out_analog_cleanup(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_analog_cleanup() argument
3863 snd_hda_get_default_vref(struct hda_codec * codec,hda_nid_t pin) snd_hda_get_default_vref() argument
3890 snd_hda_correct_pin_ctl(struct hda_codec * codec,hda_nid_t pin,unsigned int val) snd_hda_correct_pin_ctl() argument
3953 _snd_hda_set_pin_ctl(struct hda_codec * codec,hda_nid_t pin,unsigned int val,bool cached) _snd_hda_set_pin_ctl() argument
3979 snd_hda_add_imux_item(struct hda_codec * codec,struct hda_input_mux * imux,const char * label,int index,int * type_idx) snd_hda_add_imux_item() argument
4013 struct hda_codec *codec; snd_hda_bus_reset_codecs() local
[all...]
H A Djack.c21 * @codec: the HDA codec
26 * detection is prohibited in the codec level, the pin config has
29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() argument
31 if (codec->no_jack_detect) in is_jack_detectable()
33 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_PRES_DETECT)) in is_jack_detectable()
35 if (get_defcfg_misc(snd_hda_codec_get_pincfg(codec, nid)) & in is_jack_detectable()
38 if (!(get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) && in is_jack_detectable()
39 !codec->jackpoll_interval) in is_jack_detectable()
46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() argument
51 if (!codec->no_trigger_sense) { in read_pin_sense()
[all …]
H A Dhda_local.h3 * Universal Interface for Intel High Definition Audio Codec
119 #define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \ argument
120 snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx)
121 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid,
123 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
125 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
127 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid,
129 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir,
131 struct snd_kcontrol *snd_hda_find_mixer_ctl(struct hda_codec *codec,
133 int __snd_hda_add_vmaster(struct hda_codec *codec, cha
137 snd_hda_add_vmaster(codec,name,tlv,followers,suffix,access) global() argument
142 snd_hda_regmap_sync(codec) global() argument
151 struct hda_codec *codec; global() member
169 snd_hda_create_spdif_out_ctls(codec,anid,cnid) global() argument
257 snd_hda_codec_proc_new(struct hda_codec * codec) snd_hda_codec_proc_new() argument
324 unsigned int codec; /* Codec vendor/device ID */ global() member
442 snd_hda_set_pin_ctl(struct hda_codec * codec,hda_nid_t pin,unsigned int val) snd_hda_set_pin_ctl() argument
456 snd_hda_set_pin_ctl_cache(struct hda_codec * codec,hda_nid_t pin,unsigned int val) snd_hda_set_pin_ctl_cache() argument
466 for_each_hda_codec_node(nid,codec) global() argument
473 snd_hda_codec_allow_unsol_events(struct hda_codec * codec) snd_hda_codec_allow_unsol_events() argument
481 get_wcaps(struct hda_codec * codec,hda_nid_t nid) get_wcaps() argument
507 snd_hda_override_wcaps(struct hda_codec * codec,hda_nid_t nid,u32 val) snd_hda_override_wcaps() argument
530 snd_hda_query_pin_caps(struct hda_codec * codec,hda_nid_t nid) snd_hda_query_pin_caps() argument
547 snd_hda_override_pin_caps(struct hda_codec * codec,hda_nid_t nid,unsigned int caps) snd_hda_override_pin_caps() argument
556 nid_has_mute(codec,nid,dir) global() argument
558 nid_has_volume(codec,nid,dir) global() argument
582 snd_hda_create_hwdep(struct hda_codec * codec) snd_hda_create_hwdep() argument
596 snd_hda_get_hint(struct hda_codec * codec,const char * key) snd_hda_get_hint() argument
602 snd_hda_get_bool_hint(struct hda_codec * codec,const char * key) snd_hda_get_bool_hint() argument
608 snd_hda_get_int_hint(struct hda_codec * codec,const char * key,int * valp) snd_hda_get_int_hint() argument
637 snd_hda_check_power_state(struct hda_codec * codec,hda_nid_t nid,unsigned int target_state) snd_hda_check_power_state() argument
643 snd_hda_sync_power_state(struct hda_codec * codec,hda_nid_t nid,unsigned int target_state) snd_hda_sync_power_state() argument
655 snd_hda_codec_init(struct hda_codec * codec) snd_hda_codec_init() argument
716 codec_err(codec,fmt,args...) global() argument
718 codec_warn(codec,fmt,args...) global() argument
720 codec_info(codec,fmt,args...) global() argument
722 codec_dbg(codec,fmt,args...) global() argument
[all...]
H A Dhda_jack.h55 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id);
59 * @codec: the HDA codec
63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() argument
65 return snd_hda_jack_tbl_get_mst(codec, nid, 0); in snd_hda_jack_tbl_get()
69 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec,
72 void snd_hda_jack_tbl_disconnect(struct hda_codec *codec);
73 void snd_hda_jack_tbl_clear(struct hda_codec *codec);
75 void snd_hda_jack_set_dirty_all(struct hda_codec *codec);
77 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_
95 snd_hda_jack_detect_enable_callback(struct hda_codec * codec,hda_nid_t nid,hda_jack_callback_fn cb) snd_hda_jack_detect_enable_callback() argument
130 snd_hda_jack_detect_state(struct hda_codec * codec,hda_nid_t nid) snd_hda_jack_detect_state() argument
142 snd_hda_jack_detect_mst(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_jack_detect_mst() argument
154 snd_hda_jack_detect(struct hda_codec * codec,hda_nid_t nid) snd_hda_jack_detect() argument
178 snd_hda_jack_add_kctl(struct hda_codec * codec,hda_nid_t nid,const char * name,bool phantom_jack,int type,const struct hda_jack_keymap * keymap) snd_hda_jack_add_kctl() argument
[all...]
H A Dproc.c3 * Universal Interface for Intel High Definition Audio Codec
19 MODULE_PARM_DESC(dump_coef, "Dump processing coefficients in codec proc file (-1=auto, 0=disable, 1=enable)");
22 #define param_read(codec, nid, parm) \ argument
23 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm)
48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() argument
75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() argument
80 list_for_each_entry(cpcm, &codec->pcm_list_head, list) { in print_nid_pcms()
94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() argument
97 caps = param_read(codec, nid, dir == HDA_OUTPUT ? in print_amp_caps()
112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_ argument
134 print_amp_vals(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int wcaps,int indices) print_amp_vals() argument
200 print_pcm_caps(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_pcm_caps() argument
305 print_pin_caps(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int * supports_vref) print_pin_caps() argument
401 print_pin_ctls(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int supports_vref) print_pin_ctls() argument
439 print_vol_knob(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_vol_knob() argument
451 print_audio_io(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,unsigned int wid_type) print_audio_io() argument
469 print_digital_conv(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_digital_conv() argument
513 print_power_state(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_power_state() argument
554 print_unsol_cap(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_unsol_cap() argument
564 can_dump_coef(struct hda_codec * codec) can_dump_coef() argument
574 print_proc_caps(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_proc_caps() argument
599 print_conn_list(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,unsigned int wid_type,hda_nid_t * conn,int conn_len) print_conn_list() argument
639 print_gpio(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_gpio() argument
682 print_dpmst_connections(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid,int dev_num) print_dpmst_connections() argument
715 print_device_list(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) print_device_list() argument
747 print_codec_core_info(struct hdac_device * codec,struct snd_info_buffer * buffer) print_codec_core_info() argument
776 struct hda_codec *codec = entry->private_data; print_codec_info() local
936 snd_hda_codec_proc_new(struct hda_codec * codec) snd_hda_codec_proc_new() argument
[all...]
H A Dauto_parser.c56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin() argument
63 nid_has_volume(codec, nid, HDA_INPUT); in add_auto_cfg_input_pin()
108 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity() argument
111 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in check_pincap_validity()
129 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic() argument
141 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic()
172 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg() argument
184 if (!snd_hda_get_int_hint(codec, "parser_flags", &i)) in snd_hda_parse_pin_defcfg()
194 for_each_hda_codec_node(nid, codec) { in snd_hda_parse_pin_defcfg()
195 unsigned int wid_caps = get_wcaps(codec, nid); in snd_hda_parse_pin_defcfg()
[all …]
/linux/sound/hda/codecs/realtek/
H A Drealtek.c3 // Realtek HD-audio codec support code
10 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_read_coefex_idx() argument
15 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in __alc_read_coefex_idx()
16 val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_PROC_COEF, 0); in __alc_read_coefex_idx()
20 int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() argument
23 guard(coef_mutex)(codec); in alc_read_coefex_idx()
24 return __alc_read_coefex_idx(codec, nid, coef_idx); in alc_read_coefex_idx()
28 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_write_coefex_idx() argument
31 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in __alc_write_coefex_idx()
32 snd_hda_codec_write(codec, ni in __alc_write_coefex_idx()
35 alc_write_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_val) alc_write_coefex_idx() argument
43 __alc_update_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int mask,unsigned int bits_set) __alc_update_coefex_idx() argument
54 alc_update_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int mask,unsigned int bits_set) alc_update_coefex_idx() argument
64 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument
74 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument
92 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument
102 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument
111 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument
126 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument
143 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument
150 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument
157 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument
164 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument
171 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument
178 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument
191 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument
201 alc_fix_pll_init(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_bit) alc_fix_pll_init() argument
213 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument
237 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument
356 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument
366 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument
379 alc_find_ext_mic_pin(struct hda_codec * codec) alc_find_ext_mic_pin() argument
401 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument
424 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument
455 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument
467 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument
480 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument
525 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument
536 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument
548 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument
640 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument
743 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument
757 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument
766 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument
779 alc_init(struct hda_codec * codec) alc_init() argument
802 alc_shutup(struct hda_codec * codec) alc_shutup() argument
816 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument
822 alc_suspend(struct hda_codec * codec) alc_suspend() argument
832 alc_resume(struct hda_codec * codec) alc_resume() argument
915 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument
987 alc_has_cdefine_beep(struct hda_codec * codec) alc_has_cdefine_beep() argument
1004 alc_parse_auto_config(struct hda_codec * codec,const hda_nid_t * ignore_nids,const hda_nid_t * ssid_nids) alc_parse_auto_config() argument
1029 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument
1058 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument
1087 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument
1098 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument
1123 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument
1148 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument
1159 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument
1191 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument
1203 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument
1226 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument
1363 alc_headset_mode_mic_in(struct hda_codec * codec,hda_nid_t hp_pin,hda_nid_t mic_pin) alc_headset_mode_mic_in() argument
1502 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument
1623 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument
1747 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument
1849 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument
2043 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument
2103 alc_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) alc_update_headset_mode_hook() argument
2110 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument
2118 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument
2138 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument
2161 alc_fixup_headset_mode_no_hp_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_no_hp_mic() argument
2173 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument
2184 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument
2197 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local
2209 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local
2218 alc_fixup_hp_gpio_led(struct hda_codec * codec,int action,unsigned int mute_mask,unsigned int micmute_mask) alc_fixup_hp_gpio_led() argument
2241 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument
2249 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument
2260 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument
[all...]
/linux/sound/hda/codecs/hdmi/
H A Dintelhdmi.c3 * Intel HDMI codec support
36 static void intel_haswell_enable_all_pins(struct hda_codec *codec, in intel_haswell_enable_all_pins() argument
40 struct hdmi_spec *spec = codec->spec; in intel_haswell_enable_all_pins()
42 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins()
48 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins()
54 snd_hda_codec_update_widgets(codec); in intel_haswell_enable_all_pins()
57 static void intel_haswell_fixup_enable_dp12(struct hda_codec *codec) in intel_haswell_fixup_enable_dp12() argument
60 struct hdmi_spec *spec = codec->spec; in intel_haswell_fixup_enable_dp12()
62 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_fixup_enable_dp12()
69 snd_hdac_regmap_add_vendor_verb(&codec in intel_haswell_fixup_enable_dp12()
77 haswell_set_power_state(struct hda_codec * codec,hda_nid_t fg,unsigned int power_state) haswell_set_power_state() argument
103 intel_base_nid(struct hda_codec * codec) intel_base_nid() argument
117 struct hda_codec *codec = audio_ptr; intel_pin2port() local
141 intel_port2pin(struct hda_codec * codec,int port) intel_port2pin() argument
159 struct hda_codec *codec = audio_ptr; intel_pin_eld_notify() local
182 register_i915_notifier(struct hda_codec * codec) register_i915_notifier() argument
200 silent_stream_enable_i915(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) silent_stream_enable_i915() argument
220 silent_stream_set_kae(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool enable) silent_stream_set_kae() argument
239 i915_set_silent_stream(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool enable) i915_set_silent_stream() argument
268 haswell_verify_D0(struct hda_codec * codec,hda_nid_t cvt_nid,hda_nid_t nid) haswell_verify_D0() argument
291 intel_verify_pin_cvt_connect(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) intel_verify_pin_cvt_connect() argument
329 intel_not_share_assigned_cvt(struct hda_codec * codec,hda_nid_t pin_nid,int dev_id,int mux_idx) intel_not_share_assigned_cvt() argument
405 intel_not_share_assigned_cvt_nid(struct hda_codec * codec,hda_nid_t pin_nid,int dev_id,hda_nid_t cvt_nid) intel_not_share_assigned_cvt_nid() argument
422 i915_hsw_setup_stream(struct hda_codec * codec,hda_nid_t cvt_nid,hda_nid_t pin_nid,int dev_id,u32 stream_tag,int format) i915_hsw_setup_stream() argument
456 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
472 i915_hdmi_suspend(struct hda_codec * codec) i915_hdmi_suspend() argument
513 i915_hdmi_resume(struct hda_codec * codec) i915_hdmi_resume() argument
557 alloc_intel_hdmi(struct hda_codec * codec) alloc_intel_hdmi() argument
571 parse_intel_hdmi(struct hda_codec * codec) parse_intel_hdmi() argument
588 intel_hsw_common_init(struct hda_codec * codec,hda_nid_t vendor_nid,const int * port_map,int port_num,int dev_num,bool send_silent_stream) intel_hsw_common_init() argument
624 probe_i915_hsw_hdmi(struct hda_codec * codec) probe_i915_hsw_hdmi() argument
630 probe_i915_glk_hdmi(struct hda_codec * codec) probe_i915_glk_hdmi() argument
640 probe_i915_icl_hdmi(struct hda_codec * codec) probe_i915_icl_hdmi() argument
652 probe_i915_tgl_hdmi(struct hda_codec * codec) probe_i915_tgl_hdmi() argument
664 probe_i915_adlp_hdmi(struct hda_codec * codec) probe_i915_adlp_hdmi() argument
681 probe_i915_byt_hdmi(struct hda_codec * codec) probe_i915_byt_hdmi() argument
701 probe_i915_cpt_hdmi(struct hda_codec * codec) probe_i915_cpt_hdmi() argument
709 intelhdmi_probe(struct hda_codec * codec,const struct hda_device_id * id) intelhdmi_probe() argument
[all...]
H A Dhdmi.c50 int snd_hda_hdmi_pin_id_to_pin_index(struct hda_codec *codec, in snd_hda_hdmi_pin_id_to_pin_index() argument
53 struct hdmi_spec *spec = codec->spec; in snd_hda_hdmi_pin_id_to_pin_index()
71 codec_warn(codec, "HDMI: pin NID 0x%x not registered\n", pin_nid); 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() argument
79 struct hdmi_spec *spec = codec->spec; in hinfo_to_pcm_index()
86 codec_warn(codec, "HDMI: hinfo %p not tied to a PCM\n", hinfo); in hinfo_to_pcm_index()
90 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index() argument
93 struct hdmi_spec *spec = codec->spec; in hinfo_to_pin_index()
104 codec_dbg(codec, "HDMI: hinfo %p (pcm %d) not registered\n", hinfo, in hinfo_to_pin_index()
105 hinfo_to_pcm_index(codec, hinfo)); in hinfo_to_pin_index()
[all …]
/linux/sound/hda/codecs/
H A Dgeneric.c3 * Universal Interface for Intel High Definition Audio Codec
105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() argument
107 struct hda_gen_spec *spec = codec->spec; in parse_user_hints()
110 val = snd_hda_get_bool_hint(codec, "jack_detect"); in parse_user_hints()
112 codec->no_jack_detect = !val; in parse_user_hints()
113 val = snd_hda_get_bool_hint(codec, "inv_jack_detect"); in parse_user_hints()
115 codec->inv_jack_detect = !!val; in parse_user_hints()
116 val = snd_hda_get_bool_hint(codec, "trigger_sense"); in parse_user_hints()
118 codec->no_trigger_sense = !val; in parse_user_hints()
119 val = snd_hda_get_bool_hint(codec, "inv_eap in parse_user_hints()
205 update_pin_ctl(codec,pin,val) global() argument
210 restore_pin_ctl(struct hda_codec * codec,hda_nid_t pin) restore_pin_ctl() argument
216 set_pin_target(struct hda_codec * codec,hda_nid_t pin,unsigned int val,bool do_write) set_pin_target() argument
228 set_pin_targets(struct hda_codec * codec,int num_pins,hda_nid_t * pins,unsigned int val) set_pin_targets() argument
256 get_nid_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid) get_nid_path() argument
287 snd_hda_get_path_idx(struct hda_codec * codec,struct nid_path * path) snd_hda_get_path_idx() argument
308 snd_hda_get_path_from_idx(struct hda_codec * codec,int idx) snd_hda_get_path_from_idx() argument
319 is_dac_already_used(struct hda_codec * codec,hda_nid_t nid) is_dac_already_used() argument
333 is_reachable_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid) is_reachable_path() argument
345 is_ctl_used(struct hda_codec * codec,unsigned int val,int type) is_ctl_used() argument
360 is_ctl_associated(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int type) is_ctl_associated() argument
367 print_nid_path(struct hda_codec * codec,const char * pfx,struct nid_path * path) print_nid_path() argument
384 __parse_nid_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid,struct nid_path * path,int depth) __parse_nid_path() argument
454 snd_hda_parse_nid_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid,struct nid_path * path) snd_hda_parse_nid_path() argument
477 snd_hda_add_new_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid) snd_hda_add_new_path() argument
504 invalidate_nid_path(struct hda_codec * codec,int idx) invalidate_nid_path() argument
513 get_preferred_dac(struct hda_codec * codec,hda_nid_t pin) get_preferred_dac() argument
527 look_for_dac(struct hda_codec * codec,hda_nid_t pin,bool is_digital) look_for_dac() argument
555 same_amp_caps(struct hda_codec * codec,hda_nid_t nid1,hda_nid_t nid2,int dir) same_amp_caps() argument
565 look_for_out_mute_nid(struct hda_codec * codec,struct nid_path * path) look_for_out_mute_nid() argument
581 look_for_out_vol_nid(struct hda_codec * codec,struct nid_path * path) look_for_out_vol_nid() argument
602 has_amp_in(struct hda_codec * codec,struct nid_path * path,int idx) has_amp_in() argument
616 has_amp_out(struct hda_codec * codec,struct nid_path * path,int idx) has_amp_out() argument
630 is_active_nid(struct hda_codec * codec,hda_nid_t nid,unsigned int dir,unsigned int idx) is_active_nid() argument
665 is_active_nid_for_any(codec,nid) global() argument
669 get_amp_val_to_activate(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int caps,bool enable) get_amp_val_to_activate() argument
687 is_stereo_amps(struct hda_codec * codec,hda_nid_t nid,int dir) is_stereo_amps() argument
704 init_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx) init_amp() argument
716 update_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,unsigned int mask,unsigned int val) update_amp() argument
730 get_amp_mask_to_modify(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,unsigned int caps) get_amp_mask_to_modify() argument
748 activate_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int idx_to_check,bool enable) activate_amp() argument
764 check_and_activate_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int idx_to_check,bool enable) check_and_activate_amp() argument
774 activate_amp_out(struct hda_codec * codec,struct nid_path * path,int i,bool enable) activate_amp_out() argument
782 activate_amp_in(struct hda_codec * codec,struct nid_path * path,int i,bool enable,bool add_aamix) activate_amp_in() argument
823 path_power_update(struct hda_codec * codec,struct nid_path * path,bool allow_powerdown) path_power_update() argument
862 sync_power_state_change(struct hda_codec * codec,hda_nid_t nid) sync_power_state_change() argument
879 snd_hda_activate_path(struct hda_codec * codec,struct nid_path * path,bool enable,bool add_aamix) snd_hda_activate_path() argument
907 path_power_down_sync(struct hda_codec * codec,struct nid_path * path) path_power_down_sync() argument
917 set_pin_eapd(struct hda_codec * codec,hda_nid_t pin,bool enable) set_pin_eapd() argument
933 resume_path_from_idx(struct hda_codec * codec,int path_idx) resume_path_from_idx() argument
1020 add_vol_ctl(struct hda_codec * codec,const char * pfx,int cidx,unsigned int chs,struct nid_path * path) add_vol_ctl() argument
1034 get_default_ch_nums(struct hda_codec * codec,struct nid_path * path,int type) get_default_ch_nums() argument
1046 add_stereo_vol(struct hda_codec * codec,const char * pfx,int cidx,struct nid_path * path) add_stereo_vol() argument
1056 add_sw_ctl(struct hda_codec * codec,const char * pfx,int cidx,unsigned int chs,struct nid_path * path) add_sw_ctl() argument
1079 add_stereo_sw(struct hda_codec * codec,const char * pfx,int cidx,struct nid_path * path) add_stereo_sw() argument
1090 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); sync_auto_mute_bits() local
1117 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_get() local
1132 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_put() local
1154 path_has_mixer(struct hda_codec * codec,int path_idx,int ctl_type) path_has_mixer() argument
1165 get_line_out_pfx(struct hda_codec * codec,int ch,int * index,int ctl_type) get_line_out_pfx() argument
1283 assign_out_path_ctls(struct hda_codec * codec,struct nid_path * path) assign_out_path_ctls() argument
1346 get_primary_out(struct hda_codec * codec,int idx) get_primary_out() argument
1360 try_dac(struct hda_codec * codec,hda_nid_t dac,hda_nid_t pin) try_dac() argument
1367 try_assign_dacs(struct hda_codec * codec,int num_outs,const hda_nid_t * pins,hda_nid_t * dacs,int * path_idx,const struct badness_table * bad) try_assign_dacs() argument
1459 get_dac_if_single(struct hda_codec * codec,hda_nid_t pin) get_dac_if_single() argument
1479 can_be_multiio_pin(struct hda_codec * codec,unsigned int location,hda_nid_t nid) can_be_multiio_pin() argument
1496 count_multiio_pins(struct hda_codec * codec,hda_nid_t reference_pin) count_multiio_pins() argument
1525 fill_multi_ios(struct hda_codec * codec,hda_nid_t reference_pin,bool hardwired) fill_multi_ios() argument
1611 map_singles(struct hda_codec * codec,int outs,const hda_nid_t * pins,hda_nid_t * dacs,int * path_idx) map_singles() argument
1647 check_aamix_out_path(struct hda_codec * codec,int path_idx) check_aamix_out_path() argument
1683 indep_hp_possible(struct hda_codec * codec) indep_hp_possible() argument
1722 refill_shared_dacs(struct hda_codec * codec,int num_outs,hda_nid_t * dacs,int * path_idx) refill_shared_dacs() argument
1739 fill_and_eval_dacs(struct hda_codec * codec,bool fill_hardwired,bool fill_mio_first) fill_and_eval_dacs() argument
1902 print_nid_path_idx(struct hda_codec * codec,const char * pfx,int idx) print_nid_path_idx() argument
1912 debug_show_configs(struct hda_codec * codec,struct auto_pin_cfg * cfg) debug_show_configs() argument
1961 debug_show_configs(codec,cfg) global() argument
1965 fill_all_dac_nids(struct hda_codec * codec) fill_all_dac_nids() argument
1983 parse_output_paths(struct hda_codec * codec) parse_output_paths() argument
2101 create_multi_out_ctls(struct hda_codec * codec,const struct auto_pin_cfg * cfg) create_multi_out_ctls() argument
2152 create_extra_out(struct hda_codec * codec,int path_idx,const char * pfx,int cidx) create_extra_out() argument
2171 create_extra_outs(struct hda_codec * codec,int num_pins,const int * paths,const char * pfx) create_extra_outs() argument
2198 create_hp_out_ctls(struct hda_codec * codec) create_hp_out_ctls() argument
2206 create_speaker_out_ctls(struct hda_codec * codec) create_speaker_out_ctls() argument
2229 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_get() local
2242 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_put() local
2293 create_indep_hp_ctls(struct hda_codec * codec) create_indep_hp_ctls() argument
2323 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_info() local
2340 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_get() local
2348 get_multiio_path(struct hda_codec * codec,int idx) get_multiio_path() argument
2365 set_multi_io(struct hda_codec * codec,int idx,bool output) set_multi_io() argument
2398 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_put() local
2425 create_multi_channel_mode(struct hda_codec * codec) create_multi_channel_mode() argument
2445 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_get() local
2451 update_aamix_paths(struct hda_codec * codec,bool do_mix,int nomix_path_idx,int mix_path_idx,int out_type) update_aamix_paths() argument
2482 update_output_paths(struct hda_codec * codec,int num_outs,const int * paths) update_output_paths() argument
2500 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_put() local
2537 create_loopback_mixing_ctl(struct hda_codec * codec) create_loopback_mixing_ctl() argument
2556 update_hp_mic(struct hda_codec * codec,int adc_mux,bool force) update_hp_mic() argument
2600 create_hp_mic(struct hda_codec * codec) create_hp_mic() argument
2668 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_get() local
2680 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_put() local
2698 find_kctl_name(struct hda_codec * codec,const char * name,int idx) find_kctl_name() argument
2711 get_jack_mode_name(struct hda_codec * codec,hda_nid_t pin,char * name,size_t name_len) get_jack_mode_name() argument
2724 get_out_jack_num_items(struct hda_codec * codec,hda_nid_t pin) get_out_jack_num_items() argument
2735 create_out_jack_modes(struct hda_codec * codec,int num_pins,hda_nid_t * pins) create_out_jack_modes() argument
2772 get_vref_caps(struct hda_codec * codec,hda_nid_t pin) get_vref_caps() argument
2815 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_info() local
2830 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_get() local
2843 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_put() local
2866 get_in_jack_num_items(struct hda_codec * codec,hda_nid_t pin) get_in_jack_num_items() argument
2875 create_in_jack_mode(struct hda_codec * codec,hda_nid_t pin) create_in_jack_mode() argument
2908 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_info() local
2939 get_cur_hp_mic_jack_mode(struct hda_codec * codec,hda_nid_t nid) get_cur_hp_mic_jack_mode() argument
2963 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_get() local
2973 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_put() local
3012 create_hp_mic_jack_mode(struct hda_codec * codec,hda_nid_t pin) create_hp_mic_jack_mode() argument
3048 look_for_mix_leaf_ctls(struct hda_codec * codec,hda_nid_t mix_nid,hda_nid_t pin,unsigned int * mix_val,unsigned int * mute_val) look_for_mix_leaf_ctls() argument
3084 new_analog_input(struct hda_codec * codec,int input_idx,hda_nid_t pin,const char * ctlname,int ctlidx,hda_nid_t mix_nid) new_analog_input() argument
3140 is_input_pin(struct hda_codec * codec,hda_nid_t nid) is_input_pin() argument
3147 fill_adc_nids(struct hda_codec * codec) fill_adc_nids() argument
3177 check_dyn_adc_switch(struct hda_codec * codec) check_dyn_adc_switch() argument
3245 parse_capture_source(struct hda_codec * codec,hda_nid_t pin,int cfg_idx,int num_adcs,const char * label,int anchor) parse_capture_source() argument
3287 fill_input_pin_labels(struct hda_codec * codec) fill_input_pin_labels() argument
3320 create_input_ctls(struct hda_codec * codec) create_input_ctls() argument
3393 get_input_path(struct hda_codec * codec,int adc_idx,int imux_idx) get_input_path() argument
3415 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_info() local
3423 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_get() local
3435 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_put() local
3461 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_put_caller() local
3533 parse_capvol_in_path(struct hda_codec * codec,struct nid_path * path) parse_capvol_in_path() argument
3572 is_inv_dmic_pin(struct hda_codec * codec,hda_nid_t nid) is_inv_dmic_pin() argument
3596 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_single_sw_put() local
3610 add_single_cap_ctl(struct hda_codec * codec,const char * label,int idx,bool is_switch,unsigned int ctl,bool inv_dmic) add_single_cap_ctl() argument
3662 create_single_cap_vol_ctl(struct hda_codec * codec,int idx,unsigned int vol_ctl,unsigned int sw_ctl,bool inv_dmic) create_single_cap_vol_ctl() argument
3677 create_bind_cap_vol_ctl(struct hda_codec * codec,int idx,unsigned int vol_ctl,unsigned int sw_ctl) create_bind_cap_vol_ctl() argument
3705 get_first_cap_ctl(struct hda_codec * codec,int idx,int type) get_first_cap_ctl() argument
3726 create_multi_cap_vol_ctl(struct hda_codec * codec) create_multi_cap_vol_ctl() argument
3755 create_capture_mixers(struct hda_codec * codec) create_capture_mixers() argument
3828 check_boost_vol(struct hda_codec * codec,hda_nid_t nid,int dir,int idx) check_boost_vol() argument
3846 look_for_boost_amp(struct hda_codec * codec,struct nid_path * path) look_for_boost_amp() argument
3871 parse_mic_boost(struct hda_codec * codec) parse_mic_boost() argument
3920 create_mute_led_cdev(struct hda_codec * codec,int (* callback)(struct led_classdev *,enum led_brightness),bool micmute) create_mute_led_cdev() argument
3952 snd_hda_gen_add_mute_led_cdev(struct hda_codec * codec,int (* callback)(struct led_classdev *,enum led_brightness)) snd_hda_gen_add_mute_led_cdev() argument
3989 snd_hda_gen_add_micmute_led_cdev(struct hda_codec * codec,int (* callback)(struct led_classdev *,enum led_brightness)) snd_hda_gen_add_micmute_led_cdev() argument
4013 parse_digital(struct hda_codec * codec) parse_digital() argument
4077 mux_select(struct hda_codec * codec,unsigned int adc_idx,unsigned int idx) mux_select() argument
4124 set_path_power(struct hda_codec * codec,hda_nid_t nid,int pin_state,int stream_state) set_path_power() argument
4156 detect_pin_state(struct hda_codec * codec,hda_nid_t pin) detect_pin_state() argument
4169 set_pin_power_jack(struct hda_codec * codec,hda_nid_t pin,int power) set_pin_power_jack() argument
4184 pin_power_callback(struct hda_codec * codec,struct hda_jack_callback * jack,bool on) pin_power_callback() argument
4194 pin_power_up_callback(struct hda_codec * codec,struct hda_jack_callback * jack) pin_power_up_callback() argument
4201 pin_power_down_callback(struct hda_codec * codec,struct hda_jack_callback * jack) pin_power_down_callback() argument
4208 add_pin_power_ctls(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) add_pin_power_ctls() argument
4226 add_all_pin_power_ctls(struct hda_codec * codec,bool on) add_all_pin_power_ctls() argument
4244 sync_pin_power_ctls(struct hda_codec * codec,int num_pins,const hda_nid_t * pins) sync_pin_power_ctls() argument
4255 sync_all_pin_power_ctls(struct hda_codec * codec) sync_all_pin_power_ctls() argument
4273 add_fake_paths(struct hda_codec * codec,hda_nid_t nid,int num_pins,const hda_nid_t * pins) add_fake_paths() argument
4298 add_fake_beep_paths(struct hda_codec * codec) add_fake_beep_paths() argument
4335 snd_hda_gen_fix_pin_power(struct hda_codec * codec,hda_nid_t pin) snd_hda_gen_fix_pin_power() argument
4358 detect_jacks(struct hda_codec * codec,int num_pins,const hda_nid_t * pins) detect_jacks() argument
4377 do_automute(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,int * paths,bool mute) do_automute() argument
4442 snd_hda_gen_update_outputs(struct hda_codec * codec) snd_hda_gen_update_outputs() argument
4489 call_update_outputs(struct hda_codec * codec) call_update_outputs() argument
4507 snd_hda_gen_hp_automute(struct hda_codec * codec,struct hda_jack_callback * jack) snd_hda_gen_hp_automute() argument
4532 snd_hda_gen_line_automute(struct hda_codec * codec,struct hda_jack_callback * jack) snd_hda_gen_line_automute() argument
4557 snd_hda_gen_mic_autoswitch(struct hda_codec * codec,struct hda_jack_callback * jack) snd_hda_gen_mic_autoswitch() argument
4581 call_hp_automute(struct hda_codec * codec,struct hda_jack_callback * jack) call_hp_automute() argument
4591 call_line_automute(struct hda_codec * codec,struct hda_jack_callback * jack) call_line_automute() argument
4601 call_mic_autoswitch(struct hda_codec * codec,struct hda_jack_callback * jack) call_mic_autoswitch() argument
4612 update_automute_all(struct hda_codec * codec) update_automute_all() argument
4625 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_info() local
4639 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_get() local
4654 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_put() local
4700 add_automute_mode_enum(struct hda_codec * codec) add_automute_mode_enum() argument
4713 check_auto_mute_availability(struct hda_codec * codec) check_auto_mute_availability() argument
4786 auto_mic_check_imux(struct hda_codec * codec) auto_mic_check_imux() argument
4820 check_auto_mic_availability(struct hda_codec * codec) check_auto_mic_availability() argument
4895 snd_hda_gen_path_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) snd_hda_gen_path_power_filter() argument
4914 mute_all_mixer_nid(struct hda_codec * codec,hda_nid_t mix) mute_all_mixer_nid() argument
4940 snd_hda_gen_stream_pm(struct hda_codec * codec,hda_nid_t nid,bool on) snd_hda_gen_stream_pm() argument
4948 force_mute_output_path(struct hda_codec * codec,hda_nid_t nid) force_mute_output_path() argument
4977 snd_hda_gen_shutup_speakers(struct hda_codec * codec) snd_hda_gen_shutup_speakers() argument
5019 snd_hda_gen_parse_auto_config(struct hda_codec * codec,struct auto_pin_cfg * cfg) snd_hda_gen_parse_auto_config() argument
5222 snd_hda_gen_build_controls(struct hda_codec * codec) snd_hda_gen_build_controls() argument
5295 call_pcm_playback_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) call_pcm_playback_hook() argument
5305 call_pcm_capture_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) call_pcm_capture_hook() argument
5318 playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) playback_pcm_open() argument
5338 playback_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) playback_pcm_prepare() argument
5355 playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) playback_pcm_cleanup() argument
5369 playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) playback_pcm_close() argument
5382 capture_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) capture_pcm_open() argument
5390 capture_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) capture_pcm_prepare() argument
5402 capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) capture_pcm_cleanup() argument
5412 capture_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) capture_pcm_close() argument
5420 alt_playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_playback_pcm_open() argument
5437 alt_playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_playback_pcm_close() argument
5450 alt_playback_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) alt_playback_pcm_prepare() argument
5462 alt_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_playback_pcm_cleanup() argument
5475 dig_playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dig_playback_pcm_open() argument
5483 dig_playback_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) dig_playback_pcm_prepare() argument
5494 dig_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dig_playback_pcm_cleanup() argument
5502 dig_playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dig_playback_pcm_close() argument
5516 alt_capture_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) alt_capture_pcm_prepare() argument
5531 alt_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_capture_pcm_cleanup() argument
5627 dyn_adc_pcm_resetup(struct hda_codec * codec,int cur) dyn_adc_pcm_resetup() argument
5646 dyn_adc_capture_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) dyn_adc_capture_pcm_prepare() argument
5661 dyn_adc_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dyn_adc_capture_pcm_cleanup() argument
5734 snd_hda_gen_build_pcms(struct hda_codec * codec) snd_hda_gen_build_pcms() argument
5848 set_output_and_unmute(struct hda_codec * codec,int path_idx) set_output_and_unmute() argument
5864 init_multi_out(struct hda_codec * codec) init_multi_out() argument
5874 __init_extra_out(struct hda_codec * codec,int num_outs,int * paths) __init_extra_out() argument
5883 init_extra_out(struct hda_codec * codec) init_extra_out() argument
5895 init_multi_io(struct hda_codec * codec) init_multi_io() argument
5914 init_aamix_paths(struct hda_codec * codec) init_aamix_paths() argument
5934 init_analog_input(struct hda_codec * codec) init_analog_input() argument
5954 init_input_src(struct hda_codec * codec) init_input_src() argument
5985 init_digital(struct hda_codec * codec) init_digital() argument
6003 clear_unsol_on_unused_pins(struct hda_codec * codec) clear_unsol_on_unused_pins() argument
6023 snd_hda_gen_init(struct hda_codec * codec) snd_hda_gen_init() argument
6064 snd_hda_gen_remove(struct hda_codec * codec) snd_hda_gen_remove() argument
6080 snd_hda_gen_check_power_status(struct hda_codec * codec,hda_nid_t nid) snd_hda_gen_check_power_status() argument
6092 snd_hda_gen_probe(struct hda_codec * codec,const struct hda_device_id * id) snd_hda_gen_probe() argument
[all...]
H A Dca0132.c3 * HD audio codec driver for Creative CA0132 chip
1135 struct hda_codec *codec; member
1181 #define ca0132_quirk(spec) ((spec)->codec->fixup_id)
1525 * CA0132 codec access
1527 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() argument
1531 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
1537 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() argument
1540 return codec_send_command(codec, nid, VENDOR_CHIPIO_STREAM_FORMAT, in codec_set_converter_format()
1544 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel() argument
1551 return codec_send_command(codec, nid, AC_VERB_SET_CHANNEL_STREAMID, in codec_set_converter_stream_channel()
[all …]
H A Dvia.c3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio codec driver for VIA VT17xx/VT18xx/VT20xx codec
13 /* 2006-03-03 Lydia Wang Create the basic patch to support VT1708 codec */
15 /* 2006-08-02 Lydia Wang Add support to VT1709 codec */
18 /* 2007-09-17 Lydia Wang Add VT1708B codec support */
19 /* 2007-11-14 Lydia Wang Add VT1708A codec HP and CD pin connect config */
21 /* 2008-03-06 Lydia Wang Add VT1702 codec and VT1708S codec support */
95 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec);
97 struct hda_codec *codec,
101 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec() argument
[all …]
H A Dsenarytech.c3 * HD audio codec driver for Senary HDA audio codec
91 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep() argument
93 struct senary_spec *spec = codec->spec; in senary_auto_parse_beep()
96 for_each_hda_codec_node(nid, codec) in senary_auto_parse_beep()
97 if ((get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) && in senary_auto_parse_beep()
98 (get_wcaps(codec, nid) & (AC_WCAP_OUT_AMP | AC_WCAP_AMP_OVRD))) in senary_auto_parse_beep()
103 #define senary_auto_parse_beep(codec) 0 argument
107 static void senary_auto_parse_eapd(struct hda_codec *codec) in senary_auto_parse_eapd() argument
109 struct senary_spec *spec = codec->spec; in senary_auto_parse_eapd()
112 for_each_hda_codec_node(nid, codec) { in senary_auto_parse_eapd()
[all …]
H A Dconexant.c3 * HD audio codec driver for Conexant HDA audio codec
74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() argument
76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep()
79 for_each_hda_codec_node(nid, codec) in cx_auto_parse_beep()
80 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in cx_auto_parse_beep()
85 #define cx_auto_parse_beep(codec) 0 argument
93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() argument
95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd()
98 for_each_hda_codec_node(nid, codec) { in cx_auto_parse_eapd()
118 cx_auto_turn_eapd(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) cx_auto_turn_eapd() argument
133 struct hda_codec *codec = private_data; cx_auto_vmaster_hook() local
143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cx_auto_vmaster_mute_led() local
152 cxt_init_gpio_led(struct hda_codec * codec) cxt_init_gpio_led() argument
167 cx_fixup_headset_recog(struct hda_codec * codec) cx_fixup_headset_recog() argument
188 cx_init(struct hda_codec * codec) cx_init() argument
204 cx_auto_shutdown(struct hda_codec * codec) cx_auto_shutdown() argument
213 cx_remove(struct hda_codec * codec) cx_remove() argument
219 cx_process_headset_plugin(struct hda_codec * codec) cx_process_headset_plugin() argument
246 cx_update_headset_mic_vref(struct hda_codec * codec,struct hda_jack_callback * event) cx_update_headset_mic_vref() argument
261 cx_suspend(struct hda_codec * codec) cx_suspend() argument
311 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument
319 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument
331 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument
344 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument
371 cxt_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) cxt_update_headset_mode_hook() argument
378 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument
399 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument
420 update_mic_pin(codec,nid,val) global() argument
433 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument
448 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument
503 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument
518 olpc_xo_capture_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) olpc_xo_capture_hook() argument
542 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local
551 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local
567 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local
582 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local
623 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local
631 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument
662 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument
678 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument
692 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument
702 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument
714 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument
738 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local
749 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local
756 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument
773 cxt_setup_gpio_unmute(struct hda_codec * codec,unsigned int gpio_mute_mask) cxt_setup_gpio_unmute() argument
785 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument
792 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument
799 cxt_fixup_hp_a_u(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_a_u() argument
1168 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument
1183 cx_probe(struct hda_codec * codec,const struct hda_device_id * id) cx_probe() argument
[all...]
H A Dsi3054.c3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio codec driver for Silicon Labs 3054/5 modem codec
63 /* si3054 codec registers (nodes) access macros */
64 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) argument
65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) argument
66 #define SET_REG_CACHE(codec,reg,val) \ argument
67 snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val)
88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local
91 uvalue->value.integer.value[0] = (GET_REG(codec, reg)) & mask ? 1 : 0 ; in si3054_switch_get()
98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() local
[all …]
H A DKconfig8 tristate "Build Analog Devices HD-audio codec support"
11 Say Y or M here to include Analog Devices HD-audio codec support in
14 comment "Set to Y if you want auto-loading the codec driver"
18 tristate "Build IDT/Sigmatel HD-audio codec support"
22 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
25 comment "Set to Y if you want auto-loading the codec driver"
29 tristate "Build VIA HD-audio codec support"
32 Say Y or M here to include VIA HD-audio codec support in
35 comment "Set to Y if you want auto-loading the codec driver"
39 tristate "Build Conexant HD-audio codec support"
[all …]
H A Dcm9825.c3 * CM9825 HD-audio codec
50 struct hda_codec *codec; member
196 static void cm9825_update_jk_plug_status(struct hda_codec *codec, hda_nid_t nid) in cm9825_update_jk_plug_status() argument
198 struct cmi_spec *spec = codec->spec; in cm9825_update_jk_plug_status()
202 jack_plugin = snd_hda_jack_detect(spec->codec, nid); in cm9825_update_jk_plug_status()
203 jack = snd_hda_jack_tbl_get(spec->codec, nid); in cm9825_update_jk_plug_status()
206 snd_hda_jack_report_sync(spec->codec); in cm9825_update_jk_plug_status()
209 codec_dbg(spec->codec, in cm9825_update_jk_plug_status()
225 cm9825_update_jk_plug_status(spec->codec, in cm9825_unsol_inputs_delayed()
236 cm9825_update_jk_plug_status(spec->codec, in cm9825_unsol_lineout_delayed()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
72 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1,
82 fpga-gpio5, fpga-gpio6, codec-gpio1, codec-gpio2,
83 codec-gpio3, codec-gpio4, codec-gpio5, codec-gpio6,
84 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
86 gf-gpio2, gf-gpio3, gf-gpio7, codec-aif1-bclk,
87 codec-aif1-rxdat, codec-aif1-lrclk, codec-aif1-txdat,
88 codec-aif2-bclk, codec-aif2-rxdat, codec-aif2-lrclk,
89 codec-aif2-txdat, codec-aif3-bclk, codec-aif3-rxdat,
90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
[all …]
/linux/drivers/media/pci/zoran/
H A Dvideocodec.c5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
20 struct videocodec *codec; member
25 const struct videocodec *codec; member
42 struct videocodec *codec; in videocodec_attach() local
63 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach()
64 zrdev_dbg(zr, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach()
66 codec = kmemdup(h->codec, sizeof(struct videocodec), GFP_KERNEL); in videocodec_attach()
67 if (!codec) in videocodec_attach()
70 res = strlen(codec->name); in videocodec_attach()
71 snprintf(codec->name + res, sizeof(codec->name) - res, "[%d]", h->attached); in videocodec_attach()
[all …]
/linux/sound/soc/codecs/
H A DKconfig3 # modular, meaning we can't build the codec driver in with I2C support.
12 menu "CODEC drivers"
15 tristate "Build all ASoC CODEC drivers"
368 Normally ASoC codec drivers are only built if a machine driver which
422 tristate "Build generic ASoC AC97 CODEC driver"
459 tristate "Analog Devices ADAU1372 CODEC (I2C)"
465 tristate "Analog Devices ADAU1372 CODEC (SPI)"
471 tristate "Analog Devices ADAU1373 CODEC"
476 tristate "Analog Devices ADAU1701 CODEC"
490 tristate "Analog Devices AU1761 CODEC
[all...]
H A Dhda.c16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument
19 struct device *dev = &codec->core.dev; in hda_codec_create_dais()
28 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in hda_codec_create_dais()
83 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais() argument
90 if (list_empty(&codec->pcm_list_head)) in hda_codec_register_dais()
92 list_for_each_entry(pcm, &codec->pcm_list_head, list) in hda_codec_register_dais()
95 ret = hda_codec_create_dais(codec, pcm_count, &drvs); in hda_codec_register_dais()
101 list_for_each_entry(pcm, &codec->pcm_list_head, list) { in hda_codec_register_dais()
124 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais() argument
133 list_for_each_entry(pcm, &codec in hda_codec_unregister_dais()
146 hda_codec_probe_complete(struct hda_codec * codec) hda_codec_probe_complete() argument
174 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_probe() local
269 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_remove() local
346 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_attach() local
378 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_detach() local
[all...]
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.c3 * HD audio codec driver for Cirrus Logic CS8409 HDA bridge chip
27 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config() argument
29 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config()
33 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
37 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
50 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config()
60 static struct cs8409_spec *cs8409_alloc_spec(struct hda_codec *codec) in cs8409_alloc_spec() argument
67 codec->spec = spec; in cs8409_alloc_spec()
68 spec->codec = codec; in cs8409_alloc_spec()
77 cs8409_vendor_coef_get(struct hda_codec * codec,unsigned int idx) cs8409_vendor_coef_get() argument
83 cs8409_vendor_coef_set(struct hda_codec * codec,unsigned int idx,unsigned int coef) cs8409_vendor_coef_set() argument
96 cs8409_disable_i2c_clock(struct hda_codec * codec) cs8409_disable_i2c_clock() argument
124 cs8409_enable_i2c_clock(struct hda_codec * codec) cs8409_enable_i2c_clock() argument
150 cs8409_i2c_wait_complete(struct hda_codec * codec) cs8409_i2c_wait_complete() argument
163 cs8409_set_i2c_dev_addr(struct hda_codec * codec,unsigned int addr) cs8409_set_i2c_dev_addr() argument
182 struct hda_codec *codec = scodec->codec; cs8409_i2c_set_page() local
203 struct hda_codec *codec = scodec->codec; cs8409_i2c_read() local
243 struct hda_codec *codec = scodec->codec; cs8409_i2c_bulk_read() local
285 struct hda_codec *codec = scodec->codec; cs8409_i2c_write() local
324 struct hda_codec *codec = scodec->codec; cs8409_i2c_bulk_write() local
359 cs8409_init(struct hda_codec * codec) cs8409_init() argument
369 cs8409_build_controls(struct hda_codec * codec) cs8409_build_controls() argument
382 cs8409_enable_ur(struct hda_codec * codec,int flag) cs8409_enable_ur() argument
398 cs8409_fix_caps(struct hda_codec * codec,unsigned int nid) cs8409_fix_caps() argument
423 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs8409_spk_sw_gpio_get() local
433 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs8409_spk_sw_gpio_put() local
484 struct hda_codec *codec = snd_kcontrol_chip(kctrl); cs42l42_volume_get() local
543 struct hda_codec *codec = snd_kcontrol_chip(kctrl); cs42l42_volume_put() local
575 cs42l42_playback_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) cs42l42_playback_pcm_hook() argument
604 cs42l42_capture_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) cs42l42_capture_pcm_hook() argument
869 struct hda_codec *codec = cs42l42->codec; cs42l42_resume() local
913 struct hda_codec *codec = cs42l42->codec; cs42l42_suspend() local
950 cs8409_remove(struct hda_codec * codec) cs8409_remove() argument
973 cs8409_cs42l42_jack_unsol_event(struct hda_codec * codec,unsigned int res) cs8409_cs42l42_jack_unsol_event() argument
1003 cs8409_unsol_event(struct hda_codec * codec,unsigned int res) cs8409_unsol_event() argument
1014 cs8409_cs42l42_suspend(struct hda_codec * codec) cs8409_cs42l42_suspend() argument
1038 cs8409_cs42l42_hw_init(struct hda_codec * codec) cs8409_cs42l42_hw_init() argument
1085 struct hda_codec *codec = container_of(dev, struct hda_codec, core); cs8409_cs42l42_exec_verb() local
1117 cs8409_cs42l42_fixups(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs8409_cs42l42_fixups() argument
1226 struct hda_codec *codec = dev_to_hda_codec(dev); cs8409_comp_bind() local
1234 struct hda_codec *codec = dev_to_hda_codec(dev); cs8409_comp_unbind() local
1245 cs8409_comp_playback_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * sub,int action) cs8409_comp_playback_hook() argument
1253 cs8409_cdb35l56_four_hw_init(struct hda_codec * codec) cs8409_cdb35l56_four_hw_init() argument
1264 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs8409_spk_sw_get() local
1275 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs8409_spk_sw_put() local
1294 cs8409_cdb35l56_four_autodet_fixup(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs8409_cdb35l56_four_autodet_fixup() argument
1402 dolphin_jack_unsol_event(struct hda_codec * codec,unsigned int res) dolphin_jack_unsol_event() argument
1438 dolphin_hw_init(struct hda_codec * codec) dolphin_hw_init() argument
1469 struct hda_codec *codec = container_of(dev, struct hda_codec, core); dolphin_exec_verb() local
1504 dolphin_fixups(struct hda_codec * codec,const struct hda_fixup * fix,int action) dolphin_fixups() argument
1597 cs8409_probe(struct hda_codec * codec,const struct hda_device_id * id) cs8409_probe() argument
[all...]
H A Dcs421x.c3 * Cirrus Logic CS421x HD-audio codec
105 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() argument
107 struct cs_spec *spec = codec->spec; in cs_vendor_coef_get()
109 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
111 return snd_hda_codec_read(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
115 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() argument
118 struct cs_spec *spec = codec->spec; in cs_vendor_coef_set()
120 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
122 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
132 static void cs_automute(struct hda_codec *codec) in cs_automute() argument
153 is_active_pin(struct hda_codec * codec,hda_nid_t nid) is_active_pin() argument
161 cs_alloc_spec(struct hda_codec * codec,int vendor_nid) cs_alloc_spec() argument
221 cs421x_fixup_sense_b(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs421x_fixup_sense_b() argument
321 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs421x_boost_vol_get() local
331 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs421x_boost_vol_put() local
360 cs4210_pinmux_init(struct hda_codec * codec) cs4210_pinmux_init() argument
393 cs4210_spdif_automute(struct hda_codec * codec,struct hda_jack_callback * tbl) cs4210_spdif_automute() argument
416 parse_cs421x_digital(struct hda_codec * codec) parse_cs421x_digital() argument
433 cs421x_init(struct hda_codec * codec) cs421x_init() argument
459 fix_volume_caps(struct hda_codec * codec,hda_nid_t dac) fix_volume_caps() argument
471 cs421x_parse_auto_config(struct hda_codec * codec) cs421x_parse_auto_config() argument
503 cs421x_suspend(struct hda_codec * codec) cs421x_suspend() argument
524 cs421x_probe(struct hda_codec * codec,const struct hda_device_id * id) cs421x_probe() argument
[all...]
/linux/sound/hda/core/
H A Dsysfs.c24 struct hdac_device *codec = dev_to_hdac_dev(dev); \
25 return sysfs_emit(buf, "0x%x\n", codec->type); \
34 struct hdac_device *codec = dev_to_hdac_dev(dev); \
36 codec->type ? codec->type : ""); \
89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid,
91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid,
114 struct hdac_device *codec; in widget_attr_show() local
119 nid = get_codec_nid(kobj, &codec); in widget_attr_show()
122 return wid_attr->show(codec, nid, wid_attr, buf); in widget_attr_show()
130 struct hdac_device *codec; in widget_attr_store() local
[all …]

12345678910>>...66