| /linux/sound/hda/common/ |
| H A D | beep.c | 1 // 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 if (!codec->beep_just_power_on) in generate_tone() 35 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "Build hwdep interface for HD-audio driver" 16 Say Y here to build a hwdep interface for HD-audio driver. 17 This interface can be used for out-of-band communication 21 bool "Allow dynamic codec reconfiguration" 23 Say Y here to enable the HD-audio codec re-configuration feature. 24 It allows user to clear the whole codec configuration, change the 25 codec setup, add extra verbs, and re-configure the codec dynamically. 36 Say Y here to build a digital beep interface for HD-audio 40 int "Digital beep registration mode (0=off, 1=on)" [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HD audio codec driver for Conexant HDA audio codec 7 * Tobin Davis <tdavis@dsl-only.net> 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->ge 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_init(struct hda_codec * codec) cx_init() argument 204 cx_auto_shutdown(struct hda_codec * codec) cx_auto_shutdown() argument 213 cx_remove(struct hda_codec * codec) cx_remove() argument 219 cx_process_headset_plugin(struct hda_codec * codec) cx_process_headset_plugin() argument 246 cx_update_headset_mic_vref(struct hda_codec * codec,struct hda_jack_callback * event) cx_update_headset_mic_vref() argument 261 cx_suspend(struct hda_codec * codec) cx_suspend() argument 310 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument 318 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument 330 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument 343 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument 370 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 377 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument 398 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument 419 update_mic_pin(codec,nid,val) global() argument 432 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument 447 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument 502 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument 517 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 541 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local 550 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local 566 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local 581 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local 622 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local 630 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument 661 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument 677 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument 691 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument 701 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument 713 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument 737 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local 748 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local 755 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument 772 cxt_setup_gpio_unmute(struct hda_codec * codec,unsigned int gpio_mute_mask) cxt_setup_gpio_unmute() argument 784 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument 791 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument 798 cxt_fixup_hp_a_u(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_a_u() argument 1156 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument 1171 cx_probe(struct hda_codec * codec,const struct hda_device_id * id) cx_probe() argument [all...] |
| H A D | senarytech.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HD audio codec driver for Senary HDA audio codec 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 65 struct senary_spec *spec = codec->spec; in senary_auto_parse_beep() 68 for_each_hda_codec_node(nid, codec) in senary_auto_parse_beep() 69 if ((get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) && in senary_auto_parse_beep() [all …]
|
| H A D | ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HD audio codec driver for Creative CA0132 chip 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NI 1135 struct hda_codec *codec; global() member 1527 codec_send_command(struct hda_codec * codec,hda_nid_t nid,unsigned int verb,unsigned int parm,unsigned int * res) codec_send_command() argument 1537 codec_set_converter_format(struct hda_codec * codec,hda_nid_t nid,unsigned short converter_format,unsigned int * res) codec_set_converter_format() argument 1544 codec_set_converter_stream_channel(struct hda_codec * codec,hda_nid_t nid,unsigned char stream,unsigned char channel,unsigned int * res) codec_set_converter_stream_channel() argument 1556 chipio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) chipio_send() argument 1578 chipio_write_address(struct hda_codec * codec,unsigned int chip_addx) chipio_write_address() argument 1605 chipio_write_data(struct hda_codec * codec,unsigned int data) chipio_write_data() argument 1629 chipio_write_data_multiple(struct hda_codec * codec,const u32 * data,unsigned int count) chipio_write_data_multiple() argument 1650 chipio_read_data(struct hda_codec * codec,unsigned int * data) chipio_read_data() argument 1681 chipio_write(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write() argument 1707 chipio_write_no_mutex(struct hda_codec * codec,unsigned int chip_addx,const unsigned int data) chipio_write_no_mutex() argument 1730 chipio_write_multiple(struct hda_codec * codec,u32 chip_addx,const u32 * data,unsigned int count) chipio_write_multiple() argument 1754 chipio_read(struct hda_codec * codec,unsigned int chip_addx,unsigned int * data) chipio_read() argument 1779 chipio_set_control_flag(struct hda_codec * codec,enum control_flag_id flag_id,bool flag_state) chipio_set_control_flag() argument 1795 chipio_set_control_param(struct hda_codec * codec,enum control_param_id param_id,int param_val) chipio_set_control_param() argument 1822 chipio_set_control_param_no_mutex(struct hda_codec * codec,enum control_param_id param_id,int param_val) chipio_set_control_param_no_mutex() argument 1846 chipio_set_stream_source_dest(struct hda_codec * codec,int streamid,int source_point,int dest_point) chipio_set_stream_source_dest() argument 1860 chipio_set_stream_channels(struct hda_codec * codec,int streamid,unsigned int channels) chipio_set_stream_channels() argument 1872 chipio_set_stream_control(struct hda_codec * codec,int streamid,int enable) chipio_set_stream_control() argument 1884 chipio_get_stream_control(struct hda_codec * codec,int streamid,unsigned int * enable) chipio_get_stream_control() argument 1897 chipio_set_conn_rate_no_mutex(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate_no_mutex() argument 1909 chipio_set_conn_rate(struct hda_codec * codec,int connid,enum ca0132_sample_rate rate) chipio_set_conn_rate() argument 1922 chipio_8051_write_direct(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_direct() argument 1939 chipio_8051_set_address(struct hda_codec * codec,unsigned int addr) chipio_8051_set_address() argument 1954 chipio_8051_set_data(struct hda_codec * codec,unsigned int data) chipio_8051_set_data() argument 1961 chipio_8051_get_data(struct hda_codec * codec) chipio_8051_get_data() argument 1968 chipio_8051_set_data_pll(struct hda_codec * codec,unsigned int data) chipio_8051_set_data_pll() argument 1975 chipio_8051_write_exram(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram() argument 1988 chipio_8051_write_exram_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_exram_no_mutex() argument 1996 chipio_8051_read_exram(struct hda_codec * codec,unsigned int addr,unsigned int * data) chipio_8051_read_exram() argument 2003 chipio_8051_write_pll_pmu(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu() argument 2016 chipio_8051_write_pll_pmu_no_mutex(struct hda_codec * codec,unsigned int addr,unsigned int data) chipio_8051_write_pll_pmu_no_mutex() argument 2026 chipio_enable_clocks(struct hda_codec * codec) chipio_enable_clocks() argument 2042 dspio_send(struct hda_codec * codec,unsigned int reg,unsigned int data) dspio_send() argument 2062 dspio_write_wait(struct hda_codec * codec) dspio_write_wait() argument 2080 dspio_write(struct hda_codec * codec,unsigned int scp_data) dspio_write() argument 2111 dspio_write_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int size) dspio_write_multiple() argument 2131 dspio_read(struct hda_codec * codec,unsigned int * data) dspio_read() argument 2150 dspio_read_multiple(struct hda_codec * codec,unsigned int * buffer,unsigned int * buf_size,unsigned int size_count) dspio_read_multiple() argument 2243 dspio_clear_response_queue(struct hda_codec * codec) dspio_clear_response_queue() argument 2255 dspio_get_response_data(struct hda_codec * codec) dspio_get_response_data() argument 2279 dspio_send_scp_message(struct hda_codec * codec,unsigned char * send_buf,unsigned int send_buf_size,unsigned char * return_buf,unsigned int return_buf_size,unsigned int * bytes_returned) dspio_send_scp_message() argument 2369 dspio_scp(struct hda_codec * codec,int mod_id,int src_id,int req,int dir,const void * data,unsigned int len,void * reply,unsigned int * reply_len) dspio_scp() argument 2451 dspio_set_param(struct hda_codec * codec,int mod_id,int src_id,int req,const void * data,unsigned int len) dspio_set_param() argument 2458 dspio_set_uint_param(struct hda_codec * codec,int mod_id,int req,const unsigned int data) dspio_set_uint_param() argument 2468 dspio_alloc_dma_chan(struct hda_codec * codec,unsigned int * dma_chan) dspio_alloc_dma_chan() argument 2497 dspio_free_dma_chan(struct hda_codec * codec,unsigned int dma_chan) dspio_free_dma_chan() argument 2522 dsp_set_run_state(struct hda_codec * codec) dsp_set_run_state() argument 2557 dsp_reset(struct hda_codec * codec) dsp_reset() argument 2600 dsp_is_dma_active(struct hda_codec * codec,unsigned int dma_chan) dsp_is_dma_active() argument 2610 dsp_dma_setup_common(struct hda_codec * codec,unsigned int chip_addx,unsigned int dma_chan,unsigned int port_map_mask,bool ovly) dsp_dma_setup_common() argument 2723 dsp_dma_setup(struct hda_codec * codec,unsigned int chip_addx,unsigned int count,unsigned int dma_chan) dsp_dma_setup() argument 2814 dsp_dma_start(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_start() argument 2850 dsp_dma_stop(struct hda_codec * codec,unsigned int dma_chan,bool ovly) dsp_dma_stop() argument 2893 dsp_allocate_router_ports(struct hda_codec * codec,unsigned int num_chans,unsigned int ports_per_channel,unsigned int start_device,unsigned int * port_map) dsp_allocate_router_ports() argument 2934 dsp_free_router_ports(struct hda_codec * codec) dsp_free_router_ports() argument 2954 dsp_allocate_ports(struct hda_codec * codec,unsigned int num_chans,unsigned int rate_multi,unsigned int * port_map) dsp_allocate_ports() argument 2975 dsp_allocate_ports_format(struct hda_codec * codec,const unsigned short fmt,unsigned int * port_map) dsp_allocate_ports_format() argument 2998 dsp_free_ports(struct hda_codec * codec) dsp_free_ports() argument 3018 struct hda_codec *codec; global() member 3030 dma_convert_to_hda_format(struct hda_codec * codec,unsigned int sample_rate,unsigned short channels,unsigned short * hda_format) dma_convert_to_hda_format() argument 3050 struct hda_codec *codec = dma->codec; dma_reset() local 3165 dspxfr_hci_write(struct hda_codec * codec,const struct dsp_image_seg * fls) dspxfr_hci_write() argument 3205 dspxfr_one_seg(struct hda_codec * codec,const struct dsp_image_seg * fls,unsigned int reloc,struct dma_engine * dma_engine,unsigned int dma_chan,unsigned int port_map_mask,bool ovly) dspxfr_one_seg() argument 3401 dspxfr_image(struct hda_codec * codec,const struct dsp_image_seg * fls_data,unsigned int reloc,unsigned int sample_rate,unsigned short channels,bool ovly) dspxfr_image() argument 3522 dspload_post_setup(struct hda_codec * codec) dspload_post_setup() argument 3554 dspload_image(struct hda_codec * codec,const struct dsp_image_seg * fls,bool ovly,unsigned int reloc,bool autostart,int router_chans) dspload_image() argument 3609 dspload_is_loaded(struct hda_codec * codec) dspload_is_loaded() argument 3621 dspload_is_loaded(codec) global() argument 3624 dspload_wait_loaded(struct hda_codec * codec) dspload_wait_loaded() argument 3655 ca0113_mmio_gpio_set(struct hda_codec * codec,unsigned int gpio_pin,bool enable) ca0113_mmio_gpio_set() argument 3675 ca0113_mmio_command_set(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set() argument 3714 ca0113_mmio_command_set_type2(struct hda_codec * codec,unsigned int group,unsigned int target,unsigned int value) ca0113_mmio_command_set_type2() argument 3754 ca0132_gpio_init(struct hda_codec * codec) ca0132_gpio_init() argument 3777 ca0132_gpio_setup(struct hda_codec * codec) ca0132_gpio_setup() argument 3847 r3di_gpio_mic_set(struct hda_codec * codec,enum r3di_mic_select cur_mic) r3di_gpio_mic_set() argument 3867 r3di_gpio_dsp_status_set(struct hda_codec * codec,enum r3di_dsp_status dsp_status) r3di_gpio_dsp_status_set() argument 3900 ca0132_playback_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) ca0132_playback_pcm_prepare() argument 3913 ca0132_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_cleanup() argument 3932 ca0132_playback_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_playback_pcm_delay() argument 3960 ca0132_dig_playback_pcm_open(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_open() argument 3968 ca0132_dig_playback_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_prepare() argument 3979 ca0132_dig_playback_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_cleanup() argument 3987 ca0132_dig_playback_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_dig_playback_pcm_close() argument 3998 ca0132_capture_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) ca0132_capture_pcm_prepare() argument 4010 ca0132_capture_pcm_cleanup(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_cleanup() argument 4023 ca0132_capture_pcm_delay(struct hda_pcm_stream * info,struct hda_codec * codec,struct snd_pcm_substream * substream) ca0132_capture_pcm_delay() argument 4236 tuning_ctl_set(struct hda_codec * codec,hda_nid_t nid,const unsigned int * lookup,int idx) tuning_ctl_set() argument 4259 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); tuning_ctl_get() local 4285 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); voice_focus_ctl_put() local 4320 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mic_svm_ctl_put() local 4355 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); equalizer_ctl_put() local 4377 add_tuning_control(struct hda_codec * codec,hda_nid_t pnid,hda_nid_t nid,const char * name,int dir) add_tuning_control() argument 4417 add_tuning_ctls(struct hda_codec * codec) add_tuning_ctls() argument 4435 ca0132_init_tuning_defaults(struct hda_codec * codec) ca0132_init_tuning_defaults() argument 4457 ca0132_select_out(struct hda_codec * codec) ca0132_select_out() argument 4561 ae5_mmio_select_out(struct hda_codec * codec) ae5_mmio_select_out() argument 4578 ca0132_alt_set_full_range_speaker(struct hda_codec * codec) ca0132_alt_set_full_range_speaker() argument 4623 ca0132_alt_surround_set_bass_redirection(struct hda_codec * codec,bool val) ca0132_alt_surround_set_bass_redirection() argument 4656 ca0132_alt_select_out_get_quirk_data(struct hda_codec * codec,const struct ca0132_alt_out_set_quirk_data ** quirk_data) ca0132_alt_select_out_get_quirk_data() argument 4672 ca0132_alt_select_out_quirk_set(struct hda_codec * codec) ca0132_alt_select_out_quirk_set() argument 4745 ca0132_set_out_node_pincfg(struct hda_codec * codec,hda_nid_t nid,bool out_enable,bool hp_enable) ca0132_set_out_node_pincfg() argument 4766 ca0132_alt_select_out(struct hda_codec * codec) ca0132_alt_select_out() argument 4945 ca0132_set_vipsource(struct hda_codec * codec,int val) ca0132_set_vipsource() argument 4983 ca0132_alt_set_vipsource(struct hda_codec * codec,int val) ca0132_alt_set_vipsource() argument 5054 ca0132_select_mic(struct hda_codec * codec) ca0132_select_mic() argument 5106 ca0132_alt_select_in(struct hda_codec * codec) ca0132_alt_select_in() argument 5283 ca0132_is_vnode_effective(struct hda_codec * codec,hda_nid_t vnid,hda_nid_t * shared_nid) ca0132_is_vnode_effective() argument 5311 ca0132_voicefx_set(struct hda_codec * codec,int enable) ca0132_voicefx_set() argument 5333 ca0132_effects_set(struct hda_codec * codec,hda_nid_t nid,long val) ca0132_effects_set() argument 5424 ca0132_pe_switch_set(struct hda_codec * codec) ca0132_pe_switch_set() argument 5446 stop_mic1(struct hda_codec * codec) stop_mic1() argument 5459 resume_mic1(struct hda_codec * codec,unsigned int oldval) resume_mic1() argument 5472 ca0132_cvoice_switch_set(struct hda_codec * codec) ca0132_cvoice_switch_set() argument 5501 ca0132_mic_boost_set(struct hda_codec * codec,long val) ca0132_mic_boost_set() argument 5516 ca0132_alt_mic_boost_set(struct hda_codec * codec,long val) ca0132_alt_mic_boost_set() argument 5526 ae5_headphone_gain_set(struct hda_codec * codec,long val) ae5_headphone_gain_set() argument 5540 zxr_headphone_gain_set(struct hda_codec * codec,long val) zxr_headphone_gain_set() argument 5550 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_vnode_switch_set() local 5611 ca0132_alt_bass_redirection_xover_set(struct hda_codec * codec,long idx) ca0132_alt_bass_redirection_xover_set() argument 5631 ca0132_alt_slider_ctl_set(struct hda_codec * codec,hda_nid_t nid,const unsigned int * lookup,int idx) ca0132_alt_slider_ctl_set() argument 5673 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_ctl_get() local 5689 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_slider_ctl_get() local 5732 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_put() local 5762 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_effect_slider_put() local 5809 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_get() local 5819 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_put() local 5863 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_get() local 5873 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_put() local 5916 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_get() local 5926 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_put() local 5966 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_get() local 5976 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_put() local 6018 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_get() local 6028 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_put() local 6069 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_get() local 6079 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_put() local 6122 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_get() local 6132 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_put() local 6186 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_get() local 6196 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_put() local 6243 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_get() local 6253 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_put() local 6288 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_get() local 6340 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_put() local 6441 ca0132_alt_dsp_volume_put(struct hda_codec * codec,hda_nid_t nid) ca0132_alt_dsp_volume_put() argument 6474 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_info() local 6512 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_get() local 6533 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_put() local 6580 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_volume_put() local 6620 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_tlv() local 6656 ca0132_alt_add_effect_slider(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) ca0132_alt_add_effect_slider() argument 6691 add_fx_switch(struct hda_codec * codec,hda_nid_t nid,const char * pfx,int dir) add_fx_switch() argument 6710 add_voicefx(struct hda_codec * codec) add_voicefx() argument 6722 add_ca0132_alt_eq_presets(struct hda_codec * codec) add_ca0132_alt_eq_presets() argument 6739 ca0132_alt_add_svm_enum(struct hda_codec * codec) ca0132_alt_add_svm_enum() argument 6756 ca0132_alt_add_output_enum(struct hda_codec * codec) ca0132_alt_add_output_enum() argument 6773 ca0132_alt_add_speaker_channel_cfg_enum(struct hda_codec * codec) ca0132_alt_add_speaker_channel_cfg_enum() argument 6790 ca0132_alt_add_front_full_range_switch(struct hda_codec * codec) ca0132_alt_add_front_full_range_switch() argument 6800 ca0132_alt_add_rear_full_range_switch(struct hda_codec * codec) ca0132_alt_add_rear_full_range_switch() argument 6816 ca0132_alt_add_bass_redirection_crossover(struct hda_codec * codec) ca0132_alt_add_bass_redirection_crossover() argument 6832 ca0132_alt_add_bass_redirection_switch(struct hda_codec * codec) ca0132_alt_add_bass_redirection_switch() argument 6848 ca0132_alt_add_input_enum(struct hda_codec * codec) ca0132_alt_add_input_enum() argument 6864 ca0132_alt_add_mic_boost_enum(struct hda_codec * codec) ca0132_alt_add_mic_boost_enum() argument 6882 ae5_add_headphone_gain_enum(struct hda_codec * codec) ae5_add_headphone_gain_enum() argument 6899 ae5_add_sound_filter_enum(struct hda_codec * codec) ae5_add_sound_filter_enum() argument 6911 zxr_add_headphone_gain_switch(struct hda_codec * codec) zxr_add_headphone_gain_switch() argument 6948 ca0132_alt_add_chmap_ctls(struct hda_codec * codec) ca0132_alt_add_chmap_ctls() argument 7041 ca0132_build_controls(struct hda_codec * codec) ca0132_build_controls() argument 7228 dbpro_build_controls(struct hda_codec * codec) dbpro_build_controls() argument 7292 ca0132_build_pcms(struct hda_codec * codec) ca0132_build_pcms() argument 7352 dbpro_build_pcms(struct hda_codec * codec) dbpro_build_pcms() argument 7386 init_output(struct hda_codec * codec,hda_nid_t pin,hda_nid_t dac) init_output() argument 7400 init_input(struct hda_codec * codec,hda_nid_t pin,hda_nid_t adc) init_input() argument 7421 refresh_amp_caps(struct hda_codec * codec,hda_nid_t nid,int dir) refresh_amp_caps() argument 7433 ca0132_set_dmic(struct hda_codec * codec,int enable) ca0132_set_dmic() argument 7477 ca0132_init_dmic(struct hda_codec * codec) ca0132_init_dmic() argument 7525 ca0132_init_analog_mic2(struct hda_codec * codec) ca0132_init_analog_mic2() argument 7537 ca0132_refresh_widget_caps(struct hda_codec * codec) ca0132_refresh_widget_caps() argument 7559 ca0132_alt_free_active_dma_channels(struct hda_codec * codec) ca0132_alt_free_active_dma_channels() argument 7614 ca0132_alt_start_dsp_audio_streams(struct hda_codec * codec) ca0132_alt_start_dsp_audio_streams() argument 7704 chipio_remap_stream(struct hda_codec * codec,const struct chipio_stream_remap_data * remap_data) chipio_remap_stream() argument 7771 ca0132_alt_init_speaker_tuning(struct hda_codec * codec) ca0132_alt_init_speaker_tuning() argument 7815 ca0132_alt_init_analog_mics(struct hda_codec * codec) ca0132_alt_init_analog_mics() argument 7845 sbz_connect_streams(struct hda_codec * codec) sbz_connect_streams() argument 7874 sbz_chipio_startup_data(struct hda_codec * codec) sbz_chipio_startup_data() argument 7907 ca0132_alt_dsp_initial_mic_setup(struct hda_codec * codec) ca0132_alt_dsp_initial_mic_setup() argument 7938 ae5_post_dsp_register_set(struct hda_codec * codec) ae5_post_dsp_register_set() argument 7963 ae5_post_dsp_param_setup(struct hda_codec * codec) ae5_post_dsp_param_setup() argument 7983 ae5_post_dsp_pll_setup(struct hda_codec * codec) ae5_post_dsp_pll_setup() argument 7992 ae5_post_dsp_stream_setup(struct hda_codec * codec) ae5_post_dsp_stream_setup() argument 8018 ae5_post_dsp_startup_data(struct hda_codec * codec) ae5_post_dsp_startup_data() argument 8050 ae7_post_dsp_setup_ports(struct hda_codec * codec) ae7_post_dsp_setup_ports() argument 8071 ae7_post_dsp_asi_stream_setup(struct hda_codec * codec) ae7_post_dsp_asi_stream_setup() argument 8094 ae7_post_dsp_pll_setup(struct hda_codec * codec) ae7_post_dsp_pll_setup() argument 8108 ae7_post_dsp_asi_setup_ports(struct hda_codec * codec) ae7_post_dsp_asi_setup_ports() argument 8190 ae7_post_dsp_asi_setup(struct hda_codec * codec) ae7_post_dsp_asi_setup() argument 8219 ca0132_setup_defaults(struct hda_codec * codec) ca0132_setup_defaults() argument 8264 r3d_setup_defaults(struct hda_codec * codec) r3d_setup_defaults() argument 8314 sbz_setup_defaults(struct hda_codec * codec) sbz_setup_defaults() argument 8368 ae5_setup_defaults(struct hda_codec * codec) ae5_setup_defaults() argument 8433 ae7_setup_defaults(struct hda_codec * codec) ae7_setup_defaults() argument 8516 ca0132_init_flags(struct hda_codec * codec) ca0132_init_flags() argument 8549 ca0132_init_params(struct hda_codec * codec) ca0132_init_params() argument 8565 ca0132_set_dsp_msr(struct hda_codec * codec,bool is96k) ca0132_set_dsp_msr() argument 8579 ca0132_download_dsp_images(struct hda_codec * codec) ca0132_download_dsp_images() argument 8635 ca0132_download_dsp(struct hda_codec * codec) ca0132_download_dsp() argument 8661 ca0132_process_dsp_response(struct hda_codec * codec,struct hda_jack_callback * callback) ca0132_process_dsp_response() argument 8677 hp_callback(struct hda_codec * codec,struct hda_jack_callback * cb) hp_callback() argument 8691 amic_callback(struct hda_codec * codec,struct hda_jack_callback * cb) amic_callback() argument 8701 ca0132_setup_unsol(struct hda_codec * codec) ca0132_setup_unsol() argument 8790 ca0132_init_chip(struct hda_codec * codec) ca0132_init_chip() argument 8875 r3di_gpio_shutdown(struct hda_codec * codec) r3di_gpio_shutdown() argument 8883 sbz_region2_exit(struct hda_codec * codec) sbz_region2_exit() argument 8900 sbz_set_pin_ctl_default(struct hda_codec * codec) sbz_set_pin_ctl_default() argument 8913 ca0132_clear_unsolicited(struct hda_codec * codec) ca0132_clear_unsolicited() argument 8925 sbz_gpio_shutdown_commands(struct hda_codec * codec,int dir,int mask,int data) sbz_gpio_shutdown_commands() argument 8940 zxr_dbpro_power_state_shutdown(struct hda_codec * codec) zxr_dbpro_power_state_shutdown() argument 8950 sbz_exit_chip(struct hda_codec * codec) sbz_exit_chip() argument 8985 r3d_exit_chip(struct hda_codec * codec) r3d_exit_chip() argument 8992 ae5_exit_chip(struct hda_codec * codec) ae5_exit_chip() argument 9017 ae7_exit_chip(struct hda_codec * codec) ae7_exit_chip() argument 9043 zxr_exit_chip(struct hda_codec * codec) zxr_exit_chip() argument 9073 ca0132_exit_chip(struct hda_codec * codec) ca0132_exit_chip() argument 9089 sbz_dsp_startup_check(struct hda_codec * codec) sbz_dsp_startup_check() argument 9154 ca0132_alt_vol_setup(struct hda_codec * codec) ca0132_alt_vol_setup() argument 9169 sbz_pre_dsp_setup(struct hda_codec * codec) sbz_pre_dsp_setup() argument 9182 r3d_pre_dsp_setup(struct hda_codec * codec) r3d_pre_dsp_setup() argument 9192 r3di_pre_dsp_setup(struct hda_codec * codec) r3di_pre_dsp_setup() argument 9209 zxr_pre_dsp_setup(struct hda_codec * codec) zxr_pre_dsp_setup() argument 9282 ca0132_mmio_init_sbz(struct hda_codec * codec) ca0132_mmio_init_sbz() argument 9332 ca0132_mmio_init_ae5(struct hda_codec * codec) ca0132_mmio_init_ae5() argument 9364 ca0132_mmio_init(struct hda_codec * codec) ca0132_mmio_init() argument 9397 ae5_register_set(struct hda_codec * codec) ae5_register_set() argument 9456 ca0132_alt_init(struct hda_codec * codec) ca0132_alt_init() argument 9513 ca0132_init(struct hda_codec * codec) ca0132_init() argument 9634 dbpro_init(struct hda_codec * codec) dbpro_init() argument 9649 ca0132_free(struct hda_codec * codec) ca0132_free() argument 9690 dbpro_free(struct hda_codec * codec) dbpro_free() argument 9700 ca0132_config(struct hda_codec * codec) ca0132_config() argument 9900 ca0132_prepare_verbs(struct hda_codec * codec) ca0132_prepare_verbs() argument 9949 sbz_detect_quirk(struct hda_codec * codec) sbz_detect_quirk() argument 9964 ca0132_codec_remove(struct hda_codec * codec) ca0132_codec_remove() argument 9974 ca0132_codec_probe(struct hda_codec * codec,const struct hda_device_id * id) ca0132_codec_probe() argument 10092 ca0132_codec_build_controls(struct hda_codec * codec) ca0132_codec_build_controls() argument 10102 ca0132_codec_build_pcms(struct hda_codec * codec) ca0132_codec_build_pcms() argument 10112 ca0132_codec_init(struct hda_codec * codec) ca0132_codec_init() argument 10122 ca0132_codec_suspend(struct hda_codec * codec) ca0132_codec_suspend() argument [all...] |
| /linux/sound/hda/core/ext/ |
| H A D | controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdac-ext-controller.c - HD-audio extended controller functions. 5 * Copyright (C) 2014-2015 Intel Corp 19 * processing pipe helpers - thes 377 hdac_ext_codec_link_up(struct hdac_device * codec) hdac_ext_codec_link_up() argument 387 hdac_ext_codec_link_down(struct hdac_device * codec) hdac_ext_codec_link_down() argument 397 snd_hdac_ext_bus_link_power(struct hdac_device * codec,bool enable) snd_hdac_ext_bus_link_power() argument [all...] |
| /linux/include/sound/ac97/ |
| H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 4 * Universal interface for Audio Codec '97 10 * AC'97 codec registers 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 63 #define AC97_CODEC_CLASS_REV 0x60 /* Codec Class/Revision */ 103 #define AC97_BC_RESERVED1 0x0002 /* Reserved (was Modem Line Codec support) */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | realtek,rt5677.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RT5677 audio CODEC 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 30 - $ref: dai-common.yaml# 42 gpio-controller: true 44 '#gpio-cells': 47 realtek,pow-ldo2-gpio: 49 description: CODEC's POW_LDO2 pin. [all …]
|
| H A D | rt5660.txt | 1 RT5660 audio CODEC 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 21 Boolean. If the codec will be powered off in suspend, the resume should be [all …]
|
| H A D | amlogic,gx-sound-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 18 - const: amlogic,gx-sound-card 20 audio-aux-devs: 21 $ref: /schemas/types.yaml#/definitions/phandle-array 24 audio-widgets: [all …]
|
| H A D | samsung,odroid.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 - $ref: sound-card-common.yaml# 19 - const: hardkernel,odroid-xu3-audio 21 - const: hardkernel,odroid-xu4-audio 24 - const: samsung,odroid-xu3-audio [all …]
|
| H A D | st,sta350.txt | 1 STA350 audio CODEC 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 10 deasserted before communication to the codec starts. 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 13 it will be deasserted before communication to the codec 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V [all …]
|
| H A D | amlogic,axg-sound-card.yaml | 1 # 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 …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | nvhdmi-mcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Legacy Nvidia HDMI codec support 50 static int nvhdmi_mcp_init(struct hda_codec *codec) in nvhdmi_mcp_init() argument 52 struct hdmi_spec *spec = codec->spec; in nvhdmi_mcp_init() 54 if (spec->multiou in nvhdmi_mcp_init() 61 nvhdmi_8ch_7x_set_info_frame_parameters(struct hda_codec * codec,int channels) nvhdmi_8ch_7x_set_info_frame_parameters() argument 96 nvhdmi_8ch_7x_pcm_close(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream) nvhdmi_8ch_7x_pcm_close() argument 122 nvhdmi_8ch_7x_pcm_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) nvhdmi_8ch_7x_pcm_prepare() argument 237 nvhdmi_mcp_build_pcms(struct hda_codec * codec) nvhdmi_mcp_build_pcms() argument 251 nvhdmi_mcp_build_controls(struct hda_codec * codec) nvhdmi_mcp_build_controls() argument 305 nvhdmi_mcp_probe(struct hda_codec * codec,const struct hda_device_id * id) nvhdmi_mcp_probe() argument [all...] |
| /linux/sound/arm/ |
| H A D | pxa2xx-ac97-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 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) */ 60 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */ 61 #define GSR_PCR (1 << 8) /* Primary Codec Ready */ 65 #define GSR_ACOFFD (1 << 3) /* AC-link Shut Off Done */ 68 #define GSR_GSCI (1 << 0) /* Codec GPI Status Change Interrupt */ 70 #define CAR (0x0020) /* CODEC Access Register */ [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-gxbb-wetek-play2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxbb-wetek.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 compatible = "wetek,play2", "amlogic,meson-gxbb"; 17 spdif_dit: audio-codec-0 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 20 sound-name-prefix = "DIT"; [all …]
|
| /linux/sound/aoa/codecs/ |
| H A D | toonie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Apple Onboard Audio driver for Toonie codec 7 * This is a driver for the toonie codec chip. This chip is present 15 MODULE_DESCRIPTION("toonie codec driver for snd-aoa"); 21 #define PFX "snd-aoa-code 24 struct aoa_codec codec; global() member 85 toonie_init_codec(struct aoa_codec * codec) toonie_init_codec() argument 109 toonie_exit_codec(struct aoa_codec * codec) toonie_exit_codec() argument [all...] |
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6ull-dhcom-pdk2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-RTC-WBT-ADC-I-01D2 7 * DHCOR PCB number: 578-200 or newer 8 * DHCOM PCB number: 579-200 or newer 9 * PDK2 PCB number: 516-400 or newer 11 /dts-v1/; 13 #include "imx6ull-dhcom-som.dtsi" 17 compatible = "dh,imx6ull-dhcom-pdk2", "dh,imx6ull-dhcom-som", 18 "dh,imx6ull-dhcor-som", "fsl,imx6ull"; 20 clk_ext_audio_codec: clock-codec { [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3288-veyron-analog-audio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * codec and analog headphone jack. 11 compatible = "rockchip,rockchip-audio-max98090"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&mic_det>, <&hp_det>; 14 rockchip,model = "VEYRON-I2S"; 15 rockchip,i2s-controller = <&i2s>; 16 rockchip,audio-codec = <&max98090>; 17 rockchip,hp-det-gpios = <&gpio6 RK_PA5 GPIO_ACTIVE_HIGH>; 18 rockchip,mic-det-gpios = <&gpio6 RK_PB3 GPIO_ACTIVE_LOW>; [all …]
|
| /linux/include/linux/ |
| H A D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 64 #define WM97XX_PRP_DETW 0x4000 /* detect on, digitise off, wake */ 65 #define WM97XX_PRP_DET 0x8000 /* detect on, digitise off, no wake */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 124 /* Codec GPIO's */ 146 /*---------------- Return codes from sample reading functions ---------------*/ 160 * The wm97xx driver provides a private API for writing platform-specific 172 * Codec GPIO status 180 * Codec GPIO direction [all …]
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // Realtek HD-audio codec support code 10 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, 15 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in coef_mutex_lock() 16 val = snd_hda_codec_read(codec, ni in coef_mutex_lock() 14 coef_mutex_lock(struct hda_codec * codec) coef_mutex_lock() argument 22 coef_mutex_unlock(struct hda_codec * codec) coef_mutex_unlock() argument 30 __alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) __alc_read_coefex_idx() argument 40 alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) alc_read_coefex_idx() argument 52 __alc_write_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_val) __alc_write_coefex_idx() argument 59 alc_write_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_val) alc_write_coefex_idx() argument 68 __alc_update_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int mask,unsigned int bits_set) __alc_update_coefex_idx() argument 79 alc_update_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int mask,unsigned int bits_set) alc_update_coefex_idx() argument 90 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument 100 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument 119 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument 129 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument 138 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument 153 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument 170 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument 177 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument 184 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument 191 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument 198 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument 205 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument 218 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument 228 alc_fix_pll_init(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_bit) alc_fix_pll_init() argument 240 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument 264 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument 383 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument 393 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument 406 alc_find_ext_mic_pin(struct hda_codec * codec) alc_find_ext_mic_pin() argument 428 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument 451 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument 482 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument 494 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument 507 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument 552 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument 563 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument 575 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument 667 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument 770 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument 784 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument 793 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument 806 alc_init(struct hda_codec * codec) alc_init() argument 829 alc_shutup(struct hda_codec * codec) alc_shutup() argument 843 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument 849 alc_suspend(struct hda_codec * codec) alc_suspend() argument 859 alc_resume(struct hda_codec * codec) alc_resume() argument 942 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument 1014 alc_has_cdefine_beep(struct hda_codec * codec) alc_has_cdefine_beep() argument 1031 alc_parse_auto_config(struct hda_codec * codec,const hda_nid_t * ignore_nids,const hda_nid_t * ssid_nids) alc_parse_auto_config() argument 1056 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument 1085 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument 1114 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument 1125 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument 1150 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument 1175 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument 1186 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument 1218 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument 1230 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument 1253 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument 1390 alc_headset_mode_mic_in(struct hda_codec * codec,hda_nid_t hp_pin,hda_nid_t mic_pin) alc_headset_mode_mic_in() argument 1529 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument 1650 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument 1774 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument 1876 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument 2070 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument 2130 alc_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) alc_update_headset_mode_hook() argument 2137 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument 2145 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument 2165 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument 2188 alc_fixup_headset_mode_no_hp_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_no_hp_mic() argument 2200 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument 2211 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument 2224 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local 2236 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local 2245 alc_fixup_hp_gpio_led(struct hda_codec * codec,int action,unsigned int mute_mask,unsigned int micmute_mask) alc_fixup_hp_gpio_led() argument 2268 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument 2276 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument 2287 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument [all...] |
| /linux/sound/soc/codecs/ |
| H A D | cx20442.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * cx20442.c -- CX20442 ALSA Soc Audio driver 94 return -EINVAL; in cx20442_read_reg_cache() 96 return cx20442->reg_cache; in cx20442_read_reg_cache() 139 return -EINVAL; in cx20442_pm_to_v253_vls() 149 return (value & (1 << CX20442_AGC)) ? -EINVAL : 0; in cx20442_pm_to_v253_vsp() 160 return -EINVAL; in cx20442_write() 164 if (!cx20442->tty || !cx20442->tty->ops->write) in cx20442_write() 165 return -EIO; in cx20442_write() 167 old = cx20442->reg_cache; in cx20442_write() [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | controls.rst | 2 HD-Audio Codec-Specific Mixer Controls 6 This file explains the codec-specific mixer controls. 9 -------------- 12 This is an enum control to change the surround-channel setup, 16 jack-retasking of multi-I/O jacks. 18 Auto-Mute Mode 19 This is an enum control to change the auto-mute behavior of the 20 headphone and line-out jacks. If built-in speakers and headphone 21 and/or line-out jacks are available on a machine, this controls 23 When there are only either headphones or line-out jacks, it gives [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | cht_bsw_rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht-bsw-rt5645.c - ASoc Machine driver for Intel Cherryview-based platforms 4 * Cherrytrail and Braswell, with RT5645 codec. 25 #include <sound/soc-acpi.h> 27 #include "../atom/sst-atom-controls.h" 28 #include "../common/soc-intel-quirks.h" 31 #define CHT_CODEC_DAI1 "rt5645-aif1" 32 #define CHT_CODEC_DAI2 "rt5645-aif2" 69 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 70 struct snd_soc_card *card = dapm->card; in platform_clock_control() [all …]
|
| H A D | cht_bsw_rt5672.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms 4 * Cherrytrail and Braswell, with RT5672 codec. 22 #include <sound/soc-acpi.h> 24 #include "../atom/sst-atom-controls.h" 25 #include "../common/soc-intel-quirks.h" 28 /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */ 30 #define CHT_CODEC_DAI "rt5670-aif1" 54 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 55 struct snd_soc_card *card = dapm->card; in platform_clock_control() [all …]
|