/sound/soc/pxa/ |
D | spitz.c | 47 static void spitz_ext_control(struct snd_soc_dapm_context *dapm) in spitz_ext_control() argument 50 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in spitz_ext_control() 52 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in spitz_ext_control() 58 snd_soc_dapm_disable_pin(dapm, "Headset Jack"); in spitz_ext_control() 59 snd_soc_dapm_disable_pin(dapm, "Mic Jack"); in spitz_ext_control() 60 snd_soc_dapm_disable_pin(dapm, "Line Jack"); in spitz_ext_control() 61 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in spitz_ext_control() 67 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in spitz_ext_control() 68 snd_soc_dapm_disable_pin(dapm, "Headset Jack"); in spitz_ext_control() 69 snd_soc_dapm_disable_pin(dapm, "Line Jack"); in spitz_ext_control() [all …]
|
D | corgi.c | 48 static void corgi_ext_control(struct snd_soc_dapm_context *dapm) in corgi_ext_control() argument 56 snd_soc_dapm_disable_pin(dapm, "Mic Jack"); in corgi_ext_control() 57 snd_soc_dapm_disable_pin(dapm, "Line Jack"); in corgi_ext_control() 58 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in corgi_ext_control() 59 snd_soc_dapm_disable_pin(dapm, "Headset Jack"); in corgi_ext_control() 65 snd_soc_dapm_enable_pin(dapm, "Mic Jack"); in corgi_ext_control() 66 snd_soc_dapm_disable_pin(dapm, "Line Jack"); in corgi_ext_control() 67 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in corgi_ext_control() 68 snd_soc_dapm_disable_pin(dapm, "Headset Jack"); in corgi_ext_control() 73 snd_soc_dapm_disable_pin(dapm, "Mic Jack"); in corgi_ext_control() [all …]
|
D | brownstone.c | 51 struct snd_soc_dapm_context *dapm = &codec->dapm; in brownstone_wm8994_init() local 53 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in brownstone_wm8994_init() 54 snd_soc_dapm_enable_pin(dapm, "Headset Stereophone"); in brownstone_wm8994_init() 55 snd_soc_dapm_enable_pin(dapm, "Headset Mic"); in brownstone_wm8994_init() 56 snd_soc_dapm_enable_pin(dapm, "Main Mic"); in brownstone_wm8994_init() 59 snd_soc_dapm_nc_pin(dapm, "HPOUT2P"); in brownstone_wm8994_init() 60 snd_soc_dapm_nc_pin(dapm, "HPOUT2N"); in brownstone_wm8994_init() 61 snd_soc_dapm_nc_pin(dapm, "LINEOUT1N"); in brownstone_wm8994_init() 62 snd_soc_dapm_nc_pin(dapm, "LINEOUT1P"); in brownstone_wm8994_init() 63 snd_soc_dapm_nc_pin(dapm, "LINEOUT2N"); in brownstone_wm8994_init() [all …]
|
D | tosa.c | 49 struct snd_soc_dapm_context *dapm = &codec->dapm; in tosa_ext_control() local 54 snd_soc_dapm_disable_pin(dapm, "Mic (Internal)"); in tosa_ext_control() 55 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in tosa_ext_control() 56 snd_soc_dapm_disable_pin(dapm, "Headset Jack"); in tosa_ext_control() 59 snd_soc_dapm_enable_pin(dapm, "Mic (Internal)"); in tosa_ext_control() 60 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in tosa_ext_control() 61 snd_soc_dapm_disable_pin(dapm, "Headset Jack"); in tosa_ext_control() 64 snd_soc_dapm_disable_pin(dapm, "Mic (Internal)"); in tosa_ext_control() 65 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in tosa_ext_control() 66 snd_soc_dapm_enable_pin(dapm, "Headset Jack"); in tosa_ext_control() [all …]
|
D | palm27x.c | 79 struct snd_soc_dapm_context *dapm = &codec->dapm; in palm27x_ac97_init() local 84 snd_soc_dapm_enable_pin(dapm, "MIC1"); in palm27x_ac97_init() 85 snd_soc_dapm_enable_pin(dapm, "HPOUTL"); in palm27x_ac97_init() 86 snd_soc_dapm_enable_pin(dapm, "HPOUTR"); in palm27x_ac97_init() 87 snd_soc_dapm_enable_pin(dapm, "LOUT2"); in palm27x_ac97_init() 88 snd_soc_dapm_enable_pin(dapm, "ROUT2"); in palm27x_ac97_init() 91 snd_soc_dapm_nc_pin(dapm, "OUT3"); in palm27x_ac97_init() 92 snd_soc_dapm_nc_pin(dapm, "MONOOUT"); in palm27x_ac97_init() 93 snd_soc_dapm_nc_pin(dapm, "LINEINL"); in palm27x_ac97_init() 94 snd_soc_dapm_nc_pin(dapm, "LINEINR"); in palm27x_ac97_init() [all …]
|
D | e750_wm9705.c | 76 struct snd_soc_dapm_context *dapm = &codec->dapm; in e750_ac97_init() local 78 snd_soc_dapm_nc_pin(dapm, "LOUT"); in e750_ac97_init() 79 snd_soc_dapm_nc_pin(dapm, "ROUT"); in e750_ac97_init() 80 snd_soc_dapm_nc_pin(dapm, "PHONE"); in e750_ac97_init() 81 snd_soc_dapm_nc_pin(dapm, "LINEINL"); in e750_ac97_init() 82 snd_soc_dapm_nc_pin(dapm, "LINEINR"); in e750_ac97_init() 83 snd_soc_dapm_nc_pin(dapm, "CDINL"); in e750_ac97_init() 84 snd_soc_dapm_nc_pin(dapm, "CDINR"); in e750_ac97_init() 85 snd_soc_dapm_nc_pin(dapm, "PCBEEP"); in e750_ac97_init() 86 snd_soc_dapm_nc_pin(dapm, "MIC2"); in e750_ac97_init() [all …]
|
D | e740_wm9705.c | 94 struct snd_soc_dapm_context *dapm = &codec->dapm; in e740_ac97_init() local 96 snd_soc_dapm_nc_pin(dapm, "HPOUTL"); in e740_ac97_init() 97 snd_soc_dapm_nc_pin(dapm, "HPOUTR"); in e740_ac97_init() 98 snd_soc_dapm_nc_pin(dapm, "PHONE"); in e740_ac97_init() 99 snd_soc_dapm_nc_pin(dapm, "LINEINL"); in e740_ac97_init() 100 snd_soc_dapm_nc_pin(dapm, "LINEINR"); in e740_ac97_init() 101 snd_soc_dapm_nc_pin(dapm, "CDINL"); in e740_ac97_init() 102 snd_soc_dapm_nc_pin(dapm, "CDINR"); in e740_ac97_init() 103 snd_soc_dapm_nc_pin(dapm, "PCBEEP"); in e740_ac97_init() 104 snd_soc_dapm_nc_pin(dapm, "MIC2"); in e740_ac97_init() [all …]
|
D | poodle.c | 46 static void poodle_ext_control(struct snd_soc_dapm_context *dapm) in poodle_ext_control() argument 55 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in poodle_ext_control() 61 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in poodle_ext_control() 66 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in poodle_ext_control() 68 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in poodle_ext_control() 71 snd_soc_dapm_sync(dapm); in poodle_ext_control() 82 poodle_ext_control(&codec->dapm); in poodle_startup() 159 poodle_ext_control(&card->dapm); in poodle_set_jack() 179 poodle_ext_control(&card->dapm); in poodle_set_spk() 234 struct snd_soc_dapm_context *dapm = &codec->dapm; in poodle_wm8731_init() local [all …]
|
D | magician.c | 46 struct snd_soc_dapm_context *dapm = &codec->dapm; in magician_ext_control() local 49 snd_soc_dapm_enable_pin(dapm, "Speaker"); in magician_ext_control() 51 snd_soc_dapm_disable_pin(dapm, "Speaker"); in magician_ext_control() 53 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in magician_ext_control() 55 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in magician_ext_control() 59 snd_soc_dapm_disable_pin(dapm, "Headset Mic"); in magician_ext_control() 60 snd_soc_dapm_enable_pin(dapm, "Call Mic"); in magician_ext_control() 63 snd_soc_dapm_disable_pin(dapm, "Call Mic"); in magician_ext_control() 64 snd_soc_dapm_enable_pin(dapm, "Headset Mic"); in magician_ext_control() 68 snd_soc_dapm_sync(dapm); in magician_ext_control() [all …]
|
D | mioa701_wm9713.c | 132 struct snd_soc_dapm_context *dapm = &codec->dapm; in mioa701_wm9713_init() local 136 snd_soc_dapm_new_controls(dapm, ARRAY_AND_SIZE(mioa701_dapm_widgets)); in mioa701_wm9713_init() 139 snd_soc_dapm_add_routes(dapm, ARRAY_AND_SIZE(audio_map)); in mioa701_wm9713_init() 149 snd_soc_dapm_enable_pin(dapm, "Front Speaker"); in mioa701_wm9713_init() 150 snd_soc_dapm_enable_pin(dapm, "Rear Speaker"); in mioa701_wm9713_init() 151 snd_soc_dapm_enable_pin(dapm, "Front Mic"); in mioa701_wm9713_init() 152 snd_soc_dapm_enable_pin(dapm, "GSM Line In"); in mioa701_wm9713_init() 153 snd_soc_dapm_enable_pin(dapm, "GSM Line Out"); in mioa701_wm9713_init()
|
/sound/soc/omap/ |
D | ams-delta.c | 97 struct snd_soc_dapm_context *dapm = &codec->dapm; in ams_delta_set_audio_mode() local 116 if (pin != snd_soc_dapm_get_pin_status(dapm, "Mouthpiece")) { in ams_delta_set_audio_mode() 119 snd_soc_dapm_enable_pin(dapm, "Mouthpiece"); in ams_delta_set_audio_mode() 121 snd_soc_dapm_disable_pin(dapm, "Mouthpiece"); in ams_delta_set_audio_mode() 124 if (pin != snd_soc_dapm_get_pin_status(dapm, "Earpiece")) { in ams_delta_set_audio_mode() 127 snd_soc_dapm_enable_pin(dapm, "Earpiece"); in ams_delta_set_audio_mode() 129 snd_soc_dapm_disable_pin(dapm, "Earpiece"); in ams_delta_set_audio_mode() 132 if (pin != snd_soc_dapm_get_pin_status(dapm, "Microphone")) { in ams_delta_set_audio_mode() 135 snd_soc_dapm_enable_pin(dapm, "Microphone"); in ams_delta_set_audio_mode() 137 snd_soc_dapm_disable_pin(dapm, "Microphone"); in ams_delta_set_audio_mode() [all …]
|
D | omap3pandora.c | 91 dev_err(w->dapm->dev, "Failed to power DAC: %d\n", ret); in omap3pandora_dac_event() 162 struct snd_soc_dapm_context *dapm = &codec->dapm; in omap3pandora_out_init() local 166 snd_soc_dapm_nc_pin(dapm, "EARPIECE"); in omap3pandora_out_init() 167 snd_soc_dapm_nc_pin(dapm, "PREDRIVEL"); in omap3pandora_out_init() 168 snd_soc_dapm_nc_pin(dapm, "PREDRIVER"); in omap3pandora_out_init() 169 snd_soc_dapm_nc_pin(dapm, "HSOL"); in omap3pandora_out_init() 170 snd_soc_dapm_nc_pin(dapm, "HSOR"); in omap3pandora_out_init() 171 snd_soc_dapm_nc_pin(dapm, "CARKITL"); in omap3pandora_out_init() 172 snd_soc_dapm_nc_pin(dapm, "CARKITR"); in omap3pandora_out_init() 173 snd_soc_dapm_nc_pin(dapm, "HFL"); in omap3pandora_out_init() [all …]
|
D | rx51.c | 61 static void rx51_ext_control(struct snd_soc_dapm_context *dapm) in rx51_ext_control() argument 78 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in rx51_ext_control() 80 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in rx51_ext_control() 82 snd_soc_dapm_enable_pin(dapm, "DMic"); in rx51_ext_control() 84 snd_soc_dapm_disable_pin(dapm, "DMic"); in rx51_ext_control() 86 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in rx51_ext_control() 88 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in rx51_ext_control() 90 snd_soc_dapm_enable_pin(dapm, "HS Mic"); in rx51_ext_control() 92 snd_soc_dapm_disable_pin(dapm, "HS Mic"); in rx51_ext_control() 96 snd_soc_dapm_sync(dapm); in rx51_ext_control() [all …]
|
D | n810.c | 56 static void n810_ext_control(struct snd_soc_dapm_context *dapm) in n810_ext_control() argument 72 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in n810_ext_control() 74 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in n810_ext_control() 77 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in n810_ext_control() 79 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in n810_ext_control() 81 snd_soc_dapm_enable_pin(dapm, "LINE1L"); in n810_ext_control() 83 snd_soc_dapm_disable_pin(dapm, "LINE1L"); in n810_ext_control() 86 snd_soc_dapm_enable_pin(dapm, "DMic"); in n810_ext_control() 88 snd_soc_dapm_disable_pin(dapm, "DMic"); in n810_ext_control() 90 snd_soc_dapm_sync(dapm); in n810_ext_control() [all …]
|
D | omap-twl4030.c | 172 static inline void twl4030_disconnect_pin(struct snd_soc_dapm_context *dapm, in twl4030_disconnect_pin() argument 176 snd_soc_dapm_disable_pin(dapm, pin); in twl4030_disconnect_pin() 183 struct snd_soc_dapm_context *dapm = &codec->dapm; in omap_twl4030_init() local 218 twl4030_disconnect_pin(dapm, pdata->has_ear, "Earpiece Spk"); in omap_twl4030_init() 219 twl4030_disconnect_pin(dapm, pdata->has_hf, "Handsfree Spk"); in omap_twl4030_init() 220 twl4030_disconnect_pin(dapm, pdata->has_hs, "Headset Stereophone"); in omap_twl4030_init() 221 twl4030_disconnect_pin(dapm, pdata->has_predriv, "Ext Spk"); in omap_twl4030_init() 222 twl4030_disconnect_pin(dapm, pdata->has_carkit, "Carkit Spk"); in omap_twl4030_init() 224 twl4030_disconnect_pin(dapm, pdata->has_mainmic, "Main Mic"); in omap_twl4030_init() 225 twl4030_disconnect_pin(dapm, pdata->has_submic, "Sub Mic"); in omap_twl4030_init() [all …]
|
D | omap-abe-twl6040.c | 169 static inline void twl6040_disconnect_pin(struct snd_soc_dapm_context *dapm, in twl6040_disconnect_pin() argument 173 snd_soc_dapm_disable_pin(dapm, pin); in twl6040_disconnect_pin() 180 struct snd_soc_dapm_context *dapm = &codec->dapm; in omap_abe_twl6040_init() local 214 twl6040_disconnect_pin(dapm, pdata->has_hs, "Headset Stereophone"); in omap_abe_twl6040_init() 215 twl6040_disconnect_pin(dapm, pdata->has_hf, "Ext Spk"); in omap_abe_twl6040_init() 216 twl6040_disconnect_pin(dapm, pdata->has_ep, "Earphone Spk"); in omap_abe_twl6040_init() 217 twl6040_disconnect_pin(dapm, pdata->has_aux, "Line Out"); in omap_abe_twl6040_init() 218 twl6040_disconnect_pin(dapm, pdata->has_vibra, "Vibrator"); in omap_abe_twl6040_init() 219 twl6040_disconnect_pin(dapm, pdata->has_hsmic, "Headset Mic"); in omap_abe_twl6040_init() 220 twl6040_disconnect_pin(dapm, pdata->has_mainmic, "Main Handset Mic"); in omap_abe_twl6040_init() [all …]
|
/sound/soc/ |
D | soc-dapm.c | 48 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; 139 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty() 141 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty() 146 void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm) in dapm_mark_io_dirty() argument 148 struct snd_soc_card *card = dapm->card; in dapm_mark_io_dirty() 177 struct snd_soc_dapm_context *dapm) in dapm_get_snd_card() argument 179 if (dapm->codec) in dapm_get_snd_card() 180 return dapm->codec->card->snd_card; in dapm_get_snd_card() 181 else if (dapm->platform) in dapm_get_snd_card() 182 return dapm->platform->card->snd_card; in dapm_get_snd_card() [all …]
|
/sound/soc/mid-x86/ |
D | mfld_machine.c | 110 snd_soc_dapm_enable_pin(&codec->dapm, "Headphones"); in headset_set_switch() 111 snd_soc_dapm_disable_pin(&codec->dapm, "EPOUT"); in headset_set_switch() 114 snd_soc_dapm_disable_pin(&codec->dapm, "Headphones"); in headset_set_switch() 115 snd_soc_dapm_enable_pin(&codec->dapm, "EPOUT"); in headset_set_switch() 117 snd_soc_dapm_sync(&codec->dapm); in headset_set_switch() 125 snd_soc_dapm_enable_pin(&codec->dapm, "IHFOUTL"); in lo_enable_out_pins() 126 snd_soc_dapm_enable_pin(&codec->dapm, "IHFOUTR"); in lo_enable_out_pins() 127 snd_soc_dapm_enable_pin(&codec->dapm, "LINEOUTL"); in lo_enable_out_pins() 128 snd_soc_dapm_enable_pin(&codec->dapm, "LINEOUTR"); in lo_enable_out_pins() 129 snd_soc_dapm_enable_pin(&codec->dapm, "VIB1OUT"); in lo_enable_out_pins() [all …]
|
/sound/soc/samsung/ |
D | smdk_wm8994.c | 92 struct snd_soc_dapm_context *dapm = &codec->dapm; in smdk_wm8994_init_paiftx() local 95 snd_soc_dapm_enable_pin(dapm, "HPOUT1R"); in smdk_wm8994_init_paiftx() 96 snd_soc_dapm_enable_pin(dapm, "HPOUT1L"); in smdk_wm8994_init_paiftx() 99 snd_soc_dapm_enable_pin(dapm, "IN1LN"); in smdk_wm8994_init_paiftx() 100 snd_soc_dapm_enable_pin(dapm, "IN1RN"); in smdk_wm8994_init_paiftx() 103 snd_soc_dapm_enable_pin(dapm, "IN2LN"); in smdk_wm8994_init_paiftx() 104 snd_soc_dapm_enable_pin(dapm, "IN2RN"); in smdk_wm8994_init_paiftx() 107 snd_soc_dapm_nc_pin(dapm, "HPOUT2P"); in smdk_wm8994_init_paiftx() 108 snd_soc_dapm_nc_pin(dapm, "HPOUT2N"); in smdk_wm8994_init_paiftx() 109 snd_soc_dapm_nc_pin(dapm, "SPKOUTLN"); in smdk_wm8994_init_paiftx() [all …]
|
D | neo1973_wm8753.c | 285 struct snd_soc_dapm_context *dapm = &codec->dapm; in neo1973_gta02_wm8753_init() local 288 ret = snd_soc_dapm_new_controls(dapm, neo1973_gta02_wm8753_dapm_widgets, in neo1973_gta02_wm8753_init() 293 ret = snd_soc_dapm_add_routes(dapm, neo1973_gta02_routes, in neo1973_gta02_wm8753_init() 303 snd_soc_dapm_disable_pin(dapm, "Stereo Out"); in neo1973_gta02_wm8753_init() 304 snd_soc_dapm_disable_pin(dapm, "Handset Spk"); in neo1973_gta02_wm8753_init() 305 snd_soc_dapm_ignore_suspend(dapm, "Stereo Out"); in neo1973_gta02_wm8753_init() 306 snd_soc_dapm_ignore_suspend(dapm, "Handset Spk"); in neo1973_gta02_wm8753_init() 314 struct snd_soc_dapm_context *dapm = &codec->dapm; in neo1973_wm8753_init() local 318 snd_soc_dapm_nc_pin(dapm, "OUT3"); in neo1973_wm8753_init() 319 snd_soc_dapm_nc_pin(dapm, "OUT4"); in neo1973_wm8753_init() [all …]
|
D | speyside.c | 25 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level() argument 31 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level() 57 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level_post() argument 63 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post() 68 if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post() 90 card->dapm.bias_level = level; in speyside_set_bias_level_post() 126 snd_soc_dapm_sync(&codec->dapm); in speyside_set_polarity() 176 snd_soc_dapm_ignore_suspend(&card->dapm, "Headphone"); in speyside_late_probe() 177 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); in speyside_late_probe() 178 snd_soc_dapm_ignore_suspend(&card->dapm, "Main AMIC"); in speyside_late_probe() [all …]
|
D | jive_wm8750.c | 103 struct snd_soc_dapm_context *dapm = &codec->dapm; in jive_wm8750_init() local 106 snd_soc_dapm_nc_pin(dapm, "LINPUT2"); in jive_wm8750_init() 107 snd_soc_dapm_nc_pin(dapm, "RINPUT2"); in jive_wm8750_init() 108 snd_soc_dapm_nc_pin(dapm, "LINPUT3"); in jive_wm8750_init() 109 snd_soc_dapm_nc_pin(dapm, "RINPUT3"); in jive_wm8750_init() 110 snd_soc_dapm_nc_pin(dapm, "OUT3"); in jive_wm8750_init() 111 snd_soc_dapm_nc_pin(dapm, "MONO"); in jive_wm8750_init()
|
/sound/soc/s6000/ |
D | s6105-ipcam.c | 108 struct snd_soc_dapm_context *dapm = &codec->dapm; in output_type_put() local 116 snd_soc_dapm_disable_pin(dapm, val ? differential : stereo); in output_type_put() 117 snd_soc_dapm_sync(dapm); in output_type_put() 118 snd_soc_dapm_enable_pin(dapm, val ? stereo : differential); in output_type_put() 119 snd_soc_dapm_sync(dapm); in output_type_put() 139 struct snd_soc_dapm_context *dapm = &codec->dapm; in s6105_aic3x_init() local 142 snd_soc_dapm_new_controls(dapm, aic3x_dapm_widgets, in s6105_aic3x_init() 146 snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); in s6105_aic3x_init() 149 snd_soc_dapm_nc_pin(dapm, "MONO_LOUT"); in s6105_aic3x_init() 150 snd_soc_dapm_nc_pin(dapm, "LINE2L"); in s6105_aic3x_init() [all …]
|
/sound/soc/ux500/ |
D | mop500_ab8500.c | 396 ret = snd_soc_dapm_disable_pin(&codec->dapm, "Earpiece"); in mop500_ab8500_machine_init() 397 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "Speaker Left"); in mop500_ab8500_machine_init() 398 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "Speaker Right"); in mop500_ab8500_machine_init() 399 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "LineOut Left"); in mop500_ab8500_machine_init() 400 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "LineOut Right"); in mop500_ab8500_machine_init() 401 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "Vibra 1"); in mop500_ab8500_machine_init() 402 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "Vibra 2"); in mop500_ab8500_machine_init() 403 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "Mic 1"); in mop500_ab8500_machine_init() 404 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "Mic 2"); in mop500_ab8500_machine_init() 405 ret |= snd_soc_dapm_disable_pin(&codec->dapm, "LineIn Left"); in mop500_ab8500_machine_init() [all …]
|
/sound/soc/davinci/ |
D | davinci-evm.c | 134 struct snd_soc_dapm_context *dapm = &codec->dapm; in evm_aic3x_init() local 137 snd_soc_dapm_new_controls(dapm, aic3x_dapm_widgets, in evm_aic3x_init() 141 snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); in evm_aic3x_init() 144 snd_soc_dapm_disable_pin(dapm, "MONO_LOUT"); in evm_aic3x_init() 145 snd_soc_dapm_disable_pin(dapm, "HPLCOM"); in evm_aic3x_init() 146 snd_soc_dapm_disable_pin(dapm, "HPRCOM"); in evm_aic3x_init() 149 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in evm_aic3x_init() 150 snd_soc_dapm_enable_pin(dapm, "Line Out"); in evm_aic3x_init() 151 snd_soc_dapm_enable_pin(dapm, "Mic Jack"); in evm_aic3x_init() 152 snd_soc_dapm_enable_pin(dapm, "Line In"); in evm_aic3x_init()
|