| /linux/sound/hda/codecs/realtek/ |
| H A D | realtek.c | 3 // 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...] |
| H A D | alc269.c | 50 static int alc269_parse_auto_config(struct hda_codec *codec) in alc269_parse_auto_config() argument 55 struct alc_spec *spec = codec->spec; in alc269_parse_auto_config() 90 return alc_parse_auto_config(codec, alc269_ignore, ssids); in alc269_parse_auto_config() 101 static void alc_headset_btn_callback(struct hda_codec *codec, in alc_headset_btn_callback() argument 120 snd_hda_jack_set_button_state(codec, jack->nid, report); in alc_headset_btn_callback() 123 static void alc_disable_headset_jack_key(struct hda_codec *codec) in alc_disable_headset_jack_key() argument 125 struct alc_spec *spec = codec->spec; in alc_disable_headset_jack_key() 130 switch (codec->core.vendor_id) { in alc_disable_headset_jack_key() 138 alc_write_coef_idx(codec, 0x48, 0x0); in alc_disable_headset_jack_key() 139 alc_update_coef_idx(codec, in alc_disable_headset_jack_key() 153 alc_enable_headset_jack_key(struct hda_codec * codec) alc_enable_headset_jack_key() argument 183 alc_fixup_headset_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_jack() argument 209 alc269vb_toggle_power_output(struct hda_codec * codec,int power_up) alc269vb_toggle_power_output() argument 214 alc269_shutup(struct hda_codec * codec) alc269_shutup() argument 260 alc282_restore_default_value(struct hda_codec * codec) alc282_restore_default_value() argument 265 alc282_init(struct hda_codec * codec) alc282_init() argument 302 alc282_shutup(struct hda_codec * codec) alc282_shutup() argument 376 alc283_restore_default_value(struct hda_codec * codec) alc283_restore_default_value() argument 381 alc283_init(struct hda_codec * codec) alc283_init() argument 417 alc283_shutup(struct hda_codec * codec) alc283_shutup() argument 454 alc256_init(struct hda_codec * codec) alc256_init() argument 503 alc256_shutup(struct hda_codec * codec) alc256_shutup() argument 552 alc285_hp_init(struct hda_codec * codec) alc285_hp_init() argument 602 alc225_init(struct hda_codec * codec) alc225_init() argument 657 alc225_shutup(struct hda_codec * codec) alc225_shutup() argument 707 alc222_init(struct hda_codec * codec) alc222_init() argument 743 alc222_shutup(struct hda_codec * codec) alc222_shutup() argument 780 alc_default_init(struct hda_codec * codec) alc_default_init() argument 807 alc_default_shutup(struct hda_codec * codec) alc_default_shutup() argument 838 alc294_hp_init(struct hda_codec * codec) alc294_hp_init() argument 870 alc294_init(struct hda_codec * codec) alc294_init() argument 882 alc5505_coef_set(struct hda_codec * codec,unsigned int index_reg,unsigned int val) alc5505_coef_set() argument 890 alc5505_coef_get(struct hda_codec * codec,unsigned int index_reg) alc5505_coef_get() argument 902 alc5505_dsp_halt(struct hda_codec * codec) alc5505_dsp_halt() argument 917 alc5505_dsp_back_from_halt(struct hda_codec * codec) alc5505_dsp_back_from_halt() argument 927 alc5505_dsp_init(struct hda_codec * codec) alc5505_dsp_init() argument 967 alc5505_dsp_suspend(codec) global() argument 968 alc5505_dsp_resume(codec) global() argument 970 alc5505_dsp_suspend(codec) global() argument 971 alc5505_dsp_resume(codec) global() argument 974 alc269_suspend(struct hda_codec * codec) alc269_suspend() argument 984 alc269_resume(struct hda_codec * codec) alc269_resume() argument 1016 alc233_starfighter_update_amp(struct hda_codec * codec,bool on) alc233_starfighter_update_amp() argument 1025 alc233_starfighter_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc233_starfighter_pcm_hook() argument 1039 alc233_fixup_starlabs_starfighter(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_starlabs_starfighter() argument 1057 alc269_fixup_pincfg_no_hp_to_lineout(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_no_hp_to_lineout() argument 1066 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_U7x7_headset_mic() argument 1079 alc269_fixup_hweq(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hweq() argument 1086 alc271_fixup_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_fixup_dmic() argument 1105 alc269vb_fixup_aspire_e1_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269vb_fixup_aspire_e1_coef() argument 1113 alc269_fixup_pcm_44k(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pcm_44k() argument 1128 alc269_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_stereo_dmic() argument 1140 alc269_quanta_automute(struct hda_codec * codec) alc269_quanta_automute() argument 1148 alc269_fixup_quanta_mute(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_quanta_mute() argument 1157 alc269_x101_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc269_x101_hp_automute_hook() argument 1182 alc298_huawei_mbx_stereo_seq(struct hda_codec * codec,const struct hda_alc298_mbxinit * initval,bool first) alc298_huawei_mbx_stereo_seq() argument 1203 alc298_fixup_huawei_mbx_stereo(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_huawei_mbx_stereo() argument 1240 alc269_fixup_x101_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_x101_headset_mic() argument 1250 alc_update_vref_led(struct hda_codec * codec,hda_nid_t pin,bool polarity,bool on) alc_update_vref_led() argument 1271 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_mute_led_set() local 1280 led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) led_power_filter() argument 1297 alc269_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led() argument 1323 alc269_fixup_hp_mute_led_micx(struct hda_codec * codec,const struct hda_fixup * fix,int action,hda_nid_t pin) alc269_fixup_hp_mute_led_micx() argument 1337 alc269_fixup_hp_mute_led_mic1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic1() argument 1343 alc269_fixup_hp_mute_led_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic2() argument 1349 alc269_fixup_hp_mute_led_mic3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic3() argument 1355 alc236_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_gpio_led() argument 1361 alc269_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_led() argument 1367 alc285_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_led() argument 1373 alc286_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc286_fixup_hp_gpio_led() argument 1379 alc287_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_hp_gpio_led() argument 1385 alc245_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_gpio_led() argument 1399 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_micmute_led_set() local 1407 alc269_fixup_hp_gpio_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_mic1_led() argument 1425 alc280_fixup_hp_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio4() argument 1441 alc245_fixup_hp_x360_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_x360_amp() argument 1462 alc274_hp_envy_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc274_hp_envy_pcm_hook() argument 1476 alc274_fixup_hp_envy_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_envy_gpio() argument 1489 alc_update_coef_led(struct hda_codec * codec,struct alc_coef_led * led,bool polarity,bool on) alc_update_coef_led() argument 1504 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_mute_led_set() local 1512 alc285_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led_coefbit() argument 1528 alc236_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit() argument 1544 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit2() argument 1559 alc245_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_coefbit() argument 1575 alc245_fixup_hp_mute_led_v1_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_v1_coefbit() argument 1591 alc245_fixup_hp_mute_led_v2_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_v2_coefbit() argument 1611 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_micmute_led_set() local 1619 alc285_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_coef_micmute_led() argument 1633 alc285_fixup_hp_gpio_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_micmute_led() argument 1643 alc236_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_coef_micmute_led() argument 1657 alc295_fixup_hp_mute_led_coefbit11(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_hp_mute_led_coefbit11() argument 1675 alc295_fixup_hp_pavilion_mute_led_1b(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_hp_pavilion_mute_led_1b() argument 1687 alc233_fixup_lenovo_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_coef_micmute_led() argument 1701 alc285_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led() argument 1708 alc285_fixup_hp_spectre_x360_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_mute_led() argument 1715 alc245_fixup_hp_envy_x360_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_envy_x360_mute_led() argument 1722 alc236_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led() argument 1729 alc236_fixup_hp_micmute_led_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_micmute_led_vref() argument 1741 alc236_fixup_hp_mute_led_micmute_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_micmute_vref() argument 1748 alc236_fixup_hp_mute_led_micmute_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_micmute_gpio() argument 1760 alc298_samsung_write_coef_pack(struct hda_codec * codec,const unsigned short coefs[2]) alc298_samsung_write_coef_pack() argument 1773 alc298_fixup_samsung_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp() argument 1842 alc298_samsung_v2_enable_amps(struct hda_codec * codec) alc298_samsung_v2_enable_amps() argument 1859 alc298_samsung_v2_disable_amps(struct hda_codec * codec) alc298_samsung_v2_disable_amps() argument 1877 alc298_samsung_v2_playback_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc298_samsung_v2_playback_hook() argument 1888 alc298_samsung_v2_init_amps(struct hda_codec * codec,int num_speaker_amps) alc298_samsung_v2_init_amps() argument 1923 alc298_lg_gram_style_coef_write(struct hda_codec * codec,unsigned int verb,unsigned int idx,unsigned int val) alc298_lg_gram_style_coef_write() argument 1935 alc298_lg_gram_style_run_seq(struct hda_codec * codec,const struct alc298_lg_gram_style_seq * seq,int seq_size) alc298_lg_gram_style_run_seq() argument 2012 alc298_lg_gram_style_enable_amps(struct hda_codec * codec) alc298_lg_gram_style_enable_amps() argument 2025 alc298_lg_gram_style_disable_amps(struct hda_codec * codec) alc298_lg_gram_style_disable_amps() argument 2039 alc298_lg_gram_style_playback_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc298_lg_gram_style_playback_hook() argument 2049 alc298_lg_gram_style_init_amps(struct hda_codec * codec) alc298_lg_gram_style_init_amps() argument 2073 alc298_fixup_samsung_amp_v2_2_amps(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp_v2_2_amps() argument 2080 alc298_fixup_samsung_amp_v2_4_amps(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp_v2_4_amps() argument 2087 alc298_fixup_lg_gram_style_14(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_lg_gram_style_14() argument 2094 gpio2_mic_hotkey_event(struct hda_codec * codec,struct hda_jack_callback * event) gpio2_mic_hotkey_event() argument 2107 alc_register_micmute_input_device(struct hda_codec * codec) alc_register_micmute_input_device() argument 2143 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio2_mic_hotkey() argument 2177 alc233_fixup_lenovo_gpio2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_gpio2_mic_hotkey() argument 2210 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_line2_mic_hotkey() argument 2236 alc269_fixup_hp_line1_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_line1_mic1_led() argument 2248 alc233_fixup_lenovo_low_en_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_low_en_micmute_led() argument 2258 alc255_set_default_jack_type(struct hda_codec * codec) alc255_set_default_jack_type() argument 2291 alc_fixup_headset_mode_alc255(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255() argument 2300 alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255_no_hp_mic() argument 2312 alc288_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc288_update_headset_jack_cb() argument 2322 alc_fixup_headset_mode_dell_alc288(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_dell_alc288() argument 2335 alc_fixup_no_shutup(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_shutup() argument 2345 alc_fixup_tpt440_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt440_dock() argument 2362 alc_fixup_tpt470_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dock() argument 2385 alc_fixup_tpt470_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dacs() argument 2402 alc295_fixup_asus_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_asus_dacs() argument 2414 alc271_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_hp_gate_mic_jack() argument 2430 alc269_fixup_limit_int_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_limit_int_mic_boost() argument 2462 alc283_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc283_hp_automute_hook() argument 2478 alc283_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_chromebook() argument 2499 alc283_fixup_sense_combo_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_sense_combo_jack() argument 2517 asus_tx300_automute(struct hda_codec * codec) asus_tx300_automute() argument 2525 alc282_fixup_asus_tx300(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc282_fixup_asus_tx300() argument 2560 alc290_fixup_mono_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc290_fixup_mono_speakers() argument 2573 alc298_fixup_speaker_volume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_speaker_volume() argument 2590 alc295_fixup_disable_dac3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_disable_dac3() argument 2600 alc285_fixup_speaker2_to_dac1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_speaker2_to_dac1() argument 2610 alc294_fixup_bass_speaker_15(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_bass_speaker_15() argument 2621 alc280_hp_gpio4_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc280_hp_gpio4_automute_hook() argument 2638 alc280_fixup_hp_9480m(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_9480m() argument 2653 alc275_fixup_gpio4_off(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc275_fixup_gpio4_off() argument 2672 alc285_fixup_thinkpad_x1_gen7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_thinkpad_x1_gen7() argument 2699 alc225_fixup_s3_pop_noise(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc225_fixup_s3_pop_noise() argument 2709 alc274_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_bind_dacs() argument 2727 alc274_fixup_hp_aio_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_aio_bind_dacs() argument 2746 alc289_fixup_asus_ga401(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc289_fixup_asus_ga401() argument 2759 alc285_fixup_invalidate_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_invalidate_dacs() argument 2768 alc_combo_jack_hp_jd_restart(struct hda_codec * codec) alc_combo_jack_hp_jd_restart() argument 2792 alc295_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_chromebook() argument 2807 alc256_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_chromebook() argument 2824 alc_fixup_disable_mic_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_mic_vref() argument 2832 alc294_gx502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gx502_toggle_output() argument 2844 alc294_fixup_gx502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gx502_hp() argument 2865 alc294_gu502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gu502_toggle_output() argument 2877 alc294_fixup_gu502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gu502_hp() argument 2894 alc285_fixup_hp_gpio_amp_init(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_amp_init() argument 2904 alc274_fixup_hp_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_headset_mic() argument 2914 alc_fixup_no_int_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_int_mic() argument 2934 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_eb1() argument 2970 alc285_fixup_hp_spectre_x360_df1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_df1() argument 3004 alc285_fixup_hp_spectre_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360() argument 3022 alc285_fixup_hp_envy_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_envy_x360() argument 3076 alc285_fixup_hp_beep(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_beep() argument 3103 alc_fixup_thinkpad_acpi(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_thinkpad_acpi() argument 3113 alc_fixup_ideapad_acpi(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_ideapad_acpi() argument 3120 alc287_fixup_legion_15imhg05_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_legion_15imhg05_speakers() argument 3275 cs35l41_fixup_spi_two(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_two() argument 3280 cs35l41_fixup_spi_one(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_one() argument 3285 cs35l41_fixup_spi_four(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_four() argument 3335 alc256_fixup_acer_sfg16_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_acer_sfg16_micmute_led() argument 3355 alc256_fixup_set_coef_defaults(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_set_coef_defaults() argument 3377 alc233_fixup_no_audio_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_no_audio_jack() argument 3391 alc256_fixup_mic_no_presence_and_resume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_mic_no_presence_and_resume() argument 3408 alc256_fixup_xiaomi_pro15_resume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_xiaomi_pro15_resume() argument 3421 alc256_decrease_headphone_amp_val(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_decrease_headphone_amp_val() argument 3440 alc_fixup_dell4_mic_no_presence_quiet(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell4_mic_no_presence_quiet() argument 3475 alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_yoga9_14iap7_bass_spk_pin() argument 3515 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_dell_inspiron_top_speakers() argument 3544 alc287_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_bind_dacs() argument 3566 alc2xx_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc2xx_fixup_headset_mic() argument 3584 alc245_fixup_hp_spectre_x360_eu0xxx(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_spectre_x360_eu0xxx() argument 3617 alc245_fixup_hp_spectre_x360_16_aa0xxx(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_spectre_x360_16_aa0xxx() argument 3659 alc245_fixup_hp_zbook_firefly_g12a(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_zbook_firefly_g12a() argument 3681 alc287_alc1318_playback_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc287_alc1318_playback_pcm_hook() argument 3695 alc287_s4_power_gpio3_default(struct hda_codec * codec) alc287_s4_power_gpio3_default() argument 3702 alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_thinkpad_with_alc1318() argument 3726 alc287_fixup_tb_vmaster_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_tb_vmaster_led() argument 3737 alc245_tas2781_spi_hp_fixup_muteled(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_tas2781_spi_hp_fixup_muteled() argument 3757 struct hda_codec *codec = private_data; alc245_hp_spk_mute_led_update() local 3765 alc245_tas2781_i2c_hp_fixup_muteled(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_tas2781_i2c_hp_fixup_muteled() argument 3796 alc283_fixup_dell_hp_resume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_dell_hp_resume() argument 3804 alc288_fixup_surface_swap_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc288_fixup_surface_swap_dacs() argument 4164 alc298_fixup_lenovo_c940_duet7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_lenovo_c940_duet7() argument 4181 alc287_fixup_lenovo_yoga_book_9i(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_yoga_book_9i() argument 8537 alc269_fill_coef(struct hda_codec * codec) alc269_fill_coef() argument 8577 alc269_remove(struct hda_codec * codec) alc269_remove() argument 8589 alc269_probe(struct hda_codec * codec,const struct hda_device_id * id) alc269_probe() argument [all...] |
| /linux/sound/hda/common/ |
| H A D | bind.c | 3 * 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() 64 snd_hda_codec_set_name(struct hda_codec * codec,const char * name) snd_hda_codec_set_name() argument 89 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_probe() local 154 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_remove() local 205 codec_probed(struct hda_codec * codec) codec_probed() argument 211 request_codec_module(struct hda_codec * codec) request_codec_module() argument 240 codec_bind_module(struct hda_codec * codec) codec_bind_module() argument 251 is_likely_hdmi_codec(struct hda_codec * codec) is_likely_hdmi_codec() argument 277 is_likely_hdmi_codec(codec) global() argument 280 codec_bind_generic(struct hda_codec * codec) codec_bind_generic() argument 300 is_generic_config(codec) global() argument 303 is_generic_config(codec) global() argument 315 snd_hda_codec_configure(struct hda_codec * codec) snd_hda_codec_configure() argument [all...] |
| H A D | codec.c | 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 41 CLASS(snd_hda_power_pm, pm)(codec); in call_exec_verb() 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 617 restore_shutup_pins(struct hda_codec * codec) restore_shutup_pins() argument 636 struct hda_codec *codec = hda_jackpoll_work() local 651 free_init_pincfgs(struct hda_codec * codec) free_init_pincfgs() argument 674 get_hda_cvt_setup(struct hda_codec * codec,hda_nid_t nid) get_hda_cvt_setup() argument 699 snd_hda_codec_pcm_new(struct hda_codec * codec,const char * fmt,...) snd_hda_codec_pcm_new() argument 727 snd_hda_codec_disconnect_pcms(struct hda_codec * codec) snd_hda_codec_disconnect_pcms() argument 741 codec_release_pcms(struct hda_codec * codec) codec_release_pcms() argument 759 snd_hda_codec_cleanup_for_unbind(struct hda_codec * codec) snd_hda_codec_cleanup_for_unbind() argument 798 snd_hda_codec_display_power(struct hda_codec * codec,bool enable) snd_hda_codec_display_power() argument 810 snd_hda_codec_register(struct hda_codec * codec) snd_hda_codec_register() argument 834 snd_hda_codec_unregister(struct hda_codec * codec) snd_hda_codec_unregister() argument 863 struct hda_codec *codec = dev_to_hda_codec(dev); snd_hda_codec_dev_release() local 889 struct hda_codec *codec; snd_hda_codec_device_init() local 949 struct hda_codec *codec; snd_hda_codec_new() local 967 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 1046 snd_hda_codec_update_widgets(struct hda_codec * codec) snd_hda_codec_update_widgets() argument 1072 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 1091 update_pcm_format(struct hda_codec * codec,struct hda_cvt_setup * p,hda_nid_t nid,int format) update_pcm_format() argument 1117 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 1169 __snd_hda_codec_cleanup_stream(struct hda_codec * codec,hda_nid_t nid,int do_now) __snd_hda_codec_cleanup_stream() argument 1195 really_cleanup_stream(struct hda_codec * codec,struct hda_cvt_setup * q) really_cleanup_stream() argument 1213 purify_inactive_streams(struct hda_codec * codec) purify_inactive_streams() argument 1228 hda_cleanup_all_streams(struct hda_codec * codec) hda_cleanup_all_streams() argument 1255 query_amp_caps(struct hda_codec * codec,hda_nid_t nid,int direction) query_amp_caps() argument 1274 snd_hda_check_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int bits) snd_hda_check_amp_caps() argument 1299 snd_hda_override_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int caps) snd_hda_override_amp_caps() argument 1311 encode_amp(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx) encode_amp() argument 1335 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 1356 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 1384 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 1406 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 1420 get_amp_max_value(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int ofs) get_amp_max_value() argument 1442 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_info() local 1464 read_amp_value(struct hda_codec * codec,hda_nid_t nid,int ch,int dir,int idx,unsigned int ofs) read_amp_value() argument 1478 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 1505 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_get() local 1532 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_put() local 1562 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); get_ctl_amp_tlv() local 1618 snd_hda_set_vmaster_tlv(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int * tlv) snd_hda_set_vmaster_tlv() argument 1637 find_mixer_ctl(struct hda_codec * codec,const char * name,int dev,int idx) find_mixer_ctl() argument 1657 snd_hda_find_mixer_ctl(struct hda_codec * codec,const char * name) snd_hda_find_mixer_ctl() argument 1664 find_empty_mixer_ctl_idx(struct hda_codec * codec,const char * name,int start_idx) find_empty_mixer_ctl_idx() argument 1695 snd_hda_ctl_add(struct hda_codec * codec,hda_nid_t nid,struct snd_kcontrol * kctl) snd_hda_ctl_add() argument 1731 snd_hda_ctls_clear(struct hda_codec * codec) snd_hda_ctls_clear() argument 1751 struct hda_codec *codec; snd_hda_lock_devices() local 1801 snd_hda_codec_reset(struct hda_codec * codec) snd_hda_codec_reset() argument 1819 map_followers(struct hda_codec * codec,const char * const * followers,const char * suffix,map_follower_func_t func,void * data) map_followers() argument 1850 check_follower_present(struct hda_codec * codec,void * data,struct snd_kcontrol * sctl) check_follower_present() argument 1871 struct hda_codec *codec; global() member 1930 add_follower(struct hda_codec * codec,void * data,struct snd_kcontrol * follower) add_follower() argument 1956 __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 2017 snd_hda_add_vmaster_hook(struct hda_codec * codec,struct hda_vmaster_mute_hook * hook) snd_hda_add_vmaster_hook() argument 2081 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_get() local 2109 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_put() local 2173 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_get() local 2243 set_dig_out(struct hda_codec * codec,hda_nid_t nid,int mask,int val) set_dig_out() argument 2258 set_dig_out_convert(struct hda_codec * codec,hda_nid_t nid,int dig1,int dig2) set_dig_out_convert() argument 2278 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_put() local 2308 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_get() local 2320 set_spdif_ctls(struct hda_codec * codec,hda_nid_t nid,int dig1,int dig2) set_spdif_ctls() argument 2334 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_put() local 2399 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 2470 snd_hda_spdif_out_of_nid(struct hda_codec * codec,hda_nid_t nid) snd_hda_spdif_out_of_nid() argument 2491 snd_hda_spdif_ctls_unassign(struct hda_codec * codec,int idx) snd_hda_spdif_ctls_unassign() argument 2511 snd_hda_spdif_ctls_assign(struct hda_codec * codec,int idx,hda_nid_t nid) snd_hda_spdif_ctls_assign() argument 2534 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); spdif_share_sw_get() local 2545 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); spdif_share_sw_put() local 2564 notify_spdif_share_sw(struct hda_codec * codec,struct hda_multi_out * mout) notify_spdif_share_sw() argument 2577 snd_hda_create_spdif_share_sw(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_create_spdif_share_sw() argument 2611 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_get() local 2620 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_put() local 2638 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_status_get() local 2681 snd_hda_create_spdif_in_ctls(struct hda_codec * codec,hda_nid_t nid) snd_hda_create_spdif_in_ctls() argument 2720 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 2750 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 2771 hda_set_power_state(struct hda_codec * codec,unsigned int power_state) hda_set_power_state() argument 2815 sync_power_up_states(struct hda_codec * codec) sync_power_up_states() argument 2839 hda_exec_init_verbs(struct hda_codec * codec) hda_exec_init_verbs() argument 2845 hda_exec_init_verbs(struct hda_codec * codec) hda_exec_init_verbs() argument 2849 update_power_acct(struct hda_codec * codec,bool on) update_power_acct() argument 2860 snd_hda_update_power_acct(struct hda_codec * codec) snd_hda_update_power_acct() argument 2869 hda_call_codec_suspend(struct hda_codec * codec) hda_call_codec_suspend() argument 2888 hda_call_codec_resume(struct hda_codec * codec) hda_call_codec_resume() argument 2919 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_suspend() local 2938 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_resume() local 2953 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_idle() local 2962 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_prepare() local 2971 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_complete() local 2996 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_freeze() local 3030 snd_hda_codec_shutdown(struct hda_codec * codec) snd_hda_codec_shutdown() argument 3050 add_std_chmaps(struct hda_codec * codec) add_std_chmaps() argument 3088 snd_hda_codec_build_controls(struct hda_codec * codec) snd_hda_codec_build_controls() argument 3124 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 3131 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 3141 hda_pcm_default_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) hda_pcm_default_cleanup() argument 3148 set_pcm_default_values(struct hda_codec * codec,struct hda_pcm_stream * info) set_pcm_default_values() argument 3194 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 3222 snd_hda_codec_cleanup(struct hda_codec * codec,struct hda_pcm_stream * hinfo,struct snd_pcm_substream * substream) snd_hda_codec_cleanup() argument 3286 snd_hda_codec_parse_pcms(struct hda_codec * codec) snd_hda_codec_parse_pcms() argument 3328 snd_hda_codec_build_pcms(struct hda_codec * codec) snd_hda_codec_build_pcms() argument 3373 snd_hda_add_new_ctls(struct hda_codec * codec,const struct snd_kcontrol_new * knew) snd_hda_add_new_ctls() argument 3425 snd_hda_codec_set_power_save(struct hda_codec * codec,int delay) snd_hda_codec_set_power_save() argument 3474 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 3546 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 3601 setup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid,unsigned int stream_tag,unsigned int format) setup_dig_out_stream() argument 3640 cleanup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid) cleanup_dig_out_stream() argument 3655 snd_hda_multi_out_dig_open(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_dig_open() argument 3675 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 3692 snd_hda_multi_out_dig_cleanup(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_dig_cleanup() argument 3706 snd_hda_multi_out_dig_close(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_dig_close() argument 3726 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 3784 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 3860 snd_hda_multi_out_analog_cleanup(struct hda_codec * codec,struct hda_multi_out * mout) snd_hda_multi_out_analog_cleanup() argument 3895 snd_hda_get_default_vref(struct hda_codec * codec,hda_nid_t pin) snd_hda_get_default_vref() argument 3922 snd_hda_correct_pin_ctl(struct hda_codec * codec,hda_nid_t pin,unsigned int val) snd_hda_correct_pin_ctl() argument 3985 _snd_hda_set_pin_ctl(struct hda_codec * codec,hda_nid_t pin,unsigned int val,bool cached) _snd_hda_set_pin_ctl() argument 4011 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 4045 struct hda_codec *codec; snd_hda_bus_reset_codecs() local 4066 snd_hda_codec_set_gpio(struct hda_codec * codec,unsigned int mask,unsigned int dir,unsigned int data,unsigned int delay) snd_hda_codec_set_gpio() argument [all...] |
| H A D | jack.c | 21 * @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_ argument 71 snd_hda_jack_tbl_get_mst(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_jack_tbl_get_mst() argument 92 snd_hda_jack_tbl_get_from_tag(struct hda_codec * codec,unsigned char tag,int dev_id) snd_hda_jack_tbl_get_from_tag() argument 108 any_jack_tbl_get_from_nid(struct hda_codec * codec,hda_nid_t nid) any_jack_tbl_get_from_nid() argument 128 snd_hda_jack_tbl_new(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_jack_tbl_new() argument 161 snd_hda_jack_tbl_disconnect(struct hda_codec * codec) snd_hda_jack_tbl_disconnect() argument 172 snd_hda_jack_tbl_clear(struct hda_codec * codec) snd_hda_jack_tbl_clear() argument 195 jack_detect_update(struct hda_codec * codec,struct hda_jack_tbl * jack) jack_detect_update() argument 233 snd_hda_jack_set_dirty_all(struct hda_codec * codec) snd_hda_jack_set_dirty_all() argument 253 snd_hda_jack_pin_sense(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_jack_pin_sense() argument 274 snd_hda_jack_detect_state_mst(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_jack_detect_state_mst() argument 318 snd_hda_jack_detect_enable_callback_mst(struct hda_codec * codec,hda_nid_t nid,int dev_id,hda_jack_callback_fn func) snd_hda_jack_detect_enable_callback_mst() argument 365 snd_hda_jack_detect_enable(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_jack_detect_enable() argument 383 snd_hda_jack_set_gating_jack(struct hda_codec * codec,hda_nid_t gated_nid,hda_nid_t gating_nid) snd_hda_jack_set_gating_jack() argument 412 snd_hda_jack_bind_keymap(struct hda_codec * codec,hda_nid_t key_nid,const struct hda_jack_keymap * keymap,hda_nid_t jack_nid) snd_hda_jack_bind_keymap() argument 443 snd_hda_jack_set_button_state(struct hda_codec * codec,hda_nid_t jack_nid,int button_state) snd_hda_jack_set_button_state() argument 469 snd_hda_jack_report_sync(struct hda_codec * codec) snd_hda_jack_report_sync() argument 502 get_input_jack_type(struct hda_codec * codec,hda_nid_t nid) get_input_jack_type() argument 541 snd_hda_jack_add_kctl_mst(struct hda_codec * codec,hda_nid_t nid,int dev_id,const char * name,bool phantom_jack,int type,const struct hda_jack_keymap * keymap) snd_hda_jack_add_kctl_mst() argument 586 add_jack_kctl(struct hda_codec * codec,hda_nid_t nid,const struct auto_pin_cfg * cfg,const char * base_name) add_jack_kctl() argument 627 snd_hda_jack_add_kctls(struct hda_codec * codec,const struct auto_pin_cfg * cfg) snd_hda_jack_add_kctls() argument 684 call_jack_callback(struct hda_codec * codec,unsigned int res,struct hda_jack_tbl * jack) call_jack_callback() argument 713 snd_hda_jack_unsol_event(struct hda_codec * codec,unsigned int res) snd_hda_jack_unsol_event() argument 750 snd_hda_jack_poll_all(struct hda_codec * codec) snd_hda_jack_poll_all() argument [all...] |
| H A D | hda_local.h | 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, char *name, 137 #define snd_hda_add_vmaster(codec, nam 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 D | proc.c | 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_t nid, in is_stereo_amps() argument 126 if (snd_hda_get_raw_connections(codec, ni in is_stereo_amps() 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 D | auto_parser.c | 56 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, ni in snd_hda_parse_pin_defcfg() 486 hda_get_input_pin_label(struct hda_codec * codec,const struct auto_pin_cfg_item * item,hda_nid_t pin,bool check_location) hda_get_input_pin_label() argument 538 check_mic_location_need(struct hda_codec * codec,const struct auto_pin_cfg * cfg,int input) check_mic_location_need() argument 575 hda_get_autocfg_input_label(struct hda_codec * codec,const struct auto_pin_cfg * cfg,int input) hda_get_autocfg_input_label() argument 626 check_output_pfx(struct hda_codec * codec,hda_nid_t nid) check_output_pfx() argument 641 get_hp_label_index(struct hda_codec * codec,hda_nid_t nid,const hda_nid_t * pins,int num_pins) get_hp_label_index() argument 658 fill_audio_out_name(struct hda_codec * codec,hda_nid_t nid,const struct auto_pin_cfg * cfg,const char * name,char * label,int maxlen,int * indexp) fill_audio_out_name() argument 714 snd_hda_get_pin_label(struct hda_codec * codec,hda_nid_t nid,const struct auto_pin_cfg * cfg,char * label,int maxlen,int * indexp) snd_hda_get_pin_label() argument 782 snd_hda_add_verbs(struct hda_codec * codec,const struct hda_verb * list) snd_hda_add_verbs() argument 798 snd_hda_apply_verbs(struct hda_codec * codec) snd_hda_apply_verbs() argument 813 snd_hda_apply_pincfgs(struct hda_codec * codec,const struct hda_pintbl * cfg) snd_hda_apply_pincfgs() argument 821 set_pin_targets(struct hda_codec * codec,const struct hda_pintbl * cfg) set_pin_targets() argument 828 __snd_hda_apply_fixup(struct hda_codec * codec,int id,int action,int depth) __snd_hda_apply_fixup() argument 886 snd_hda_apply_fixup(struct hda_codec * codec,int action) snd_hda_apply_fixup() argument 895 pin_config_match(struct hda_codec * codec,const struct hda_pintbl * pins,bool match_all_pins) pin_config_match() argument 936 snd_hda_pick_pin_fixup(struct hda_codec * codec,const struct snd_hda_pin_quirk * pin_quirk,const struct hda_fixup * fixlist,bool match_all_pins) snd_hda_pick_pin_fixup() argument 1006 snd_hda_pick_fixup(struct hda_codec * codec,const struct hda_model_fixup * models,const struct hda_quirk * quirk,const struct hda_fixup * fixlist) snd_hda_pick_fixup() argument [all...] |
| /linux/sound/hda/codecs/ |
| H A D | ca0132.c | 3 * HD audio codec driver for Creative CA0132 chip 1138 struct hda_codec *codec; 1185 #define ca0132_quirk(spec) ((spec)->codec->fixup_id) 1545 * CA0132 codec access in codec_set_converter_stream_channel() 1547 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_stream_channel() 1551 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_set_converter_stream_channel() 1557 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in chipio_send() 1560 return codec_send_command(codec, nid, VENDOR_CHIPIO_STREAM_FORMAT, in chipio_send() 1564 static int codec_set_converter_stream_channel(struct hda_codec *codec, in chipio_send() 1571 return codec_send_command(codec, ni in chipio_send() 1135 struct hda_codec *codec; global() member 1527 codec_send_command(struct hda_codec * codec,hda_nid_t nid,unsigned int verb,unsigned int parm,unsigned int * res) codec_send_command() argument 1537 codec_set_converter_format(struct hda_codec * codec,hda_nid_t nid,unsigned short converter_format,unsigned int * res) codec_set_converter_format() argument 1544 codec_set_converter_stream_channel(struct hda_codec * codec,hda_nid_t nid,unsigned char stream,unsigned char channel,unsigned int * res) codec_set_converter_stream_channel() argument 1556 chipio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) chipio_send() argument 1578 chipio_write_address(struct hda_codec * codec,unsigned int chip_addx) chipio_write_address() argument 1605 chipio_write_data(struct hda_codec * codec,unsigned int data) chipio_write_data() argument 1629 chipio_write_data_multiple(struct hda_codec * codec,const u32 * data,unsigned int count) chipio_write_data_multiple() argument 1650 chipio_read_data(struct hda_codec * codec,unsigned int * data) chipio_read_data() argument 1681 chipio_write(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write() argument 1701 chipio_write_no_mutex(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write_no_mutex() argument 1724 chipio_write_multiple(struct hda_codec * codec,u32 chip_addx,const u32 * data,unsigned int count) chipio_write_multiple() argument 1744 chipio_read(struct hda_codec * codec,unsigned int chip_addx,unsigned int * data) chipio_read() argument 1763 chipio_set_control_flag(struct hda_codec * codec,enum control_flag_id flag_id,bool flag_state) chipio_set_control_flag() argument 1779 chipio_set_control_param(struct hda_codec * codec,enum control_param_id param_id,int param_val) chipio_set_control_param() argument 1805 chipio_set_control_param_no_mutex(struct hda_codec * codec,enum control_param_id param_id,int param_val) chipio_set_control_param_no_mutex() argument 1829 chipio_set_stream_source_dest(struct hda_codec * codec,int streamid,int source_point,int dest_point) chipio_set_stream_source_dest() argument 1843 chipio_set_stream_channels(struct hda_codec * codec,int streamid,unsigned int channels) chipio_set_stream_channels() argument 1855 chipio_set_stream_control(struct hda_codec * codec,int streamid,int enable) chipio_set_stream_control() argument 1867 chipio_get_stream_control(struct hda_codec * codec,int streamid,unsigned int * enable) chipio_get_stream_control() argument 1880 chipio_set_conn_rate_no_mutex(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate_no_mutex() argument 1892 chipio_set_conn_rate(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate() argument 1905 chipio_8051_write_direct(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_direct() argument 1922 chipio_8051_set_address(struct hda_codec * codec,unsigned int addr) chipio_8051_set_address() argument 1937 chipio_8051_set_data(struct hda_codec * codec,unsigned int data) chipio_8051_set_data() argument 1944 chipio_8051_get_data(struct hda_codec * codec) chipio_8051_get_data() argument 1951 chipio_8051_set_data_pll(struct hda_codec * codec,unsigned int data) chipio_8051_set_data_pll() argument 1958 chipio_8051_write_exram(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram() argument 1969 chipio_8051_write_exram_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram_no_mutex() argument 1977 chipio_8051_read_exram(struct hda_codec * codec,unsigned int addr,unsigned int * data) chipio_8051_read_exram() argument 1984 chipio_8051_write_pll_pmu(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu() argument 1995 chipio_8051_write_pll_pmu_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu_no_mutex() argument 2005 chipio_enable_clocks(struct hda_codec * codec) chipio_enable_clocks() argument 2019 dspio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) dspio_send() argument 2039 dspio_write_wait(struct hda_codec * codec) dspio_write_wait() argument 2057 dspio_write(struct hda_codec * codec,unsigned int scp_data) dspio_write() argument 2086 dspio_write_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int size) dspio_write_multiple() argument 2106 dspio_read(struct hda_codec * codec,unsigned int * data) dspio_read() argument 2125 dspio_read_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int * buf_size,unsigned int size_count) dspio_read_multiple() argument 2218 dspio_clear_response_queue(struct hda_codec * codec) dspio_clear_response_queue() argument 2230 dspio_get_response_data(struct hda_codec * codec) dspio_get_response_data() argument 2254 dspio_send_scp_message(struct hda_codec * codec,unsigned char * send_buf,unsigned int send_buf_size,unsigned char * return_buf,unsigned int return_buf_size,unsigned int * bytes_returned) dspio_send_scp_message() argument 2344 dspio_scp(struct hda_codec * codec,int mod_id,int src_id,int req,int dir,const void * data,unsigned int len,void * reply,unsigned int * reply_len) dspio_scp() argument 2426 dspio_set_param(struct hda_codec * codec,int mod_id,int src_id,int req,const void * data,unsigned int len) dspio_set_param() argument 2433 dspio_set_uint_param(struct hda_codec * codec,int mod_id,int req,const unsigned int data) dspio_set_uint_param() argument 2443 dspio_alloc_dma_chan(struct hda_codec * codec,unsigned int * dma_chan) dspio_alloc_dma_chan() argument 2472 dspio_free_dma_chan(struct hda_codec * codec,unsigned int dma_chan) dspio_free_dma_chan() argument 2497 dsp_set_run_state(struct hda_codec * codec) dsp_set_run_state() argument 2532 dsp_reset(struct hda_codec * codec) dsp_reset() argument 2575 dsp_is_dma_active(struct hda_codec * codec,unsigned int dma_chan) dsp_is_dma_active() argument 2585 dsp_dma_setup_common(struct hda_codec * codec,unsigned int chip_addx,unsigned int dma_chan,unsigned int port_map_mask,bool ovly) dsp_dma_setup_common() argument 2698 dsp_dma_setup(struct hda_codec * codec,unsigned int chip_addx,unsigned int count,unsigned int dma_chan) dsp_dma_setup() argument 2789 dsp_dma_start(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_start() argument 2825 dsp_dma_stop(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_stop() argument 2868 dsp_allocate_router_ports(struct hda_codec * codec,unsigned int num_chans,unsigned int ports_per_channel,unsigned int start_device,unsigned int * port_map) dsp_allocate_router_ports() argument 2909 dsp_free_router_ports(struct hda_codec * codec) dsp_free_router_ports() argument 2929 dsp_allocate_ports(struct hda_codec * codec,unsigned int num_chans,unsigned int rate_multi,unsigned int * port_map) dsp_allocate_ports() argument 2950 dsp_allocate_ports_format(struct hda_codec * codec,const unsigned short fmt,unsigned int * port_map) dsp_allocate_ports_format() argument 2973 dsp_free_ports(struct hda_codec * codec) dsp_free_ports() argument 2993 struct hda_codec *codec; global() member 3005 dma_convert_to_hda_format(struct hda_codec * codec,unsigned int sample_rate,unsigned short channels,unsigned short * hda_format) dma_convert_to_hda_format() argument 3025 struct hda_codec *codec = dma->codec; dma_reset() local 3140 dspxfr_hci_write(struct hda_codec * codec,const struct dsp_image_seg * fls) dspxfr_hci_write() argument 3180 dspxfr_one_seg(struct hda_codec * codec,const struct dsp_image_seg * fls,unsigned int reloc,struct dma_engine * dma_engine,unsigned int dma_chan,unsigned int port_map_mask,bool ovly) dspxfr_one_seg() argument 3376 dspxfr_image(struct hda_codec * codec,const struct dsp_image_seg * fls_data,unsigned int reloc,unsigned int sample_rate,unsigned short channels,bool ovly) dspxfr_image() argument 3497 dspload_post_setup(struct hda_codec * codec) dspload_post_setup() argument 3529 dspload_image(struct hda_codec * codec,const struct dsp_image_seg * fls,bool ovly,unsigned int reloc,bool autostart,int router_chans) dspload_image() argument 3584 dspload_is_loaded(struct hda_codec * codec) dspload_is_loaded() argument 3596 dspload_is_loaded(codec) global() argument 3599 dspload_wait_loaded(struct hda_codec * codec) dspload_wait_loaded() argument 3630 ca0113_mmio_gpio_set(struct hda_codec * codec,unsigned int gpio_pin,bool enable) ca0113_mmio_gpio_set() argument 3650 ca0113_mmio_command_set(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set() argument 3689 ca0113_mmio_command_set_type2(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set_type2() argument 3729 ca0132_gpio_init(struct hda_codec * codec) ca0132_gpio_init() argument 3752 ca0132_gpio_setup(struct hda_codec * codec) ca0132_gpio_setup() argument 3812 r3di_gpio_mic_set(struct hda_codec * codec,enum r3di_mic_select cur_mic) r3di_gpio_mic_set() argument 3832 r3di_gpio_dsp_status_set(struct hda_codec * codec,enum r3di_dsp_status dsp_status) r3di_gpio_dsp_status_set() argument 3865 ca0132_playback_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) ca0132_playback_pcm_prepare() argument 3878 ca0132_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_cleanup() argument 3897 ca0132_playback_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_delay() argument 3925 ca0132_dig_playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_open() argument 3933 ca0132_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) ca0132_dig_playback_pcm_prepare() argument 3944 ca0132_dig_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_cleanup() argument 3952 ca0132_dig_playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_close() argument 3963 ca0132_capture_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) ca0132_capture_pcm_prepare() argument 3975 ca0132_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_cleanup() argument 3988 ca0132_capture_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_delay() argument 4201 tuning_ctl_set(struct hda_codec * codec,hda_nid_t nid,const unsigned int * lookup,int idx) tuning_ctl_set() argument 4222 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); tuning_ctl_get() local 4248 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); voice_focus_ctl_put() local 4283 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mic_svm_ctl_put() local 4318 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); equalizer_ctl_put() local 4340 add_tuning_control(struct hda_codec * codec,hda_nid_t pnid,hda_nid_t nid,const char * name,int dir) add_tuning_control() argument 4380 add_tuning_ctls(struct hda_codec * codec) add_tuning_ctls() argument 4398 ca0132_init_tuning_defaults(struct hda_codec * codec) ca0132_init_tuning_defaults() argument 4420 ca0132_select_out(struct hda_codec * codec) ca0132_select_out() argument 4521 ae5_mmio_select_out(struct hda_codec * codec) ae5_mmio_select_out() argument 4538 ca0132_alt_set_full_range_speaker(struct hda_codec * codec) ca0132_alt_set_full_range_speaker() argument 4583 ca0132_alt_surround_set_bass_redirection(struct hda_codec * codec,bool val) ca0132_alt_surround_set_bass_redirection() argument 4616 ca0132_alt_select_out_get_quirk_data(struct hda_codec * codec,const struct ca0132_alt_out_set_quirk_data ** quirk_data) ca0132_alt_select_out_get_quirk_data() argument 4632 ca0132_alt_select_out_quirk_set(struct hda_codec * codec) ca0132_alt_select_out_quirk_set() argument 4705 ca0132_set_out_node_pincfg(struct hda_codec * codec,hda_nid_t nid,bool out_enable,bool hp_enable) ca0132_set_out_node_pincfg() argument 4726 ca0132_alt_select_out(struct hda_codec * codec) ca0132_alt_select_out() argument 4902 ca0132_set_vipsource(struct hda_codec * codec,int val) ca0132_set_vipsource() argument 4940 ca0132_alt_set_vipsource(struct hda_codec * codec,int val) ca0132_alt_set_vipsource() argument 5011 ca0132_select_mic(struct hda_codec * codec) ca0132_select_mic() argument 5061 ca0132_alt_select_in(struct hda_codec * codec) ca0132_alt_select_in() argument 5237 ca0132_is_vnode_effective(struct hda_codec * codec,hda_nid_t vnid,hda_nid_t * shared_nid) ca0132_is_vnode_effective() argument 5265 ca0132_voicefx_set(struct hda_codec * codec,int enable) ca0132_voicefx_set() argument 5287 ca0132_effects_set(struct hda_codec * codec,hda_nid_t nid,long val) ca0132_effects_set() argument 5378 ca0132_pe_switch_set(struct hda_codec * codec) ca0132_pe_switch_set() argument 5400 stop_mic1(struct hda_codec * codec) stop_mic1() argument 5413 resume_mic1(struct hda_codec * codec,unsigned int oldval) resume_mic1() argument 5426 ca0132_cvoice_switch_set(struct hda_codec * codec) ca0132_cvoice_switch_set() argument 5455 ca0132_mic_boost_set(struct hda_codec * codec,long val) ca0132_mic_boost_set() argument 5470 ca0132_alt_mic_boost_set(struct hda_codec * codec,long val) ca0132_alt_mic_boost_set() argument 5480 ae5_headphone_gain_set(struct hda_codec * codec,long val) ae5_headphone_gain_set() argument 5494 zxr_headphone_gain_set(struct hda_codec * codec,long val) zxr_headphone_gain_set() argument 5509 ca0132_disable_hp_auto_detect(struct hda_codec * codec) ca0132_disable_hp_auto_detect() argument 5528 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_vnode_switch_set() local 5585 ca0132_alt_bass_redirection_xover_set(struct hda_codec * codec,long idx) ca0132_alt_bass_redirection_xover_set() argument 5603 ca0132_alt_slider_ctl_set(struct hda_codec * codec,hda_nid_t nid,const unsigned int * lookup,int idx) ca0132_alt_slider_ctl_set() argument 5643 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_ctl_get() local 5659 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_slider_ctl_get() local 5702 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_put() local 5732 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_effect_slider_put() local 5779 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_get() local 5789 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_put() local 5833 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_get() local 5843 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_put() local 5886 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_get() local 5896 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_put() local 5936 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_get() local 5946 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_put() local 5988 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_get() local 5998 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_put() local 6036 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_get() local 6046 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_put() local 6089 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_get() local 6099 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_put() local 6153 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_get() local 6163 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_put() local 6210 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_get() local 6220 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_put() local 6255 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_get() local 6307 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_put() local 6399 ca0132_alt_dsp_volume_put(struct hda_codec * codec,hda_nid_t nid) ca0132_alt_dsp_volume_put() argument 6432 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_info() local 6470 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_get() local 6491 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_put() local 6536 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_volume_put() local 6571 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_tlv() local 6607 ca0132_alt_add_effect_slider(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) ca0132_alt_add_effect_slider() argument 6642 add_fx_switch(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) add_fx_switch() argument 6661 add_voicefx(struct hda_codec * codec) add_voicefx() argument 6673 add_ca0132_alt_eq_presets(struct hda_codec * codec) add_ca0132_alt_eq_presets() argument 6690 ca0132_alt_add_svm_enum(struct hda_codec * codec) ca0132_alt_add_svm_enum() argument 6707 ca0132_alt_add_output_enum(struct hda_codec * codec) ca0132_alt_add_output_enum() argument 6724 ca0132_alt_add_speaker_channel_cfg_enum(struct hda_codec * codec) ca0132_alt_add_speaker_channel_cfg_enum() argument 6741 ca0132_alt_add_front_full_range_switch(struct hda_codec * codec) ca0132_alt_add_front_full_range_switch() argument 6751 ca0132_alt_add_rear_full_range_switch(struct hda_codec * codec) ca0132_alt_add_rear_full_range_switch() argument 6767 ca0132_alt_add_bass_redirection_crossover(struct hda_codec * codec) ca0132_alt_add_bass_redirection_crossover() argument 6783 ca0132_alt_add_bass_redirection_switch(struct hda_codec * codec) ca0132_alt_add_bass_redirection_switch() argument 6799 ca0132_alt_add_input_enum(struct hda_codec * codec) ca0132_alt_add_input_enum() argument 6815 ca0132_alt_add_mic_boost_enum(struct hda_codec * codec) ca0132_alt_add_mic_boost_enum() argument 6833 ae5_add_headphone_gain_enum(struct hda_codec * codec) ae5_add_headphone_gain_enum() argument 6850 ae5_add_sound_filter_enum(struct hda_codec * codec) ae5_add_sound_filter_enum() argument 6862 zxr_add_headphone_gain_switch(struct hda_codec * codec) zxr_add_headphone_gain_switch() argument 6899 ca0132_alt_add_chmap_ctls(struct hda_codec * codec) ca0132_alt_add_chmap_ctls() argument 6992 ca0132_build_controls(struct hda_codec * codec) ca0132_build_controls() argument 7179 dbpro_build_controls(struct hda_codec * codec) dbpro_build_controls() argument 7243 ca0132_build_pcms(struct hda_codec * codec) ca0132_build_pcms() argument 7303 dbpro_build_pcms(struct hda_codec * codec) dbpro_build_pcms() argument 7337 init_output(struct hda_codec * codec,hda_nid_t pin,hda_nid_t dac) init_output() argument 7351 init_input(struct hda_codec * codec,hda_nid_t pin,hda_nid_t adc) init_input() argument 7372 refresh_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir) refresh_amp_caps() argument 7384 ca0132_set_dmic(struct hda_codec * codec,int enable) ca0132_set_dmic() argument 7428 ca0132_init_dmic(struct hda_codec * codec) ca0132_init_dmic() argument 7476 ca0132_init_analog_mic2(struct hda_codec * codec) ca0132_init_analog_mic2() argument 7486 ca0132_refresh_widget_caps(struct hda_codec * codec) ca0132_refresh_widget_caps() argument 7508 ca0132_alt_free_active_dma_channels(struct hda_codec * codec) ca0132_alt_free_active_dma_channels() argument 7563 ca0132_alt_start_dsp_audio_streams(struct hda_codec * codec) ca0132_alt_start_dsp_audio_streams() argument 7649 chipio_remap_stream(struct hda_codec * codec,const struct chipio_stream_remap_data * remap_data) chipio_remap_stream() argument 7716 ca0132_alt_init_speaker_tuning(struct hda_codec * codec) ca0132_alt_init_speaker_tuning() argument 7760 ca0132_alt_init_analog_mics(struct hda_codec * codec) ca0132_alt_init_analog_mics() argument 7790 sbz_connect_streams(struct hda_codec * codec) sbz_connect_streams() argument 7817 sbz_chipio_startup_data(struct hda_codec * codec) sbz_chipio_startup_data() argument 7849 ca0132_alt_dsp_initial_mic_setup(struct hda_codec * codec) ca0132_alt_dsp_initial_mic_setup() argument 7880 ae5_post_dsp_register_set(struct hda_codec * codec) ae5_post_dsp_register_set() argument 7905 ae5_post_dsp_param_setup(struct hda_codec * codec) ae5_post_dsp_param_setup() argument 7925 ae5_post_dsp_pll_setup(struct hda_codec * codec) ae5_post_dsp_pll_setup() argument 7934 ae5_post_dsp_stream_setup(struct hda_codec * codec) ae5_post_dsp_stream_setup() argument 7958 ae5_post_dsp_startup_data(struct hda_codec * codec) ae5_post_dsp_startup_data() argument 7988 ae7_post_dsp_setup_ports(struct hda_codec * codec) ae7_post_dsp_setup_ports() argument 8007 ae7_post_dsp_asi_stream_setup(struct hda_codec * codec) ae7_post_dsp_asi_stream_setup() argument 8028 ae7_post_dsp_pll_setup(struct hda_codec * codec) ae7_post_dsp_pll_setup() argument 8042 ae7_post_dsp_asi_setup_ports(struct hda_codec * codec) ae7_post_dsp_asi_setup_ports() argument 8122 ae7_post_dsp_asi_setup(struct hda_codec * codec) ae7_post_dsp_asi_setup() argument 8151 ca0132_setup_defaults(struct hda_codec * codec) ca0132_setup_defaults() argument 8196 r3d_setup_defaults(struct hda_codec * codec) r3d_setup_defaults() argument 8246 sbz_setup_defaults(struct hda_codec * codec) sbz_setup_defaults() argument 8300 ae5_setup_defaults(struct hda_codec * codec) ae5_setup_defaults() argument 8365 ae7_setup_defaults(struct hda_codec * codec) ae7_setup_defaults() argument 8448 ca0132_init_flags(struct hda_codec * codec) ca0132_init_flags() argument 8481 ca0132_init_params(struct hda_codec * codec) ca0132_init_params() argument 8497 ca0132_set_dsp_msr(struct hda_codec * codec,bool is96k) ca0132_set_dsp_msr() argument 8511 ca0132_download_dsp_images(struct hda_codec * codec) ca0132_download_dsp_images() argument 8567 ca0132_download_dsp(struct hda_codec * codec) ca0132_download_dsp() argument 8593 ca0132_process_dsp_response(struct hda_codec * codec,struct hda_jack_callback * callback) ca0132_process_dsp_response() argument 8608 hp_callback(struct hda_codec * codec,struct hda_jack_callback * cb) hp_callback() argument 8622 amic_callback(struct hda_codec * codec,struct hda_jack_callback * cb) amic_callback() argument 8632 ca0132_setup_unsol(struct hda_codec * codec) ca0132_setup_unsol() argument 8721 ca0132_init_chip(struct hda_codec * codec) ca0132_init_chip() argument 8806 r3di_gpio_shutdown(struct hda_codec * codec) r3di_gpio_shutdown() argument 8814 sbz_region2_exit(struct hda_codec * codec) sbz_region2_exit() argument 8831 sbz_set_pin_ctl_default(struct hda_codec * codec) sbz_set_pin_ctl_default() argument 8844 ca0132_clear_unsolicited(struct hda_codec * codec) ca0132_clear_unsolicited() argument 8856 sbz_gpio_shutdown_commands(struct hda_codec * codec,int dir,int mask,int data) sbz_gpio_shutdown_commands() argument 8871 zxr_dbpro_power_state_shutdown(struct hda_codec * codec) zxr_dbpro_power_state_shutdown() argument 8881 sbz_exit_chip(struct hda_codec * codec) sbz_exit_chip() argument 8916 r3d_exit_chip(struct hda_codec * codec) r3d_exit_chip() argument 8923 ae5_exit_chip(struct hda_codec * codec) ae5_exit_chip() argument 8948 ae7_exit_chip(struct hda_codec * codec) ae7_exit_chip() argument 8974 zxr_exit_chip(struct hda_codec * codec) zxr_exit_chip() argument 9004 ca0132_exit_chip(struct hda_codec * codec) ca0132_exit_chip() argument 9020 sbz_dsp_startup_check(struct hda_codec * codec) sbz_dsp_startup_check() argument 9085 ca0132_alt_vol_setup(struct hda_codec * codec) ca0132_alt_vol_setup() argument 9100 sbz_pre_dsp_setup(struct hda_codec * codec) sbz_pre_dsp_setup() argument 9113 r3d_pre_dsp_setup(struct hda_codec * codec) r3d_pre_dsp_setup() argument 9123 r3di_pre_dsp_setup(struct hda_codec * codec) r3di_pre_dsp_setup() argument 9140 zxr_pre_dsp_setup(struct hda_codec * codec) zxr_pre_dsp_setup() argument 9213 ca0132_mmio_init_sbz(struct hda_codec * codec) ca0132_mmio_init_sbz() argument 9263 ca0132_mmio_init_ae5(struct hda_codec * codec) ca0132_mmio_init_ae5() argument 9295 ca0132_mmio_init(struct hda_codec * codec) ca0132_mmio_init() argument 9328 ae5_register_set(struct hda_codec * codec) ae5_register_set() argument 9387 ca0132_alt_init(struct hda_codec * codec) ca0132_alt_init() argument 9444 ca0132_init(struct hda_codec * codec) ca0132_init() argument 9563 dbpro_init(struct hda_codec * codec) dbpro_init() argument 9578 ca0132_free(struct hda_codec * codec) ca0132_free() argument 9619 dbpro_free(struct hda_codec * codec) dbpro_free() argument 9629 ca0132_config(struct hda_codec * codec) ca0132_config() argument 9838 ca0132_prepare_verbs(struct hda_codec * codec) ca0132_prepare_verbs() argument 9885 sbz_detect_quirk(struct hda_codec * codec) sbz_detect_quirk() argument 9900 ca0132_codec_remove(struct hda_codec * codec) ca0132_codec_remove() argument 9910 ca0132_codec_probe(struct hda_codec * codec,const struct hda_device_id * id) ca0132_codec_probe() argument 10028 ca0132_codec_build_controls(struct hda_codec * codec) ca0132_codec_build_controls() argument 10038 ca0132_codec_build_pcms(struct hda_codec * codec) ca0132_codec_build_pcms() argument 10048 ca0132_codec_init(struct hda_codec * codec) ca0132_codec_init() argument 10058 ca0132_codec_suspend(struct hda_codec * codec) ca0132_codec_suspend() argument [all...] |
| H A D | via.c | 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 109 codec->spec = spec; in via_new_spec() 111 spec->codec_type = get_codec_type(codec); in via_new_spec() 120 codec->power_save_node = 1; in via_new_spec() 125 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type() argument 127 u32 vendor_id = codec->core.vendor_id; in get_codec_type() 143 if (snd_hda_param_read(codec, 0x16, AC_PAR_CONNLIST_LEN) == 0x7) in get_codec_type() 177 static void analog_low_current_mode(struct hda_codec *codec); [all …]
|
| H A D | conexant.c | 3 * 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 D | senarytech.c | 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() 113 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in senary_auto_parse_eapd() [all …]
|
| H A D | generic.c | 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_eapd"); in parse_user_hints() 121 codec 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 D | analog.c | 3 * HD audio codec driver for AD1882, AD1884, AD1981HD, AD1983, AD1984, 61 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 63 struct ad198x_spec *spec = codec->spec; in create_beep_ctls() 72 kctl = snd_ctl_new1(knew, codec); in create_beep_ctls() 76 err = snd_hda_ctl_add(codec, 0, kctl); in create_beep_ctls() 83 #define create_beep_ctls(codec) 0 86 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 89 if (snd_hda_query_pin_caps(codec, front) & AC_PINCAP_EAPD) in ad198x_power_eapd_write() 90 snd_hda_codec_write(codec, front, 0, AC_VERB_SET_EAPD_BTLENABLE, in ad198x_power_eapd_write() 91 !codec in ad198x_power_eapd_write() 59 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 D | sigmatel.c | 5 * HD audio codec driver for SigmaTel STAC92xx 242 struct hda_codec *codec, in stac_playback_pcm_hook() argument 246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook() 252 struct hda_codec *codec, in stac_capture_pcm_hook() argument 256 struct sigmatel_spec *spec = codec->spec; in stac_capture_pcm_hook() 272 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 277 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() argument 293 hda_nid_t fg = codec->core.afg; in stac_gpio_set() 295 codec_dbg(codec, " in stac_gpio_set() 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 D | cm9825.c | 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() 249 hp_jack_plugin = snd_hda_jack_detect(spec->codec, hp_pin); in cm9825_unsol_hp_delayed() [all …]
|
| H A D | si3054.c | 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 102 SET_REG_CACHE(codec, reg, (GET_REG(codec, reg)) | mask); in si3054_switch_put() 104 SET_REG_CACHE(codec, reg, (GET_REG(codec, reg)) & ~mask); in si3054_switch_put() 125 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls() argument [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | intelhdmi.c | 3 * 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 D | hdmi.c | 50 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, hinf in hinfo_to_pin_index() 123 cvt_nid_to_cvt_index(struct hda_codec * codec,hda_nid_t cvt_nid) cvt_nid_to_cvt_index() argument 139 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hdmi_eld_ctl_info() local 163 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hdmi_eld_ctl_get() local 203 hdmi_create_eld_ctl(struct hda_codec * codec,int pcm_idx,int device) hdmi_create_eld_ctl() argument 228 hdmi_get_dip_index(struct hda_codec * codec,hda_nid_t pin_nid,int * packet_index,int * byte_index) hdmi_get_dip_index() argument 241 hdmi_set_dip_index(struct hda_codec * codec,hda_nid_t pin_nid,int packet_index,int byte_index) hdmi_set_dip_index() argument 251 hdmi_write_dip_byte(struct hda_codec * codec,hda_nid_t pin_nid,unsigned char val) hdmi_write_dip_byte() argument 257 hdmi_init_pin(struct hda_codec * codec,hda_nid_t pin_nid) hdmi_init_pin() argument 307 struct hda_codec *codec = per_pin->codec; eld_proc_new() local 349 hdmi_start_infoframe_trans(struct hda_codec * codec,hda_nid_t pin_nid) hdmi_start_infoframe_trans() argument 360 hdmi_stop_infoframe_trans(struct hda_codec * codec,hda_nid_t pin_nid) hdmi_stop_infoframe_trans() argument 368 hdmi_debug_dip_size(struct hda_codec * codec,hda_nid_t pin_nid) hdmi_debug_dip_size() argument 385 hdmi_clear_dip_buffers(struct hda_codec * codec,hda_nid_t pin_nid) hdmi_clear_dip_buffers() argument 428 hdmi_fill_audio_infoframe(struct hda_codec * codec,hda_nid_t pin_nid,u8 * dip,int size) hdmi_fill_audio_infoframe() argument 442 hdmi_infoframe_uptodate(struct hda_codec * codec,hda_nid_t pin_nid,u8 * dip,int size) hdmi_infoframe_uptodate() argument 463 hdmi_pin_get_eld(struct hda_codec * codec,hda_nid_t nid,int dev_id,unsigned char * buf,int * eld_size) hdmi_pin_get_eld() argument 471 hdmi_pin_setup_infoframe(struct hda_codec * codec,hda_nid_t pin_nid,int dev_id,int ca,int active_channels,int conn_type) hdmi_pin_setup_infoframe() argument 528 snd_hda_hdmi_setup_audio_infoframe(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool non_pcm) snd_hda_hdmi_setup_audio_infoframe() argument 584 snd_hda_hdmi_check_presence_and_report(struct hda_codec * codec,hda_nid_t nid,int dev_id) snd_hda_hdmi_check_presence_and_report() argument 598 jack_callback(struct hda_codec * codec,struct hda_jack_callback * jack) jack_callback() argument 608 hdmi_intrinsic_event(struct hda_codec * codec,unsigned int res,struct hda_jack_tbl * jack) hdmi_intrinsic_event() argument 621 hdmi_non_intrinsic_event(struct hda_codec * codec,unsigned int res) hdmi_non_intrinsic_event() argument 645 snd_hda_hdmi_generic_unsol_event(struct hda_codec * codec,unsigned int res) snd_hda_hdmi_generic_unsol_event() argument 683 hdmi_pin_hbr_setup(struct hda_codec * codec,hda_nid_t pin_nid,int dev_id,bool hbr) hdmi_pin_hbr_setup() argument 718 snd_hda_hdmi_setup_stream(struct hda_codec * codec,hda_nid_t cvt_nid,hda_nid_t pin_nid,int dev_id,u32 stream_tag,int format) snd_hda_hdmi_setup_stream() argument 765 hdmi_choose_cvt(struct hda_codec * codec,int pin_idx,int * cvt_id,bool silent) hdmi_choose_cvt() argument 823 pin_cvt_fixup(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,hda_nid_t cvt_nid) pin_cvt_fixup() argument 835 hdmi_pcm_open_no_pin(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) hdmi_pcm_open_no_pin() argument 883 hdmi_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) hdmi_pcm_open() argument 968 hdmi_read_pin_conn(struct hda_codec * codec,int pin_idx) hdmi_read_pin_conn() argument 1069 struct hda_codec *codec = per_pin->codec; hdmi_pcm_setup_pin() local 1122 pin_idx_to_pcm_jack(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) pin_idx_to_pcm_jack() argument 1137 update_eld(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,struct hdmi_eld * eld,int repoll) update_eld() argument 1242 struct hda_codec *codec = per_pin->codec; hdmi_present_sense_via_verbs() local 1289 silent_stream_enable(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) silent_stream_enable() argument 1341 silent_stream_disable(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) silent_stream_disable() argument 1376 sync_eld_via_acomp(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) sync_eld_via_acomp() argument 1404 struct hda_codec *codec = per_pin->codec; hdmi_present_sense() local 1416 struct hda_codec *codec = per_pin->codec; hdmi_repoll_eld() local 1432 hdmi_add_pin(struct hda_codec * codec,hda_nid_t pin_nid) hdmi_add_pin() argument 1511 hdmi_add_cvt(struct hda_codec * codec,hda_nid_t cvt_nid) hdmi_add_cvt() argument 1566 snd_hda_hdmi_parse_codec(struct hda_codec * codec) snd_hda_hdmi_parse_codec() argument 1623 check_non_pcm_per_cvt(struct hda_codec * codec,hda_nid_t cvt_nid) check_non_pcm_per_cvt() argument 1642 snd_hda_hdmi_generic_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) snd_hda_hdmi_generic_pcm_prepare() argument 1717 snd_hda_hdmi_generic_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) snd_hda_hdmi_generic_pcm_cleanup() argument 1726 hdmi_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) hdmi_pcm_close() argument 1791 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_get_spk_alloc() local 1804 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_get_chmap() local 1818 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_set_chmap() local 1833 struct hda_codec *codec = hdac_to_hda_codec(hdac); is_hdmi_pcm_attached() local 1840 snd_hda_hdmi_generic_build_pcms(struct hda_codec * codec) snd_hda_hdmi_generic_build_pcms() argument 1888 generic_hdmi_build_jack(struct hda_codec * codec,int pcm_idx) generic_hdmi_build_jack() argument 1910 snd_hda_hdmi_generic_build_controls(struct hda_codec * codec) snd_hda_hdmi_generic_build_controls() argument 1975 snd_hda_hdmi_generic_init_per_pins(struct hda_codec * codec) snd_hda_hdmi_generic_init_per_pins() argument 1992 snd_hda_hdmi_generic_init(struct hda_codec * codec) snd_hda_hdmi_generic_init() argument 2026 snd_hda_hdmi_generic_spec_free(struct hda_codec * codec) snd_hda_hdmi_generic_spec_free() argument 2039 snd_hda_hdmi_generic_remove(struct hda_codec * codec) snd_hda_hdmi_generic_remove() argument 2067 snd_hda_hdmi_generic_suspend(struct hda_codec * codec) snd_hda_hdmi_generic_suspend() argument 2080 snd_hda_hdmi_generic_resume(struct hda_codec * codec) snd_hda_hdmi_generic_resume() argument 2104 snd_hda_hdmi_generic_alloc(struct hda_codec * codec) snd_hda_hdmi_generic_alloc() argument 2132 snd_hda_hdmi_generic_probe(struct hda_codec * codec) snd_hda_hdmi_generic_probe() argument 2156 reprogram_jack_detect(struct hda_codec * codec,hda_nid_t nid,int dev_id,bool use_acomp) reprogram_jack_detect() argument 2224 struct hda_codec *codec = audio_ptr; snd_hda_hdmi_acomp_pin_eld_notify() local 2243 snd_hda_hdmi_setup_drm_audio_ops(struct hda_codec * codec,const struct drm_audio_component_audio_ops * ops) snd_hda_hdmi_setup_drm_audio_ops() argument 2262 snd_hda_hdmi_acomp_init(struct hda_codec * codec,const struct drm_audio_component_audio_ops * ops,int (* port2pin)(struct hda_codec *,int)) snd_hda_hdmi_acomp_init() argument 2290 generichdmi_probe(struct hda_codec * codec,const struct hda_device_id * id) generichdmi_probe() argument [all...] |
| H A D | nvhdmi-mcp.c | 50 static int nvhdmi_mcp_init(struct hda_codec *codec) in nvhdmi_mcp_init() argument 52 struct hdmi_spec *spec = codec->spec; in nvhdmi_mcp_init() 55 snd_hda_sequence_write(codec, nvhdmi_basic_init_7x_2ch); in nvhdmi_mcp_init() 57 snd_hda_sequence_write(codec, nvhdmi_basic_init_7x_8ch); in nvhdmi_mcp_init() 61 static void nvhdmi_8ch_7x_set_info_frame_parameters(struct hda_codec *codec, in nvhdmi_8ch_7x_set_info_frame_parameters() argument 87 snd_hda_codec_write(codec, 0x1, 0, in nvhdmi_8ch_7x_set_info_frame_parameters() 90 snd_hda_codec_write(codec, 0x1, 0, in nvhdmi_8ch_7x_set_info_frame_parameters() 96 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close() argument 99 struct hdmi_spec *spec = codec->spec; in nvhdmi_8ch_7x_pcm_close() 102 snd_hda_codec_write(codec, nvhdmi_master_con_nid_7x, in nvhdmi_8ch_7x_pcm_close() [all …]
|
| /linux/drivers/media/pci/zoran/ |
| H A D | videocodec.c | 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() 72 codec->master_data = master; in videocodec_attach() [all …]
|
| /linux/sound/hda/codecs/cirrus/ |
| H A D | cs8409.c | 3 * 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 D | cs421x.c | 3 * 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...] |
| H A D | cs420x.c | 94 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() argument 96 struct cs_spec *spec = codec->spec; in cs_vendor_coef_get() 98 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_get() 100 return snd_hda_codec_read(codec, spec->vendor_nid, 0, in cs_vendor_coef_get() 104 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() argument 107 struct cs_spec *spec = codec->spec; in cs_vendor_coef_set() 109 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set() 111 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set() 121 static void cs_automute(struct hda_codec *codec) in cs_automute() argument 123 struct cs_spec *spec = codec->spec; in cs_automute() [all …]
|
| /linux/sound/hda/core/ |
| H A D | sysfs.c | 24 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 …]
|