Home
last modified time | relevance | path

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

12345678910>>...43

/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 …]
H A Dcodec.rst2 ASoC Codec Class Driver
5 The codec class driver is generic and hardware independent code that configures
6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback.
11 Each codec class driver *must* provide the following features:-
13 1. Codec DAI and PCM configuration
14 2. Codec control IO - using RegMap API
15 3. Mixers and audio controls
16 4. Codec audio operations
20 Optionally, codec drivers can also provide:-
24 Its probably best to use this guide in conjunction with the existing codec
[all …]
/linux/sound/soc/codecs/
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>
67 #define REG_AICR_DAC_SERIAL BIT(3)
78 #define REG_CR1_BTL_MUTE_OFFSET 3
88 #define REG_CR3_ADC_INSEL_MASK GENMASK(3, REG_CR3_ADC_INSEL_OFFSET)
95 #define REG_CCR1_CRYSTAL_MASK GENMASK(3, 0)
98 #define REG_CCR2_ADC_FREQ_MASK GENMASK(3, 0)
104 #define REG_PMR1_SB_MIC1_OFFSET 3
[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>
101 #define REG_CR_HP_SB_HPCM_OFFSET 3
109 #define REG_CR_DAC_LRSWAP BIT(3)
125 #define REG_CR_ADC_LRSWAP BIT(3)
148 #define REG_IMR_RUP_MASK BIT(3)
157 #define REG_IFR_RUP BIT(3)
177 /* codec private data */
[all …]
/linux/sound/pci/hda/
H A Dhda_eld.c1 // SPDX-License-Identifier: GPL-2.0-or-later
29 CEA_EDID_VER_CEA861BCD = 3,
36 "2-reserved",
37 "3-reserved"
44 AUDIO_CODING_TYPE_MPEG1 = 3,
67 AUDIO_CODING_XTYPE_MPEG_SURROUND = 3,
74 /* 2 */ "AC-3",
75 /* 3 */ "MPEG1",
78 /* 6 */ "AAC-LC",
82 /* 10 */ "E-AC-3/DD+ (Dolby Digital Plus)",
[all …]
H A Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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] = { "Microphone", "Line In", "Front Microphone" };
99 #define IN_SRC_NUM_OF_INPUTS 3
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 Dhda_generic.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 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_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 */
86 /* codec parameterization */
114 void (*init_hook)(struct hda_codec *codec);
115 void (*power_hook)(struct hda_codec *codec);
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 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 …]
/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/soc/ti/
H A Dj721e-evm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com
17 #include "davinci-mcasp.h"
21 * CPB: 2 (mcasp10 + codec)
22 * IVI: 3 (mcasp0 + 2x codec)
65 struct j721e_audio_clocks codec; member
92 SND_SOC_DAPM_HP("CPB Stereo HP 3", NULL),
100 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1L"},
101 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1R"},
102 {"CPB Stereo HP 2", NULL, "codec-1 AOUT2L"},
[all …]
/linux/drivers/media/pci/zoran/
H A Dzr36050.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read()
47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read()
52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read()
59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write()
61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write()
[all …]
H A Dzr36060.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
44 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_read()
47 if (ptr->codec->master_data->readreg) in zr36060_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read()
57 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_write()
62 if (ptr->codec->master_data->writereg) in zr36060_write()
63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
[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&4 center/lfe */
58 AC97_PCM_LFE_DAC_RATE, /* slot 3 */
69 /* 10&11 front, 3&4 rear, 7&8 center/lfe */
70 AC97_PCM_SURR_DAC_RATE, /* slot 3 */
84 /* 3&4 front, 7&8 front (t+1) */
[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-125.zip PCI 168 download
17 * despite the high level of Internet ignorance - as usual :-P -
18 * about very good support for this card - on Linux!)
25 * in the first place >:-P}),
27 * (3 weeks' worth of evenings filled with driver work).
34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec,
[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/drivers/media/platform/qcom/venus/
H A Dhfi_platform_v4.c1 // SPDX-License-Identifier: GPL-2.0-only
9 .codec = HFI_VIDEO_CODEC_H264,
15 .caps[3] = {HFI_CAPABILITY_BITRATE, 1, 120000000, 1},
21 .caps[9] = {HFI_CAPABILITY_MAX_WORKMODES, 1, 3, 1},
26 .pl[3] = {HFI_H264_PROFILE_CONSTRAINED_BASE, HFI_H264_LEVEL_52},
32 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21},
35 .codec = HFI_VIDEO_CODEC_HEVC,
41 .caps[3] = {HFI_CAPABILITY_BITRATE, 1, 120000000, 1},
47 .caps[9] = {HFI_CAPABILITY_MAX_WORKMODES, 1, 3, 1},
55 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12},
[all …]
/linux/sound/hda/
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 …]

12345678910>>...43