Home
last modified time | relevance | path

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

12345678910>>...19

/linux/sound/pci/hda/
H A Dhda_beep.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Digital Beep Input Interface for HD-audio codec
26 struct hda_codec *codec = beep->codec; in generate_tone() local
28 if (tone && !beep->playing) { in generate_tone()
29 snd_hda_power_up(codec); in generate_tone()
30 if (beep->power_hook) in generate_tone()
31 beep->power_hook(beep, true); in generate_tone()
32 beep->playing = 1; in generate_tone()
34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone()
36 if (!tone && beep->playing) { in generate_tone()
[all …]
H A Dpatch_conexant.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio interface patch for Conexant HDA audio codec
7 * Tobin Davis <tdavis@dsl-only.net>
63 spec->gen.beep_nid = nid; in set_beep_amp()
65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
68 return -ENOME in set_beep_amp()
74 cx_auto_parse_beep(struct hda_codec * codec) cx_auto_parse_beep() argument
85 cx_auto_parse_beep(codec) global() argument
93 cx_auto_parse_eapd(struct hda_codec * codec) cx_auto_parse_eapd() argument
118 cx_auto_turn_eapd(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) cx_auto_turn_eapd() argument
133 struct hda_codec *codec = private_data; cx_auto_vmaster_hook() local
143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cx_auto_vmaster_mute_led() local
152 cxt_init_gpio_led(struct hda_codec * codec) cxt_init_gpio_led() argument
167 cx_fixup_headset_recog(struct hda_codec * codec) cx_fixup_headset_recog() argument
188 cx_auto_init(struct hda_codec * codec) cx_auto_init() argument
204 cx_auto_shutdown(struct hda_codec * codec) cx_auto_shutdown() argument
213 cx_auto_free(struct hda_codec * codec) cx_auto_free() argument
219 cx_process_headset_plugin(struct hda_codec * codec) cx_process_headset_plugin() argument
246 cx_update_headset_mic_vref(struct hda_codec * codec,struct hda_jack_callback * event) cx_update_headset_mic_vref() argument
261 cx_auto_suspend(struct hda_codec * codec) cx_auto_suspend() argument
315 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument
323 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument
335 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument
348 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument
375 cxt_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) cxt_update_headset_mode_hook() argument
382 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument
403 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument
424 update_mic_pin(codec,nid,val) global() argument
437 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument
452 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument
507 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument
522 olpc_xo_capture_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) olpc_xo_capture_hook() argument
546 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local
555 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local
571 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local
586 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local
627 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local
635 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument
666 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument
682 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument
696 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument
706 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument
718 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument
742 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local
753 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local
760 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument
777 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument
784 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument
1126 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument
1141 patch_conexant_auto(struct hda_codec * codec) patch_conexant_auto() argument
[all...]
H A Dpatch_senarytech.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio interface patch 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 Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NI
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...]
/linux/Documentation/sound/soc/
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
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
27 ASoC Codec driver breakdown
[all …]
/linux/sound/hda/ext/
H A Dhdac_ext_controller.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hdac-ext-controller.c - HD-audio extended controller functions.
5 * Copyright (C) 2014-2015 Intel Corp
18 * processing pipe helpers - these helpers are useful for dealing with HDA
23 * snd_hdac_ext_bus_ppcap_enable - enable/disable processing pipe capability
25 * @enable: flag to turn on/off the capability
30 if (!bus->ppcap) { in snd_hdac_ext_bus_ppcap_enable()
31 dev_err(bus->dev, "Address of PP capability is NULL"); in snd_hdac_ext_bus_ppcap_enable()
36 snd_hdac_updatel(bus->ppcap, AZX_REG_PP_PPCTL, in snd_hdac_ext_bus_ppcap_enable()
39 snd_hdac_updatel(bus->ppcap, AZX_REG_PP_PPCTL, in snd_hdac_ext_bus_ppcap_enable()
[all …]
/linux/include/sound/ac97/
H A Dregs.h1 /* 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 Drealtek,rt5677.yaml1 # 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 Drt5660.txt1 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 Damlogic,gx-sound-card.yaml1 # 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 Dsamsung,odroid.yaml1 # 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 Dst,sta350.txt1 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 …]
/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h1 /* 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/sound/soc/codecs/
H A Dpcm3008.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ALSA Soc PCM3008 codec support
8 * Based on AC97 Soc codec, original copyright follow:
31 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pcm3008_dac_ev()
32 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_dac_ev()
34 gpio_set_value_cansleep(setup->pdda_pin, in pcm3008_dac_ev()
44 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pcm3008_adc_ev()
45 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_adc_ev()
47 gpio_set_value_cansleep(setup->pdad_pin, in pcm3008_adc_ev()
80 .name = "pcm3008-hifi",
[all …]
H A Dwm8978.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8978.c -- WM8978 ALSA SoC Audio Codec driver
5 * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
7 * Copyright 2006-2009 Wolfson Microelectronics PLC.
95 /* codec private data */
106 static const char *wm8978_companding[] = {"Off", "NC", "u-law", "A-law"};
115 static const char *wm8978_alc1[] = {"Off", "Right", "Left", "Both"};
133 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1);
134 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
135 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0);
[all …]
H A Dcx20442.c1 // 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/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb-wetek-play2.dts1 // 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 Dtoonie.c1 // 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-codec-toonie: "
24 struct aoa_codec codec; member
26 #define codec_to_toonie(c) container_of(c, struct toonie, codec)
63 /* can we turn it off somehow? */ in toonie_suspend()
85 static int toonie_init_codec(struct aoa_codec *codec) in toonie_init_codec() argument
87 struct toonie *toonie = codec_to_toonie(codec); in toonie_init_codec()
[all …]
/linux/Documentation/sound/designs/
H A Dpowersave.rst2 Notes on Power-Saving Mode
5 AC97 and HD-audio drivers have the automatic power-saving mode.
9 With the automatic power-saving, the driver turns off the codec power
15 The time-out for automatic power-off can be specified via ``power_save``
16 module option of snd-ac97-codec and snd-hda-intel modules. Specify
17 the time-out value in seconds. 0 means to disable the automatic
18 power-saving. The default value of timeout is given via
27 automatic power-save mode with 10 seconds, write to
36 power-down to the active state. These are often hardly to fix, so
37 don't report extra bug reports unless you have a fix patch ;-)
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-dhcom-pdk2.dts1 // 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 Drk3288-veyron-analog-audio.dtsi1 // 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 Dwm97xx.h1 /* 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/Documentation/sound/hd-audio/
H A Dcontrols.rst2 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 Dcht_bsw_rt5645.c1 // 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 Dcht_bsw_rt5672.c1 // 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.
21 #include <sound/soc-acpi.h>
23 #include "../atom/sst-atom-controls.h"
24 #include "../common/soc-intel-quirks.h"
27 /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */
29 #define CHT_CODEC_DAI "rt5670-aif1"
53 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
54 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[all …]

12345678910>>...19