Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/linux/Documentation/sound/soc/
H A Dcodec-to-codec.rst2 Creating codec to codec dai link for ALSA dapm
5 Mostly the flow of audio is always from CPU to codec so your system
9 --------- ---------
11 CPU -------> codec
13 --------- ---------
18 ---------
20 codec-2
22 ---------
24 dai-2
26 ---------- ---------
[all …]
H A Ddapm.rst11 such, can easily co-exist with the other PM systems.
20 audio subsystem, this includes internal codec power blocks and machine
25 Codec bias domain
26 VREF, VMID (core codec and audio power)
28 Usually controlled at codec probe/remove and suspend/resume, although
53 internal codec components). All audio components that effect power are called
60 Audio DAPM widgets fall into a number of types:-
75 A codec input pin
77 A codec output pin
116 Sample Rate Converter within DSP or CODEC
[all …]
H A Dcodec.rst2 ASoC Codec Class Driver
5 The codec class driver is generic and hardware independent code that configures
6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback.
11 Each codec class driver *must* provide the following features:-
13 1. Codec DAI and PCM configuration
14 2. Codec control IO - using RegMap API
15 3. Mixers and audio controls
16 4. Codec audio operations
20 Optionally, codec drivers can also provide:-
24 Its probably best to use this guide in conjunction with the existing codec
[all …]
/openbmc/linux/sound/pci/hda/
H A Dpatch_analog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
44 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */
50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() argument
52 struct ad198x_spec *spec = codec->spec; in create_beep_ctls()
55 if (!spec->beep_amp) in create_beep_ctls()
58 for (knew = ad_beep_mixer ; knew->name; knew++) { in create_beep_ctls()
61 kctl = snd_ctl_new1(knew, codec); in create_beep_ctls()
63 return -ENOMEM; in create_beep_ctls()
64 kctl->private_value = spec->beep_amp; in create_beep_ctls()
[all …]
H A Dpatch_cirrus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
66 /* Vendor-specific processing widget */
79 * 1 = digital immediate, analog zero-cross
80 * 2 = digtail & analog soft-ramp
81 * 3 = digital soft-ramp, analog zero-cross
83 #define CS_COEF_ADC_SZC_MASK (3 << 0)
84 #define CS_COEF_ADC_MIC_SZC_MODE (3 << 0) /* SZC setup for mic */
85 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
86 /* PGA mode: 0 = differential, 1 = signle-ended */
88 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */
[all …]
H A Dhda_eld.c1 // SPDX-License-Identifier: GPL-2.0-or-later
29 CEA_EDID_VER_CEA861BCD = 3,
36 "2-reserved",
37 "3-reserved"
44 AUDIO_CODING_TYPE_MPEG1 = 3,
67 AUDIO_CODING_XTYPE_MPEG_SURROUND = 3,
74 /* 2 */ "AC-3",
75 /* 3 */ "MPEG1",
78 /* 6 */ "AAC-LC",
82 /* 10 */ "E-AC-3/DD+ (Dolby Digital Plus)",
[all …]
H A Dpatch_via.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio interface patch for VIA VT17xx/VT18xx/VT20xx codec
7 * (C) 2006-2009 VIA Technology, Inc.
8 * (C) 2006-2008 Takashi Iwai <tiwai@suse.de>
13 /* 2006-03-03 Lydia Wang Create the basic patch to support VT1708 codec */
14 /* 2006-03-14 Lydia Wang Modify hard code for some pin widget nid */
15 /* 2006-08-02 Lydia Wang Add support to VT1709 codec */
16 /* 2006-09-08 Lydia Wang Fix internal loopback recording source select bug */
17 /* 2007-09-12 Lydia Wang Add EAPD enable during driver initialization */
[all …]
H A Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
62 #define MEM_CONNID_MICIN1 3
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
98 static const char *const in_src_str[3] = { "Microphone", "Line In", "Front Microphone" };
99 #define IN_SRC_NUM_OF_INPUTS 3
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_NID)
154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID)
[all …]
H A Dhda_local.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Universal Interface for Intel High Definition Audio Codec
15 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID.
45 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0)
51 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction)
54 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \
66 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, 3, xindex, direction)
72 HDA_CODEC_MUTE_MONO(xname, nid, 3, xindex, direction)
83 /* no digital beep - just the standard one */
92 HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction)
[all …]
H A Dhda_generic.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Generic BIOS auto-parser helper functions for HD-audio
16 /* table entry for multi-io paths */
18 hda_nid_t pin; /* multi-io widget pin NID */
20 unsigned int ctl_in; /* cached input-pin control value */
25 * For output, stored in the order of DAC -> ... -> pin,
26 * for input, pin -> ... -> ADC.
30 * multi[] indicates whether it's a selector widget with multi-connectors
56 /* mic/line-in auto switching entry */
58 #define MAX_AUTO_MIC_PINS 3
[all …]
H A Dhda_generic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct
39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init()
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init()
42 mutex_init(&spec->pcm_mutex); in snd_hda_gen_spec_init()
48 * snd_hda_gen_add_kctl - Add a new kctl_new struct from the template
62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl()
67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
[all …]
H A Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
35 /* extra amp-initialization sequence types */
83 /* codec parameterization */
111 void (*init_hook)(struct hda_codec *codec);
113 void (*power_hook)(struct hda_codec *codec);
144 coef_mutex_lock(struct hda_codec * codec) coef_mutex_lock() argument
152 coef_mutex_unlock(struct hda_codec * codec) coef_mutex_unlock() argument
160 __alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) __alc_read_coefex_idx() argument
170 alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) alc_read_coefex_idx() argument
181 alc_read_coef_idx(codec,coef_idx) global() argument
184 __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
191 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
199 alc_write_coef_idx(codec,coef_idx,coef_val) global() argument
202 __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
213 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
222 alc_update_coef_idx(codec,coef_idx,mask,bits_set) global() argument
226 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument
249 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument
268 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument
277 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument
285 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument
299 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument
315 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument
322 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument
328 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument
334 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument
340 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument
346 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument
358 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument
367 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
378 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument
400 alc880_unsol_event(struct hda_codec * codec,unsigned int res) alc880_unsol_event() argument
408 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument
526 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument
539 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument
549 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument
562 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument
584 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument
614 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument
625 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument
668 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument
678 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument
689 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument
780 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument
882 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument
897 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument
906 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument
923 alc_pre_init(struct hda_codec * codec) alc_pre_init() argument
928 is_s3_resume(codec) global() argument
930 is_s4_resume(codec) global() argument
933 alc_init(struct hda_codec * codec) alc_init() argument
958 alc_shutup(struct hda_codec * codec) alc_shutup() argument
971 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument
976 alc_suspend(struct hda_codec * codec) alc_suspend() argument
985 alc_resume(struct hda_codec * codec) alc_resume() argument
1014 alc_codec_rename(codec,name) global() argument
1085 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument
1158 has_cdefine_beep(struct hda_codec * codec) has_cdefine_beep() argument
1169 has_cdefine_beep(codec) global() argument
1176 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
1200 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument
1226 alc880_parse_auto_config(struct hda_codec * codec) alc880_parse_auto_config() argument
1265 alc880_fixup_vol_knob(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc880_fixup_vol_knob() argument
1648 patch_alc880(struct hda_codec * codec) patch_alc880() argument
1693 alc260_parse_auto_config(struct hda_codec * codec) alc260_parse_auto_config() argument
1717 alc260_gpio1_automute(struct hda_codec * codec) alc260_gpio1_automute() argument
1724 alc260_fixup_gpio1_toggle(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_gpio1_toggle() argument
1742 alc260_fixup_kn1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_kn1() argument
1770 alc260_fixup_fsc_s7020(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020() argument
1778 alc260_fixup_fsc_s7020_jwse(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020_jwse() argument
1897 patch_alc260(struct hda_codec * codec) patch_alc260() argument
2003 alc889_fixup_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_coef() argument
2012 alc885_fixup_macpro_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc885_fixup_macpro_gpio() argument
2025 alc889_fixup_dac_route(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_dac_route() argument
2047 alc889_fixup_mbp_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mbp_vref() argument
2068 alc889_fixup_mac_pins(struct hda_codec * codec,const hda_nid_t * nids,int num_nids) alc889_fixup_mac_pins() argument
2084 alc889_fixup_imac91_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_imac91_vref() argument
2094 alc889_fixup_mba11_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba11_vref() argument
2104 alc889_fixup_mba21_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba21_vref() argument
2117 alc882_fixup_no_primary_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc882_fixup_no_primary_hp() argument
2133 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument
2151 rename_ctl(struct hda_codec * codec,const char * oldname,const char * newname) rename_ctl() argument
2161 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument
2185 alc1220_fixup_gb_x570(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_x570() argument
2209 alc1220_fixup_clevo_p950(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_p950() argument
2229 alc1220_fixup_clevo_pb51ed(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_pb51ed() argument
2237 alc887_asus_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc887_asus_hp_automute_hook() argument
2252 alc887_fixup_asus_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc887_fixup_asus_jack() argument
2748 alc882_parse_auto_config(struct hda_codec * codec) alc882_parse_auto_config() argument
2757 patch_alc882(struct hda_codec * codec) patch_alc882() argument
2817 alc262_parse_auto_config(struct hda_codec * codec) alc262_parse_auto_config() argument
2936 patch_alc262(struct hda_codec * codec) patch_alc262() argument
2996 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); alc268_beep_switch_put() local
3081 alc268_parse_auto_config(struct hda_codec * codec) alc268_parse_auto_config() argument
3089 patch_alc268(struct hda_codec * codec) patch_alc268() argument
3184 alc269_parse_auto_config(struct hda_codec * codec) alc269_parse_auto_config() argument
3235 alc_headset_btn_callback(struct hda_codec * codec,struct hda_jack_callback * jack) alc_headset_btn_callback() argument
3257 alc_disable_headset_jack_key(struct hda_codec * codec) alc_disable_headset_jack_key() argument
3287 alc_enable_headset_jack_key(struct hda_codec * codec) alc_enable_headset_jack_key() argument
3317 alc_fixup_headset_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_jack() argument
3343 alc269vb_toggle_power_output(struct hda_codec * codec,int power_up) alc269vb_toggle_power_output() argument
3348 alc269_shutup(struct hda_codec * codec) alc269_shutup() argument
3394 alc282_restore_default_value(struct hda_codec * codec) alc282_restore_default_value() argument
3399 alc282_init(struct hda_codec * codec) alc282_init() argument
3436 alc282_shutup(struct hda_codec * codec) alc282_shutup() argument
3510 alc283_restore_default_value(struct hda_codec * codec) alc283_restore_default_value() argument
3515 alc283_init(struct hda_codec * codec) alc283_init() argument
3551 alc283_shutup(struct hda_codec * codec) alc283_shutup() argument
3588 alc256_init(struct hda_codec * codec) alc256_init() argument
3637 alc256_shutup(struct hda_codec * codec) alc256_shutup() argument
3685 alc285_hp_init(struct hda_codec * codec) alc285_hp_init() argument
3735 alc225_init(struct hda_codec * codec) alc225_init() argument
3790 alc225_shutup(struct hda_codec * codec) alc225_shutup() argument
3840 alc222_init(struct hda_codec * codec) alc222_init() argument
3876 alc222_shutup(struct hda_codec * codec) alc222_shutup() argument
3913 alc_default_init(struct hda_codec * codec) alc_default_init() argument
3940 alc_default_shutup(struct hda_codec * codec) alc_default_shutup() argument
3971 alc294_hp_init(struct hda_codec * codec) alc294_hp_init() argument
4003 alc294_init(struct hda_codec * codec) alc294_init() argument
4016 alc5505_coef_set(struct hda_codec * codec,unsigned int index_reg,unsigned int val) alc5505_coef_set() argument
4024 alc5505_coef_get(struct hda_codec * codec,unsigned int index_reg) alc5505_coef_get() argument
4036 alc5505_dsp_halt(struct hda_codec * codec) alc5505_dsp_halt() argument
4051 alc5505_dsp_back_from_halt(struct hda_codec * codec) alc5505_dsp_back_from_halt() argument
4061 alc5505_dsp_init(struct hda_codec * codec) alc5505_dsp_init() argument
4101 alc5505_dsp_suspend(codec) global() argument
4102 alc5505_dsp_resume(codec) global() argument
4104 alc5505_dsp_suspend(codec) global() argument
4105 alc5505_dsp_resume(codec) global() argument
4109 alc269_suspend(struct hda_codec * codec) alc269_suspend() argument
4119 alc269_resume(struct hda_codec * codec) alc269_resume() argument
4156 alc269_fixup_pincfg_no_hp_to_lineout(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_no_hp_to_lineout() argument
4165 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_U7x7_headset_mic() argument
4178 alc269_fixup_hweq(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hweq() argument
4185 alc269_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_headset_mic() argument
4194 alc271_fixup_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_fixup_dmic() argument
4213 alc269vb_fixup_aspire_e1_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269vb_fixup_aspire_e1_coef() argument
4221 alc269_fixup_pcm_44k(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pcm_44k() argument
4236 alc269_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_stereo_dmic() argument
4248 alc269_quanta_automute(struct hda_codec * codec) alc269_quanta_automute() argument
4256 alc269_fixup_quanta_mute(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_quanta_mute() argument
4265 alc269_x101_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc269_x101_hp_automute_hook() argument
4290 alc298_huawei_mbx_stereo_seq(struct hda_codec * codec,const struct hda_alc298_mbxinit * initval,bool first) alc298_huawei_mbx_stereo_seq() argument
4311 alc298_fixup_huawei_mbx_stereo(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_huawei_mbx_stereo() argument
4348 alc269_fixup_x101_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_x101_headset_mic() argument
4358 alc_update_vref_led(struct hda_codec * codec,hda_nid_t pin,bool polarity,bool on) alc_update_vref_led() argument
4380 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_mute_led_set() local
4389 led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) led_power_filter() argument
4406 alc269_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led() argument
4432 alc269_fixup_hp_mute_led_micx(struct hda_codec * codec,const struct hda_fixup * fix,int action,hda_nid_t pin) alc269_fixup_hp_mute_led_micx() argument
4446 alc269_fixup_hp_mute_led_mic1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic1() argument
4452 alc269_fixup_hp_mute_led_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic2() argument
4458 alc269_fixup_hp_mute_led_mic3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic3() argument
4465 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument
4477 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local
4489 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local
4498 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
4519 alc236_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_gpio_led() argument
4525 alc269_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_led() argument
4531 alc285_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_led() argument
4537 alc286_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc286_fixup_hp_gpio_led() argument
4543 alc287_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_hp_gpio_led() argument
4549 alc245_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_gpio_led() argument
4563 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_micmute_led_set() local
4571 alc269_fixup_hp_gpio_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_mic1_led() argument
4589 alc280_fixup_hp_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio4() argument
4605 alc245_fixup_hp_x360_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_x360_amp() argument
4626 alc274_hp_envy_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc274_hp_envy_pcm_hook() argument
4640 alc274_fixup_hp_envy_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_envy_gpio() argument
4653 alc_update_coef_led(struct hda_codec * codec,struct alc_coef_led * led,bool polarity,bool on) alc_update_coef_led() argument
4668 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_mute_led_set() local
4676 alc285_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led_coefbit() argument
4692 alc236_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit() argument
4708 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit2() argument
4723 alc245_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_coefbit() argument
4743 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_micmute_led_set() local
4751 alc285_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_coef_micmute_led() argument
4765 alc285_fixup_hp_gpio_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_micmute_led() argument
4775 alc236_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_coef_micmute_led() argument
4789 alc295_fixup_hp_mute_led_coefbit11(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_hp_mute_led_coefbit11() argument
4804 alc285_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led() argument
4811 alc285_fixup_hp_spectre_x360_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_mute_led() argument
4818 alc236_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led() argument
4825 alc236_fixup_hp_micmute_led_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_micmute_led_vref() argument
4837 alc236_fixup_hp_mute_led_micmute_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_micmute_vref() argument
4844 alc298_samsung_write_coef_pack(struct hda_codec * codec,const unsigned short coefs[2]) alc298_samsung_write_coef_pack() argument
4857 alc298_fixup_samsung_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp() argument
4886 gpio2_mic_hotkey_event(struct hda_codec * codec,struct hda_jack_callback * event) gpio2_mic_hotkey_event() argument
4899 alc_register_micmute_input_device(struct hda_codec * codec) alc_register_micmute_input_device() argument
4935 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio2_mic_hotkey() argument
4969 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_line2_mic_hotkey() argument
4995 alc269_fixup_hp_line1_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_line1_mic1_led() argument
5007 alc233_fixup_lenovo_low_en_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_low_en_micmute_led() argument
5017 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument
5029 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument
5052 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument
5189 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
5328 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument
5449 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument
5573 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument
5675 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument
5869 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument
5929 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
5936 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument
5943 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument
5963 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument
5985 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
5996 alc255_set_default_jack_type(struct hda_codec * codec) alc255_set_default_jack_type() argument
6029 alc_fixup_headset_mode_alc255(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255() argument
6038 alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255_no_hp_mic() argument
6050 alc288_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc288_update_headset_jack_cb() argument
6060 alc_fixup_headset_mode_dell_alc288(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_dell_alc288() argument
6073 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument
6082 alc_fixup_no_shutup(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_shutup() argument
6091 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument
6102 alc_fixup_tpt440_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt440_dock() argument
6119 alc_fixup_tpt470_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dock() argument
6142 alc_fixup_tpt470_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dacs() argument
6159 alc295_fixup_asus_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_asus_dacs() argument
6171 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument
6182 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument
6209 alc_fixup_headset_mode_alc662(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc662() argument
6226 alc_fixup_headset_mode_alc668(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc668() argument
6238 find_ext_mic_pin(struct hda_codec * codec) find_ext_mic_pin() argument
6259 alc271_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_hp_gate_mic_jack() argument
6275 alc269_fixup_limit_int_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_limit_int_mic_boost() argument
6307 alc283_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc283_hp_automute_hook() argument
6323 alc283_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_chromebook() argument
6344 alc283_fixup_sense_combo_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_sense_combo_jack() argument
6362 asus_tx300_automute(struct hda_codec * codec) asus_tx300_automute() argument
6370 alc282_fixup_asus_tx300(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc282_fixup_asus_tx300() argument
6405 alc290_fixup_mono_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc290_fixup_mono_speakers() argument
6418 alc298_fixup_speaker_volume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_speaker_volume() argument
6435 alc295_fixup_disable_dac3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_disable_dac3() argument
6445 alc285_fixup_speaker2_to_dac1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_speaker2_to_dac1() argument
6455 alc280_hp_gpio4_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc280_hp_gpio4_automute_hook() argument
6472 alc280_fixup_hp_9480m(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_9480m() argument
6487 alc275_fixup_gpio4_off(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc275_fixup_gpio4_off() argument
6506 alc285_fixup_thinkpad_x1_gen7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_thinkpad_x1_gen7() argument
6533 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument
6557 alc225_fixup_s3_pop_noise(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc225_fixup_s3_pop_noise() argument
6567 alc274_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_bind_dacs() argument
6585 alc289_fixup_asus_ga401(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc289_fixup_asus_ga401() argument
6600 alc285_fixup_invalidate_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_invalidate_dacs() argument
6609 alc_combo_jack_hp_jd_restart(struct hda_codec * codec) alc_combo_jack_hp_jd_restart() argument
6633 alc295_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_chromebook() argument
6648 alc_fixup_disable_mic_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_mic_vref() argument
6656 alc294_gx502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gx502_toggle_output() argument
6668 alc294_fixup_gx502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gx502_hp() argument
6689 alc294_gu502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gu502_toggle_output() argument
6701 alc294_fixup_gu502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gu502_hp() argument
6718 alc285_fixup_hp_gpio_amp_init(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_amp_init() argument
6728 alc274_fixup_hp_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_headset_mic() argument
6738 alc_fixup_no_int_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_int_mic() argument
6758 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_eb1() argument
6794 alc285_fixup_hp_spectre_x360_df1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_df1() argument
6828 alc285_fixup_hp_spectre_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360() argument
6846 alc285_fixup_hp_envy_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_envy_x360() argument
6900 alc285_fixup_hp_beep(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_beep() argument
6927 alc_fixup_thinkpad_acpi(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_thinkpad_acpi() argument
6935 alc287_fixup_legion_15imhg05_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_legion_15imhg05_speakers() argument
7107 cs35l41_fixup_spi_two(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_two() argument
7112 cs35l41_fixup_spi_four(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_four() argument
7148 alc256_fixup_set_coef_defaults(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_set_coef_defaults() argument
7170 alc233_fixup_no_audio_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_no_audio_jack() argument
7184 alc256_fixup_mic_no_presence_and_resume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_mic_no_presence_and_resume() argument
7201 alc_fixup_dell4_mic_no_presence_quiet(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell4_mic_no_presence_quiet() argument
7236 alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_yoga9_14iap7_bass_spk_pin() argument
7273 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_dell_inspiron_top_speakers() argument
7302 alc287_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_bind_dacs() argument
7323 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument
7631 alc298_fixup_lenovo_c940_duet7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_lenovo_c940_duet7() argument
7651 alc287_fixup_lenovo_14irp8_duetitl(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_14irp8_duetitl() argument
11301 alc269_fill_coef(struct hda_codec * codec) alc269_fill_coef() argument
11343 patch_alc269(struct hda_codec * codec) patch_alc269() argument
11559 alc861_parse_auto_config(struct hda_codec * codec) alc861_parse_auto_config() argument
11576 alc861_fixup_asus_amp_vref_0f(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861_fixup_asus_amp_vref_0f() argument
11593 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument
11648 patch_alc861(struct hda_codec * codec) patch_alc861() argument
11697 alc861vd_parse_auto_config(struct hda_codec * codec) alc861vd_parse_auto_config() argument
11710 alc861vd_fixup_dallas(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861vd_fixup_dallas() argument
11720 alc660vd_fixup_asus_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc660vd_fixup_asus_gpio1() argument
11750 patch_alc861vd(struct hda_codec * codec) patch_alc861vd() argument
11806 alc662_parse_auto_config(struct hda_codec * codec) alc662_parse_auto_config() argument
11822 alc272_fixup_mario(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc272_fixup_mario() argument
11845 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument
11855 gpio_led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) gpio_led_power_filter() argument
11865 alc662_fixup_led_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_led_gpio1() argument
11877 alc662_usi_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc662_usi_automute_hook() argument
11891 alc662_fixup_usi_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_usi_headset_mic() argument
11901 alc662_aspire_ethos_mute_speakers(struct hda_codec * codec,struct hda_jack_callback * cb) alc662_aspire_ethos_mute_speakers() argument
11919 alc662_fixup_aspire_ethos_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_aspire_ethos_hp() argument
11942 alc671_fixup_hp_headset_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc671_fixup_hp_headset_mic2() argument
11965 alc897_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc897_hp_automute_hook() argument
11976 alc897_fixup_lenovo_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mic() argument
11989 alc897_fixup_lenovo_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mode() argument
12024 alc668_restore_default_value(struct hda_codec * codec) alc668_restore_default_value() argument
12768 patch_alc662(struct hda_codec * codec) patch_alc662() argument
12849 alc680_parse_auto_config(struct hda_codec * codec) alc680_parse_auto_config() argument
12856 patch_alc680(struct hda_codec * codec) patch_alc680() argument
[all...]
/openbmc/linux/sound/soc/codecs/
H A Djz4760.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ4760 CODEC driver
18 #include <sound/soc-dai.h>
19 #include <sound/soc-dapm.h>
67 #define REG_AICR_DAC_SERIAL BIT(3)
78 #define REG_CR1_BTL_MUTE_OFFSET 3
88 #define REG_CR3_ADC_INSEL_MASK GENMASK(3, REG_CR3_ADC_INSEL_OFFSET)
95 #define REG_CCR1_CRYSTAL_MASK GENMASK(3, 0)
98 #define REG_CCR2_ADC_FREQ_MASK GENMASK(3, 0)
104 #define REG_PMR1_SB_MIC1_OFFSET 3
[all …]
H A Djz4770.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ4770 CODEC driver
17 #include <sound/soc-dai.h>
18 #include <sound/soc-dapm.h>
101 #define REG_CR_HP_SB_HPCM_OFFSET 3
109 #define REG_CR_DAC_LRSWAP BIT(3)
125 #define REG_CR_ADC_LRSWAP BIT(3)
148 #define REG_IMR_RUP_MASK BIT(3)
157 #define REG_IFR_RUP BIT(3)
177 /* codec private data */
[all …]
/openbmc/linux/sound/aoa/codecs/
H A Dtas.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Apple Onboard Audio driver for tas codec
8 * - How to distinguish between 3004 and versions?
11 * - This codec driver doesn't honour the 'connected'
15 * - Driver assumes that the microphone is always
17 * the input. This should also be a codec-dependent
18 * flag, maybe the codec should have 3 different
23 * - As Apple notes in their code, the tas3004 seems
36 * - this should actually register *two* aoa_codec
49 * codec to refine the transfer_info items in the
[all …]
H A Donyx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Apple Onboard Audio driver for Onyx codec
7 * This is a driver for the pcm3052 codec chip (codenamed Onyx)
10 * The Onyx codec has the following connections (listed by the bit
15 * 3: microphone input
24 * But snd-aoa assumes that there's at most one card, so
36 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa");
43 #define PFX "snd-aoa-codec-onyx: "
46 /* cache registers 65 to 80, they are write-only! */
49 struct aoa_codec codec; member
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Drt5659.txt1 RT5659/RT5658 audio CODEC
7 - compatible : One of "realtek,rt5659" or "realtek,rt5658".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
15 - clocks: The phandle of the master clock to the CODEC
16 - clock-names: Should be "mclk"
18 - realtek,in1-differential
19 - realtek,in3-differential
20 - realtek,in4-differential
21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended.
[all …]
H A Damlogic,axg-sound-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <jbrunet@baylibre.com>
13 - $ref: sound-card-common.yaml#
17 const: amlogic,axg-sound-card
19 audio-aux-devs:
20 $ref: /schemas/types.yaml#/definitions/phandle-array
23 audio-widgets:
[all …]
/openbmc/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define POCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
14 #define PICR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
18 #define MCCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
32 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */
35 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */
43 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
48 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
55 #define GSR_BIT3SLT12 (1 << 14) /* Bit 3 of slot 12 */
60 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */
[all …]
/openbmc/linux/sound/soc/ti/
H A Dj721e-evm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com
17 #include "davinci-mcasp.h"
21 * CPB: 2 (mcasp10 + codec)
22 * IVI: 3 (mcasp0 + 2x codec)
65 struct j721e_audio_clocks codec; member
92 SND_SOC_DAPM_HP("CPB Stereo HP 3", NULL),
100 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1L"},
101 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1R"},
102 {"CPB Stereo HP 2", NULL, "codec-1 AOUT2L"},
[all …]
/openbmc/linux/drivers/media/pci/zoran/
H A Dzr36050.c1 // SPDX-License-Identifier: GPL-2.0-or-later
22 /* codec io API */
37 * read/write via codec layer (registers are located in the master device)
43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read()
47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read()
52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read()
59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write()
61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write()
[all …]
/openbmc/linux/sound/pci/ac97/
H A Dac97_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Universal interface for Audio Codec '97
33 /* 3&4 front, 7&8 rear, 6&9 center/lfe */
34 AC97_PCM_FRONT_DAC_RATE, /* slot 3 */
46 0xff, /* slot 3 */
57 /* 6&9 front, 10&11 rear, 3&4 center/lfe */
58 AC97_PCM_LFE_DAC_RATE, /* slot 3 */
69 /* 10&11 front, 3&4 rear, 7&8 center/lfe */
70 AC97_PCM_SURR_DAC_RATE, /* slot 3 */
84 /* 3&4 front, 7&8 front (t+1) */
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/
H A D0001-Stop-using-pyasn1.compat.octets.patch2 From: Heiko Becker <mail@heiko-becker.de>
11 Upstream-Status: Submitted [https://github.com/pyasn1/pyasn1-modules/pull/22]
12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 ---
14 tests/test_pem.py | 3 +--
15 tests/test_rfc3770.py | 3 +--
16 tests/test_rfc4073.py | 3 +--
17 tests/test_rfc4334.py | 3 +--
18 tests/test_rfc5755.py | 3 +--
19 tests/test_rfc6032.py | 7 +++----
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
[all …]
/openbmc/linux/sound/pci/
H A Dazt3328.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case).
13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download
17 * despite the high level of Internet ignorance - as usual :-P -
18 * about very good support for this card - on Linux!)
25 * in the first place >:-P}),
27 * (3 weeks' worth of evenings filled with driver work).
34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec,
[all …]

12345678910>>...42