Home
last modified time | relevance | path

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

12345678910>>...41

/linux/sound/pci/ali5451/
H A Dali5451.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * --
11 * --
21 #include <linux/dma-mapping.h>
94 #define ALI_SCTRL_LINE_IN2 (1 << 9)
95 #define ALI_SCTRL_GPIO_IN2 (1 << 13)
96 #define ALI_SCTRL_LINE_OUT_EN (1 << 20)
97 #define ALI_SCTRL_GPIO_OUT_EN (1 << 23)
98 #define ALI_SCTRL_CODEC1_READY (1 << 24)
99 #define ALI_SCTRL_CODEC2_READY (1 << 25)
[all …]
/linux/sound/hda/
H A Dhdac_device.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio codec core device
19 static void setup_fg_nodes(struct hdac_device *codec);
20 static int get_codec_vendor_name(struct hdac_device *codec);
28 * snd_hdac_device_init - initialize the HD-audio codec base device
29 * @codec: device to initialize
32 * @addr: codec address
41 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() argument
48 dev = &codec->dev; in snd_hdac_device_init()
50 dev->parent = bus->dev; in snd_hdac_device_init()
[all …]
H A Dhdac_regmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap support for HD-audio verbs
9 * - Provided for not all verbs but only subset standard non-volatile verbs.
10 * - For reading, only AC_VERB_GET_* variants can be used.
11 * - For writing, mapped to the *corresponding* AC_VERB_SET_* variants,
25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() argument
27 return snd_hdac_keep_power_up(codec); in codec_pm_lock()
30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() argument
32 if (lock == 1) in codec_pm_unlock()
33 snd_hdac_power_down_pm(codec); in codec_pm_unlock()
[all …]
H A Dhdac_bus.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->ops = &default_ops; in snd_hdac_bus_init()
40 bus->dma_type = SNDRV_DMA_TYPE_DEV; in snd_hdac_bus_init()
41 INIT_LIST_HEAD(&bus->stream_list); in snd_hdac_bus_init()
42 INIT_LIST_HEAD(&bus->codec_list); in snd_hdac_bus_init()
43 INIT_WORK(&bus->unsol_work, snd_hdac_bus_process_unsol_events); in snd_hdac_bus_init()
[all …]
/linux/include/sound/
H A Dhda_codec.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Universal Interface for Intel High Definition Audio Codec
32 * codec bus
51 unsigned int allow_bus_reset:1; /* allow bus reset at fatal error */
52 /* status for codec/controller */
53 unsigned int shutdown :1; /* being unloaded */
54 unsigned int response_reset:1; /* controller was reset */
55 unsigned int in_reset:1; /* during reset operation */
56 unsigned int no_response_fallback:1; /* don't fallback at RIRB error */
57 unsigned int bus_probing :1; /* during probing process */
[all …]
H A Dhda_regmap.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio regmap helpers
15 int snd_hdac_regmap_init(struct hdac_device *codec);
16 void snd_hdac_regmap_exit(struct hdac_device *codec);
17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec,
19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg,
21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec,
23 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg,
25 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg,
27 int snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg,
[all …]
/linux/sound/pci/hda/
H A Dhda_generic.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_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init()
42 mutex_init(&spec->pcm_mutex); in snd_hda_gen_spec_init()
48 * snd_hda_gen_add_kctl - Add a new kctl_new struct from the template
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
[all …]
H A Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
48 #define DSP_DMA_WRITE_BUFLEN_INIT (1UL<<18)
49 #define DSP_DMA_WRITE_BUFLEN_OVLY (1UL<<15)
71 #define SCP_GET 1
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3d
1135 struct hda_codec *codec; global() member
1515 codec_send_command(struct hda_codec * codec,hda_nid_t nid,unsigned int verb,unsigned int parm,unsigned int * res) codec_send_command() argument
1525 codec_set_converter_format(struct hda_codec * codec,hda_nid_t nid,unsigned short converter_format,unsigned int * res) codec_set_converter_format() argument
1532 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
1544 chipio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) chipio_send() argument
1566 chipio_write_address(struct hda_codec * codec,unsigned int chip_addx) chipio_write_address() argument
1593 chipio_write_data(struct hda_codec * codec,unsigned int data) chipio_write_data() argument
1617 chipio_write_data_multiple(struct hda_codec * codec,const u32 * data,unsigned int count) chipio_write_data_multiple() argument
1638 chipio_read_data(struct hda_codec * codec,unsigned int * data) chipio_read_data() argument
1669 chipio_write(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write() argument
1695 chipio_write_no_mutex(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write_no_mutex() argument
1718 chipio_write_multiple(struct hda_codec * codec,u32 chip_addx,const u32 * data,unsigned int count) chipio_write_multiple() argument
1742 chipio_read(struct hda_codec * codec,unsigned int chip_addx,unsigned int * data) chipio_read() argument
1767 chipio_set_control_flag(struct hda_codec * codec,enum control_flag_id flag_id,bool flag_state) chipio_set_control_flag() argument
1783 chipio_set_control_param(struct hda_codec * codec,enum control_param_id param_id,int param_val) chipio_set_control_param() argument
1810 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
1834 chipio_set_stream_source_dest(struct hda_codec * codec,int streamid,int source_point,int dest_point) chipio_set_stream_source_dest() argument
1848 chipio_set_stream_channels(struct hda_codec * codec,int streamid,unsigned int channels) chipio_set_stream_channels() argument
1860 chipio_set_stream_control(struct hda_codec * codec,int streamid,int enable) chipio_set_stream_control() argument
1872 chipio_get_stream_control(struct hda_codec * codec,int streamid,unsigned int * enable) chipio_get_stream_control() argument
1885 chipio_set_conn_rate_no_mutex(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate_no_mutex() argument
1897 chipio_set_conn_rate(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate() argument
1910 chipio_8051_write_direct(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_direct() argument
1927 chipio_8051_set_address(struct hda_codec * codec,unsigned int addr) chipio_8051_set_address() argument
1942 chipio_8051_set_data(struct hda_codec * codec,unsigned int data) chipio_8051_set_data() argument
1949 chipio_8051_get_data(struct hda_codec * codec) chipio_8051_get_data() argument
1956 chipio_8051_set_data_pll(struct hda_codec * codec,unsigned int data) chipio_8051_set_data_pll() argument
1963 chipio_8051_write_exram(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram() argument
1976 chipio_8051_write_exram_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram_no_mutex() argument
1984 chipio_8051_read_exram(struct hda_codec * codec,unsigned int addr,unsigned int * data) chipio_8051_read_exram() argument
1991 chipio_8051_write_pll_pmu(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu() argument
2004 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
2014 chipio_enable_clocks(struct hda_codec * codec) chipio_enable_clocks() argument
2030 dspio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) dspio_send() argument
2050 dspio_write_wait(struct hda_codec * codec) dspio_write_wait() argument
2068 dspio_write(struct hda_codec * codec,unsigned int scp_data) dspio_write() argument
2099 dspio_write_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int size) dspio_write_multiple() argument
2119 dspio_read(struct hda_codec * codec,unsigned int * data) dspio_read() argument
2138 dspio_read_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int * buf_size,unsigned int size_count) dspio_read_multiple() argument
2231 dspio_clear_response_queue(struct hda_codec * codec) dspio_clear_response_queue() argument
2243 dspio_get_response_data(struct hda_codec * codec) dspio_get_response_data() argument
2267 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
2357 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
2439 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
2446 dspio_set_uint_param(struct hda_codec * codec,int mod_id,int req,const unsigned int data) dspio_set_uint_param() argument
2456 dspio_alloc_dma_chan(struct hda_codec * codec,unsigned int * dma_chan) dspio_alloc_dma_chan() argument
2485 dspio_free_dma_chan(struct hda_codec * codec,unsigned int dma_chan) dspio_free_dma_chan() argument
2510 dsp_set_run_state(struct hda_codec * codec) dsp_set_run_state() argument
2545 dsp_reset(struct hda_codec * codec) dsp_reset() argument
2588 dsp_is_dma_active(struct hda_codec * codec,unsigned int dma_chan) dsp_is_dma_active() argument
2598 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
2711 dsp_dma_setup(struct hda_codec * codec,unsigned int chip_addx,unsigned int count,unsigned int dma_chan) dsp_dma_setup() argument
2802 dsp_dma_start(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_start() argument
2838 dsp_dma_stop(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_stop() argument
2881 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
2922 dsp_free_router_ports(struct hda_codec * codec) dsp_free_router_ports() argument
2942 dsp_allocate_ports(struct hda_codec * codec,unsigned int num_chans,unsigned int rate_multi,unsigned int * port_map) dsp_allocate_ports() argument
2963 dsp_allocate_ports_format(struct hda_codec * codec,const unsigned short fmt,unsigned int * port_map) dsp_allocate_ports_format() argument
2986 dsp_free_ports(struct hda_codec * codec) dsp_free_ports() argument
3006 struct hda_codec *codec; global() member
3018 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
3038 struct hda_codec *codec = dma->codec; dma_reset() local
3153 dspxfr_hci_write(struct hda_codec * codec,const struct dsp_image_seg * fls) dspxfr_hci_write() argument
3193 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
3389 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
3510 dspload_post_setup(struct hda_codec * codec) dspload_post_setup() argument
3542 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
3597 dspload_is_loaded(struct hda_codec * codec) dspload_is_loaded() argument
3609 dspload_is_loaded(codec) global() argument
3612 dspload_wait_loaded(struct hda_codec * codec) dspload_wait_loaded() argument
3643 ca0113_mmio_gpio_set(struct hda_codec * codec,unsigned int gpio_pin,bool enable) ca0113_mmio_gpio_set() argument
3663 ca0113_mmio_command_set(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set() argument
3702 ca0113_mmio_command_set_type2(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set_type2() argument
3742 ca0132_gpio_init(struct hda_codec * codec) ca0132_gpio_init() argument
3765 ca0132_gpio_setup(struct hda_codec * codec) ca0132_gpio_setup() argument
3835 r3di_gpio_mic_set(struct hda_codec * codec,enum r3di_mic_select cur_mic) r3di_gpio_mic_set() argument
3855 r3di_gpio_dsp_status_set(struct hda_codec * codec,enum r3di_dsp_status dsp_status) r3di_gpio_dsp_status_set() argument
3888 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
3901 ca0132_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_cleanup() argument
3920 ca0132_playback_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_delay() argument
3948 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
3956 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
3967 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
3975 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
3986 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
3998 ca0132_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_cleanup() argument
4011 ca0132_capture_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_delay() argument
4224 tuning_ctl_set(struct hda_codec * codec,hda_nid_t nid,const unsigned int * lookup,int idx) tuning_ctl_set() argument
4247 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); tuning_ctl_get() local
4273 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); voice_focus_ctl_put() local
4308 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mic_svm_ctl_put() local
4343 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); equalizer_ctl_put() local
4365 add_tuning_control(struct hda_codec * codec,hda_nid_t pnid,hda_nid_t nid,const char * name,int dir) add_tuning_control() argument
4405 add_tuning_ctls(struct hda_codec * codec) add_tuning_ctls() argument
4423 ca0132_init_tuning_defaults(struct hda_codec * codec) ca0132_init_tuning_defaults() argument
4445 ca0132_select_out(struct hda_codec * codec) ca0132_select_out() argument
4549 ae5_mmio_select_out(struct hda_codec * codec) ae5_mmio_select_out() argument
4566 ca0132_alt_set_full_range_speaker(struct hda_codec * codec) ca0132_alt_set_full_range_speaker() argument
4611 ca0132_alt_surround_set_bass_redirection(struct hda_codec * codec,bool val) ca0132_alt_surround_set_bass_redirection() argument
4644 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
4660 ca0132_alt_select_out_quirk_set(struct hda_codec * codec) ca0132_alt_select_out_quirk_set() argument
4733 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
4754 ca0132_alt_select_out(struct hda_codec * codec) ca0132_alt_select_out() argument
4930 ca0132_set_vipsource(struct hda_codec * codec,int val) ca0132_set_vipsource() argument
4968 ca0132_alt_set_vipsource(struct hda_codec * codec,int val) ca0132_alt_set_vipsource() argument
5039 ca0132_select_mic(struct hda_codec * codec) ca0132_select_mic() argument
5091 ca0132_alt_select_in(struct hda_codec * codec) ca0132_alt_select_in() argument
5268 ca0132_is_vnode_effective(struct hda_codec * codec,hda_nid_t vnid,hda_nid_t * shared_nid) ca0132_is_vnode_effective() argument
5296 ca0132_voicefx_set(struct hda_codec * codec,int enable) ca0132_voicefx_set() argument
5318 ca0132_effects_set(struct hda_codec * codec,hda_nid_t nid,long val) ca0132_effects_set() argument
5409 ca0132_pe_switch_set(struct hda_codec * codec) ca0132_pe_switch_set() argument
5431 stop_mic1(struct hda_codec * codec) stop_mic1() argument
5444 resume_mic1(struct hda_codec * codec,unsigned int oldval) resume_mic1() argument
5457 ca0132_cvoice_switch_set(struct hda_codec * codec) ca0132_cvoice_switch_set() argument
5486 ca0132_mic_boost_set(struct hda_codec * codec,long val) ca0132_mic_boost_set() argument
5501 ca0132_alt_mic_boost_set(struct hda_codec * codec,long val) ca0132_alt_mic_boost_set() argument
5511 ae5_headphone_gain_set(struct hda_codec * codec,long val) ae5_headphone_gain_set() argument
5525 zxr_headphone_gain_set(struct hda_codec * codec,long val) zxr_headphone_gain_set() argument
5535 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_vnode_switch_set() local
5596 ca0132_alt_bass_redirection_xover_set(struct hda_codec * codec,long idx) ca0132_alt_bass_redirection_xover_set() argument
5616 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
5658 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_ctl_get() local
5674 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_slider_ctl_get() local
5717 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_put() local
5747 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_effect_slider_put() local
5794 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_get() local
5804 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_put() local
5848 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_get() local
5858 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_put() local
5901 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_get() local
5911 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_put() local
5951 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_get() local
5961 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_put() local
6003 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_get() local
6013 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_put() local
6054 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_get() local
6064 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_put() local
6107 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_get() local
6117 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_put() local
6171 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_get() local
6181 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_put() local
6228 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_get() local
6238 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_put() local
6273 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_get() local
6325 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_put() local
6426 ca0132_alt_dsp_volume_put(struct hda_codec * codec,hda_nid_t nid) ca0132_alt_dsp_volume_put() argument
6459 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_info() local
6497 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_get() local
6518 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_put() local
6565 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_volume_put() local
6605 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_tlv() local
6641 ca0132_alt_add_effect_slider(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) ca0132_alt_add_effect_slider() argument
6676 add_fx_switch(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) add_fx_switch() argument
6695 add_voicefx(struct hda_codec * codec) add_voicefx() argument
6707 add_ca0132_alt_eq_presets(struct hda_codec * codec) add_ca0132_alt_eq_presets() argument
6724 ca0132_alt_add_svm_enum(struct hda_codec * codec) ca0132_alt_add_svm_enum() argument
6741 ca0132_alt_add_output_enum(struct hda_codec * codec) ca0132_alt_add_output_enum() argument
6758 ca0132_alt_add_speaker_channel_cfg_enum(struct hda_codec * codec) ca0132_alt_add_speaker_channel_cfg_enum() argument
6775 ca0132_alt_add_front_full_range_switch(struct hda_codec * codec) ca0132_alt_add_front_full_range_switch() argument
6785 ca0132_alt_add_rear_full_range_switch(struct hda_codec * codec) ca0132_alt_add_rear_full_range_switch() argument
6801 ca0132_alt_add_bass_redirection_crossover(struct hda_codec * codec) ca0132_alt_add_bass_redirection_crossover() argument
6817 ca0132_alt_add_bass_redirection_switch(struct hda_codec * codec) ca0132_alt_add_bass_redirection_switch() argument
6833 ca0132_alt_add_input_enum(struct hda_codec * codec) ca0132_alt_add_input_enum() argument
6849 ca0132_alt_add_mic_boost_enum(struct hda_codec * codec) ca0132_alt_add_mic_boost_enum() argument
6867 ae5_add_headphone_gain_enum(struct hda_codec * codec) ae5_add_headphone_gain_enum() argument
6884 ae5_add_sound_filter_enum(struct hda_codec * codec) ae5_add_sound_filter_enum() argument
6896 zxr_add_headphone_gain_switch(struct hda_codec * codec) zxr_add_headphone_gain_switch() argument
6933 ca0132_alt_add_chmap_ctls(struct hda_codec * codec) ca0132_alt_add_chmap_ctls() argument
7026 ca0132_build_controls(struct hda_codec * codec) ca0132_build_controls() argument
7213 dbpro_build_controls(struct hda_codec * codec) dbpro_build_controls() argument
7277 ca0132_build_pcms(struct hda_codec * codec) ca0132_build_pcms() argument
7337 dbpro_build_pcms(struct hda_codec * codec) dbpro_build_pcms() argument
7371 init_output(struct hda_codec * codec,hda_nid_t pin,hda_nid_t dac) init_output() argument
7385 init_input(struct hda_codec * codec,hda_nid_t pin,hda_nid_t adc) init_input() argument
7406 refresh_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir) refresh_amp_caps() argument
7418 ca0132_set_dmic(struct hda_codec * codec,int enable) ca0132_set_dmic() argument
7462 ca0132_init_dmic(struct hda_codec * codec) ca0132_init_dmic() argument
7510 ca0132_init_analog_mic2(struct hda_codec * codec) ca0132_init_analog_mic2() argument
7522 ca0132_refresh_widget_caps(struct hda_codec * codec) ca0132_refresh_widget_caps() argument
7544 ca0132_alt_free_active_dma_channels(struct hda_codec * codec) ca0132_alt_free_active_dma_channels() argument
7599 ca0132_alt_start_dsp_audio_streams(struct hda_codec * codec) ca0132_alt_start_dsp_audio_streams() argument
7689 chipio_remap_stream(struct hda_codec * codec,const struct chipio_stream_remap_data * remap_data) chipio_remap_stream() argument
7756 ca0132_alt_init_speaker_tuning(struct hda_codec * codec) ca0132_alt_init_speaker_tuning() argument
7800 ca0132_alt_init_analog_mics(struct hda_codec * codec) ca0132_alt_init_analog_mics() argument
7830 sbz_connect_streams(struct hda_codec * codec) sbz_connect_streams() argument
7859 sbz_chipio_startup_data(struct hda_codec * codec) sbz_chipio_startup_data() argument
7892 ca0132_alt_dsp_initial_mic_setup(struct hda_codec * codec) ca0132_alt_dsp_initial_mic_setup() argument
7923 ae5_post_dsp_register_set(struct hda_codec * codec) ae5_post_dsp_register_set() argument
7948 ae5_post_dsp_param_setup(struct hda_codec * codec) ae5_post_dsp_param_setup() argument
7968 ae5_post_dsp_pll_setup(struct hda_codec * codec) ae5_post_dsp_pll_setup() argument
7977 ae5_post_dsp_stream_setup(struct hda_codec * codec) ae5_post_dsp_stream_setup() argument
8003 ae5_post_dsp_startup_data(struct hda_codec * codec) ae5_post_dsp_startup_data() argument
8035 ae7_post_dsp_setup_ports(struct hda_codec * codec) ae7_post_dsp_setup_ports() argument
8056 ae7_post_dsp_asi_stream_setup(struct hda_codec * codec) ae7_post_dsp_asi_stream_setup() argument
8079 ae7_post_dsp_pll_setup(struct hda_codec * codec) ae7_post_dsp_pll_setup() argument
8093 ae7_post_dsp_asi_setup_ports(struct hda_codec * codec) ae7_post_dsp_asi_setup_ports() argument
8175 ae7_post_dsp_asi_setup(struct hda_codec * codec) ae7_post_dsp_asi_setup() argument
8204 ca0132_setup_defaults(struct hda_codec * codec) ca0132_setup_defaults() argument
8249 r3d_setup_defaults(struct hda_codec * codec) r3d_setup_defaults() argument
8299 sbz_setup_defaults(struct hda_codec * codec) sbz_setup_defaults() argument
8353 ae5_setup_defaults(struct hda_codec * codec) ae5_setup_defaults() argument
8418 ae7_setup_defaults(struct hda_codec * codec) ae7_setup_defaults() argument
8501 ca0132_init_flags(struct hda_codec * codec) ca0132_init_flags() argument
8534 ca0132_init_params(struct hda_codec * codec) ca0132_init_params() argument
8550 ca0132_set_dsp_msr(struct hda_codec * codec,bool is96k) ca0132_set_dsp_msr() argument
8564 ca0132_download_dsp_images(struct hda_codec * codec) ca0132_download_dsp_images() argument
8620 ca0132_download_dsp(struct hda_codec * codec) ca0132_download_dsp() argument
8646 ca0132_process_dsp_response(struct hda_codec * codec,struct hda_jack_callback * callback) ca0132_process_dsp_response() argument
8662 hp_callback(struct hda_codec * codec,struct hda_jack_callback * cb) hp_callback() argument
8676 amic_callback(struct hda_codec * codec,struct hda_jack_callback * cb) amic_callback() argument
8686 ca0132_setup_unsol(struct hda_codec * codec) ca0132_setup_unsol() argument
8775 ca0132_init_chip(struct hda_codec * codec) ca0132_init_chip() argument
8860 r3di_gpio_shutdown(struct hda_codec * codec) r3di_gpio_shutdown() argument
8868 sbz_region2_exit(struct hda_codec * codec) sbz_region2_exit() argument
8885 sbz_set_pin_ctl_default(struct hda_codec * codec) sbz_set_pin_ctl_default() argument
8898 ca0132_clear_unsolicited(struct hda_codec * codec) ca0132_clear_unsolicited() argument
8910 sbz_gpio_shutdown_commands(struct hda_codec * codec,int dir,int mask,int data) sbz_gpio_shutdown_commands() argument
8925 zxr_dbpro_power_state_shutdown(struct hda_codec * codec) zxr_dbpro_power_state_shutdown() argument
8935 sbz_exit_chip(struct hda_codec * codec) sbz_exit_chip() argument
8970 r3d_exit_chip(struct hda_codec * codec) r3d_exit_chip() argument
8977 ae5_exit_chip(struct hda_codec * codec) ae5_exit_chip() argument
9002 ae7_exit_chip(struct hda_codec * codec) ae7_exit_chip() argument
9028 zxr_exit_chip(struct hda_codec * codec) zxr_exit_chip() argument
9058 ca0132_exit_chip(struct hda_codec * codec) ca0132_exit_chip() argument
9074 sbz_dsp_startup_check(struct hda_codec * codec) sbz_dsp_startup_check() argument
9139 ca0132_alt_vol_setup(struct hda_codec * codec) ca0132_alt_vol_setup() argument
9154 sbz_pre_dsp_setup(struct hda_codec * codec) sbz_pre_dsp_setup() argument
9167 r3d_pre_dsp_setup(struct hda_codec * codec) r3d_pre_dsp_setup() argument
9177 r3di_pre_dsp_setup(struct hda_codec * codec) r3di_pre_dsp_setup() argument
9194 zxr_pre_dsp_setup(struct hda_codec * codec) zxr_pre_dsp_setup() argument
9267 ca0132_mmio_init_sbz(struct hda_codec * codec) ca0132_mmio_init_sbz() argument
9317 ca0132_mmio_init_ae5(struct hda_codec * codec) ca0132_mmio_init_ae5() argument
9349 ca0132_mmio_init(struct hda_codec * codec) ca0132_mmio_init() argument
9382 ae5_register_set(struct hda_codec * codec) ae5_register_set() argument
9441 ca0132_alt_init(struct hda_codec * codec) ca0132_alt_init() argument
9498 ca0132_init(struct hda_codec * codec) ca0132_init() argument
9619 dbpro_init(struct hda_codec * codec) dbpro_init() argument
9634 ca0132_free(struct hda_codec * codec) ca0132_free() argument
9675 dbpro_free(struct hda_codec * codec) dbpro_free() argument
9685 ca0132_suspend(struct hda_codec * codec) ca0132_suspend() argument
9709 ca0132_config(struct hda_codec * codec) ca0132_config() argument
9909 ca0132_prepare_verbs(struct hda_codec * codec) ca0132_prepare_verbs() argument
9958 sbz_detect_quirk(struct hda_codec * codec) sbz_detect_quirk() argument
9975 patch_ca0132(struct hda_codec * codec) patch_ca0132() argument
[all...]
H A Dpatch_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * patch_hdmi.c - routines for HDMI/DisplayPort codecs
6 * Copyright(c) 2008-2010 Intel Corporation
78 struct hda_codec *codec; member
82 struct hdmi_pcm *pcm; /* pointer to spec->pcm_rec[n] dynamically*/
83 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */
90 bool chmap_set; /* channel-map override by ALSA API? */
91 unsigned char chmap[8]; /* ALSA API channel-map */
99 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid,
102 void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid,
[all …]
H A Dpatch_cs8409.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config() argument
24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config()
28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
37 if (spec->gen.dyn_adc_switch) { in cs8409_parse_auto_config()
40 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs8409_parse_auto_config()
41 int idx = spec->gen.dyn_adc_idx[i]; in cs8409_parse_auto_config()
43 if (done & (1 << idx)) in cs8409_parse_auto_config()
45 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config()
[all …]
H A Dhda_proc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
17 static int dump_coef = -1;
19 MODULE_PARM_DESC(dump_coef, "Dump processing coefficients in codec proc file (-1=auto, 0=disable, 1
22 #define param_read(codec, nid, parm) \ argument
23 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm)
38 if (wid_value == -1) in get_wid_type_name()
48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() argument
52 struct hda_nid_item *items = array->list, *item; in print_nid_array()
54 for (i = 0; i < array->used; i++) { in print_nid_array()
[all …]
H A Dpatch_senarytech.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio interface patch for Senary HDA audio codec
41 HDA_CODEC_VOLUME_MONO("Beep Playback Volume", 0, 1, 0, HDA_OUTPUT),
42 HDA_CODEC_MUTE_BEEP_MONO("Beep Playback Switch", 0, 1, 0, HDA_OUTPUT),
49 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir); in set_beep_amp()
52 spec->gen.beep_nid = nid; in set_beep_amp()
54 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
57 return -ENOMEM; in set_beep_amp()
58 knew->private_value = beep_amp; in set_beep_amp()
63 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep() argument
[all …]
H A Dpatch_conexant.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio interface patch for Conexant HDA audio codec
7 * Tobin Davis <tdavis@dsl-only.net>
52 HDA_CODEC_VOLUME_MONO("Beep Playback Volume", 0, 1, 0, HDA_OUTPUT),
53 HDA_CODEC_MUTE_BEEP_MONO("Beep Playback Switch", 0, 1, 0, HDA_OUTPUT),
60 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, id in set_beep_amp()
74 cx_auto_parse_beep(struct hda_codec * codec) cx_auto_parse_beep() argument
85 cx_auto_parse_beep(codec) global() argument
93 cx_auto_parse_eapd(struct hda_codec * codec) cx_auto_parse_eapd() argument
118 cx_auto_turn_eapd(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) cx_auto_turn_eapd() argument
133 struct hda_codec *codec = private_data; cx_auto_vmaster_hook() local
143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cx_auto_vmaster_mute_led() local
152 cxt_init_gpio_led(struct hda_codec * codec) cxt_init_gpio_led() argument
167 cx_fixup_headset_recog(struct hda_codec * codec) cx_fixup_headset_recog() argument
188 cx_auto_init(struct hda_codec * codec) cx_auto_init() argument
204 cx_auto_shutdown(struct hda_codec * codec) cx_auto_shutdown() argument
213 cx_auto_free(struct hda_codec * codec) cx_auto_free() 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_auto_suspend(struct hda_codec * codec) cx_auto_suspend() argument
315 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument
323 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument
335 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument
348 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument
375 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
382 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument
403 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument
424 update_mic_pin(codec,nid,val) global() argument
437 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument
452 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument
507 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument
522 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
546 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local
555 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local
571 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local
586 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local
627 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local
635 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument
666 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument
682 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument
696 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument
706 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument
718 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument
742 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local
753 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local
760 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument
777 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument
784 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument
1126 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument
1141 patch_conexant_auto(struct hda_codec * codec) patch_conexant_auto() argument
[all...]
H A Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
38 /* extra amp-initialization sequence types */
69 unsigned int enable_pcbeep:1;
70 unsigned int platform_type:1;
71 unsigned int swap:1;
145 coef_mutex_lock(struct hda_codec * codec) coef_mutex_lock() argument
153 coef_mutex_unlock(struct hda_codec * codec) coef_mutex_unlock() argument
161 __alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) __alc_read_coefex_idx() argument
171 alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) alc_read_coefex_idx() argument
182 alc_read_coef_idx(codec,coef_idx) global() argument
185 __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
192 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
200 alc_write_coef_idx(codec,coef_idx,coef_val) global() argument
203 __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
214 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
223 alc_update_coef_idx(codec,coef_idx,mask,bits_set) global() argument
227 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument
250 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument
269 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument
278 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument
286 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument
300 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument
316 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument
323 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument
329 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument
335 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument
341 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument
347 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument
359 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument
368 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
379 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument
401 alc880_unsol_event(struct hda_codec * codec,unsigned int res) alc880_unsol_event() argument
409 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument
527 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument
540 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument
550 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument
563 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument
585 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument
613 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument
624 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument
667 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument
677 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument
688 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument
779 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument
881 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument
896 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument
905 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument
922 alc_pre_init(struct hda_codec * codec) alc_pre_init() argument
927 is_s3_resume(codec) global() argument
929 is_s4_resume(codec) global() argument
931 is_s4_suspend(codec) global() argument
934 alc_init(struct hda_codec * codec) alc_init() argument
959 alc_free(struct hda_codec * codec) alc_free() argument
969 alc_shutup(struct hda_codec * codec) alc_shutup() argument
982 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument
987 alc_suspend(struct hda_codec * codec) alc_suspend() argument
996 alc_resume(struct hda_codec * codec) alc_resume() argument
1022 alc_codec_rename(codec,name) global() argument
1093 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument
1166 has_cdefine_beep(struct hda_codec * codec) has_cdefine_beep() argument
1177 has_cdefine_beep(codec) global() argument
1184 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
1208 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument
1234 alc880_parse_auto_config(struct hda_codec * codec) alc880_parse_auto_config() argument
1273 alc880_fixup_vol_knob(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc880_fixup_vol_knob() argument
1656 patch_alc880(struct hda_codec * codec) patch_alc880() argument
1701 alc260_parse_auto_config(struct hda_codec * codec) alc260_parse_auto_config() argument
1725 alc260_gpio1_automute(struct hda_codec * codec) alc260_gpio1_automute() argument
1732 alc260_fixup_gpio1_toggle(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_gpio1_toggle() argument
1750 alc260_fixup_kn1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_kn1() argument
1778 alc260_fixup_fsc_s7020(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020() argument
1786 alc260_fixup_fsc_s7020_jwse(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020_jwse() argument
1905 patch_alc260(struct hda_codec * codec) patch_alc260() argument
2011 alc889_fixup_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_coef() argument
2020 alc885_fixup_macpro_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc885_fixup_macpro_gpio() argument
2033 alc889_fixup_dac_route(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_dac_route() argument
2055 alc889_fixup_mbp_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mbp_vref() argument
2076 alc889_fixup_mac_pins(struct hda_codec * codec,const hda_nid_t * nids,int num_nids) alc889_fixup_mac_pins() argument
2092 alc889_fixup_imac91_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_imac91_vref() argument
2102 alc889_fixup_mba11_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba11_vref() argument
2112 alc889_fixup_mba21_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba21_vref() argument
2125 alc882_fixup_no_primary_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc882_fixup_no_primary_hp() argument
2141 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument
2159 rename_ctl(struct hda_codec * codec,const char * oldname,const char * newname) rename_ctl() argument
2169 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument
2193 alc1220_fixup_gb_x570(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_x570() argument
2217 alc1220_fixup_clevo_p950(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_p950() argument
2237 alc1220_fixup_clevo_pb51ed(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_pb51ed() argument
2245 alc887_asus_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc887_asus_hp_automute_hook() argument
2260 alc887_fixup_asus_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc887_fixup_asus_jack() argument
2756 alc882_parse_auto_config(struct hda_codec * codec) alc882_parse_auto_config() argument
2765 patch_alc882(struct hda_codec * codec) patch_alc882() argument
2825 alc262_parse_auto_config(struct hda_codec * codec) alc262_parse_auto_config() argument
2944 patch_alc262(struct hda_codec * codec) patch_alc262() argument
3004 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); alc268_beep_switch_put() local
3089 alc268_parse_auto_config(struct hda_codec * codec) alc268_parse_auto_config() argument
3097 patch_alc268(struct hda_codec * codec) patch_alc268() argument
3192 alc269_parse_auto_config(struct hda_codec * codec) alc269_parse_auto_config() argument
3243 alc_headset_btn_callback(struct hda_codec * codec,struct hda_jack_callback * jack) alc_headset_btn_callback() argument
3265 alc_disable_headset_jack_key(struct hda_codec * codec) alc_disable_headset_jack_key() argument
3295 alc_enable_headset_jack_key(struct hda_codec * codec) alc_enable_headset_jack_key() argument
3325 alc_fixup_headset_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_jack() argument
3351 alc269vb_toggle_power_output(struct hda_codec * codec,int power_up) alc269vb_toggle_power_output() argument
3356 alc269_shutup(struct hda_codec * codec) alc269_shutup() argument
3402 alc282_restore_default_value(struct hda_codec * codec) alc282_restore_default_value() argument
3407 alc282_init(struct hda_codec * codec) alc282_init() argument
3444 alc282_shutup(struct hda_codec * codec) alc282_shutup() argument
3518 alc283_restore_default_value(struct hda_codec * codec) alc283_restore_default_value() argument
3523 alc283_init(struct hda_codec * codec) alc283_init() argument
3559 alc283_shutup(struct hda_codec * codec) alc283_shutup() argument
3596 alc256_init(struct hda_codec * codec) alc256_init() argument
3645 alc256_shutup(struct hda_codec * codec) alc256_shutup() argument
3693 alc285_hp_init(struct hda_codec * codec) alc285_hp_init() argument
3743 alc225_init(struct hda_codec * codec) alc225_init() argument
3797 alc225_shutup(struct hda_codec * codec) alc225_shutup() argument
3847 alc_default_init(struct hda_codec * codec) alc_default_init() argument
3874 alc_default_shutup(struct hda_codec * codec) alc_default_shutup() argument
3905 alc294_hp_init(struct hda_codec * codec) alc294_hp_init() argument
3937 alc294_init(struct hda_codec * codec) alc294_init() argument
3950 alc5505_coef_set(struct hda_codec * codec,unsigned int index_reg,unsigned int val) alc5505_coef_set() argument
3958 alc5505_coef_get(struct hda_codec * codec,unsigned int index_reg) alc5505_coef_get() argument
3970 alc5505_dsp_halt(struct hda_codec * codec) alc5505_dsp_halt() argument
3985 alc5505_dsp_back_from_halt(struct hda_codec * codec) alc5505_dsp_back_from_halt() argument
3995 alc5505_dsp_init(struct hda_codec * codec) alc5505_dsp_init() argument
4035 alc5505_dsp_suspend(codec) global() argument
4036 alc5505_dsp_resume(codec) global() argument
4038 alc5505_dsp_suspend(codec) global() argument
4039 alc5505_dsp_resume(codec) global() argument
4042 alc269_suspend(struct hda_codec * codec) alc269_suspend() argument
4052 alc269_resume(struct hda_codec * codec) alc269_resume() argument
4088 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
4097 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_U7x7_headset_mic() argument
4110 alc269_fixup_hweq(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hweq() argument
4117 alc269_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_headset_mic() argument
4126 alc271_fixup_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_fixup_dmic() argument
4145 alc269vb_fixup_aspire_e1_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269vb_fixup_aspire_e1_coef() argument
4153 alc269_fixup_pcm_44k(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pcm_44k() argument
4168 alc269_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_stereo_dmic() argument
4180 alc269_quanta_automute(struct hda_codec * codec) alc269_quanta_automute() argument
4188 alc269_fixup_quanta_mute(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_quanta_mute() argument
4197 alc269_x101_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc269_x101_hp_automute_hook() argument
4222 alc298_huawei_mbx_stereo_seq(struct hda_codec * codec,const struct hda_alc298_mbxinit * initval,bool first) alc298_huawei_mbx_stereo_seq() argument
4243 alc298_fixup_huawei_mbx_stereo(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_huawei_mbx_stereo() argument
4280 alc269_fixup_x101_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_x101_headset_mic() argument
4290 alc_update_vref_led(struct hda_codec * codec,hda_nid_t pin,bool polarity,bool on) alc_update_vref_led() argument
4312 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_mute_led_set() local
4321 led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) led_power_filter() argument
4338 alc269_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led() argument
4364 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
4378 alc269_fixup_hp_mute_led_mic1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic1() argument
4384 alc269_fixup_hp_mute_led_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic2() argument
4390 alc269_fixup_hp_mute_led_mic3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic3() argument
4397 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument
4409 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local
4421 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local
4430 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
4451 alc236_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_gpio_led() argument
4457 alc269_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_led() argument
4463 alc285_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_led() argument
4469 alc286_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc286_fixup_hp_gpio_led() argument
4475 alc287_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_hp_gpio_led() argument
4481 alc245_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_gpio_led() argument
4495 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_micmute_led_set() local
4503 alc269_fixup_hp_gpio_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_mic1_led() argument
4521 alc280_fixup_hp_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio4() argument
4537 alc245_fixup_hp_x360_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_x360_amp() argument
4558 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
4572 alc274_fixup_hp_envy_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_envy_gpio() argument
4585 alc_update_coef_led(struct hda_codec * codec,struct alc_coef_led * led,bool polarity,bool on) alc_update_coef_led() argument
4600 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_mute_led_set() local
4608 alc285_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led_coefbit() argument
4624 alc236_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit() argument
4640 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit2() argument
4655 alc245_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_coefbit() argument
4675 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_micmute_led_set() local
4683 alc285_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_coef_micmute_led() argument
4697 alc285_fixup_hp_gpio_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_micmute_led() argument
4707 alc236_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_coef_micmute_led() argument
4721 alc285_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led() argument
4728 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
4735 alc236_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led() argument
4742 alc236_fixup_hp_micmute_led_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_micmute_led_vref() argument
4754 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
4761 alc298_samsung_write_coef_pack(struct hda_codec * codec,const unsigned short coefs[2]) alc298_samsung_write_coef_pack() argument
4774 alc298_fixup_samsung_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp() argument
4843 alc298_samsung_v2_enable_amps(struct hda_codec * codec) alc298_samsung_v2_enable_amps() argument
4860 alc298_samsung_v2_disable_amps(struct hda_codec * codec) alc298_samsung_v2_disable_amps() argument
4878 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
4889 alc298_samsung_v2_init_amps(struct hda_codec * codec,int num_speaker_amps) alc298_samsung_v2_init_amps() argument
4917 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
4924 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
4932 gpio2_mic_hotkey_event(struct hda_codec * codec,struct hda_jack_callback * event) gpio2_mic_hotkey_event() argument
4945 alc_register_micmute_input_device(struct hda_codec * codec) alc_register_micmute_input_device() argument
4981 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio2_mic_hotkey() argument
5015 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_line2_mic_hotkey() argument
5045 alc269_fixup_hp_line1_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_line1_mic1_led() argument
5057 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument
5069 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument
5092 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument
5229 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
5368 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument
5489 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument
5613 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument
5715 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument
5909 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument
5969 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
5976 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument
5983 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument
6003 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument
6025 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
6036 alc255_set_default_jack_type(struct hda_codec * codec) alc255_set_default_jack_type() argument
6069 alc_fixup_headset_mode_alc255(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255() argument
6078 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
6090 alc288_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc288_update_headset_jack_cb() argument
6100 alc_fixup_headset_mode_dell_alc288(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_dell_alc288() argument
6113 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument
6122 alc_fixup_no_shutup(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_shutup() argument
6131 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument
6142 alc_fixup_tpt440_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt440_dock() argument
6159 alc_fixup_tpt470_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dock() argument
6182 alc_fixup_tpt470_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dacs() argument
6199 alc295_fixup_asus_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_asus_dacs() argument
6211 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument
6222 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument
6249 alc_fixup_headset_mode_alc662(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc662() argument
6266 alc_fixup_headset_mode_alc668(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc668() argument
6278 find_ext_mic_pin(struct hda_codec * codec) find_ext_mic_pin() argument
6299 alc271_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_hp_gate_mic_jack() argument
6315 alc269_fixup_limit_int_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_limit_int_mic_boost() argument
6347 alc283_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc283_hp_automute_hook() argument
6363 alc283_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_chromebook() argument
6384 alc283_fixup_sense_combo_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_sense_combo_jack() argument
6402 asus_tx300_automute(struct hda_codec * codec) asus_tx300_automute() argument
6410 alc282_fixup_asus_tx300(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc282_fixup_asus_tx300() argument
6445 alc290_fixup_mono_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc290_fixup_mono_speakers() argument
6458 alc298_fixup_speaker_volume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_speaker_volume() argument
6475 alc295_fixup_disable_dac3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_disable_dac3() argument
6485 alc285_fixup_speaker2_to_dac1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_speaker2_to_dac1() argument
6495 alc294_fixup_bass_speaker_15(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_bass_speaker_15() argument
6505 alc280_hp_gpio4_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc280_hp_gpio4_automute_hook() argument
6522 alc280_fixup_hp_9480m(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_9480m() argument
6537 alc275_fixup_gpio4_off(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc275_fixup_gpio4_off() argument
6556 alc285_fixup_thinkpad_x1_gen7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_thinkpad_x1_gen7() argument
6583 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument
6607 alc225_fixup_s3_pop_noise(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc225_fixup_s3_pop_noise() argument
6617 alc274_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_bind_dacs() argument
6635 alc289_fixup_asus_ga401(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc289_fixup_asus_ga401() argument
6648 alc285_fixup_invalidate_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_invalidate_dacs() argument
6657 alc_combo_jack_hp_jd_restart(struct hda_codec * codec) alc_combo_jack_hp_jd_restart() argument
6681 alc295_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_chromebook() argument
6696 alc256_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_chromebook() argument
6710 alc_fixup_disable_mic_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_mic_vref() argument
6718 alc294_gx502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gx502_toggle_output() argument
6730 alc294_fixup_gx502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gx502_hp() argument
6751 alc294_gu502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gu502_toggle_output() argument
6763 alc294_fixup_gu502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gu502_hp() argument
6780 alc285_fixup_hp_gpio_amp_init(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_amp_init() argument
6790 alc274_fixup_hp_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_headset_mic() argument
6800 alc_fixup_no_int_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_int_mic() argument
6820 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_eb1() argument
6855 alc285_fixup_hp_spectre_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360() argument
6873 alc285_fixup_hp_envy_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_envy_x360() argument
6930 alc_fixup_thinkpad_acpi(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_thinkpad_acpi() argument
6938 alc287_fixup_legion_15imhg05_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_legion_15imhg05_speakers() argument
7093 cs35l41_fixup_spi_two(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_two() argument
7098 cs35l41_fixup_spi_four(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_four() argument
7137 alc256_fixup_acer_sfg16_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_acer_sfg16_micmute_led() argument
7157 alc256_fixup_set_coef_defaults(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_set_coef_defaults() argument
7179 alc233_fixup_no_audio_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_no_audio_jack() argument
7193 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
7210 alc256_decrease_headphone_amp_val(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_decrease_headphone_amp_val() argument
7229 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
7264 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
7301 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_dell_inspiron_top_speakers() argument
7330 alc287_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_bind_dacs() argument
7351 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument
7369 alc245_fixup_hp_spectre_x360_eu0xxx(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_spectre_x360_eu0xxx() argument
7402 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
7448 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
7462 alc287_s4_power_gpio3_default(struct hda_codec * codec) alc287_s4_power_gpio3_default() argument
7469 alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_thinkpad_with_alc1318() argument
7793 alc298_fixup_lenovo_c940_duet7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_lenovo_c940_duet7() argument
11633 alc269_fill_coef(struct hda_codec * codec) alc269_fill_coef() argument
11675 patch_alc269(struct hda_codec * codec) patch_alc269() argument
11893 alc861_parse_auto_config(struct hda_codec * codec) alc861_parse_auto_config() argument
11910 alc861_fixup_asus_amp_vref_0f(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861_fixup_asus_amp_vref_0f() argument
11927 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument
11982 patch_alc861(struct hda_codec * codec) patch_alc861() argument
12029 alc861vd_parse_auto_config(struct hda_codec * codec) alc861vd_parse_auto_config() argument
12042 alc861vd_fixup_dallas(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861vd_fixup_dallas() argument
12052 alc660vd_fixup_asus_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc660vd_fixup_asus_gpio1() argument
12082 patch_alc861vd(struct hda_codec * codec) patch_alc861vd() argument
12138 alc662_parse_auto_config(struct hda_codec * codec) alc662_parse_auto_config() argument
12154 alc272_fixup_mario(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc272_fixup_mario() argument
12177 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument
12187 gpio_led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) gpio_led_power_filter() argument
12197 alc662_fixup_led_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_led_gpio1() argument
12209 alc662_usi_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc662_usi_automute_hook() argument
12223 alc662_fixup_usi_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_usi_headset_mic() argument
12233 alc662_aspire_ethos_mute_speakers(struct hda_codec * codec,struct hda_jack_callback * cb) alc662_aspire_ethos_mute_speakers() argument
12251 alc662_fixup_aspire_ethos_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_aspire_ethos_hp() argument
12274 alc671_fixup_hp_headset_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc671_fixup_hp_headset_mic2() argument
12297 alc897_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc897_hp_automute_hook() argument
12308 alc897_fixup_lenovo_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mic() argument
12321 alc897_fixup_lenovo_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mode() argument
12356 alc668_restore_default_value(struct hda_codec * codec) alc668_restore_default_value() argument
13100 patch_alc662(struct hda_codec * codec) patch_alc662() argument
13181 alc680_parse_auto_config(struct hda_codec * codec) alc680_parse_auto_config() argument
13188 patch_alc680(struct hda_codec * codec) patch_alc680() argument
[all...]
H A Dhda_jack.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Jack-detection handling for HD-audio
20 * is_jack_detectable - Check whether the given pin is jack-detectable
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()
[all …]
H A Dpatch_si3054.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio interface patch for Silicon Labs 3054/5 modem codec
7 * Copyright (c) 2005 Sasha Khapyorsky <sashak@alsa-project.org>
61 #define SI3054_CHIPID_CODEC_ID (1<<12)
63 /* si3054 codec registers (nodes) access macros */
64 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) argument
65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) argument
66 #define SET_REG_CACHE(codec,reg,val) \ argument
67 snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val)
[all …]
H A Dhda_jack.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Jack-detection handling for HD-audio
35 /* jack-detection stuff */
36 unsigned int pin_sense; /* cached pin-sense value */
37 unsigned int jack_detect:1; /* capable of jack-detection? */
38 unsigned int jack_dirty:1; /* needs to update? */
39 unsigned int phantom_jack:1; /* a fixed, always present port? */
40 unsigned int block_report:1; /* in a transitional state - do not report to userspace */
55 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id);
58 * snd_hda_jack_tbl_get - query the jack-table entry for the given NID
[all …]
H A Dhda_beep.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Digital Beep Input Interface for HD-audio codec
26 struct hda_codec *codec = beep->codec; in generate_tone() local
28 if (tone && !beep->playing) { in generate_tone()
29 snd_hda_power_up(codec); in generate_tone()
30 if (beep->power_hook) in generate_tone()
31 beep->power_hook(beep, true); in generate_tone()
32 beep->playing = 1; in generate_tone()
34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone()
36 if (!tone && beep->playing) { in generate_tone()
[all …]
/linux/sound/soc/codecs/
H A Dhda.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright(c) 2021-2022 Intel Corporation
16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument
19 struct device *dev = &codec->core.dev; in hda_codec_create_dais()
26 return -ENOMEM; in hda_codec_create_dais()
28 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in hda_codec_create_dais()
34 dev_info(dev, "creating for %s %d\n", pcm->name, i); in hda_codec_create_dais()
36 drvs[i].name = pcm->name; in hda_codec_create_dais()
41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
42 dev_info(dev, "skipping playback dai for %s\n", pcm->name); in hda_codec_create_dais()
[all …]
H A Djz4760.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ4760 CODEC driver
18 #include <sound/soc-dai.h>
19 #include <sound/soc-dapm.h>
68 #define REG_AICR_DAC_I2S BIT(1)
80 #define REG_CR1_OUTSEL_MASK GENMASK(1, REG_CR1_OUTSEL_OFFSET)
84 #define REG_CR2_DAC_NOMAD BIT(1)
89 #define REG_CR3_MICSTEREO_OFFSET 1
106 #define REG_PMR1_SB_BYPASS_OFFSET 1
112 #define REG_PMR2_SB_LOUT_OFFSET 1
[all …]
H A Djz4770.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ4770 CODEC driver
17 #include <sound/soc-dai.h>
18 #include <sound/soc-dapm.h>
85 #define REG_AICR_DAC_SERIAL BIT(1)
90 #define REG_AICR_ADC_SERIAL BIT(1)
115 #define REG_CR_MIC_BIAS_V0_OFFSET 1
129 #define REG_CR_VIC_SB_SLEEP BIT(1)
150 #define REG_IMR_GUP_MASK BIT(1)
159 #define REG_IFR_GUP BIT(1)
[all …]
/linux/Documentation/sound/soc/
H A Dcodec-to-codec.rst2 Creating codec to codec dai link for ALSA dapm
5 Mostly the flow of audio is always from CPU to codec so your system
9 --------- ---------
11 CPU -------> codec
13 --------- ---------
18 ---------
20 codec-2
22 ---------
24 dai-2
26 ---------- ---------
[all …]
/linux/sound/soc/generic/
H A Dsimple-card.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <sound/soc-dai.h>
20 #define DPCM_SELECTABLE 1
22 #define DAI "sound-dai"
23 #define CELL "#sound-dai-cells"
24 #define PREFIX "simple-audio-card,"
41 * Get node via "sound-dai = <&phandle port>" in simple_parse_platform()
50 dlc->of_node = args.np; in simple_parse_platform()
68 * Get node via "sound-dai = <&phandle port>" in simple_parse_dai()
80 dlc->dai_name = snd_soc_dai_name_get(dai); in simple_parse_dai()
[all …]
/linux/sound/soc/sof/intel/
H A Dhda-codec.c1 // SPDX-License-Identifier: GPL-2.0-only
24 static int hda_codec_mask = -1;
26 MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing");
28 /* load the legacy HDA codec driver */
29 static int request_codec_module(struct hda_codec *codec) in request_codec_module() argument
35 switch (codec->probe_id) { in request_codec_module()
38 mod = "snd-hda-codec-generic"; in request_codec_module()
42 snd_hdac_codec_modalias(&codec->core, alias, sizeof(alias)); in request_codec_module()
48 dev_dbg(&codec->core.dev, "loading codec module: %s\n", mod); in request_codec_module()
52 return device_attach(hda_codec_dev(codec)); in request_codec_module()
[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
25 [1] GPIO : ../gpio/gpio.txt
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
[all …]

12345678910>>...41