Home
last modified time | relevance | path

Searched +full:codec +full:- +full:3 (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/linux/sound/hda/codecs/realtek/
H A Drealtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // Realtek HD-audio codec support code
10 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid,
15 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in coef_mutex_lock()
16 val = snd_hda_codec_read(codec, ni in coef_mutex_lock()
14 coef_mutex_lock(struct hda_codec * codec) coef_mutex_lock() argument
22 coef_mutex_unlock(struct hda_codec * codec) coef_mutex_unlock() argument
30 __alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) __alc_read_coefex_idx() argument
40 alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) alc_read_coefex_idx() argument
52 __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
59 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
68 __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
79 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
90 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument
100 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument
119 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument
129 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument
138 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument
153 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument
170 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument
177 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument
184 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument
191 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument
198 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument
205 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument
218 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument
228 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
240 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument
264 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument
383 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument
393 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument
406 alc_find_ext_mic_pin(struct hda_codec * codec) alc_find_ext_mic_pin() argument
428 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument
451 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument
482 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument
494 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument
507 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument
552 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument
563 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument
575 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument
667 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument
770 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument
784 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument
793 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument
806 alc_init(struct hda_codec * codec) alc_init() argument
829 alc_shutup(struct hda_codec * codec) alc_shutup() argument
843 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument
849 alc_suspend(struct hda_codec * codec) alc_suspend() argument
859 alc_resume(struct hda_codec * codec) alc_resume() argument
942 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument
1014 alc_has_cdefine_beep(struct hda_codec * codec) alc_has_cdefine_beep() argument
1031 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
1056 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument
1085 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument
1114 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument
1125 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument
1150 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument
1175 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument
1186 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument
1218 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument
1230 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument
1253 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument
1390 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
1529 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument
1650 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument
1774 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument
1876 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument
2070 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument
2130 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
2137 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument
2145 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument
2165 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument
2188 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
2200 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument
2211 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument
2224 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local
2236 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local
2245 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
2268 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument
2276 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument
2287 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument
[all...]
/linux/sound/hda/codecs/cirrus/
H A Dcs421x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Cirrus Logic CS421x HD-audio codec
45 /* Vendor-specific processing widget */
57 * 1 = digital immediate, analog zero-cross
58 * 2 = digtail & analog soft-ramp
59 * 3 = digital soft-ramp, analog zero-cross
61 #define CS_COEF_ADC_SZC_MASK (3 << 0)
62 #define CS_COEF_ADC_MIC_SZC_MODE (3 << 0) /* SZC setup for mic */
63 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
64 /* PGA mode: 0 = differential, 1 = signle-ended */
[all …]
H A Dcs420x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Cirrus Logic CS420x HD-audio codec
52 /* Vendor-specific processing widget */
65 * 1 = digital immediate, analog zero-cross
66 * 2 = digtail & analog soft-ramp
67 * 3 = digital soft-ramp, analog zero-cross
69 #define CS_COEF_ADC_SZC_MASK (3 << 0)
70 #define CS_COEF_ADC_MIC_SZC_MODE (3 << 0) /* SZC setup for mic */
71 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
72 /* PGA mode: 0 = differential, 1 = signle-ended */
[all …]
/linux/sound/hda/codecs/
H A Danalog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio codec driver for AD1882, AD1884, AD1981HD, AD1983, AD1984,
6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
53 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */
59 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() argument
61 struct ad198x_spec *spec = codec in create_beep_ctls()
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
751 ad_codec_init(struct hda_codec * codec) ad_codec_init() argument
774 ad1988_add_spdif_mux_ctl(struct hda_codec * codec) ad1988_add_spdif_mux_ctl() argument
864 ad1988_probe(struct hda_codec * codec) ad1988_probe() argument
919 ad1884_fixup_amp_override(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1884_fixup_amp_override() argument
933 struct hda_codec *codec = private_data; ad1884_vmaster_hp_gpio_hook() local
943 ad1884_fixup_hp_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1884_fixup_hp_eapd() argument
968 ad1884_fixup_thinkpad(struct hda_codec * codec,const struct hda_fixup * fix,int action) ad1884_fixup_thinkpad() argument
1035 ad1884_probe(struct hda_codec * codec) ad1884_probe() argument
1072 ad1882_probe(struct hda_codec * codec) ad1882_probe() argument
1093 ad_codec_probe(struct hda_codec * codec,const struct hda_device_id * id) ad_codec_probe() argument
[all...]
H A Dvia.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio codec driver for VIA VT17xx/VT18xx/VT20xx codec
7 * (C) 2006-2009 VIA Technology, Inc.
8 * (C) 2006-2008 Takashi Iwai <tiwai@suse.de>
13 /* 2006-03-03 Lydia Wang Create the basic patch to support VT1708 codec */
14 /* 2006-03-14 Lydia Wang Modify hard code for some pin widget nid */
15 /* 2006-08-02 Lydia Wang Add support to VT1709 codec */
16 /* 2006-09-08 Lydia Wang Fix internal loopback recording source select bug */
17 /* 2007-09-12 Lydia Wang Add EAPD enable during driver initialization */
[all …]
H A Dca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio codec driver for Creative CA0132 chip
62 #define MEM_CONNID_MICIN1 3
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
98 static const char *const in_src_str[3]
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
1707 chipio_write_no_mutex(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write_no_mutex() argument
1730 chipio_write_multiple(struct hda_codec * codec,u32 chip_addx,const u32 * data,unsigned int count) chipio_write_multiple() argument
1754 chipio_read(struct hda_codec * codec,unsigned int chip_addx,unsigned int * data) chipio_read() argument
1779 chipio_set_control_flag(struct hda_codec * codec,enum control_flag_id flag_id,bool flag_state) chipio_set_control_flag() argument
1795 chipio_set_control_param(struct hda_codec * codec,enum control_param_id param_id,int param_val) chipio_set_control_param() argument
1822 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
1846 chipio_set_stream_source_dest(struct hda_codec * codec,int streamid,int source_point,int dest_point) chipio_set_stream_source_dest() argument
1860 chipio_set_stream_channels(struct hda_codec * codec,int streamid,unsigned int channels) chipio_set_stream_channels() argument
1872 chipio_set_stream_control(struct hda_codec * codec,int streamid,int enable) chipio_set_stream_control() argument
1884 chipio_get_stream_control(struct hda_codec * codec,int streamid,unsigned int * enable) chipio_get_stream_control() argument
1897 chipio_set_conn_rate_no_mutex(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate_no_mutex() argument
1909 chipio_set_conn_rate(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate() argument
1922 chipio_8051_write_direct(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_direct() argument
1939 chipio_8051_set_address(struct hda_codec * codec,unsigned int addr) chipio_8051_set_address() argument
1954 chipio_8051_set_data(struct hda_codec * codec,unsigned int data) chipio_8051_set_data() argument
1961 chipio_8051_get_data(struct hda_codec * codec) chipio_8051_get_data() argument
1968 chipio_8051_set_data_pll(struct hda_codec * codec,unsigned int data) chipio_8051_set_data_pll() argument
1975 chipio_8051_write_exram(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram() argument
1988 chipio_8051_write_exram_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram_no_mutex() argument
1996 chipio_8051_read_exram(struct hda_codec * codec,unsigned int addr,unsigned int * data) chipio_8051_read_exram() argument
2003 chipio_8051_write_pll_pmu(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu() argument
2016 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
2026 chipio_enable_clocks(struct hda_codec * codec) chipio_enable_clocks() argument
2042 dspio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) dspio_send() argument
2062 dspio_write_wait(struct hda_codec * codec) dspio_write_wait() argument
2080 dspio_write(struct hda_codec * codec,unsigned int scp_data) dspio_write() argument
2111 dspio_write_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int size) dspio_write_multiple() argument
2131 dspio_read(struct hda_codec * codec,unsigned int * data) dspio_read() argument
2150 dspio_read_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int * buf_size,unsigned int size_count) dspio_read_multiple() argument
2243 dspio_clear_response_queue(struct hda_codec * codec) dspio_clear_response_queue() argument
2255 dspio_get_response_data(struct hda_codec * codec) dspio_get_response_data() argument
2279 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
2369 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
2451 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
2458 dspio_set_uint_param(struct hda_codec * codec,int mod_id,int req,const unsigned int data) dspio_set_uint_param() argument
2468 dspio_alloc_dma_chan(struct hda_codec * codec,unsigned int * dma_chan) dspio_alloc_dma_chan() argument
2497 dspio_free_dma_chan(struct hda_codec * codec,unsigned int dma_chan) dspio_free_dma_chan() argument
2522 dsp_set_run_state(struct hda_codec * codec) dsp_set_run_state() argument
2557 dsp_reset(struct hda_codec * codec) dsp_reset() argument
2600 dsp_is_dma_active(struct hda_codec * codec,unsigned int dma_chan) dsp_is_dma_active() argument
2610 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
2723 dsp_dma_setup(struct hda_codec * codec,unsigned int chip_addx,unsigned int count,unsigned int dma_chan) dsp_dma_setup() argument
2814 dsp_dma_start(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_start() argument
2850 dsp_dma_stop(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_stop() argument
2893 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
2934 dsp_free_router_ports(struct hda_codec * codec) dsp_free_router_ports() argument
2954 dsp_allocate_ports(struct hda_codec * codec,unsigned int num_chans,unsigned int rate_multi,unsigned int * port_map) dsp_allocate_ports() argument
2975 dsp_allocate_ports_format(struct hda_codec * codec,const unsigned short fmt,unsigned int * port_map) dsp_allocate_ports_format() argument
2998 dsp_free_ports(struct hda_codec * codec) dsp_free_ports() argument
3018 struct hda_codec *codec; global() member
3030 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
3050 struct hda_codec *codec = dma->codec; dma_reset() local
3165 dspxfr_hci_write(struct hda_codec * codec,const struct dsp_image_seg * fls) dspxfr_hci_write() argument
3205 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
3401 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
3522 dspload_post_setup(struct hda_codec * codec) dspload_post_setup() argument
3554 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
3609 dspload_is_loaded(struct hda_codec * codec) dspload_is_loaded() argument
3621 dspload_is_loaded(codec) global() argument
3624 dspload_wait_loaded(struct hda_codec * codec) dspload_wait_loaded() argument
3655 ca0113_mmio_gpio_set(struct hda_codec * codec,unsigned int gpio_pin,bool enable) ca0113_mmio_gpio_set() argument
3675 ca0113_mmio_command_set(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set() argument
3714 ca0113_mmio_command_set_type2(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set_type2() argument
3754 ca0132_gpio_init(struct hda_codec * codec) ca0132_gpio_init() argument
3777 ca0132_gpio_setup(struct hda_codec * codec) ca0132_gpio_setup() argument
3847 r3di_gpio_mic_set(struct hda_codec * codec,enum r3di_mic_select cur_mic) r3di_gpio_mic_set() argument
3867 r3di_gpio_dsp_status_set(struct hda_codec * codec,enum r3di_dsp_status dsp_status) r3di_gpio_dsp_status_set() argument
3900 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
3913 ca0132_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_cleanup() argument
3932 ca0132_playback_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_delay() argument
3960 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
3968 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
3979 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
3987 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
3998 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
4010 ca0132_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_cleanup() argument
4023 ca0132_capture_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_delay() argument
4236 tuning_ctl_set(struct hda_codec * codec,hda_nid_t nid,const unsigned int * lookup,int idx) tuning_ctl_set() argument
4259 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); tuning_ctl_get() local
4285 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); voice_focus_ctl_put() local
4320 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mic_svm_ctl_put() local
4355 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); equalizer_ctl_put() local
4377 add_tuning_control(struct hda_codec * codec,hda_nid_t pnid,hda_nid_t nid,const char * name,int dir) add_tuning_control() argument
4417 add_tuning_ctls(struct hda_codec * codec) add_tuning_ctls() argument
4435 ca0132_init_tuning_defaults(struct hda_codec * codec) ca0132_init_tuning_defaults() argument
4457 ca0132_select_out(struct hda_codec * codec) ca0132_select_out() argument
4561 ae5_mmio_select_out(struct hda_codec * codec) ae5_mmio_select_out() argument
4578 ca0132_alt_set_full_range_speaker(struct hda_codec * codec) ca0132_alt_set_full_range_speaker() argument
4623 ca0132_alt_surround_set_bass_redirection(struct hda_codec * codec,bool val) ca0132_alt_surround_set_bass_redirection() argument
4656 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
4672 ca0132_alt_select_out_quirk_set(struct hda_codec * codec) ca0132_alt_select_out_quirk_set() argument
4745 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
4766 ca0132_alt_select_out(struct hda_codec * codec) ca0132_alt_select_out() argument
4945 ca0132_set_vipsource(struct hda_codec * codec,int val) ca0132_set_vipsource() argument
4983 ca0132_alt_set_vipsource(struct hda_codec * codec,int val) ca0132_alt_set_vipsource() argument
5054 ca0132_select_mic(struct hda_codec * codec) ca0132_select_mic() argument
5106 ca0132_alt_select_in(struct hda_codec * codec) ca0132_alt_select_in() argument
5283 ca0132_is_vnode_effective(struct hda_codec * codec,hda_nid_t vnid,hda_nid_t * shared_nid) ca0132_is_vnode_effective() argument
5311 ca0132_voicefx_set(struct hda_codec * codec,int enable) ca0132_voicefx_set() argument
5333 ca0132_effects_set(struct hda_codec * codec,hda_nid_t nid,long val) ca0132_effects_set() argument
5424 ca0132_pe_switch_set(struct hda_codec * codec) ca0132_pe_switch_set() argument
5446 stop_mic1(struct hda_codec * codec) stop_mic1() argument
5459 resume_mic1(struct hda_codec * codec,unsigned int oldval) resume_mic1() argument
5472 ca0132_cvoice_switch_set(struct hda_codec * codec) ca0132_cvoice_switch_set() argument
5501 ca0132_mic_boost_set(struct hda_codec * codec,long val) ca0132_mic_boost_set() argument
5516 ca0132_alt_mic_boost_set(struct hda_codec * codec,long val) ca0132_alt_mic_boost_set() argument
5526 ae5_headphone_gain_set(struct hda_codec * codec,long val) ae5_headphone_gain_set() argument
5540 zxr_headphone_gain_set(struct hda_codec * codec,long val) zxr_headphone_gain_set() argument
5550 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_vnode_switch_set() local
5611 ca0132_alt_bass_redirection_xover_set(struct hda_codec * codec,long idx) ca0132_alt_bass_redirection_xover_set() argument
5631 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
5673 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_ctl_get() local
5689 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_slider_ctl_get() local
5732 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_put() local
5762 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_effect_slider_put() local
5809 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_get() local
5819 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_put() local
5863 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_get() local
5873 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_put() local
5916 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_get() local
5926 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_put() local
5966 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_get() local
5976 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_put() local
6018 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_get() local
6028 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_put() local
6069 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_get() local
6079 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_put() local
6122 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_get() local
6132 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_put() local
6186 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_get() local
6196 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_put() local
6243 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_get() local
6253 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_put() local
6288 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_get() local
6340 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_put() local
6441 ca0132_alt_dsp_volume_put(struct hda_codec * codec,hda_nid_t nid) ca0132_alt_dsp_volume_put() argument
6474 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_info() local
6512 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_get() local
6533 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_put() local
6580 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_volume_put() local
6620 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_tlv() local
6656 ca0132_alt_add_effect_slider(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) ca0132_alt_add_effect_slider() argument
6691 add_fx_switch(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) add_fx_switch() argument
6710 add_voicefx(struct hda_codec * codec) add_voicefx() argument
6722 add_ca0132_alt_eq_presets(struct hda_codec * codec) add_ca0132_alt_eq_presets() argument
6739 ca0132_alt_add_svm_enum(struct hda_codec * codec) ca0132_alt_add_svm_enum() argument
6756 ca0132_alt_add_output_enum(struct hda_codec * codec) ca0132_alt_add_output_enum() argument
6773 ca0132_alt_add_speaker_channel_cfg_enum(struct hda_codec * codec) ca0132_alt_add_speaker_channel_cfg_enum() argument
6790 ca0132_alt_add_front_full_range_switch(struct hda_codec * codec) ca0132_alt_add_front_full_range_switch() argument
6800 ca0132_alt_add_rear_full_range_switch(struct hda_codec * codec) ca0132_alt_add_rear_full_range_switch() argument
6816 ca0132_alt_add_bass_redirection_crossover(struct hda_codec * codec) ca0132_alt_add_bass_redirection_crossover() argument
6832 ca0132_alt_add_bass_redirection_switch(struct hda_codec * codec) ca0132_alt_add_bass_redirection_switch() argument
6848 ca0132_alt_add_input_enum(struct hda_codec * codec) ca0132_alt_add_input_enum() argument
6864 ca0132_alt_add_mic_boost_enum(struct hda_codec * codec) ca0132_alt_add_mic_boost_enum() argument
6882 ae5_add_headphone_gain_enum(struct hda_codec * codec) ae5_add_headphone_gain_enum() argument
6899 ae5_add_sound_filter_enum(struct hda_codec * codec) ae5_add_sound_filter_enum() argument
6911 zxr_add_headphone_gain_switch(struct hda_codec * codec) zxr_add_headphone_gain_switch() argument
6948 ca0132_alt_add_chmap_ctls(struct hda_codec * codec) ca0132_alt_add_chmap_ctls() argument
7041 ca0132_build_controls(struct hda_codec * codec) ca0132_build_controls() argument
7228 dbpro_build_controls(struct hda_codec * codec) dbpro_build_controls() argument
7292 ca0132_build_pcms(struct hda_codec * codec) ca0132_build_pcms() argument
7352 dbpro_build_pcms(struct hda_codec * codec) dbpro_build_pcms() argument
7386 init_output(struct hda_codec * codec,hda_nid_t pin,hda_nid_t dac) init_output() argument
7400 init_input(struct hda_codec * codec,hda_nid_t pin,hda_nid_t adc) init_input() argument
7421 refresh_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir) refresh_amp_caps() argument
7433 ca0132_set_dmic(struct hda_codec * codec,int enable) ca0132_set_dmic() argument
7477 ca0132_init_dmic(struct hda_codec * codec) ca0132_init_dmic() argument
7525 ca0132_init_analog_mic2(struct hda_codec * codec) ca0132_init_analog_mic2() argument
7537 ca0132_refresh_widget_caps(struct hda_codec * codec) ca0132_refresh_widget_caps() argument
7559 ca0132_alt_free_active_dma_channels(struct hda_codec * codec) ca0132_alt_free_active_dma_channels() argument
7614 ca0132_alt_start_dsp_audio_streams(struct hda_codec * codec) ca0132_alt_start_dsp_audio_streams() argument
7704 chipio_remap_stream(struct hda_codec * codec,const struct chipio_stream_remap_data * remap_data) chipio_remap_stream() argument
7771 ca0132_alt_init_speaker_tuning(struct hda_codec * codec) ca0132_alt_init_speaker_tuning() argument
7815 ca0132_alt_init_analog_mics(struct hda_codec * codec) ca0132_alt_init_analog_mics() argument
7845 sbz_connect_streams(struct hda_codec * codec) sbz_connect_streams() argument
7874 sbz_chipio_startup_data(struct hda_codec * codec) sbz_chipio_startup_data() argument
7907 ca0132_alt_dsp_initial_mic_setup(struct hda_codec * codec) ca0132_alt_dsp_initial_mic_setup() argument
7938 ae5_post_dsp_register_set(struct hda_codec * codec) ae5_post_dsp_register_set() argument
7963 ae5_post_dsp_param_setup(struct hda_codec * codec) ae5_post_dsp_param_setup() argument
7983 ae5_post_dsp_pll_setup(struct hda_codec * codec) ae5_post_dsp_pll_setup() argument
7992 ae5_post_dsp_stream_setup(struct hda_codec * codec) ae5_post_dsp_stream_setup() argument
8018 ae5_post_dsp_startup_data(struct hda_codec * codec) ae5_post_dsp_startup_data() argument
8050 ae7_post_dsp_setup_ports(struct hda_codec * codec) ae7_post_dsp_setup_ports() argument
8071 ae7_post_dsp_asi_stream_setup(struct hda_codec * codec) ae7_post_dsp_asi_stream_setup() argument
8094 ae7_post_dsp_pll_setup(struct hda_codec * codec) ae7_post_dsp_pll_setup() argument
8108 ae7_post_dsp_asi_setup_ports(struct hda_codec * codec) ae7_post_dsp_asi_setup_ports() argument
8190 ae7_post_dsp_asi_setup(struct hda_codec * codec) ae7_post_dsp_asi_setup() argument
8219 ca0132_setup_defaults(struct hda_codec * codec) ca0132_setup_defaults() argument
8264 r3d_setup_defaults(struct hda_codec * codec) r3d_setup_defaults() argument
8314 sbz_setup_defaults(struct hda_codec * codec) sbz_setup_defaults() argument
8368 ae5_setup_defaults(struct hda_codec * codec) ae5_setup_defaults() argument
8433 ae7_setup_defaults(struct hda_codec * codec) ae7_setup_defaults() argument
8516 ca0132_init_flags(struct hda_codec * codec) ca0132_init_flags() argument
8549 ca0132_init_params(struct hda_codec * codec) ca0132_init_params() argument
8565 ca0132_set_dsp_msr(struct hda_codec * codec,bool is96k) ca0132_set_dsp_msr() argument
8579 ca0132_download_dsp_images(struct hda_codec * codec) ca0132_download_dsp_images() argument
8635 ca0132_download_dsp(struct hda_codec * codec) ca0132_download_dsp() argument
8661 ca0132_process_dsp_response(struct hda_codec * codec,struct hda_jack_callback * callback) ca0132_process_dsp_response() argument
8677 hp_callback(struct hda_codec * codec,struct hda_jack_callback * cb) hp_callback() argument
8691 amic_callback(struct hda_codec * codec,struct hda_jack_callback * cb) amic_callback() argument
8701 ca0132_setup_unsol(struct hda_codec * codec) ca0132_setup_unsol() argument
8790 ca0132_init_chip(struct hda_codec * codec) ca0132_init_chip() argument
8875 r3di_gpio_shutdown(struct hda_codec * codec) r3di_gpio_shutdown() argument
8883 sbz_region2_exit(struct hda_codec * codec) sbz_region2_exit() argument
8900 sbz_set_pin_ctl_default(struct hda_codec * codec) sbz_set_pin_ctl_default() argument
8913 ca0132_clear_unsolicited(struct hda_codec * codec) ca0132_clear_unsolicited() argument
8925 sbz_gpio_shutdown_commands(struct hda_codec * codec,int dir,int mask,int data) sbz_gpio_shutdown_commands() argument
8940 zxr_dbpro_power_state_shutdown(struct hda_codec * codec) zxr_dbpro_power_state_shutdown() argument
8950 sbz_exit_chip(struct hda_codec * codec) sbz_exit_chip() argument
8985 r3d_exit_chip(struct hda_codec * codec) r3d_exit_chip() argument
8992 ae5_exit_chip(struct hda_codec * codec) ae5_exit_chip() argument
9017 ae7_exit_chip(struct hda_codec * codec) ae7_exit_chip() argument
9043 zxr_exit_chip(struct hda_codec * codec) zxr_exit_chip() argument
9073 ca0132_exit_chip(struct hda_codec * codec) ca0132_exit_chip() argument
9089 sbz_dsp_startup_check(struct hda_codec * codec) sbz_dsp_startup_check() argument
9154 ca0132_alt_vol_setup(struct hda_codec * codec) ca0132_alt_vol_setup() argument
9169 sbz_pre_dsp_setup(struct hda_codec * codec) sbz_pre_dsp_setup() argument
9182 r3d_pre_dsp_setup(struct hda_codec * codec) r3d_pre_dsp_setup() argument
9192 r3di_pre_dsp_setup(struct hda_codec * codec) r3di_pre_dsp_setup() argument
9209 zxr_pre_dsp_setup(struct hda_codec * codec) zxr_pre_dsp_setup() argument
9282 ca0132_mmio_init_sbz(struct hda_codec * codec) ca0132_mmio_init_sbz() argument
9332 ca0132_mmio_init_ae5(struct hda_codec * codec) ca0132_mmio_init_ae5() argument
9364 ca0132_mmio_init(struct hda_codec * codec) ca0132_mmio_init() argument
9397 ae5_register_set(struct hda_codec * codec) ae5_register_set() argument
9456 ca0132_alt_init(struct hda_codec * codec) ca0132_alt_init() argument
9513 ca0132_init(struct hda_codec * codec) ca0132_init() argument
9634 dbpro_init(struct hda_codec * codec) dbpro_init() argument
9649 ca0132_free(struct hda_codec * codec) ca0132_free() argument
9690 dbpro_free(struct hda_codec * codec) dbpro_free() argument
9700 ca0132_config(struct hda_codec * codec) ca0132_config() argument
9900 ca0132_prepare_verbs(struct hda_codec * codec) ca0132_prepare_verbs() argument
9949 sbz_detect_quirk(struct hda_codec * codec) sbz_detect_quirk() argument
9964 ca0132_codec_remove(struct hda_codec * codec) ca0132_codec_remove() argument
9974 ca0132_codec_probe(struct hda_codec * codec,const struct hda_device_id * id) ca0132_codec_probe() argument
10092 ca0132_codec_build_controls(struct hda_codec * codec) ca0132_codec_build_controls() argument
10102 ca0132_codec_build_pcms(struct hda_codec * codec) ca0132_codec_build_pcms() argument
10112 ca0132_codec_init(struct hda_codec * codec) ca0132_codec_init() argument
10122 ca0132_codec_suspend(struct hda_codec * codec) ca0132_codec_suspend() argument
[all...]
H A Dgeneric.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Generic BIOS auto-parser helper functions for HD-audio
16 /* table entry for multi-io paths */
18 hda_nid_t pin; /* multi-io widget pin NID */
20 unsigned int ctl_in; /* cached input-pin control value */
25 * For output, stored in the order of DAC -> ... -> pin,
26 * for input, pin -> ... -> ADC.
30 * multi[] indicates whether it's a selector widget with multi-connectors
56 /* mic/line-in auto switching entry */
58 #define MAX_AUTO_MIC_PINS 3
[all …]
H A Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct
39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
41 snd_array_init(&spec->loopback_lis in snd_hda_gen_spec_init()
105 parse_user_hints(struct hda_codec * codec) parse_user_hints() argument
205 update_pin_ctl(codec,pin,val) global() argument
210 restore_pin_ctl(struct hda_codec * codec,hda_nid_t pin) restore_pin_ctl() argument
216 set_pin_target(struct hda_codec * codec,hda_nid_t pin,unsigned int val,bool do_write) set_pin_target() argument
228 set_pin_targets(struct hda_codec * codec,int num_pins,hda_nid_t * pins,unsigned int val) set_pin_targets() argument
256 get_nid_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid) get_nid_path() argument
287 snd_hda_get_path_idx(struct hda_codec * codec,struct nid_path * path) snd_hda_get_path_idx() argument
308 snd_hda_get_path_from_idx(struct hda_codec * codec,int idx) snd_hda_get_path_from_idx() argument
319 is_dac_already_used(struct hda_codec * codec,hda_nid_t nid) is_dac_already_used() argument
333 is_reachable_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid) is_reachable_path() argument
345 is_ctl_used(struct hda_codec * codec,unsigned int val,int type) is_ctl_used() argument
360 is_ctl_associated(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int type) is_ctl_associated() argument
367 print_nid_path(struct hda_codec * codec,const char * pfx,struct nid_path * path) print_nid_path() argument
384 __parse_nid_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid,struct nid_path * path,int depth) __parse_nid_path() argument
454 snd_hda_parse_nid_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid,struct nid_path * path) snd_hda_parse_nid_path() argument
477 snd_hda_add_new_path(struct hda_codec * codec,hda_nid_t from_nid,hda_nid_t to_nid,int anchor_nid) snd_hda_add_new_path() argument
504 invalidate_nid_path(struct hda_codec * codec,int idx) invalidate_nid_path() argument
513 get_preferred_dac(struct hda_codec * codec,hda_nid_t pin) get_preferred_dac() argument
527 look_for_dac(struct hda_codec * codec,hda_nid_t pin,bool is_digital) look_for_dac() argument
555 same_amp_caps(struct hda_codec * codec,hda_nid_t nid1,hda_nid_t nid2,int dir) same_amp_caps() argument
565 look_for_out_mute_nid(struct hda_codec * codec,struct nid_path * path) look_for_out_mute_nid() argument
581 look_for_out_vol_nid(struct hda_codec * codec,struct nid_path * path) look_for_out_vol_nid() argument
602 has_amp_in(struct hda_codec * codec,struct nid_path * path,int idx) has_amp_in() argument
616 has_amp_out(struct hda_codec * codec,struct nid_path * path,int idx) has_amp_out() argument
630 is_active_nid(struct hda_codec * codec,hda_nid_t nid,unsigned int dir,unsigned int idx) is_active_nid() argument
665 is_active_nid_for_any(codec,nid) global() argument
669 get_amp_val_to_activate(struct hda_codec * codec,hda_nid_t nid,int dir,unsigned int caps,bool enable) get_amp_val_to_activate() argument
687 is_stereo_amps(struct hda_codec * codec,hda_nid_t nid,int dir) is_stereo_amps() argument
704 init_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx) init_amp() argument
716 update_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,unsigned int mask,unsigned int val) update_amp() argument
730 get_amp_mask_to_modify(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,unsigned int caps) get_amp_mask_to_modify() argument
748 activate_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int idx_to_check,bool enable) activate_amp() argument
764 check_and_activate_amp(struct hda_codec * codec,hda_nid_t nid,int dir,int idx,int idx_to_check,bool enable) check_and_activate_amp() argument
774 activate_amp_out(struct hda_codec * codec,struct nid_path * path,int i,bool enable) activate_amp_out() argument
782 activate_amp_in(struct hda_codec * codec,struct nid_path * path,int i,bool enable,bool add_aamix) activate_amp_in() argument
823 path_power_update(struct hda_codec * codec,struct nid_path * path,bool allow_powerdown) path_power_update() argument
862 sync_power_state_change(struct hda_codec * codec,hda_nid_t nid) sync_power_state_change() argument
879 snd_hda_activate_path(struct hda_codec * codec,struct nid_path * path,bool enable,bool add_aamix) snd_hda_activate_path() argument
907 path_power_down_sync(struct hda_codec * codec,struct nid_path * path) path_power_down_sync() argument
917 set_pin_eapd(struct hda_codec * codec,hda_nid_t pin,bool enable) set_pin_eapd() argument
933 resume_path_from_idx(struct hda_codec * codec,int path_idx) resume_path_from_idx() argument
1020 add_vol_ctl(struct hda_codec * codec,const char * pfx,int cidx,unsigned int chs,struct nid_path * path) add_vol_ctl() argument
1034 get_default_ch_nums(struct hda_codec * codec,struct nid_path * path,int type) get_default_ch_nums() argument
1046 add_stereo_vol(struct hda_codec * codec,const char * pfx,int cidx,struct nid_path * path) add_stereo_vol() argument
1056 add_sw_ctl(struct hda_codec * codec,const char * pfx,int cidx,unsigned int chs,struct nid_path * path) add_sw_ctl() argument
1079 add_stereo_sw(struct hda_codec * codec,const char * pfx,int cidx,struct nid_path * path) add_stereo_sw() argument
1090 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); sync_auto_mute_bits() local
1117 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_get() local
1133 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_put() local
1156 path_has_mixer(struct hda_codec * codec,int path_idx,int ctl_type) path_has_mixer() argument
1167 get_line_out_pfx(struct hda_codec * codec,int ch,int * index,int ctl_type) get_line_out_pfx() argument
1285 assign_out_path_ctls(struct hda_codec * codec,struct nid_path * path) assign_out_path_ctls() argument
1348 get_primary_out(struct hda_codec * codec,int idx) get_primary_out() argument
1362 try_dac(struct hda_codec * codec,hda_nid_t dac,hda_nid_t pin) try_dac() argument
1369 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
1461 get_dac_if_single(struct hda_codec * codec,hda_nid_t pin) get_dac_if_single() argument
1481 can_be_multiio_pin(struct hda_codec * codec,unsigned int location,hda_nid_t nid) can_be_multiio_pin() argument
1498 count_multiio_pins(struct hda_codec * codec,hda_nid_t reference_pin) count_multiio_pins() argument
1527 fill_multi_ios(struct hda_codec * codec,hda_nid_t reference_pin,bool hardwired) fill_multi_ios() argument
1613 map_singles(struct hda_codec * codec,int outs,const hda_nid_t * pins,hda_nid_t * dacs,int * path_idx) map_singles() argument
1649 check_aamix_out_path(struct hda_codec * codec,int path_idx) check_aamix_out_path() argument
1685 indep_hp_possible(struct hda_codec * codec) indep_hp_possible() argument
1724 refill_shared_dacs(struct hda_codec * codec,int num_outs,hda_nid_t * dacs,int * path_idx) refill_shared_dacs() argument
1741 fill_and_eval_dacs(struct hda_codec * codec,bool fill_hardwired,bool fill_mio_first) fill_and_eval_dacs() argument
1904 print_nid_path_idx(struct hda_codec * codec,const char * pfx,int idx) print_nid_path_idx() argument
1914 debug_show_configs(struct hda_codec * codec,struct auto_pin_cfg * cfg) debug_show_configs() argument
1963 debug_show_configs(codec,cfg) global() argument
1967 fill_all_dac_nids(struct hda_codec * codec) fill_all_dac_nids() argument
1985 parse_output_paths(struct hda_codec * codec) parse_output_paths() argument
2106 create_multi_out_ctls(struct hda_codec * codec,const struct auto_pin_cfg * cfg) create_multi_out_ctls() argument
2157 create_extra_out(struct hda_codec * codec,int path_idx,const char * pfx,int cidx) create_extra_out() argument
2176 create_extra_outs(struct hda_codec * codec,int num_pins,const int * paths,const char * pfx) create_extra_outs() argument
2203 create_hp_out_ctls(struct hda_codec * codec) create_hp_out_ctls() argument
2211 create_speaker_out_ctls(struct hda_codec * codec) create_speaker_out_ctls() argument
2234 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_get() local
2247 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_put() local
2302 create_indep_hp_ctls(struct hda_codec * codec) create_indep_hp_ctls() argument
2332 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_info() local
2349 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_get() local
2357 get_multiio_path(struct hda_codec * codec,int idx) get_multiio_path() argument
2374 set_multi_io(struct hda_codec * codec,int idx,bool output) set_multi_io() argument
2407 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_put() local
2434 create_multi_channel_mode(struct hda_codec * codec) create_multi_channel_mode() argument
2454 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_get() local
2460 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
2491 update_output_paths(struct hda_codec * codec,int num_outs,const int * paths) update_output_paths() argument
2509 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_put() local
2546 create_loopback_mixing_ctl(struct hda_codec * codec) create_loopback_mixing_ctl() argument
2565 update_hp_mic(struct hda_codec * codec,int adc_mux,bool force) update_hp_mic() argument
2609 create_hp_mic(struct hda_codec * codec) create_hp_mic() argument
2677 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_get() local
2689 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_put() local
2707 find_kctl_name(struct hda_codec * codec,const char * name,int idx) find_kctl_name() argument
2720 get_jack_mode_name(struct hda_codec * codec,hda_nid_t pin,char * name,size_t name_len) get_jack_mode_name() argument
2733 get_out_jack_num_items(struct hda_codec * codec,hda_nid_t pin) get_out_jack_num_items() argument
2744 create_out_jack_modes(struct hda_codec * codec,int num_pins,hda_nid_t * pins) create_out_jack_modes() argument
2781 get_vref_caps(struct hda_codec * codec,hda_nid_t pin) get_vref_caps() argument
2824 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_info() local
2839 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_get() local
2852 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_put() local
2875 get_in_jack_num_items(struct hda_codec * codec,hda_nid_t pin) get_in_jack_num_items() argument
2884 create_in_jack_mode(struct hda_codec * codec,hda_nid_t pin) create_in_jack_mode() argument
2917 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_info() local
2948 get_cur_hp_mic_jack_mode(struct hda_codec * codec,hda_nid_t nid) get_cur_hp_mic_jack_mode() argument
2972 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_get() local
2982 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_put() local
3021 create_hp_mic_jack_mode(struct hda_codec * codec,hda_nid_t pin) create_hp_mic_jack_mode() argument
3057 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
3093 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
3149 is_input_pin(struct hda_codec * codec,hda_nid_t nid) is_input_pin() argument
3156 fill_adc_nids(struct hda_codec * codec) fill_adc_nids() argument
3186 check_dyn_adc_switch(struct hda_codec * codec) check_dyn_adc_switch() argument
3254 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
3296 fill_input_pin_labels(struct hda_codec * codec) fill_input_pin_labels() argument
3329 create_input_ctls(struct hda_codec * codec) create_input_ctls() argument
3402 get_input_path(struct hda_codec * codec,int adc_idx,int imux_idx) get_input_path() argument
3424 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_info() local
3432 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_get() local
3444 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_put() local
3470 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_put_caller() local
3544 parse_capvol_in_path(struct hda_codec * codec,struct nid_path * path) parse_capvol_in_path() argument
3583 is_inv_dmic_pin(struct hda_codec * codec,hda_nid_t nid) is_inv_dmic_pin() argument
3607 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_single_sw_put() local
3621 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
3673 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
3688 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
3716 get_first_cap_ctl(struct hda_codec * codec,int idx,int type) get_first_cap_ctl() argument
3737 create_multi_cap_vol_ctl(struct hda_codec * codec) create_multi_cap_vol_ctl() argument
3766 create_capture_mixers(struct hda_codec * codec) create_capture_mixers() argument
3839 check_boost_vol(struct hda_codec * codec,hda_nid_t nid,int dir,int idx) check_boost_vol() argument
3857 look_for_boost_amp(struct hda_codec * codec,struct nid_path * path) look_for_boost_amp() argument
3882 parse_mic_boost(struct hda_codec * codec) parse_mic_boost() argument
3931 create_mute_led_cdev(struct hda_codec * codec,int (* callback)(struct led_classdev *,enum led_brightness),bool micmute) create_mute_led_cdev() argument
3963 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
4000 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
4024 parse_digital(struct hda_codec * codec) parse_digital() argument
4088 mux_select(struct hda_codec * codec,unsigned int adc_idx,unsigned int idx) mux_select() argument
4135 set_path_power(struct hda_codec * codec,hda_nid_t nid,int pin_state,int stream_state) set_path_power() argument
4167 detect_pin_state(struct hda_codec * codec,hda_nid_t pin) detect_pin_state() argument
4180 set_pin_power_jack(struct hda_codec * codec,hda_nid_t pin,int power) set_pin_power_jack() argument
4195 pin_power_callback(struct hda_codec * codec,struct hda_jack_callback * jack,bool on) pin_power_callback() argument
4205 pin_power_up_callback(struct hda_codec * codec,struct hda_jack_callback * jack) pin_power_up_callback() argument
4212 pin_power_down_callback(struct hda_codec * codec,struct hda_jack_callback * jack) pin_power_down_callback() argument
4219 add_pin_power_ctls(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) add_pin_power_ctls() argument
4237 add_all_pin_power_ctls(struct hda_codec * codec,bool on) add_all_pin_power_ctls() argument
4255 sync_pin_power_ctls(struct hda_codec * codec,int num_pins,const hda_nid_t * pins) sync_pin_power_ctls() argument
4266 sync_all_pin_power_ctls(struct hda_codec * codec) sync_all_pin_power_ctls() argument
4284 add_fake_paths(struct hda_codec * codec,hda_nid_t nid,int num_pins,const hda_nid_t * pins) add_fake_paths() argument
4309 add_fake_beep_paths(struct hda_codec * codec) add_fake_beep_paths() argument
4346 snd_hda_gen_fix_pin_power(struct hda_codec * codec,hda_nid_t pin) snd_hda_gen_fix_pin_power() argument
4369 detect_jacks(struct hda_codec * codec,int num_pins,const hda_nid_t * pins) detect_jacks() argument
4388 do_automute(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,int * paths,bool mute) do_automute() argument
4453 snd_hda_gen_update_outputs(struct hda_codec * codec) snd_hda_gen_update_outputs() argument
4500 call_update_outputs(struct hda_codec * codec) call_update_outputs() argument
4518 snd_hda_gen_hp_automute(struct hda_codec * codec,struct hda_jack_callback * jack) snd_hda_gen_hp_automute() argument
4543 snd_hda_gen_line_automute(struct hda_codec * codec,struct hda_jack_callback * jack) snd_hda_gen_line_automute() argument
4568 snd_hda_gen_mic_autoswitch(struct hda_codec * codec,struct hda_jack_callback * jack) snd_hda_gen_mic_autoswitch() argument
4592 call_hp_automute(struct hda_codec * codec,struct hda_jack_callback * jack) call_hp_automute() argument
4602 call_line_automute(struct hda_codec * codec,struct hda_jack_callback * jack) call_line_automute() argument
4612 call_mic_autoswitch(struct hda_codec * codec,struct hda_jack_callback * jack) call_mic_autoswitch() argument
4623 update_automute_all(struct hda_codec * codec) update_automute_all() argument
4636 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_info() local
4650 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_get() local
4665 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_put() local
4711 add_automute_mode_enum(struct hda_codec * codec) add_automute_mode_enum() argument
4724 check_auto_mute_availability(struct hda_codec * codec) check_auto_mute_availability() argument
4797 auto_mic_check_imux(struct hda_codec * codec) auto_mic_check_imux() argument
4831 check_auto_mic_availability(struct hda_codec * codec) check_auto_mic_availability() argument
4906 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
4925 mute_all_mixer_nid(struct hda_codec * codec,hda_nid_t mix) mute_all_mixer_nid() argument
4951 snd_hda_gen_stream_pm(struct hda_codec * codec,hda_nid_t nid,bool on) snd_hda_gen_stream_pm() argument
4959 force_mute_output_path(struct hda_codec * codec,hda_nid_t nid) force_mute_output_path() argument
4988 snd_hda_gen_shutup_speakers(struct hda_codec * codec) snd_hda_gen_shutup_speakers() argument
5030 snd_hda_gen_parse_auto_config(struct hda_codec * codec,struct auto_pin_cfg * cfg) snd_hda_gen_parse_auto_config() argument
5233 snd_hda_gen_build_controls(struct hda_codec * codec) snd_hda_gen_build_controls() argument
5306 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
5316 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
5329 playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) playback_pcm_open() argument
5349 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
5366 playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) playback_pcm_cleanup() argument
5380 playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) playback_pcm_close() argument
5393 capture_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) capture_pcm_open() argument
5401 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
5413 capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) capture_pcm_cleanup() argument
5423 capture_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) capture_pcm_close() argument
5431 alt_playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_playback_pcm_open() argument
5449 alt_playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_playback_pcm_close() argument
5462 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
5474 alt_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_playback_pcm_cleanup() argument
5487 dig_playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dig_playback_pcm_open() argument
5495 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
5506 dig_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dig_playback_pcm_cleanup() argument
5514 dig_playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) dig_playback_pcm_close() argument
5528 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
5543 alt_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) alt_capture_pcm_cleanup() argument
5639 dyn_adc_pcm_resetup(struct hda_codec * codec,int cur) dyn_adc_pcm_resetup() argument
5658 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
5673 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
5746 snd_hda_gen_build_pcms(struct hda_codec * codec) snd_hda_gen_build_pcms() argument
5860 set_output_and_unmute(struct hda_codec * codec,int path_idx) set_output_and_unmute() argument
5876 init_multi_out(struct hda_codec * codec) init_multi_out() argument
5886 __init_extra_out(struct hda_codec * codec,int num_outs,int * paths) __init_extra_out() argument
5895 init_extra_out(struct hda_codec * codec) init_extra_out() argument
5907 init_multi_io(struct hda_codec * codec) init_multi_io() argument
5926 init_aamix_paths(struct hda_codec * codec) init_aamix_paths() argument
5946 init_analog_input(struct hda_codec * codec) init_analog_input() argument
5966 init_input_src(struct hda_codec * codec) init_input_src() argument
5997 init_digital(struct hda_codec * codec) init_digital() argument
6015 clear_unsol_on_unused_pins(struct hda_codec * codec) clear_unsol_on_unused_pins() argument
6035 snd_hda_gen_init(struct hda_codec * codec) snd_hda_gen_init() argument
6076 snd_hda_gen_remove(struct hda_codec * codec) snd_hda_gen_remove() argument
6092 snd_hda_gen_check_power_status(struct hda_codec * codec,hda_nid_t nid) snd_hda_gen_check_power_status() argument
6104 snd_hda_gen_probe(struct hda_codec * codec,const struct hda_device_id * id) snd_hda_gen_probe() argument
[all...]
/linux/sound/hda/codecs/hdmi/
H A Dintelhdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Intel HDMI codec support
34 #define INTEL_EN_ALL_PIN_CVTS 0x01 /* enable 2nd & 3rd pins and convertors */
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()
44 if (vendor_param == -1 || vendor_param & INTEL_EN_ALL_PIN_CVTS) in intel_haswell_enable_all_pins()
48 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins()
50 if (vendor_param == -1) in intel_haswell_enable_all_pins()
54 snd_hda_codec_update_widgets(codec); in intel_haswell_enable_all_pins()
[all …]
H A Datihdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ATI/AMD codec support
17 #define is_amdhdmi_rev3_or_later(codec) \ argument
18 ((codec)->core.vendor_id == 0x1002aa01 && \
19 ((codec)->core.revision_id & 0xff00) >= 0x0300)
20 #define has_amd_full_remap_support(codec) is_amdhdmi_rev3_or_later(codec) argument
87 ATI_INFO_IDX_PORT_ID_LOW = 3,
93 static int get_eld_ati(struct hda_codec *codec, hda_nid_t nid, in get_eld_ati() argument
102 spkalloc = snd_hda_codec_read(codec, nid, 0, ATI_VERB_GET_SPEAKER_ALLOCATION, 0); in get_eld_ati()
105 codec_info(codec, "HDMI ATI/AMD: no speaker allocation for ELD\n"); in get_eld_ati()
[all …]
H A Dhdmi_local.h1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD-audio HDMI codec driver
41 struct hda_codec *codec; member
45 struct hdmi_pcm *pcm; /* pointer to spec->pcm_rec[n] dynamically*/
46 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */
53 bool chmap_set; /* channel-map override by ALSA API? */
54 unsigned char chmap[8]; /* ALSA API channel-map */
60 /* operations used by generic code that can be overridden by codec drivers */
62 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid,
65 void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid,
[all …]
/linux/sound/hda/common/
H A Dhda_local.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Universal Interface for Intel High Definition Audio Codec
17 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID.
47 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0)
53 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction)
56 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \
68 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, 3, xindex, direction)
74 HDA_CODEC_MUTE_MONO(xname, nid, 3, xindex, direction)
85 /* no digital beep - just the standard one */
94 HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction)
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,wcd939x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm WCD9380/WCD9385 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC.
15 The WCD9390/WCD9395 IC has a functionally separate USB-C Mux subsystem
17 The Audio Headphone and Microphone data path between the Codec and the USB-C Mux
18 subsystems are external to the IC, thus requiring DT port-endpoint graph description
19 to handle USB-C altmode & orientation switching for Audio Accessory Mode.
[all …]
H A Dqcom,wcd937x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm WCD9370/WCD9375 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC.
17 - $ref: dai-common.yaml#
18 - $ref: qcom,wcd93xx-common.yaml#
23 - const: qcom,wcd9370-codec
24 - items:
[all …]
H A Dqcom,wcd938x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm WCD9380/WCD9385 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC.
17 - $ref: dai-common.yaml#
18 - $ref: qcom,wcd93xx-common.yaml#
23 - qcom,wcd9380-codec
24 - qcom,wcd9385-codec
[all …]
H A Damlogic,axg-sound-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <jbrunet@baylibre.com>
13 - $ref: sound-card-common.yaml#
17 const: amlogic,axg-sound-card
19 audio-aux-devs:
20 $ref: /schemas/types.yaml#/definitions/phandle-array
23 audio-widgets:
[all …]
H A Drockchip,rk3308-codec.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,rk3308-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip RK3308 Internal Codec
10 This is the audio codec embedded in the Rockchip RK3308
11 SoC. It has 8 24-bit ADCs and 2 24-bit DACs. The maximum supported
17 The RK3308 audio codec has 8 independent capture channels, but some
19 * grp 0 -- MIC1 / MIC2
20 * grp 1 -- MIC3 / MIC4
[all …]
/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define POCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
14 #define PICR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
18 #define MCCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
32 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */
35 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */
43 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
48 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
55 #define GSR_BIT3SLT12 (1 << 14) /* Bit 3 of slot 12 */
60 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */
[all …]
/linux/sound/pci/ac97/
H A Dac97_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Universal interface for Audio Codec '97
33 /* 3&4 front, 7&8 rear, 6&9 center/lfe */
34 AC97_PCM_FRONT_DAC_RATE, /* slot 3 */
46 0xff, /* slot 3 */
57 /* 6&9 front, 10&11 rear, 3
443 struct snd_ac97 *codec; snd_ac97_pcm_assign() local
[all...]
/linux/sound/pci/
H A Dazt3328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case).
13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-12
335 snd_azf3328_codec_outb(const struct snd_azf3328_codec_data * codec,unsigned reg,u8 value) snd_azf3328_codec_outb() argument
344 snd_azf3328_codec_inb(const struct snd_azf3328_codec_data * codec,unsigned reg) snd_azf3328_codec_inb() argument
350 snd_azf3328_codec_outw(const struct snd_azf3328_codec_data * codec,unsigned reg,u16 value) snd_azf3328_codec_outw() argument
359 snd_azf3328_codec_inw(const struct snd_azf3328_codec_data * codec,unsigned reg) snd_azf3328_codec_inw() argument
365 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data * codec,unsigned reg,const void * buffer,int count) snd_azf3328_codec_outl_multi() argument
380 snd_azf3328_codec_inl(const struct snd_azf3328_codec_data * codec,unsigned reg) snd_azf3328_codec_inl() argument
1198 snd_azf3328_codec_setfmt(struct snd_azf3328_codec_data * codec,enum azf_freq_t bitrate,unsigned int format_width,unsigned int channels) snd_azf3328_codec_setfmt() argument
1274 snd_azf3328_codec_setfmt_lowpower(struct snd_azf3328_codec_data * codec) snd_azf3328_codec_setfmt_lowpower() argument
1318 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; snd_azf3328_ctrl_codec_activity() local
1363 snd_azf3328_codec_setdmaa(struct snd_azf3328 * chip,struct snd_azf3328_codec_data * codec,unsigned long addr,unsigned int period_bytes,unsigned int buffer_bytes) snd_azf3328_codec_setdmaa() argument
1420 struct snd_azf3328_codec_data *codec = runtime->private_data; snd_azf3328_pcm_prepare() local
1444 struct snd_azf3328_codec_data *codec = runtime->private_data; snd_azf3328_pcm_trigger() local
1599 const struct snd_azf3328_codec_data *codec = snd_azf3328_pcm_pointer() local
1856 const struct snd_azf3328_codec_data *codec = first_codec; snd_azf3328_pcm_interrupt() local
2010 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; snd_azf3328_pcm_open() local
2045 struct snd_azf3328_codec_data *codec = snd_azf3328_pcm_close() local
2401 struct snd_azf3328_codec_data *codec = snd_azf3328_create() local
[all...]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dlantiq,pef2256.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
20 - const: lantiq,pef2256
27 - description: Master Clock
28 - description: System Clock Receive
29 - description: System Clock Transmit
31 clock-names:
33 - const: mclk
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12a-u200.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-g12a.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
12 #include <dt-bindings/sound/meson-g12a-toacodec.h>
23 dioo2133: audio-amplifier-0 {
24 compatible = "simple-audio-amplifier";
25 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
[all …]
/linux/sound/hda/core/
H A Dbus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio core bus driver
24 * snd_hdac_bus_init - initialize a HD-audio bas bus
35 bus->dev = dev; in snd_hdac_bus_init()
37 bus->ops = ops; in snd_hdac_bus_init()
39 bus->op in snd_hdac_bus_init()
172 struct hdac_device *codec; snd_hdac_bus_process_unsol_events() local
206 snd_hdac_bus_add_device(struct hdac_bus * bus,struct hdac_device * codec) snd_hdac_bus_add_device() argument
227 snd_hdac_bus_remove_device(struct hdac_bus * bus,struct hdac_device * codec) snd_hdac_bus_remove_device() argument
269 snd_hdac_codec_link_up(struct hdac_device * codec) snd_hdac_codec_link_up() argument
280 snd_hdac_codec_link_down(struct hdac_device * codec) snd_hdac_codec_link_down() argument
[all...]
/linux/sound/pci/ali5451/
H A Dali5451.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * --
11 * --
21 #include <linux/dma-mappin
141 ALI_REG(codec,x) global() argument
180 struct snd_ali *codec; global() member
264 snd_ali_5451_peek(struct snd_ali * codec,unsigned int port) snd_ali_5451_peek() argument
270 snd_ali_5451_poke(struct snd_ali * codec,unsigned int port,unsigned int val) snd_ali_5451_poke() argument
277 snd_ali_codec_ready(struct snd_ali * codec,unsigned int port) snd_ali_codec_ready() argument
299 snd_ali_stimer_ready(struct snd_ali * codec) snd_ali_stimer_ready() argument
320 snd_ali_codec_poke(struct snd_ali * codec,int secondary,unsigned short reg,unsigned short val) snd_ali_codec_poke() argument
352 snd_ali_codec_peek(struct snd_ali * codec,int secondary,unsigned short reg) snd_ali_codec_peek() argument
391 struct snd_ali *codec = ac97->private_data; snd_ali_codec_write() local
407 struct snd_ali *codec = ac97->private_data; snd_ali_codec_read() local
417 snd_ali_reset_5451(struct snd_ali * codec) snd_ali_reset_5451() argument
458 snd_ali_enable_special_channel(struct snd_ali * codec,unsigned int channel) snd_ali_enable_special_channel() argument
468 snd_ali_disable_special_channel(struct snd_ali * codec,unsigned int channel) snd_ali_disable_special_channel() argument
478 snd_ali_enable_address_interrupt(struct snd_ali * codec) snd_ali_enable_address_interrupt() argument
488 snd_ali_disable_address_interrupt(struct snd_ali * codec) snd_ali_disable_address_interrupt() argument
498 snd_ali_disable_voice_irq(struct snd_ali * codec,unsigned int channel) snd_ali_disable_voice_irq() argument
512 snd_ali_alloc_pcm_channel(struct snd_ali * codec,int channel) snd_ali_alloc_pcm_channel() argument
531 snd_ali_find_free_channel(struct snd_ali * codec,int rec) snd_ali_find_free_channel() argument
580 snd_ali_free_channel_pcm(struct snd_ali * codec,int channel) snd_ali_free_channel_pcm() argument
600 snd_ali_stop_voice(struct snd_ali * codec,unsigned int channel) snd_ali_stop_voice() argument
612 snd_ali_delay(struct snd_ali * codec,int interval) snd_ali_delay() argument
627 snd_ali_detect_spdif_rate(struct snd_ali * codec) snd_ali_detect_spdif_rate() argument
683 snd_ali_get_spdif_in_rate(struct snd_ali * codec) snd_ali_get_spdif_in_rate() argument
708 snd_ali_enable_spdif_in(struct snd_ali * codec) snd_ali_enable_spdif_in() argument
723 snd_ali_disable_spdif_in(struct snd_ali * codec) snd_ali_disable_spdif_in() argument
735 snd_ali_set_spdif_out_rate(struct snd_ali * codec,unsigned int rate) snd_ali_set_spdif_out_rate() argument
758 snd_ali_enable_spdif_out(struct snd_ali * codec) snd_ali_enable_spdif_out() argument
791 snd_ali_enable_spdif_chnout(struct snd_ali * codec) snd_ali_enable_spdif_chnout() argument
809 snd_ali_disable_spdif_chnout(struct snd_ali * codec) snd_ali_disable_spdif_chnout() argument
820 snd_ali_disable_spdif_out(struct snd_ali * codec) snd_ali_disable_spdif_out() argument
830 snd_ali_update_ptr(struct snd_ali * codec,int channel) snd_ali_update_ptr() argument
880 struct snd_ali *codec = dev_id; snd_ali_card_interrupt() local
906 snd_ali_alloc_voice(struct snd_ali * codec,int type,int rec,int channel) snd_ali_alloc_voice() argument
936 snd_ali_free_voice(struct snd_ali * codec,struct snd_ali_voice * pvoice) snd_ali_free_voice() argument
961 snd_ali_clear_voices(struct snd_ali * codec,unsigned int v_min,unsigned int v_max) snd_ali_clear_voices() argument
973 snd_ali_write_voice_regs(struct snd_ali * codec,unsigned int Channel,unsigned int LBA,unsigned int CSO,unsigned int ESO,unsigned int DELTA,unsigned int ALPHA_FMS,unsigned int GVSEL,unsigned int PAN,unsigned int VOL,unsigned int CTRL,unsigned int EC) snd_ali_write_voice_regs() argument
1068 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_trigger() local
1132 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_params() local
1162 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_free() local
1176 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_prepare() local
1269 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_prepare() local
1358 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_pointer() local
1380 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_pointer() local
1457 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_open() local
1494 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_close() local
1615 struct snd_ali *codec = pcm->private_data; snd_ali_pcm_free() local
1620 snd_ali_pcm(struct snd_ali * codec,int device,struct ali_pcm_description * desc) snd_ali_pcm() argument
1669 snd_ali_build_pcms(struct snd_ali * codec) snd_ali_build_pcms() argument
1691 struct snd_ali *codec = snd_kcontrol_chip(kcontrol); snd_ali5451_spdif_get() local
1719 struct snd_ali *codec = snd_kcontrol_chip(kcontrol); snd_ali5451_spdif_put() local
1784 snd_ali_mixer(struct snd_ali * codec) snd_ali_mixer() argument
1904 struct snd_ali *codec = card->private_data; snd_ali_free() local
1912 snd_ali_chip_init(struct snd_ali * codec) snd_ali_chip_init() argument
1976 struct snd_ali *codec = entry->private_data; snd_ali_proc_read() local
1982 snd_ali_proc_init(struct snd_ali * codec) snd_ali_proc_init() argument
1987 snd_ali_resources(struct snd_ali * codec) snd_ali_resources() argument
2014 struct snd_ali *codec = card->private_data; snd_ali_create() local
2109 struct snd_ali *codec; __snd_ali_probe() local
[all...]

12345678910>>...41