Home
last modified time | relevance | path

Searched defs:codec (Results 1 – 25 of 207) sorted by relevance

123456789

/linux/sound/hda/codecs/realtek/
H A Drealtek.c10 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_read_coefex_idx() argument
20 int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() argument
28 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_write_coefex_idx() argument
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...]
H A Dalc269.c50 static int alc269_parse_auto_config(struct hda_codec *codec) in alc269_parse_auto_config()
101 static void alc_headset_btn_callback(struct hda_codec *codec, in alc_headset_btn_callback()
123 static void alc_disable_headset_jack_key(struct hda_codec *codec) in alc_disable_headset_jack_key()
153 static void alc_enable_headset_jack_key(struct hda_codec *codec) in alc_enable_headset_jack_key()
183 static void alc_fixup_headset_jack(struct hda_codec *codec, in alc_fixup_headset_jack()
209 static void alc269vb_toggle_power_output(struct hda_codec *codec, int power_up) in alc269vb_toggle_power_output()
214 static void alc269_shutup(struct hda_codec *codec) in alc269_shutup()
260 static void alc282_restore_default_value(struct hda_codec *codec) in alc282_restore_default_value()
265 static void alc282_init(struct hda_codec *codec) in alc282_init()
302 static void alc282_shutup(struct hda_codec *codec) in alc282_shutup()
[all …]
H A Dalc882.c66 static void alc889_fixup_coef(struct hda_codec *codec, in alc889_fixup_coef()
75 static void alc885_fixup_macpro_gpio(struct hda_codec *codec, in alc885_fixup_macpro_gpio()
88 static void alc889_fixup_dac_route(struct hda_codec *codec, in alc889_fixup_dac_route()
110 static void alc889_fixup_mbp_vref(struct hda_codec *codec, in alc889_fixup_mbp_vref()
131 static void alc889_fixup_mac_pins(struct hda_codec *codec, in alc889_fixup_mac_pins()
147 static void alc889_fixup_imac91_vref(struct hda_codec *codec, in alc889_fixup_imac91_vref()
157 static void alc889_fixup_mba11_vref(struct hda_codec *codec, in alc889_fixup_mba11_vref()
167 static void alc889_fixup_mba21_vref(struct hda_codec *codec, in alc889_fixup_mba21_vref()
180 static void alc882_fixup_no_primary_hp(struct hda_codec *codec, in alc882_fixup_no_primary_hp()
190 static void alc1220_fixup_gb_x570(struct hda_codec *codec, in alc1220_fixup_gb_x570()
[all …]
H A Dalc662.c26 static int alc662_parse_auto_config(struct hda_codec *codec) in alc662_parse_auto_config()
42 static void alc272_fixup_mario(struct hda_codec *codec, in alc272_fixup_mario()
56 static unsigned int gpio_led_power_filter(struct hda_codec *codec, in gpio_led_power_filter()
66 static void alc662_fixup_led_gpio1(struct hda_codec *codec, in alc662_fixup_led_gpio1()
78 static void alc662_usi_automute_hook(struct hda_codec *codec, in alc662_usi_automute_hook()
92 static void alc662_fixup_usi_headset_mic(struct hda_codec *codec, in alc662_fixup_usi_headset_mic()
102 static void alc662_aspire_ethos_mute_speakers(struct hda_codec *codec, in alc662_aspire_ethos_mute_speakers()
120 static void alc662_fixup_aspire_ethos_hp(struct hda_codec *codec, in alc662_fixup_aspire_ethos_hp()
143 static void alc671_fixup_hp_headset_mic2(struct hda_codec *codec, in alc671_fixup_hp_headset_mic2()
166 static void alc897_hp_automute_hook(struct hda_codec *codec, in alc897_hp_automute_hook()
[all …]
/linux/sound/hda/common/
H A Dcodec.c28 #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
32 #define codec_has_clkstop(codec) \ argument
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 Dbind.c23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
64 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name()
89 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local
154 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
205 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
211 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
240 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
251 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
277 #define is_likely_hdmi_codec(codec) false argument
[all …]
H A Djack.c29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) 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()
71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst()
92 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, in snd_hda_jack_tbl_get_from_tag()
108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid()
128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new()
161 void snd_hda_jack_tbl_disconnect(struct hda_codec *codec) in snd_hda_jack_tbl_disconnect()
172 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear()
195 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update()
233 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all()
[all …]
H A Dproc.c22 #define param_read(codec, nid, parm) \ argument
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
94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() argument
112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 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()
108 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity()
129 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic()
172 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg()
486 static const char *hda_get_input_pin_label(struct hda_codec *codec, in hda_get_input_pin_label()
538 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need()
575 const char *hda_get_autocfg_input_label(struct hda_codec *codec, in hda_get_autocfg_input_label()
626 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
641 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
658 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
[all …]
/linux/sound/hda/codecs/
H A Dgeneric.c105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() argument
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 Dvia.c101 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec()
125 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type()
180 #define hp_detect_with_aa(codec) \ argument
184 static void vt1708_stop_hp_work(struct hda_codec *codec) in vt1708_stop_hp_work()
197 static void vt1708_update_hp_work(struct hda_codec *codec) in vt1708_update_hp_work()
222 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_get() local
232 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_put() local
277 static int auto_parse_beep(struct hda_codec *codec) in auto_parse_beep()
288 #define auto_parse_beep(codec) 0 argument
292 static bool is_aa_path_mute(struct hda_codec *codec) in is_aa_path_mute()
[all …]
H A Dconexant.c74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() argument
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
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 Dca0132.c1135 struct hda_codec *codec; member
1527 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
1537 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
1544 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel()
1556 static int chipio_send(struct hda_codec *codec, in chipio_send()
1578 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address()
1605 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data()
1629 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple()
1650 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data()
1681 static int chipio_write(struct hda_codec *codec, in chipio_write()
[all …]
H A Danalog.c59 create_beep_ctls(struct hda_codec * codec) create_beep_ctls() argument
81 create_beep_ctls(codec) global() argument
84 ad198x_power_eapd_write(struct hda_codec * codec,hda_nid_t front,hda_nid_t hp) ad198x_power_eapd_write() argument
95 ad198x_power_eapd(struct hda_codec * codec) ad198x_power_eapd() argument
123 ad_codec_suspend(struct hda_codec * codec) ad_codec_suspend() argument
133 struct hda_codec *codec = private_data; ad_vmaster_eapd_hook() local
149 ad_codec_build_controls(struct hda_codec * codec) ad_codec_build_controls() argument
162 ad198x_parse_auto_config(struct hda_codec * codec,bool indep_hp) ad198x_parse_auto_config() argument
190 alloc_ad_spec(struct hda_codec * codec) alloc_ad_spec() argument
207 ad_fixup_inv_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad_fixup_inv_jack_detect() argument
221 ad1986a_fixup_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1986a_fixup_eapd() argument
234 ad1986a_fixup_eapd_mix_in(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1986a_fixup_eapd_mix_in() argument
375 ad1986a_probe(struct hda_codec * codec) ad1986a_probe() argument
432 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ad1983_auto_smux_enum_info() local
449 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ad1983_auto_smux_enum_get() local
459 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ad1983_auto_smux_enum_put() local
483 ad1983_add_spdif_mux_ctl(struct hda_codec * codec) ad1983_add_spdif_mux_ctl() argument
500 ad1983_probe(struct hda_codec * codec) ad1983_probe() argument
529 ad1981_fixup_hp_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1981_fixup_hp_eapd() argument
543 ad1981_fixup_amp_override(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1981_fixup_amp_override() argument
581 ad1981_probe(struct hda_codec * codec) ad1981_probe() argument
694 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ad1988_auto_smux_enum_info() local
709 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ad1988_auto_smux_enum_get() local
719 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ad1988_auto_smux_enum_put() local
750 ad_codec_init(struct hda_codec * codec) ad_codec_init() argument
773 ad1988_add_spdif_mux_ctl(struct hda_codec * codec) ad1988_add_spdif_mux_ctl() argument
863 ad1988_probe(struct hda_codec * codec) ad1988_probe() argument
918 ad1884_fixup_amp_override(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1884_fixup_amp_override() argument
932 struct hda_codec *codec = private_data; ad1884_vmaster_hp_gpio_hook() local
942 ad1884_fixup_hp_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1884_fixup_hp_eapd() argument
967 ad1884_fixup_thinkpad(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1884_fixup_thinkpad() argument
1034 ad1884_probe(struct hda_codec * codec) ad1884_probe() argument
1071 ad1882_probe(struct hda_codec * codec) ad1882_probe() argument
1092 ad_codec_probe(struct hda_codec * codec,const struct hda_device_id * id) ad_codec_probe() argument
[all...]
H A Dsigmatel.c242 struct hda_codec *codec, in stac_playback_pcm_hook() argument
252 struct hda_codec *codec, in stac_capture_pcm_hook() argument
289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() argument
327 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); stac_capture_led_update() local
338 stac_vrefout_set(struct hda_codec * codec,hda_nid_t nid,unsigned int new_vref) stac_vrefout_set() argument
363 stac_vref_led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) stac_vref_led_power_filter() argument
373 stac_update_led_status(struct hda_codec * codec,bool muted) stac_update_led_status() argument
402 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); stac_vmaster_hook() local
409 stac_update_outputs(struct hda_codec * codec) stac_update_outputs() argument
434 stac_toggle_power_map(struct hda_codec * codec,hda_nid_t nid,bool enable,bool do_write) stac_toggle_power_map() argument
465 jack_update_power(struct hda_codec * codec,struct hda_jack_callback * jack) jack_update_power() argument
496 stac_vref_event(struct hda_codec * codec,struct hda_jack_callback * event) stac_vref_event() argument
511 stac_init_power_map(struct hda_codec * codec) stac_init_power_map() argument
537 get_int_hint(struct hda_codec * codec,const char * key,int * valp) get_int_hint() argument
544 stac_store_hints(struct hda_codec * codec) stac_store_hints() argument
575 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_aloopback_get() local
587 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_aloopback_put() local
640 hp_bnb2011_with_dock(struct hda_codec * codec) hp_bnb2011_with_dock() argument
710 set_hp_led_gpio(struct hda_codec * codec) set_hp_led_gpio() argument
746 find_mute_led_cfg(struct hda_codec * codec,int default_polarity) find_mute_led_cfg() argument
802 has_builtin_speaker(struct hda_codec * codec) has_builtin_speaker() argument
829 stac_auto_create_beep_ctls(struct hda_codec * codec,hda_nid_t nid) stac_auto_create_beep_ctls() argument
876 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_dig_beep_switch_get() local
884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_dig_beep_switch_put() local
896 stac_beep_switch_ctl(struct hda_codec * codec) stac_beep_switch_ctl() argument
913 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_info() local
921 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_get() local
932 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_put() local
954 stac_create_spdif_mux_ctls(struct hda_codec * codec) stac_create_spdif_mux_ctls() argument
1354 stac9200_fixup_panasonic(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac9200_fixup_panasonic() argument
1790 stac92hd73xx_fixup_ref(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_ref() argument
1802 stac92hd73xx_fixup_dell(struct hda_codec * codec) stac92hd73xx_fixup_dell() argument
1810 stac92hd73xx_fixup_dell_eq(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_dell_eq() argument
1824 stac92hd73xx_fixup_dell_m6_amic(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_dell_m6_amic() argument
1835 stac92hd73xx_fixup_dell_m6_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_dell_m6_dmic() argument
1846 stac92hd73xx_fixup_dell_m6_both(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_dell_m6_both() argument
1857 stac92hd73xx_fixup_alienware_m17x(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_alienware_m17x() argument
1869 stac92hd73xx_fixup_no_jd(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_fixup_no_jd() argument
1877 stac92hd73xx_disable_automute(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd73xx_disable_automute() argument
2100 stac92hd83xxx_fixup_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_hp() argument
2122 stac92hd83xxx_fixup_hp_zephyr(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_hp_zephyr() argument
2132 stac92hd83xxx_fixup_hp_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_hp_led() argument
2141 stac92hd83xxx_fixup_hp_inv_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_hp_inv_led() argument
2150 stac92hd83xxx_fixup_hp_mic_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_hp_mic_led() argument
2162 stac92hd83xxx_fixup_hp_led_gpio10(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_hp_led_gpio10() argument
2173 stac92hd83xxx_fixup_headset_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_headset_jack() argument
2182 stac92hd83xxx_fixup_gpio10_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd83xxx_fixup_gpio10_eapd() argument
2195 hp_envy_ts_fixup_dac_bind(struct hda_codec * codec,const struct hda_fixup * fix,int action) hp_envy_ts_fixup_dac_bind() argument
2954 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_hp_bass_gpio_get() local
2963 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_hp_bass_gpio_put() local
2983 stac_add_hp_bass_switch(struct hda_codec * codec) stac_add_hp_bass_switch() argument
3057 stac92hd71bxx_fixup_ref(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd71bxx_fixup_ref() argument
3069 stac92hd71bxx_fixup_hp_m4(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd71bxx_fixup_hp_m4() argument
3092 stac92hd71bxx_fixup_hp_dv4(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd71bxx_fixup_hp_dv4() argument
3102 stac92hd71bxx_fixup_hp_dv5(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd71bxx_fixup_hp_dv5() argument
3122 stac92hd71bxx_fixup_hp_hdx(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd71bxx_fixup_hp_hdx() argument
3132 is_hp_output(struct hda_codec * codec,hda_nid_t pin) is_hp_output() argument
3142 fixup_hp_headphone(struct hda_codec * codec,hda_nid_t pin) fixup_hp_headphone() argument
3156 stac92hd71bxx_fixup_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd71bxx_fixup_hp() argument
3519 stac922x_fixup_intel_mac_auto(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac922x_fixup_intel_mac_auto() argument
3533 stac922x_fixup_intel_mac_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac922x_fixup_intel_mac_gpio() argument
3825 stac927x_fixup_ref_no_jd(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac927x_fixup_ref_no_jd() argument
3833 stac927x_fixup_ref(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac927x_fixup_ref() argument
3845 stac927x_fixup_dell_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac927x_fixup_dell_dmic() argument
3863 stac927x_fixup_volknob(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac927x_fixup_volknob() argument
4099 stac9205_fixup_ref(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac9205_fixup_ref() argument
4111 stac9205_fixup_dell_m43(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac9205_fixup_dell_m43() argument
4139 stac9205_fixup_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac9205_fixup_eapd() argument
4228 stac92hd95_fixup_hp_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) stac92hd95_fixup_hp_led() argument
4270 stac_parse_auto_config(struct hda_codec * codec) stac_parse_auto_config() argument
4356 stac_init(struct hda_codec * codec) stac_init() argument
4396 stac92hd_proc_hook(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) stac92hd_proc_hook() argument
4405 analog_loop_proc_hook(struct snd_info_buffer * buffer,struct hda_codec * codec,unsigned int verb) analog_loop_proc_hook() argument
4414 stac92hd7x_proc_hook(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) stac92hd7x_proc_hook() argument
4422 stac9205_proc_hook(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) stac9205_proc_hook() argument
4429 stac927x_proc_hook(struct snd_info_buffer * buffer,struct hda_codec * codec,hda_nid_t nid) stac927x_proc_hook() argument
4441 stac_suspend(struct hda_codec * codec) stac_suspend() argument
4455 alloc_stac_spec(struct hda_codec * codec) alloc_stac_spec() argument
4469 probe_stac9200(struct hda_codec * codec) probe_stac9200() argument
4495 probe_stac925x(struct hda_codec * codec) probe_stac925x() argument
4519 probe_stac92hd73xx(struct hda_codec * codec) probe_stac92hd73xx() argument
4595 stac_setup_gpio(struct hda_codec * codec) stac_setup_gpio() argument
4619 probe_stac92hd83xxx(struct hda_codec * codec) probe_stac92hd83xxx() argument
4662 probe_stac92hd95(struct hda_codec * codec) probe_stac92hd95() argument
4698 probe_stac92hd71bxx(struct hda_codec * codec) probe_stac92hd71bxx() argument
4776 probe_stac922x(struct hda_codec * codec) probe_stac922x() argument
4812 probe_stac927x(struct hda_codec * codec) probe_stac927x() argument
4864 probe_stac9205(struct hda_codec * codec) probe_stac9205() argument
4945 probe_stac9872(struct hda_codec * codec) probe_stac9872() argument
4986 stac_probe(struct hda_codec * codec,const struct hda_device_id * id) stac_probe() argument
[all...]
H A Dsenarytech.c91 static int senary_auto_parse_beep(struct hda_codec *codec) 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()
124 static void senary_init_verb(struct hda_codec *codec) in senary_init_verb()
136 static void senary_auto_turn_eapd(struct hda_codec *codec, int num_pins, in senary_auto_turn_eapd()
151 struct hda_codec *codec = private_data; in senary_auto_vmaster_hook() local
157 static void senary_init_gpio_led(struct hda_codec *codec) in senary_init_gpio_led()
166 static int senary_init(struct hda_codec *codec) in senary_init()
180 static void senary_shutdown(struct hda_codec *codec) in senary_shutdown()
190 static void senary_remove(struct hda_codec *codec) in senary_remove()
[all …]
H A Dsi3054.c64 #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
88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local
98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() local
125 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls()
136 struct hda_codec *codec, in si3054_pcm_prepare()
155 struct hda_codec *codec, in si3054_pcm_open()
185 static int si3054_build_pcms(struct hda_codec *codec) in si3054_build_pcms()
205 static int si3054_init(struct hda_codec *codec) in si3054_init()
[all …]
/linux/sound/hda/codecs/hdmi/
H A Dintelhdmi.c36 static void intel_haswell_enable_all_pins(struct hda_codec *codec, in intel_haswell_enable_all_pins() argument
57 static void intel_haswell_fixup_enable_dp12(struct hda_codec *codec) in intel_haswell_fixup_enable_dp12() argument
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()
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
163 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local
203 static int hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, in hdmi_create_eld_ctl()
228 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_get_dip_index()
241 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_set_dip_index()
251 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_write_dip_byte()
[all …]
H A Dsimplehdmi.c11 int snd_hda_hdmi_simple_build_pcms(struct hda_codec *codec) in snd_hda_hdmi_simple_build_pcms()
39 void snd_hda_hdmi_simple_unsol_event(struct hda_codec *codec, in snd_hda_hdmi_simple_unsol_event()
54 static int simple_hdmi_build_jack(struct hda_codec *codec) in simple_hdmi_build_jack()
77 int snd_hda_hdmi_simple_build_controls(struct hda_codec *codec) in snd_hda_hdmi_simple_build_controls()
93 int snd_hda_hdmi_simple_init(struct hda_codec *codec) in snd_hda_hdmi_simple_init()
110 void snd_hda_hdmi_simple_remove(struct hda_codec *codec) in snd_hda_hdmi_simple_remove()
121 struct hda_codec *codec, in snd_hda_hdmi_simple_pcm_open()
140 struct hda_codec *codec, in simple_playback_pcm_close()
149 struct hda_codec *codec, in simple_playback_pcm_prepare()
171 int snd_hda_hdmi_simple_probe(struct hda_codec *codec, in snd_hda_hdmi_simple_probe()
[all …]
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.c27 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config() argument
60 static struct cs8409_spec *cs8409_alloc_spec(struct hda_codec *codec) in cs8409_alloc_spec() argument
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 Dcs420x.c94 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() argument
104 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() argument
121 static void cs_automute(struct hda_codec *codec) in cs_automute() argument
139 is_active_pin(struct hda_codec * codec,hda_nid_t nid) is_active_pin() argument
147 init_input_coef(struct hda_codec * codec) init_input_coef() argument
239 init_digital_coef(struct hda_codec * codec) init_digital_coef() argument
253 cs_init(struct hda_codec * codec) cs_init() argument
284 cs_build_controls(struct hda_codec * codec) cs_build_controls() argument
295 cs_parse_auto_config(struct hda_codec * codec) cs_parse_auto_config() argument
445 cs420x_fixup_gpio_13(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs420x_fixup_gpio_13() argument
458 cs420x_fixup_gpio_23(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs420x_fixup_gpio_23() argument
523 cs_alloc_spec(struct hda_codec * codec,int vendor_nid) cs_alloc_spec() argument
538 cs420x_probe(struct hda_codec * codec) cs420x_probe() argument
593 cs4208_fixup_gpio0(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs4208_fixup_gpio0() argument
609 cs4208_fixup_mac(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs4208_fixup_mac() argument
623 cs4208_fixup_macmini(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs4208_fixup_macmini() argument
643 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cs4208_spdif_sw_put() local
653 cs4208_fixup_spdif_switch(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs4208_fixup_spdif_switch() argument
700 cs4208_fix_amp_caps(struct hda_codec * codec,hda_nid_t adc) cs4208_fix_amp_caps() argument
710 cs4208_probe(struct hda_codec * codec) cs4208_probe() argument
737 cs_codec_probe(struct hda_codec * codec,const struct hda_device_id * id) cs_codec_probe() argument
[all...]
H A Dcs421x.c105 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() argument
115 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() argument
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.c114 struct hdac_device *codec; in widget_attr_show() local
130 struct hdac_device *codec; in widget_attr_store() local
161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show()
176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show()
188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap()
201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show()
210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show()
219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show()
228 static ssize_t amp_out_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_out_caps_show()
[all …]
/linux/sound/soc/codecs/
H A Dhda.c16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument
83 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais() argument
124 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais() argument
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...]

123456789