/linux-4.4.14/sound/soc/codecs/ |
D | wm_hubs.h | 22 struct snd_soc_codec; 37 bool (*check_class_w_digital)(struct snd_soc_codec *); 53 struct snd_soc_codec *codec; 56 extern int wm_hubs_add_analogue_controls(struct snd_soc_codec *); 57 extern int wm_hubs_add_analogue_routes(struct snd_soc_codec *, int, int); 58 extern int wm_hubs_handle_analogue_pdata(struct snd_soc_codec *, 66 extern void wm_hubs_vmid_ena(struct snd_soc_codec *codec); 67 extern void wm_hubs_set_bias_level(struct snd_soc_codec *codec, 69 extern void wm_hubs_update_class_w(struct snd_soc_codec *codec);
|
D | twl6040.h | 37 int twl6040_get_dl1_gain(struct snd_soc_codec *codec); 38 void twl6040_hs_jack_detect(struct snd_soc_codec *codec, 40 int twl6040_get_clk_id(struct snd_soc_codec *codec); 41 int twl6040_get_trim_value(struct snd_soc_codec *codec, enum twl6040_trim trim); 42 int twl6040_get_hs_step_size(struct snd_soc_codec *codec);
|
D | twl6040.c | 79 struct snd_soc_codec *codec; 109 static unsigned int twl6040_read(struct snd_soc_codec *codec, unsigned int reg) in twl6040_read() 134 static bool twl6040_can_write_to_chip(struct snd_soc_codec *codec, in twl6040_can_write_to_chip() 153 static inline void twl6040_update_dl12_cache(struct snd_soc_codec *codec, in twl6040_update_dl12_cache() 171 static int twl6040_write(struct snd_soc_codec *codec, in twl6040_write() 186 static void twl6040_init_chip(struct snd_soc_codec *codec) in twl6040_init_chip() 212 static int headset_power_mode(struct snd_soc_codec *codec, int high_perf) in headset_power_mode() 237 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in twl6040_hs_dac_event() 264 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in twl6040_ep_drv_event() 282 static void twl6040_hs_jack_report(struct snd_soc_codec *codec, in twl6040_hs_jack_report() [all …]
|
D | ak5386.c | 41 static int ak5386_soc_probe(struct snd_soc_codec *codec) in ak5386_soc_probe() 47 static int ak5386_soc_remove(struct snd_soc_codec *codec) in ak5386_soc_remove() 55 static int ak5386_soc_suspend(struct snd_soc_codec *codec) in ak5386_soc_suspend() 62 static int ak5386_soc_resume(struct snd_soc_codec *codec) in ak5386_soc_resume() 86 struct snd_soc_codec *codec = codec_dai->codec; in ak5386_set_dai_fmt() 102 struct snd_soc_codec *codec = dai->codec; in ak5386_hw_params() 124 struct snd_soc_codec *codec = dai->codec; in ak5386_hw_free()
|
D | tlv320dac33.c | 66 struct snd_soc_codec *codec); 68 struct snd_soc_codec *codec); 95 struct snd_soc_codec *codec; 174 static inline unsigned int dac33_read_reg_cache(struct snd_soc_codec *codec, in dac33_read_reg_cache() 184 static inline void dac33_write_reg_cache(struct snd_soc_codec *codec, in dac33_write_reg_cache() 194 static int dac33_read(struct snd_soc_codec *codec, unsigned int reg, in dac33_read() 220 static int dac33_write(struct snd_soc_codec *codec, unsigned int reg, in dac33_write() 247 static int dac33_write_locked(struct snd_soc_codec *codec, unsigned int reg, in dac33_write_locked() 261 static int dac33_write16(struct snd_soc_codec *codec, unsigned int reg, in dac33_write16() 294 static void dac33_init_chip(struct snd_soc_codec *codec) in dac33_init_chip() [all …]
|
D | adav80x.c | 215 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adav80x_dapm_sysclk_check() 239 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adav80x_dapm_pll_check() 284 static int adav80x_set_deemph(struct snd_soc_codec *codec) in adav80x_set_deemph() 318 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in adav80x_put_deemph() 333 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in adav80x_get_deemph() 368 struct snd_soc_codec *codec = dai->codec; in adav80x_set_dai_fmt() 418 static int adav80x_set_adc_clock(struct snd_soc_codec *codec, in adav80x_set_adc_clock() 435 static int adav80x_set_dac_clock(struct snd_soc_codec *codec, in adav80x_set_dac_clock() 453 static int adav80x_set_capture_pcm_format(struct snd_soc_codec *codec, in adav80x_set_capture_pcm_format() 482 static int adav80x_set_playback_pcm_format(struct snd_soc_codec *codec, in adav80x_set_playback_pcm_format() [all …]
|
D | twl4030.c | 89 static unsigned int twl4030_read(struct snd_soc_codec *codec, unsigned int reg) in twl4030_read() 154 static int twl4030_write(struct snd_soc_codec *codec, unsigned int reg, in twl4030_write() 189 static void twl4030_codec_enable(struct snd_soc_codec *codec, int enable) in twl4030_codec_enable() 230 static struct twl4030_codec_data *twl4030_get_pdata(struct snd_soc_codec *codec) in twl4030_get_pdata() 252 static void twl4030_init_chip(struct snd_soc_codec *codec) in twl4030_init_chip() 344 static void twl4030_apll_enable(struct snd_soc_codec *codec, int enable) in twl4030_apll_enable() 569 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); \ 591 static void handsfree_ramp(struct snd_soc_codec *codec, int reg, int ramp) in handsfree_ramp() 624 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in handsfreelpga_event() 640 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in handsfreerpga_event() [all …]
|
D | wm8958-dsp2.c | 42 static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name, in wm8958_dsp2_fw() 195 static void wm8958_dsp_start_mbc(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_mbc() 239 static void wm8958_dsp_start_vss(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_vss() 300 static void wm8958_dsp_start_enh_eq(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_enh_eq() 331 static void wm8958_dsp_apply(struct snd_soc_codec *codec, int path, int start) in wm8958_dsp_apply() 421 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8958_aif_ev() 459 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_put_mbc_enum() 481 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_get_mbc_enum() 503 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_mbc_get() 515 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_mbc_put() [all …]
|
D | uda1380.c | 37 struct snd_soc_codec *codec; 63 static inline unsigned int uda1380_read_reg_cache(struct snd_soc_codec *codec, in uda1380_read_reg_cache() 77 static inline void uda1380_write_reg_cache(struct snd_soc_codec *codec, in uda1380_write_reg_cache() 92 static int uda1380_write(struct snd_soc_codec *codec, unsigned int reg, in uda1380_write() 131 static void uda1380_sync_cache(struct snd_soc_codec *codec) in uda1380_sync_cache() 148 static int uda1380_reset(struct snd_soc_codec *codec) in uda1380_reset() 175 struct snd_soc_codec *uda1380_codec = uda1380->codec; in uda1380_flush_work() 416 struct snd_soc_codec *codec = codec_dai->codec; in uda1380_set_dai_fmt_both() 446 struct snd_soc_codec *codec = codec_dai->codec; in uda1380_set_dai_fmt_playback() 476 struct snd_soc_codec *codec = codec_dai->codec; in uda1380_set_dai_fmt_capture() [all …]
|
D | wm8753.c | 59 static int wm8753_hifi_write_dai_fmt(struct snd_soc_codec *codec, 61 static int wm8753_voice_write_dai_fmt(struct snd_soc_codec *codec, 233 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8753_get_dai() 243 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8753_set_dai() 748 struct snd_soc_codec *codec = codec_dai->codec; in wm8753_set_dai_pll() 869 struct snd_soc_codec *codec = codec_dai->codec; in wm8753_set_dai_sysclk() 893 static int wm8753_vdac_adc_set_dai_fmt(struct snd_soc_codec *codec, in wm8753_vdac_adc_set_dai_fmt() 929 struct snd_soc_codec *codec = dai->codec; in wm8753_pcm_hw_params() 961 static int wm8753_pcm_set_dai_fmt(struct snd_soc_codec *codec, in wm8753_pcm_set_dai_fmt() 1029 struct snd_soc_codec *codec = codec_dai->codec; in wm8753_set_dai_clkdiv() [all …]
|
D | tlv320aic23.c | 85 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_tlv320aic23_put_volsw() 108 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_tlv320aic23_get_volsw() 300 static void get_current_sample_rates(struct snd_soc_codec *codec, int mclk, in get_current_sample_rates() 317 static int set_sample_rate_control(struct snd_soc_codec *codec, int mclk, in set_sample_rate_control() 343 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_hw_params() 388 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_pcm_prepare() 399 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_shutdown() 415 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_mute() 433 struct snd_soc_codec *codec = codec_dai->codec; in tlv320aic23_set_dai_fmt() 484 static int tlv320aic23_set_bias_level(struct snd_soc_codec *codec, in tlv320aic23_set_bias_level() [all …]
|
D | da7219-aad.c | 34 void da7219_aad_jack_det(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in da7219_aad_jack_det() 59 struct snd_soc_codec *codec = da7219_aad->codec; in da7219_aad_btn_det_work() 112 struct snd_soc_codec *codec = da7219_aad->codec; in da7219_aad_hptest_work() 273 struct snd_soc_codec *codec = da7219_aad->codec; in da7219_aad_irq_thread() 389 da7219_aad_of_micbias_pulse_lvl(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_micbias_pulse_lvl() 403 da7219_aad_of_btn_cfg(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_btn_cfg() 427 da7219_aad_of_mic_det_thr(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_mic_det_thr() 445 da7219_aad_of_jack_ins_deb(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_jack_ins_deb() 471 da7219_aad_of_jack_det_rate(struct snd_soc_codec *codec, const char *str) in da7219_aad_of_jack_det_rate() 488 da7219_aad_of_jack_rem_deb(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_jack_rem_deb() [all …]
|
D | sn95031.c | 49 static void sn95031_enable_mic_bias(struct snd_soc_codec *codec) in sn95031_enable_mic_bias() 56 static void configure_adc(struct snd_soc_codec *sn95031_codec, int val) in configure_adc() 81 static int find_free_channel(struct snd_soc_codec *sn95031_codec) in find_free_channel() 102 static int sn95031_initialize_adc(struct snd_soc_codec *sn95031_codec) in sn95031_initialize_adc() 140 static unsigned int sn95031_get_mic_bias(struct snd_soc_codec *codec) in sn95031_get_mic_bias() 189 static int sn95031_set_vaud_bias(struct snd_soc_codec *codec, in sn95031_set_vaud_bias() 240 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_vhs_event() 259 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_vihf_event() 276 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_dmic12_event() 294 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_dmic34_event() [all …]
|
D | stac9766.c | 142 static int stac9766_ac97_write(struct snd_soc_codec *codec, unsigned int reg, in stac9766_ac97_write() 162 static unsigned int stac9766_ac97_read(struct snd_soc_codec *codec, in stac9766_ac97_read() 190 struct snd_soc_codec *codec = dai->codec; in ac97_analog_prepare() 212 struct snd_soc_codec *codec = dai->codec; in ac97_digital_prepare() 228 static int stac9766_set_bias_level(struct snd_soc_codec *codec, in stac9766_set_bias_level() 245 static int stac9766_codec_resume(struct snd_soc_codec *codec) in stac9766_codec_resume() 300 static int stac9766_codec_probe(struct snd_soc_codec *codec) in stac9766_codec_probe() 314 static int stac9766_codec_remove(struct snd_soc_codec *codec) in stac9766_codec_remove()
|
D | rt5631.c | 74 static void rt5631_write_index(struct snd_soc_codec *codec, in rt5631_write_index() 84 static unsigned int rt5631_read_index(struct snd_soc_codec *codec, in rt5631_read_index() 95 static int rt5631_reset(struct snd_soc_codec *codec) in rt5631_reset() 190 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in rt5631_dmic_get() 201 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in rt5631_dmic_put() 289 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_sysclk1_source() 299 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dmic_used() 307 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dacl_to_outmixl() 317 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dacr_to_outmixr() 327 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dacl_to_spkmixl() [all …]
|
D | max98095.c | 254 static void m98095_eq_band(struct snd_soc_codec *codec, unsigned int dai, in m98095_eq_band() 280 static void m98095_biquad_band(struct snd_soc_codec *codec, unsigned int dai, in m98095_biquad_band() 356 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic1pre_set() 370 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic1pre_get() 380 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic2pre_set() 394 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic2pre_get() 601 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98095_mic_event() 631 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98095_line_pga() 679 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98095_lineout_event() 945 struct snd_soc_codec *codec = dai->codec; in max98095_dai1_hw_params() [all …]
|
D | sgtl5000.c | 158 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in mic_bias_event() 185 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in power_vag_event() 329 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in dac_get_volsw() 382 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in dac_put_volsw() 451 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_digital_mute() 463 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_set_dai_fmt() 531 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_set_dai_sysclk() 558 static int sgtl5000_set_clock(struct snd_soc_codec *codec, int frame_rate) in sgtl5000_set_clock() 717 struct snd_soc_codec *codec = dai->codec; in sgtl5000_pcm_hw_params() 792 struct snd_soc_codec *codec = (struct snd_soc_codec *)ldo->codec_data; in ldo_regulator_enable() [all …]
|
D | adau17x1.h | 50 int adau17x1_add_widgets(struct snd_soc_codec *codec); 51 int adau17x1_add_routes(struct snd_soc_codec *codec); 55 int adau17x1_set_micbias_voltage(struct snd_soc_codec *codec, 60 int adau17x1_resume(struct snd_soc_codec *codec);
|
D | wm9713.c | 42 static unsigned int ac97_read(struct snd_soc_codec *codec, 44 static int ac97_write(struct snd_soc_codec *codec, 222 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm9713_voice_shutdown() 258 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9713_hp_mixer_put() 302 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9713_hp_mixer_get() 677 static unsigned int ac97_read(struct snd_soc_codec *codec, in ac97_read() 697 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write() 724 static void pll_factors(struct snd_soc_codec *codec, in pll_factors() 786 static int wm9713_set_pll(struct snd_soc_codec *codec, in wm9713_set_pll() 854 struct snd_soc_codec *codec = codec_dai->codec; in wm9713_set_dai_pll() [all …]
|
D | wl1273.c | 175 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_get_audio_route() 193 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_set_audio_route() 217 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_audio_get() 230 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_audio_put() 254 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_volume_get() 267 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_volume_put() 305 struct snd_soc_codec *codec = dai->codec; in wl1273_startup() 419 int wl1273_get_format(struct snd_soc_codec *codec, unsigned int *fmt) in wl1273_get_format() 450 static int wl1273_probe(struct snd_soc_codec *codec) in wl1273_probe() 474 static int wl1273_remove(struct snd_soc_codec *codec) in wl1273_remove()
|
D | da7219.c | 257 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_volsw_locked_get() 271 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_volsw_locked_put() 285 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_enum_locked_get() 299 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_enum_locked_put() 311 static void da7219_alc_calib(struct snd_soc_codec *codec) in da7219_alc_calib() 379 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_mixin_gain_put() 398 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_alc_sw_put() 417 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_tonegen_freq_get() 444 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_tonegen_freq_put() 770 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in da7219_dai_event() [all …]
|
D | wm8994.h | 46 int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, 48 int wm8958_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, 52 int wm8994_vmid_mode(struct snd_soc_codec *codec, enum wm8994_vmid_mode mode); 57 void wm8958_dsp2_init(struct snd_soc_codec *codec);
|
D | ac97.c | 39 struct snd_soc_codec *codec = dai->codec; in ac97_prepare() 68 static int ac97_soc_probe(struct snd_soc_codec *codec) in ac97_soc_probe() 92 static int ac97_soc_suspend(struct snd_soc_codec *codec) in ac97_soc_suspend() 101 static int ac97_soc_resume(struct snd_soc_codec *codec) in ac97_soc_resume()
|
D | da7219-aad.h | 190 struct snd_soc_codec *codec; 206 void da7219_aad_jack_det(struct snd_soc_codec *codec, struct snd_soc_jack *jack); 209 int da7219_aad_init(struct snd_soc_codec *codec); 210 void da7219_aad_exit(struct snd_soc_codec *codec);
|
D | wm8711.c | 162 struct snd_soc_codec *codec = dai->codec; in wm8711_hw_params() 190 struct snd_soc_codec *codec = dai->codec; in wm8711_pcm_prepare() 201 struct snd_soc_codec *codec = dai->codec; in wm8711_shutdown() 212 struct snd_soc_codec *codec = dai->codec; in wm8711_mute() 226 struct snd_soc_codec *codec = codec_dai->codec; in wm8711_set_dai_sysclk() 244 struct snd_soc_codec *codec = codec_dai->codec; in wm8711_set_dai_fmt() 300 static int wm8711_set_bias_level(struct snd_soc_codec *codec, in wm8711_set_bias_level() 352 static int wm8711_probe(struct snd_soc_codec *codec) in wm8711_probe()
|
D | arizona.h | 260 extern int arizona_set_sysclk(struct snd_soc_codec *codec, int clk_id, 284 extern int arizona_dvfs_up(struct snd_soc_codec *codec, unsigned int flags); 285 extern int arizona_dvfs_down(struct snd_soc_codec *codec, unsigned int flags); 297 extern int arizona_init_spk(struct snd_soc_codec *codec); 298 extern int arizona_init_gpio(struct snd_soc_codec *codec); 299 extern int arizona_init_mono(struct snd_soc_codec *codec); 303 int arizona_set_output_mode(struct snd_soc_codec *codec, int output, 306 extern bool arizona_input_analog(struct snd_soc_codec *codec, int shift);
|
D | wm_hubs.c | 63 static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op) in wait_for_dc_servo() 111 static bool wm_hubs_dac_hp_direct(struct snd_soc_codec *codec) in wm_hubs_dac_hp_direct() 152 static bool wm_hubs_dcs_cache_get(struct snd_soc_codec *codec, in wm_hubs_dcs_cache_get() 176 static void wm_hubs_dcs_cache_set(struct snd_soc_codec *codec, u16 dcs_cfg) in wm_hubs_dcs_cache_set() 199 static int wm_hubs_read_dc_servo(struct snd_soc_codec *codec, in wm_hubs_read_dc_servo() 245 static void enable_dc_servo(struct snd_soc_codec *codec) in enable_dc_servo() 337 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8993_put_dc_servo() 502 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_supply_event() 544 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_event() 596 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in earpiece_event() [all …]
|
D | max98088.c | 310 static void m98088_eq_band(struct snd_soc_codec *codec, unsigned int dai, in m98088_eq_band() 383 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic1pre_set() 397 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic1pre_get() 407 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic2pre_set() 421 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic2pre_get() 620 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98088_mic_event() 650 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98088_line_pga() 966 struct snd_soc_codec *codec = dai->codec; in max98088_dai1_hw_params() 1033 struct snd_soc_codec *codec = dai->codec; in max98088_dai2_hw_params() 1099 struct snd_soc_codec *codec = dai->codec; in max98088_dai_set_sysclk() [all …]
|
D | cs4271.c | 203 struct snd_soc_codec *codec = codec_dai->codec; in cs4271_set_dai_sysclk() 213 struct snd_soc_codec *codec = codec_dai->codec; in cs4271_set_dai_fmt() 260 static int cs4271_set_deemph(struct snd_soc_codec *codec) in cs4271_set_deemph() 286 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs4271_get_deemph() 296 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs4271_put_deemph() 346 struct snd_soc_codec *codec = dai->codec; in cs4271_hw_params() 412 struct snd_soc_codec *codec = dai->codec; in cs4271_mute_stream() 491 static int cs4271_soc_suspend(struct snd_soc_codec *codec) in cs4271_soc_suspend() 505 static int cs4271_soc_resume(struct snd_soc_codec *codec) in cs4271_soc_resume() 537 static int cs4271_codec_probe(struct snd_soc_codec *codec) in cs4271_codec_probe() [all …]
|
D | rt286.c | 43 struct snd_soc_codec *codec; 190 static void rt286_index_sync(struct snd_soc_codec *codec) in rt286_index_sync() 306 int rt286_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in rt286_mic_detect() 335 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_mclk_mode() 435 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_spk_event() 457 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_set_dmic1_event() 476 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_vref_event() 494 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_ldo2_event() 513 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_mic1_event() 693 struct snd_soc_codec *codec = dai->codec; in rt286_hw_params() [all …]
|
D | rt298.c | 41 struct snd_soc_codec *codec; 196 static void rt298_index_sync(struct snd_soc_codec *codec) in rt298_index_sync() 318 int rt298_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in rt298_mic_detect() 335 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_mclk_mode() 433 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_spk_event() 455 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_set_dmic1_event() 474 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_adc_event() 500 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_mic1_event() 525 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_vref_event() 718 struct snd_soc_codec *codec = dai->codec; in rt298_hw_params() [all …]
|
D | tas2552.c | 73 struct snd_soc_codec *codec; 91 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in tas2552_post_event() 163 static int tas2552_setup_pll(struct snd_soc_codec *codec, in tas2552_setup_pll() 244 struct snd_soc_codec *codec = dai->codec; in tas2552_hw_params() 333 struct snd_soc_codec *codec = dai->codec; in tas2552_prepare() 351 struct snd_soc_codec *codec = dai->codec; in tas2552_set_dai_fmt() 401 struct snd_soc_codec *codec = dai->codec; in tas2552_set_dai_sysclk() 448 struct snd_soc_codec *codec = dai->codec; in tas2552_set_dai_tdm_slot() 476 struct snd_soc_codec *codec = dai->codec; in tas2552_mute() 570 static int tas2552_codec_probe(struct snd_soc_codec *codec) in tas2552_codec_probe() [all …]
|
D | wm9705.c | 207 static unsigned int ac97_read(struct snd_soc_codec *codec, unsigned int reg) in ac97_read() 227 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write() 244 struct snd_soc_codec *codec = dai->codec; in ac97_prepare() 300 static int wm9705_soc_suspend(struct snd_soc_codec *codec) in wm9705_soc_suspend() 309 static int wm9705_soc_resume(struct snd_soc_codec *codec) in wm9705_soc_resume() 331 static int wm9705_soc_probe(struct snd_soc_codec *codec) in wm9705_soc_probe() 347 static int wm9705_soc_remove(struct snd_soc_codec *codec) in wm9705_soc_remove()
|
D | wm8960.c | 52 static int wm8960_set_pll(struct snd_soc_codec *codec, 126 int (*set_bias_level)(struct snd_soc_codec *, 162 static int wm8960_set_deemph(struct snd_soc_codec *codec) in wm8960_set_deemph() 192 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8960_get_deemph() 202 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8960_put_deemph() 462 static int wm8960_add_widgets(struct snd_soc_codec *codec) in wm8960_add_widgets() 513 struct snd_soc_codec *codec = codec_dai->codec; in wm8960_set_dai_fmt() 596 static int wm8960_configure_clocking(struct snd_soc_codec *codec) in wm8960_configure_clocking() 706 struct snd_soc_codec *codec = dai->codec; in wm8960_hw_params() 765 struct snd_soc_codec *codec = dai->codec; in wm8960_hw_free() [all …]
|
D | ak4642.c | 181 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in ak4642_lout_event() 285 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_startup() 328 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_shutdown() 342 struct snd_soc_codec *codec = codec_dai->codec; in ak4642_dai_set_sysclk() 392 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_set_fmt() 433 static int ak4642_set_mcko(struct snd_soc_codec *codec, in ak4642_set_mcko() 475 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_hw_params() 485 static int ak4642_set_bias_level(struct snd_soc_codec *codec, in ak4642_set_bias_level() 526 static int ak4642_resume(struct snd_soc_codec *codec) in ak4642_resume() 535 static int ak4642_probe(struct snd_soc_codec *codec) in ak4642_probe()
|
D | wm9712.c | 35 static unsigned int ac97_read(struct snd_soc_codec *codec, 37 static int ac97_write(struct snd_soc_codec *codec, 184 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9712_hp_mixer_put() 228 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9712_hp_mixer_get() 488 static unsigned int ac97_read(struct snd_soc_codec *codec, in ac97_read() 508 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write() 525 struct snd_soc_codec *codec = dai->codec; in ac97_prepare() 544 struct snd_soc_codec *codec = dai->codec; in ac97_aux_prepare() 600 static int wm9712_set_bias_level(struct snd_soc_codec *codec, in wm9712_set_bias_level() 619 static int wm9712_soc_resume(struct snd_soc_codec *codec) in wm9712_soc_resume() [all …]
|
D | pcm1681.c | 93 static int pcm1681_set_deemph(struct snd_soc_codec *codec) in pcm1681_set_deemph() 123 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm1681_get_deemph() 134 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm1681_put_deemph() 145 struct snd_soc_codec *codec = codec_dai->codec; in pcm1681_set_dai_fmt() 161 struct snd_soc_codec *codec = dai->codec; in pcm1681_digital_mute() 177 struct snd_soc_codec *codec = dai->codec; in pcm1681_hw_params()
|
D | alc5623.c | 50 static inline int alc5623_reset(struct snd_soc_codec *codec) in alc5623_reset() 58 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in amp_mixer_event() 529 struct snd_soc_codec *codec = codec_dai->codec; in alc5623_set_dai_pll() 607 static int get_coeff(struct snd_soc_codec *codec, int rate) in get_coeff() 625 struct snd_soc_codec *codec = codec_dai->codec; in alc5623_set_dai_sysclk() 646 struct snd_soc_codec *codec = codec_dai->codec; in alc5623_set_dai_fmt() 704 struct snd_soc_codec *codec = dai->codec; in alc5623_pcm_hw_params() 747 struct snd_soc_codec *codec = dai->codec; in alc5623_mute() 772 static void enable_power_depop(struct snd_soc_codec *codec) in enable_power_depop() 805 static int alc5623_set_bias_level(struct snd_soc_codec *codec, in alc5623_set_bias_level() [all …]
|
D | wm8770.c | 87 struct snd_soc_codec *codec; 311 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in vout12supply_event() 328 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in vout34supply_event() 342 static int wm8770_reset(struct snd_soc_codec *codec) in wm8770_reset() 349 struct snd_soc_codec *codec; in wm8770_set_fmt() 414 struct snd_soc_codec *codec; in wm8770_hw_params() 480 struct snd_soc_codec *codec; in wm8770_mute() 490 struct snd_soc_codec *codec; in wm8770_set_sysclk() 499 static int wm8770_set_bias_level(struct snd_soc_codec *codec, in wm8770_set_bias_level() 570 static int wm8770_probe(struct snd_soc_codec *codec) in wm8770_probe()
|
D | wm8741.c | 64 static int wm8741_reset(struct snd_soc_codec *codec) in wm8741_reset() 184 struct snd_soc_codec *codec = dai->codec; in wm8741_startup() 199 struct snd_soc_codec *codec = dai->codec; in wm8741_hw_params() 254 struct snd_soc_codec *codec = codec_dai->codec; in wm8741_set_dai_sysclk() 299 struct snd_soc_codec *codec = codec_dai->codec; in wm8741_set_dai_fmt() 384 static int wm8741_resume(struct snd_soc_codec *codec) in wm8741_resume() 393 static int wm8741_configure(struct snd_soc_codec *codec) in wm8741_configure() 424 static int wm8741_add_controls(struct snd_soc_codec *codec) in wm8741_add_controls() 452 static int wm8741_probe(struct snd_soc_codec *codec) in wm8741_probe() 491 static int wm8741_remove(struct snd_soc_codec *codec) in wm8741_remove()
|
D | cs42l51.c | 57 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs42l51_get_chan_mix() 85 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs42l51_set_chan_mix() 156 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l51_pdn_event() 266 struct snd_soc_codec *codec = codec_dai->codec; in cs42l51_set_dai_fmt() 329 struct snd_soc_codec *codec = codec_dai->codec; in cs42l51_set_dai_sysclk() 340 struct snd_soc_codec *codec = dai->codec; in cs42l51_hw_params() 447 struct snd_soc_codec *codec = dai->codec; in cs42l51_dai_mute() 487 static int cs42l51_codec_probe(struct snd_soc_codec *codec) in cs42l51_codec_probe()
|
D | cx20442.c | 91 static unsigned int cx20442_read_reg_cache(struct snd_soc_codec *codec, in cx20442_read_reg_cache() 155 static int cx20442_write(struct snd_soc_codec *codec, unsigned int reg, in cx20442_write() 243 struct snd_soc_codec *codec = tty->disc_data; in v253_close() 270 struct snd_soc_codec *codec = tty->disc_data; in v253_receive() 328 static int cx20442_set_bias_level(struct snd_soc_codec *codec, in cx20442_set_bias_level() 358 static int cx20442_codec_probe(struct snd_soc_codec *codec) in cx20442_codec_probe() 379 static int cx20442_codec_remove(struct snd_soc_codec *codec) in cx20442_codec_remove()
|
D | ak4104.c | 68 struct snd_soc_codec *codec = codec_dai->codec; in ak4104_set_dai_fmt() 105 struct snd_soc_codec *codec = dai->codec; in ak4104_hw_params() 174 static int ak4104_probe(struct snd_soc_codec *codec) in ak4104_probe() 205 static int ak4104_remove(struct snd_soc_codec *codec) in ak4104_remove() 217 static int ak4104_soc_suspend(struct snd_soc_codec *codec) in ak4104_soc_suspend() 226 static int ak4104_soc_resume(struct snd_soc_codec *codec) in ak4104_soc_resume()
|
D | sti-sas.c | 135 static int sti_sas_init_sas_registers(struct snd_soc_codec *codec, in sti_sas_init_sas_registers() 222 struct snd_soc_codec *codec = dai->codec; in stih416_dac_probe() 272 struct snd_soc_codec *codec = dai->codec; in stih416_sas_dac_mute() 286 struct snd_soc_codec *codec = dai->codec; in stih407_sas_dac_mute() 324 struct snd_soc_codec *codec = dai->codec; in sti_sas_spdif_trigger() 363 struct snd_soc_codec *codec = dai->codec; in sti_sas_set_sysclk() 388 struct snd_soc_codec *codec = dai->codec; in sti_sas_prepare() 509 static int sti_sas_resume(struct snd_soc_codec *codec) in sti_sas_resume() 519 static int sti_sas_codec_probe(struct snd_soc_codec *codec) in sti_sas_codec_probe()
|
D | ak4641.c | 53 static int ak4641_set_deemph(struct snd_soc_codec *codec) in ak4641_set_deemph() 77 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in ak4641_put_deemph() 92 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in ak4641_get_deemph() 290 struct snd_soc_codec *codec = codec_dai->codec; in ak4641_set_dai_sysclk() 301 struct snd_soc_codec *codec = dai->codec; in ak4641_i2s_hw_params() 341 struct snd_soc_codec *codec = codec_dai->codec; in ak4641_pcm_set_dai_fmt() 373 struct snd_soc_codec *codec = codec_dai->codec; in ak4641_i2s_set_dai_fmt() 393 struct snd_soc_codec *codec = dai->codec; in ak4641_mute() 398 static int ak4641_set_bias_level(struct snd_soc_codec *codec, in ak4641_set_bias_level()
|
D | cs4270.c | 257 struct snd_soc_codec *codec = codec_dai->codec; in cs4270_set_dai_sysclk() 280 struct snd_soc_codec *codec = codec_dai->codec; in cs4270_set_dai_fmt() 329 struct snd_soc_codec *codec = dai->codec; in cs4270_hw_params() 408 struct snd_soc_codec *codec = dai->codec; in cs4270_dai_mute() 441 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs4270_soc_put_mute() 504 static int cs4270_probe(struct snd_soc_codec *codec) in cs4270_probe() 544 static int cs4270_remove(struct snd_soc_codec *codec) in cs4270_remove() 564 static int cs4270_soc_suspend(struct snd_soc_codec *codec) in cs4270_soc_suspend() 583 static int cs4270_soc_resume(struct snd_soc_codec *codec) in cs4270_soc_resume()
|
D | wm8955.c | 131 static int wm8955_reset(struct snd_soc_codec *codec) in wm8955_reset() 245 static int wm8955_configure_clocking(struct snd_soc_codec *codec) in wm8955_configure_clocking() 336 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8955_sysclk() 363 static int wm8955_set_deemph(struct snd_soc_codec *codec) in wm8955_set_deemph() 393 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8955_get_deemph() 403 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8955_put_deemph() 595 struct snd_soc_codec *codec = dai->codec; in wm8955_hw_params() 644 struct snd_soc_codec *codec = dai->codec; in wm8955_set_sysclk() 673 struct snd_soc_codec *codec = dai->codec; in wm8955_set_fmt() 752 struct snd_soc_codec *codec = codec_dai->codec; in wm8955_digital_mute() [all …]
|
D | adau1701.c | 301 static int adau1701_reset(struct snd_soc_codec *codec, unsigned int clkdiv, in adau1701_reset() 365 static int adau1701_set_capture_pcm_format(struct snd_soc_codec *codec, in adau1701_set_capture_pcm_format() 406 static int adau1701_set_playback_pcm_format(struct snd_soc_codec *codec, in adau1701_set_playback_pcm_format() 438 struct snd_soc_codec *codec = dai->codec; in adau1701_hw_params() 481 struct snd_soc_codec *codec = codec_dai->codec; in adau1701_set_dai_fmt() 551 static int adau1701_set_bias_level(struct snd_soc_codec *codec, in adau1701_set_bias_level() 579 struct snd_soc_codec *codec = dai->codec; in adau1701_digital_mute() 594 static int adau1701_set_sysclk(struct snd_soc_codec *codec, int clk_id, in adau1701_set_sysclk() 667 static int adau1701_probe(struct snd_soc_codec *codec) in adau1701_probe() 718 static int adau1701_remove(struct snd_soc_codec *codec) in adau1701_remove() [all …]
|
D | arizona.c | 86 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_spk_ev() 211 int arizona_init_spk(struct snd_soc_codec *codec) in arizona_init_spk() 261 int arizona_init_mono(struct snd_soc_codec *codec) in arizona_init_mono() 278 int arizona_init_gpio(struct snd_soc_codec *codec) in arizona_init_gpio() 705 static void arizona_in_set_vu(struct snd_soc_codec *codec, int ena) in arizona_in_set_vu() 722 bool arizona_input_analog(struct snd_soc_codec *codec, int shift) in arizona_input_analog() 734 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_in_ev() 780 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_out_ev() 863 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_hp_ev() 898 static int arizona_dvfs_enable(struct snd_soc_codec *codec) in arizona_dvfs_enable() [all …]
|
D | 88pm860x-codec.c | 142 struct snd_soc_codec *codec; 275 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_get_volsw_2r_st() 299 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_put_volsw_2r_st() 332 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_get_volsw_2r_out() 352 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_put_volsw_2r_out() 385 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pm860x_rsync_event() 402 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pm860x_dac_event() 925 struct snd_soc_codec *codec = codec_dai->codec; in pm860x_digital_mute() 940 struct snd_soc_codec *codec = dai->codec; in pm860x_pcm_hw_params() 982 struct snd_soc_codec *codec = codec_dai->codec; in pm860x_pcm_set_dai_fmt() [all …]
|
D | es8328.c | 98 static int es8328_set_deemph(struct snd_soc_codec *codec) in es8328_set_deemph() 129 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in es8328_get_deemph() 139 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in es8328_put_deemph() 446 struct snd_soc_codec *codec = dai->codec; in es8328_hw_params() 486 struct snd_soc_codec *codec = codec_dai->codec; in es8328_set_dai_fmt() 530 static int es8328_set_bias_level(struct snd_soc_codec *codec, in es8328_set_bias_level() 606 static int es8328_suspend(struct snd_soc_codec *codec) in es8328_suspend() 624 static int es8328_resume(struct snd_soc_codec *codec) in es8328_resume() 655 static int es8328_codec_probe(struct snd_soc_codec *codec) in es8328_codec_probe() 691 static int es8328_remove(struct snd_soc_codec *codec) in es8328_remove()
|
D | ssm2602.c | 276 struct snd_soc_codec *codec = dai->codec; in ssm2602_hw_params() 311 struct snd_soc_codec *codec = dai->codec; in ssm2602_startup() 340 struct snd_soc_codec *codec = codec_dai->codec; in ssm2602_set_dai_sysclk() 448 static int ssm2602_set_bias_level(struct snd_soc_codec *codec, in ssm2602_set_bias_level() 514 static int ssm2602_resume(struct snd_soc_codec *codec) in ssm2602_resume() 523 static int ssm2602_codec_probe(struct snd_soc_codec *codec) in ssm2602_codec_probe() 548 static int ssm2604_codec_probe(struct snd_soc_codec *codec) in ssm2604_codec_probe() 562 static int ssm260x_codec_probe(struct snd_soc_codec *codec) in ssm260x_codec_probe()
|
D | uda134x.c | 113 static inline void uda134x_reset(struct snd_soc_codec *codec) in uda134x_reset() 142 struct snd_soc_codec *codec = dai->codec; in uda134x_startup() 171 struct snd_soc_codec *codec = dai->codec; in uda134x_shutdown() 184 struct snd_soc_codec *codec = dai->codec; in uda134x_hw_params() 251 struct snd_soc_codec *codec = codec_dai->codec; in uda134x_set_dai_sysclk() 273 struct snd_soc_codec *codec = codec_dai->codec; in uda134x_set_dai_fmt() 297 static int uda134x_set_bias_level(struct snd_soc_codec *codec, in uda134x_set_bias_level() 449 static int uda134x_soc_probe(struct snd_soc_codec *codec) in uda134x_soc_probe()
|
D | max9850.c | 133 struct snd_soc_codec *codec = dai->codec; in max9850_hw_params() 172 struct snd_soc_codec *codec = codec_dai->codec; in max9850_set_dai_sysclk() 191 struct snd_soc_codec *codec = codec_dai->codec; in max9850_set_dai_fmt() 242 static int max9850_set_bias_level(struct snd_soc_codec *codec, in max9850_set_bias_level() 292 static int max9850_probe(struct snd_soc_codec *codec) in max9850_probe()
|
D | wm8350.h | 23 int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which, 25 int wm8350_mic_jack_detect(struct snd_soc_codec *codec,
|
D | tlv320aic31xx.c | 162 struct snd_soc_codec *codec; 352 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in aic31xx_dapm_power_event() 437 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in mic_bias_event() 630 static int aic31xx_add_controls(struct snd_soc_codec *codec) in aic31xx_add_controls() 647 static int aic31xx_add_widgets(struct snd_soc_codec *codec) in aic31xx_add_widgets() 680 static int aic31xx_setup_pll(struct snd_soc_codec *codec, in aic31xx_setup_pll() 778 struct snd_soc_codec *codec = dai->codec; in aic31xx_hw_params() 815 struct snd_soc_codec *codec = codec_dai->codec; in aic31xx_dac_mute() 832 struct snd_soc_codec *codec = codec_dai->codec; in aic31xx_set_dai_fmt() 899 struct snd_soc_codec *codec = codec_dai->codec; in aic31xx_set_dai_sysclk() [all …]
|
D | wm8904.c | 319 static int wm8904_configure_clocking(struct snd_soc_codec *codec) in wm8904_configure_clocking() 375 static void wm8904_set_drc(struct snd_soc_codec *codec) in wm8904_set_drc() 396 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_put_drc_enum() 414 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_get_drc_enum() 422 static void wm8904_set_retune_mobile(struct snd_soc_codec *codec) in wm8904_set_retune_mobile() 467 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_put_retune_mobile_enum() 485 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_get_retune_mobile_enum() 495 static int wm8904_set_deemph(struct snd_soc_codec *codec) in wm8904_set_deemph() 525 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_get_deemph() 535 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_put_deemph() [all …]
|
D | wm8994.c | 109 static void wm8958_micd_set_rate(struct snd_soc_codec *codec) in wm8958_micd_set_rate() 160 static int configure_aif_clock(struct snd_soc_codec *codec, int aif) in configure_aif_clock() 213 static int configure_clock(struct snd_soc_codec *codec) in configure_clock() 253 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_clk_sys() 303 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_sw() 322 static void wm8994_set_drc(struct snd_soc_codec *codec, int drc) in wm8994_set_drc() 360 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_enum() 383 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_get_drc_enum() 394 static void wm8994_set_retune_mobile(struct snd_soc_codec *codec, int block) in wm8994_set_retune_mobile() 467 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_retune_mobile_enum() [all …]
|
D | ak4535.c | 254 struct snd_soc_codec *codec = codec_dai->codec; in ak4535_set_dai_sysclk() 265 struct snd_soc_codec *codec = dai->codec; in ak4535_hw_params() 293 struct snd_soc_codec *codec = codec_dai->codec; in ak4535_set_dai_fmt() 317 struct snd_soc_codec *codec = dai->codec; in ak4535_mute() 326 static int ak4535_set_bias_level(struct snd_soc_codec *codec, in ak4535_set_bias_level() 375 static int ak4535_resume(struct snd_soc_codec *codec) in ak4535_resume()
|
D | alc5632.c | 119 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in amp_mixer_event() 684 struct snd_soc_codec *codec = codec_dai->codec; in alc5632_set_dai_pll() 778 static int get_coeff(struct snd_soc_codec *codec, int rate) in get_coeff() 796 struct snd_soc_codec *codec = codec_dai->codec; in alc5632_set_dai_sysclk() 818 struct snd_soc_codec *codec = codec_dai->codec; in alc5632_set_dai_fmt() 873 struct snd_soc_codec *codec = dai->codec; in alc5632_pcm_hw_params() 910 struct snd_soc_codec *codec = dai->codec; in alc5632_mute() 932 static void enable_power_depop(struct snd_soc_codec *codec) in enable_power_depop() 969 static int alc5632_set_bias_level(struct snd_soc_codec *codec, in alc5632_set_bias_level() 1041 static int alc5632_resume(struct snd_soc_codec *codec) in alc5632_resume() [all …]
|
D | wm8978.c | 411 static void pll_factors(struct snd_soc_codec *codec, in pll_factors() 474 static int wm8978_configure_pll(struct snd_soc_codec *codec) in wm8978_configure_pll() 568 struct snd_soc_codec *codec = codec_dai->codec; in wm8978_set_dai_clkdiv() 613 struct snd_soc_codec *codec = codec_dai->codec; in wm8978_set_dai_sysclk() 654 struct snd_soc_codec *codec = codec_dai->codec; in wm8978_set_dai_fmt() 723 struct snd_soc_codec *codec = dai->codec; in wm8978_hw_params() 844 struct snd_soc_codec *codec = dai->codec; in wm8978_mute() 856 static int wm8978_set_bias_level(struct snd_soc_codec *codec, in wm8978_set_bias_level() 926 static int wm8978_suspend(struct snd_soc_codec *codec) in wm8978_suspend() 939 static int wm8978_resume(struct snd_soc_codec *codec) in wm8978_resume() [all …]
|
D | tas5086.c | 264 static int tas5086_set_deemph(struct snd_soc_codec *codec) in tas5086_set_deemph() 285 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in tas5086_get_deemph() 296 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in tas5086_put_deemph() 308 struct snd_soc_codec *codec = codec_dai->codec; in tas5086_set_dai_sysclk() 326 struct snd_soc_codec *codec = codec_dai->codec; in tas5086_set_dai_fmt() 364 struct snd_soc_codec *codec = dai->codec; in tas5086_hw_params() 462 struct snd_soc_codec *codec = dai->codec; in tas5086_mute_stream() 776 static int tas5086_soc_suspend(struct snd_soc_codec *codec) in tas5086_soc_suspend() 791 static int tas5086_soc_resume(struct snd_soc_codec *codec) in tas5086_soc_resume() 826 static int tas5086_probe(struct snd_soc_codec *codec) in tas5086_probe() [all …]
|
D | wm8776.c | 81 static int wm8776_reset(struct snd_soc_codec *codec) in wm8776_reset() 169 struct snd_soc_codec *codec = dai->codec; in wm8776_set_fmt() 246 struct snd_soc_codec *codec = dai->codec; in wm8776_hw_params() 317 struct snd_soc_codec *codec = dai->codec; in wm8776_mute() 325 struct snd_soc_codec *codec = dai->codec; in wm8776_set_sysclk() 336 static int wm8776_set_bias_level(struct snd_soc_codec *codec, in wm8776_set_bias_level() 410 static int wm8776_probe(struct snd_soc_codec *codec) in wm8776_probe()
|
D | tpa6130a2.h | 59 extern int tpa6130a2_add_controls(struct snd_soc_codec *codec); 60 extern int tpa6130a2_stereo_enable(struct snd_soc_codec *codec, int enable);
|
D | tlv320aic26.c | 33 struct snd_soc_codec *codec; 67 struct snd_soc_codec *codec = dai->codec; in aic26_hw_params() 138 struct snd_soc_codec *codec = dai->codec; in aic26_mute() 157 struct snd_soc_codec *codec = codec_dai->codec; in aic26_set_sysclk() 174 struct snd_soc_codec *codec = codec_dai->codec; in aic26_set_fmt() 294 static int aic26_probe(struct snd_soc_codec *codec) in aic26_probe()
|
D | wm8962.c | 58 struct snd_soc_codec *codec; 1479 static int wm8962_dsp2_write_config(struct snd_soc_codec *codec) in wm8962_dsp2_write_config() 1487 static int wm8962_dsp2_set_enable(struct snd_soc_codec *codec, u16 val) in wm8962_dsp2_set_enable() 1510 static int wm8962_dsp2_start(struct snd_soc_codec *codec) in wm8962_dsp2_start() 1523 static int wm8962_dsp2_stop(struct snd_soc_codec *codec) in wm8962_dsp2_stop() 1554 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_dsp2_ena_get() 1566 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_dsp2_ena_put() 1604 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_put_hp_sw() 1634 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_put_spk_sw() 1867 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_event() [all …]
|
D | wm8580.c | 255 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8580_out_vu() 433 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_set_dai_pll() 507 struct snd_soc_codec *codec = dai->codec; in wm8580_paif_hw_params() 575 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_set_paif_dai_fmt() 656 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_set_dai_clkdiv() 722 struct snd_soc_codec *codec = dai->codec; in wm8580_set_sysclk() 774 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_digital_mute() 789 static int wm8580_set_bias_level(struct snd_soc_codec *codec, in wm8580_set_bias_level() 865 static int wm8580_probe(struct snd_soc_codec *codec) in wm8580_probe() 893 static int wm8580_remove(struct snd_soc_codec *codec) in wm8580_remove()
|
D | wm8961.c | 197 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8961_hp_event() 289 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8961_spk_event() 508 struct snd_soc_codec *codec = dai->codec; in wm8961_hw_params() 599 struct snd_soc_codec *codec = dai->codec; in wm8961_set_sysclk() 626 struct snd_soc_codec *codec = dai->codec; in wm8961_set_fmt() 692 struct snd_soc_codec *codec = dai->codec; in wm8961_set_tristate() 705 struct snd_soc_codec *codec = dai->codec; in wm8961_digital_mute() 720 struct snd_soc_codec *codec = dai->codec; in wm8961_set_clkdiv() 745 static int wm8961_set_bias_level(struct snd_soc_codec *codec, in wm8961_set_bias_level() 833 static int wm8961_probe(struct snd_soc_codec *codec) in wm8961_probe() [all …]
|
D | da7213.c | 194 static int da7213_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) in da7213_get_alc_data() 221 static void da7213_alc_calib_man(struct snd_soc_codec *codec) in da7213_alc_calib_man() 254 static void da7213_alc_calib_auto(struct snd_soc_codec *codec) in da7213_alc_calib_auto() 281 static void da7213_alc_calib(struct snd_soc_codec *codec) in da7213_alc_calib() 346 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7213_put_mixin_gain() 362 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7213_put_alc_sw() 1072 struct snd_soc_codec *codec = dai->codec; in da7213_hw_params() 1139 struct snd_soc_codec *codec = codec_dai->codec; in da7213_set_dai_fmt() 1201 struct snd_soc_codec *codec = dai->codec; in da7213_mute() 1224 struct snd_soc_codec *codec = codec_dai->codec; in da7213_set_dai_sysclk() [all …]
|
D | wm8731.c | 91 static int wm8731_set_deemph(struct snd_soc_codec *codec) in wm8731_set_deemph() 122 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8731_get_deemph() 133 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8731_put_deemph() 217 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in wm8731_check_osc() 340 struct snd_soc_codec *codec = dai->codec; in wm8731_hw_params() 371 struct snd_soc_codec *codec = dai->codec; in wm8731_mute() 384 struct snd_soc_codec *codec = codec_dai->codec; in wm8731_set_dai_sysclk() 429 struct snd_soc_codec *codec = codec_dai->codec; in wm8731_set_dai_fmt() 485 static int wm8731_set_bias_level(struct snd_soc_codec *codec, in wm8731_set_bias_level()
|
D | wm8940.c | 342 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_fmt() 397 struct snd_soc_codec *codec = dai->codec; in wm8940_i2s_hw_params() 460 struct snd_soc_codec *codec = dai->codec; in wm8940_mute() 469 static int wm8940_set_bias_level(struct snd_soc_codec *codec, in wm8940_set_bias_level() 579 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_pll() 620 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_sysclk() 638 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_clkdiv() 696 static int wm8940_probe(struct snd_soc_codec *codec) in wm8940_probe()
|
D | wm8974.c | 322 struct snd_soc_codec *codec = codec_dai->codec; in wm8974_set_dai_pll() 359 struct snd_soc_codec *codec = codec_dai->codec; in wm8974_set_dai_clkdiv() 385 struct snd_soc_codec *codec = codec_dai->codec; in wm8974_set_dai_fmt() 443 struct snd_soc_codec *codec = dai->codec; in wm8974_pcm_hw_params() 491 struct snd_soc_codec *codec = dai->codec; in wm8974_mute() 502 static int wm8974_set_bias_level(struct snd_soc_codec *codec, in wm8974_set_bias_level() 580 static int wm8974_probe(struct snd_soc_codec *codec) in wm8974_probe()
|
D | wm8510.c | 319 struct snd_soc_codec *codec = codec_dai->codec; in wm8510_set_dai_pll() 355 struct snd_soc_codec *codec = codec_dai->codec; in wm8510_set_dai_clkdiv() 389 struct snd_soc_codec *codec = codec_dai->codec; in wm8510_set_dai_fmt() 447 struct snd_soc_codec *codec = dai->codec; in wm8510_pcm_hw_params() 495 struct snd_soc_codec *codec = dai->codec; in wm8510_mute() 506 static int wm8510_set_bias_level(struct snd_soc_codec *codec, in wm8510_set_bias_level() 577 static int wm8510_probe(struct snd_soc_codec *codec) in wm8510_probe()
|
D | max98925.c | 102 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98925_dac_event() 259 static inline int max98925_rate_value(struct snd_soc_codec *codec, in max98925_rate_value() 300 struct snd_soc_codec *codec = codec_dai->codec; in max98925_dai_set_fmt() 355 struct snd_soc_codec *codec = max98925->codec; in max98925_set_clock() 430 struct snd_soc_codec *codec = dai->codec; in max98925_dai_hw_params() 465 struct snd_soc_codec *codec = dai->codec; in max98925_dai_set_sysclk() 519 static int max98925_probe(struct snd_soc_codec *codec) in max98925_probe()
|
D | wm8995.c | 388 struct snd_soc_codec *codec; 488 static void wm8995_update_class_w(struct snd_soc_codec *codec) in wm8995_update_class_w() 537 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_clk_sys() 553 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8995_put_class_w() 564 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_supply_event() 591 static void dc_servo_cmd(struct snd_soc_codec *codec, in dc_servo_cmd() 613 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_event() 672 static int configure_aif_clock(struct snd_soc_codec *codec, int aif) in configure_aif_clock() 722 static int configure_clock(struct snd_soc_codec *codec) in configure_clock() 763 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event() [all …]
|
D | ml26124.c | 341 struct snd_soc_codec *codec = dai->codec; in ml26124_hw_params() 390 struct snd_soc_codec *codec = dai->codec; in ml26124_mute() 416 struct snd_soc_codec *codec = codec_dai->codec; in ml26124_set_dai_fmt() 453 struct snd_soc_codec *codec = codec_dai->codec; in ml26124_set_dai_sysclk() 472 static int ml26124_set_bias_level(struct snd_soc_codec *codec, in ml26124_set_bias_level() 531 static int ml26124_probe(struct snd_soc_codec *codec) in ml26124_probe()
|
D | wm8523.c | 128 struct snd_soc_codec *codec = dai->codec; in wm8523_startup() 151 struct snd_soc_codec *codec = dai->codec; in wm8523_hw_params() 215 struct snd_soc_codec *codec = codec_dai->codec; in wm8523_set_dai_sysclk() 264 struct snd_soc_codec *codec = codec_dai->codec; in wm8523_set_dai_fmt() 320 static int wm8523_set_bias_level(struct snd_soc_codec *codec, in wm8523_set_bias_level() 400 static int wm8523_probe(struct snd_soc_codec *codec) in wm8523_probe()
|
D | cs42l52.c | 45 struct snd_soc_codec *codec; 476 static int cs42l52_add_mic_controls(struct snd_soc_codec *codec) in cs42l52_add_mic_controls() 719 struct snd_soc_codec *codec = codec_dai->codec; in cs42l52_set_sysclk() 733 struct snd_soc_codec *codec = codec_dai->codec; in cs42l52_set_fmt() 793 struct snd_soc_codec *codec = dai->codec; in cs42l52_digital_mute() 811 struct snd_soc_codec *codec = dai->codec; in cs42l52_pcm_hw_params() 835 static int cs42l52_set_bias_level(struct snd_soc_codec *codec, in cs42l52_set_bias_level() 905 struct snd_soc_codec *codec = cs42l52->codec; in cs42l52_beep_work() 941 struct snd_soc_codec *codec = input_get_drvdata(dev); in cs42l52_beep_event() 981 static void cs42l52_init_beep(struct snd_soc_codec *codec) in cs42l52_init_beep() [all …]
|
D | wm8728.c | 77 struct snd_soc_codec *codec = dai->codec; in wm8728_mute() 92 struct snd_soc_codec *codec = dai->codec; in wm8728_hw_params() 118 struct snd_soc_codec *codec = codec_dai->codec; in wm8728_set_dai_fmt() 163 static int wm8728_set_bias_level(struct snd_soc_codec *codec, in wm8728_set_bias_level()
|
D | sta32x.c | 146 struct snd_soc_codec *codec; 273 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta32x_coefficient_get() 315 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta32x_coefficient_put() 350 static int sta32x_sync_coef_shadow(struct snd_soc_codec *codec) in sta32x_sync_coef_shadow() 378 static int sta32x_cache_sync(struct snd_soc_codec *codec) in sta32x_cache_sync() 398 struct snd_soc_codec *codec = sta32x->codec; in sta32x_watchdog() 585 struct snd_soc_codec *codec = codec_dai->codec; in sta32x_set_dai_sysclk() 605 struct snd_soc_codec *codec = codec_dai->codec; in sta32x_set_dai_fmt() 654 struct snd_soc_codec *codec = dai->codec; in sta32x_hw_params() 803 static int sta32x_set_bias_level(struct snd_soc_codec *codec, in sta32x_set_bias_level() [all …]
|
D | 88pm860x-codec.h | 91 extern int pm860x_hs_jack_detect(struct snd_soc_codec *, struct snd_soc_jack *, 93 extern int pm860x_mic_jack_detect(struct snd_soc_codec *, struct snd_soc_jack *,
|
D | max98090.c | 357 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98090_get_enab_tlv() 397 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98090_put_enab_tlv() 736 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98090_micinput_event() 783 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98090_shdn_event() 1444 static int max98090_add_widgets(struct snd_soc_codec *codec) in max98090_add_widgets() 1500 static void max98090_configure_bclk(struct snd_soc_codec *codec) in max98090_configure_bclk() 1593 struct snd_soc_codec *codec = codec_dai->codec; in max98090_dai_set_fmt() 1694 struct snd_soc_codec *codec = codec_dai->codec; in max98090_set_tdm_slot() 1727 static int max98090_set_bias_level(struct snd_soc_codec *codec, in max98090_set_bias_level() 1931 struct snd_soc_codec *codec = dai->codec; in max98090_dai_hw_params() [all …]
|
D | adau17x1.c | 64 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau17x1_pll_event() 157 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in adau17x1_dsp_mux_enum_put() 202 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in adau17x1_dsp_mux_enum_get() 308 struct snd_soc_codec *codec = dai->codec; in adau17x1_hw_params() 392 struct snd_soc_codec *codec = dai->codec; in adau17x1_set_dai_pll() 694 int adau17x1_set_micbias_voltage(struct snd_soc_codec *codec, in adau17x1_set_micbias_voltage() 806 int adau17x1_add_widgets(struct snd_soc_codec *codec) in adau17x1_add_widgets() 842 int adau17x1_add_routes(struct snd_soc_codec *codec) in adau17x1_add_routes() 864 int adau17x1_resume(struct snd_soc_codec *codec) in adau17x1_resume()
|
D | rt5640.c | 169 static int rt5640_reset(struct snd_soc_codec *codec) in rt5640_reset() 462 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() 480 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() 919 static void hp_amp_power_on(struct snd_soc_codec *codec) in hp_amp_power_on() 945 static void rt5640_pmu_depop(struct snd_soc_codec *codec) in rt5640_pmu_depop() 973 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_hp_event() 997 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_lout_event() 1026 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_hp_power_event() 1042 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_hp_post_event() 1631 static int get_sdp_info(struct snd_soc_codec *codec, int dai_id) in get_sdp_info() [all …]
|
D | mc13783.c | 110 struct snd_soc_codec *codec = dai->codec; in mc13783_pcm_hw_params_dac() 129 struct snd_soc_codec *codec = dai->codec; in mc13783_pcm_hw_params_codec() 163 struct snd_soc_codec *codec = dai->codec; in mc13783_set_fmt() 258 struct snd_soc_codec *codec = dai->codec; in mc13783_set_sysclk() 311 struct snd_soc_codec *codec = dai->codec; in mc13783_set_tdm_slot_dac() 356 struct snd_soc_codec *codec = dai->codec; in mc13783_set_tdm_slot_codec() 609 static int mc13783_probe(struct snd_soc_codec *codec) in mc13783_probe() 638 static int mc13783_remove(struct snd_soc_codec *codec) in mc13783_remove()
|
D | wm8988.c | 247 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8988_lrc_control() 558 struct snd_soc_codec *codec = codec_dai->codec; in wm8988_set_dai_sysclk() 590 struct snd_soc_codec *codec = codec_dai->codec; in wm8988_set_dai_fmt() 648 struct snd_soc_codec *codec = dai->codec; in wm8988_pcm_startup() 671 struct snd_soc_codec *codec = dai->codec; in wm8988_pcm_hw_params() 715 struct snd_soc_codec *codec = dai->codec; in wm8988_mute() 725 static int wm8988_set_bias_level(struct snd_soc_codec *codec, in wm8988_set_bias_level() 795 static int wm8988_probe(struct snd_soc_codec *codec) in wm8988_probe()
|
D | pcm512x.c | 232 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_pll_get() 242 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_pll_put() 260 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dsp_get() 270 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dsp_put() 288 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dac_get() 298 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dac_put() 528 struct snd_soc_codec *codec = dai->codec; in pcm512x_dai_startup_master() 570 struct snd_soc_codec *codec = dai->codec; in pcm512x_dai_startup_slave() 596 struct snd_soc_codec *codec = dai->codec; in pcm512x_dai_startup() 612 static int pcm512x_set_bias_level(struct snd_soc_codec *codec, in pcm512x_set_bias_level() [all …]
|
D | tlv320aic3x.c | 75 struct snd_soc_codec *codec; 150 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in snd_soc_dapm_put_volsw_aic3x() 203 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in mic_bias_event() 981 static int aic3x_add_widgets(struct snd_soc_codec *codec) in aic3x_add_widgets() 1023 struct snd_soc_codec *codec = dai->codec; in aic3x_hw_params() 1175 struct snd_soc_codec *codec = dai->codec; in aic3x_prepare() 1197 struct snd_soc_codec *codec = dai->codec; in aic3x_mute() 1215 struct snd_soc_codec *codec = codec_dai->codec; in aic3x_set_dai_sysclk() 1231 struct snd_soc_codec *codec = codec_dai->codec; in aic3x_set_dai_fmt() 1287 struct snd_soc_codec *codec = codec_dai->codec; in aic3x_set_dai_tdm_slot() [all …]
|
D | rt5651.c | 378 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() 397 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sysclk_from_pll() 735 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_amp_power_event() 773 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_hp_event() 818 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_hp_post_event() 838 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_bst1_event() 861 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_bst2_event() 884 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_bst3_event() 1346 struct snd_soc_codec *codec = dai->codec; in rt5651_hw_params() 1412 struct snd_soc_codec *codec = dai->codec; in rt5651_set_dai_fmt() [all …]
|
D | wm8971.c | 436 struct snd_soc_codec *codec = codec_dai->codec; in wm8971_set_dai_sysclk() 454 struct snd_soc_codec *codec = codec_dai->codec; in wm8971_set_dai_fmt() 513 struct snd_soc_codec *codec = dai->codec; in wm8971_pcm_hw_params() 545 struct snd_soc_codec *codec = dai->codec; in wm8971_mute() 564 static int wm8971_set_bias_level(struct snd_soc_codec *codec, in wm8971_set_bias_level() 631 static int wm8971_probe(struct snd_soc_codec *codec) in wm8971_probe()
|
D | wm9081.c | 342 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in speaker_mode_get() 363 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in speaker_mode_put() 549 static int wm9081_set_fll(struct snd_soc_codec *codec, int fll_id, in wm9081_set_fll() 640 static int configure_clock(struct snd_soc_codec *codec) in configure_clock() 736 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event() 819 static int wm9081_set_bias_level(struct snd_soc_codec *codec, in wm9081_set_bias_level() 906 struct snd_soc_codec *codec = dai->codec; in wm9081_set_dai_fmt() 998 struct snd_soc_codec *codec = dai->codec; in wm9081_hw_params() 1155 struct snd_soc_codec *codec = codec_dai->codec; in wm9081_digital_mute() 1170 static int wm9081_set_sysclk(struct snd_soc_codec *codec, int clk_id, in wm9081_set_sysclk() [all …]
|
D | wm8400.c | 68 static void wm8400_codec_reset(struct snd_soc_codec *codec) in wm8400_codec_reset() 94 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8400_outpga_put_volsw_vu() 327 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in outmixer_event() 852 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_sysclk() 941 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_pll() 998 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_fmt() 1051 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_clkdiv() 1089 struct snd_soc_codec *codec = dai->codec; in wm8400_hw_params() 1114 struct snd_soc_codec *codec = dai->codec; in wm8400_mute() 1126 static int wm8400_set_bias_level(struct snd_soc_codec *codec, in wm8400_set_bias_level() [all …]
|
D | ak4613.c | 232 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_shutdown() 249 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_set_fmt() 272 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_hw_params() 353 static int ak4613_set_bias_level(struct snd_soc_codec *codec, in ak4613_set_bias_level() 415 static int ak4613_resume(struct snd_soc_codec *codec) in ak4613_resume()
|
D | ak4671.c | 166 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in ak4671_out2_event() 430 struct snd_soc_codec *codec = dai->codec; in ak4671_hw_params() 476 struct snd_soc_codec *codec = dai->codec; in ak4671_set_dai_sysclk() 521 struct snd_soc_codec *codec = dai->codec; in ak4671_set_dai_fmt() 566 static int ak4671_set_bias_level(struct snd_soc_codec *codec, in ak4671_set_bias_level()
|
D | rt5670.c | 415 static int rt5670_headset_detect(struct snd_soc_codec *codec, int jack_insert) in rt5670_headset_detect() 463 void rt5670_jack_suspend(struct snd_soc_codec *codec) in rt5670_jack_suspend() 472 void rt5670_jack_resume(struct snd_soc_codec *codec) in rt5670_jack_resume() 481 static int rt5670_button_detect(struct snd_soc_codec *codec) in rt5670_button_detect() 561 int rt5670_set_jack_detect(struct snd_soc_codec *codec, in rt5670_set_jack_detect() 683 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() 701 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() 713 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_using_asrc() 765 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in can_use_asrc() 789 int rt5670_sel_asrc_clk_src(struct snd_soc_codec *codec, in rt5670_sel_asrc_clk_src() [all …]
|
D | cs42l73.c | 493 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l73_spklo_spk_amp_event() 509 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l73_ear_amp_event() 527 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l73_hp_amp_event() 887 struct snd_soc_codec *codec = dai->codec; in cs42l73_set_mclk() 920 struct snd_soc_codec *codec = dai->codec; in cs42l73_set_sysclk() 945 struct snd_soc_codec *codec = codec_dai->codec; in cs42l73_set_dai_fmt() 1032 static void cs42l73_update_asrc(struct snd_soc_codec *codec, int id, int srate) in cs42l73_update_asrc() 1058 struct snd_soc_codec *codec = dai->codec; in cs42l73_pcm_hw_params() 1102 static int cs42l73_set_bias_level(struct snd_soc_codec *codec, in cs42l73_set_bias_level() 1142 struct snd_soc_codec *codec = dai->codec; in cs42l73_set_tristate() [all …]
|
D | wm8900.c | 219 static void wm8900_reset(struct snd_soc_codec *codec) in wm8900_reset() 227 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8900_hp_event() 638 struct snd_soc_codec *codec = dai->codec; in wm8900_hw_params() 754 static int wm8900_set_fll(struct snd_soc_codec *codec, in wm8900_set_fll() 827 struct snd_soc_codec *codec = codec_dai->codec; in wm8900_set_dai_clkdiv() 869 struct snd_soc_codec *codec = codec_dai->codec; in wm8900_set_dai_fmt() 981 struct snd_soc_codec *codec = codec_dai->codec; in wm8900_digital_mute() 1031 static int wm8900_set_bias_level(struct snd_soc_codec *codec, in wm8900_set_bias_level() 1123 static int wm8900_suspend(struct snd_soc_codec *codec) in wm8900_suspend() 1145 static int wm8900_resume(struct snd_soc_codec *codec) in wm8900_resume() [all …]
|
D | wm0010.c | 94 struct snd_soc_codec *codec; 161 static void wm0010_halt(struct snd_soc_codec *codec) in wm0010_halt() 197 struct snd_soc_codec *codec; 222 struct snd_soc_codec *codec = xfer->codec; in wm0010_boot_xfer_complete() 346 static int wm0010_firmware_load(const char *name, struct snd_soc_codec *codec) in wm0010_firmware_load() 500 static int wm0010_stage2_load(struct snd_soc_codec *codec) in wm0010_stage2_load() 574 static int wm0010_boot(struct snd_soc_codec *codec) in wm0010_boot() 742 static int wm0010_set_bias_level(struct snd_soc_codec *codec, in wm0010_set_bias_level() 768 static int wm0010_set_sysclk(struct snd_soc_codec *codec, int source, in wm0010_set_sysclk() 790 static int wm0010_probe(struct snd_soc_codec *codec); [all …]
|
D | wm8985.c | 529 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_get() 544 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_put() 584 static int wm8985_reset(struct snd_soc_codec *codec) in wm8985_reset() 591 struct snd_soc_codec *codec = dai->codec; in wm8985_dac_mute() 600 struct snd_soc_codec *codec; in wm8985_set_fmt() 688 struct snd_soc_codec *codec; in wm8985_hw_params() 824 struct snd_soc_codec *codec; in wm8985_set_pll() 858 struct snd_soc_codec *codec; in wm8985_set_sysclk() 884 static int wm8985_set_bias_level(struct snd_soc_codec *codec, in wm8985_set_bias_level() 963 static int wm8985_probe(struct snd_soc_codec *codec) in wm8985_probe()
|
D | wm8990.c | 135 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm899x_outpga_put_volsw_vu() 377 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in outmixer_event() 937 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_pll() 970 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_sysclk() 983 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_fmt() 1036 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_clkdiv() 1069 struct snd_soc_codec *codec = dai->codec; in wm8990_hw_params() 1094 struct snd_soc_codec *codec = dai->codec; in wm8990_mute() 1107 static int wm8990_set_bias_level(struct snd_soc_codec *codec, in wm8990_set_bias_level() 1275 static int wm8990_probe(struct snd_soc_codec *codec) in wm8990_probe()
|
D | wm8804.c | 140 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8804_aif_event() 164 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in txsrc_put() 221 struct snd_soc_codec *codec; in wm8804_set_fmt() 294 struct snd_soc_codec *codec; in wm8804_hw_params() 408 struct snd_soc_codec *codec = dai->codec; in wm8804_set_pll() 454 struct snd_soc_codec *codec; in wm8804_set_sysclk() 489 struct snd_soc_codec *codec; in wm8804_set_clkdiv()
|
D | wm2000.c | 610 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_anc_mode_get() 621 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_anc_mode_put() 643 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_speaker_get() 654 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_speaker_put() 686 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm2000_anc_power_event() 727 static int wm2000_suspend(struct snd_soc_codec *codec) in wm2000_suspend() 734 static int wm2000_resume(struct snd_soc_codec *codec) in wm2000_resume() 785 static int wm2000_probe(struct snd_soc_codec *codec) in wm2000_probe() 795 static int wm2000_remove(struct snd_soc_codec *codec) in wm2000_remove()
|
D | pcm1792a.c | 82 struct snd_soc_codec *codec = codec_dai->codec; in pcm1792a_set_dai_fmt() 92 struct snd_soc_codec *codec = dai->codec; in pcm1792a_digital_mute() 108 struct snd_soc_codec *codec = dai->codec; in pcm1792a_hw_params()
|
D | wm8737.c | 77 static int wm8737_reset(struct snd_soc_codec *codec) in wm8737_reset() 331 struct snd_soc_codec *codec = dai->codec; in wm8737_hw_params() 385 struct snd_soc_codec *codec = codec_dai->codec; in wm8737_set_dai_sysclk() 406 struct snd_soc_codec *codec = codec_dai->codec; in wm8737_set_dai_fmt() 454 static int wm8737_set_bias_level(struct snd_soc_codec *codec, in wm8737_set_bias_level() 540 static int wm8737_probe(struct snd_soc_codec *codec) in wm8737_probe()
|
D | wm8996.c | 55 struct snd_soc_codec *codec; 337 static void wm8996_set_retune_mobile(struct snd_soc_codec *codec, int block) in wm8996_set_retune_mobile() 415 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8996_put_retune_mobile_enum() 437 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8996_get_retune_mobile_enum() 577 static void wm8996_bg_enable(struct snd_soc_codec *codec) in wm8996_bg_enable() 589 static void wm8996_bg_disable(struct snd_soc_codec *codec) in wm8996_bg_disable() 602 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in bg_event() 637 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rmv_short_event() 656 static void wait_for_dc_servo(struct snd_soc_codec *codec, u16 mask) in wait_for_dc_servo() 691 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm8996_seq_notifier() [all …]
|
D | cs42l56.c | 48 struct snd_soc_codec *codec; 731 struct snd_soc_codec *codec = codec_dai->codec; in cs42l56_set_sysclk() 770 struct snd_soc_codec *codec = codec_dai->codec; in cs42l56_set_dai_fmt() 819 struct snd_soc_codec *codec = dai->codec; in cs42l56_digital_mute() 876 struct snd_soc_codec *codec = dai->codec; in cs42l56_pcm_hw_params() 892 static int cs42l56_set_bias_level(struct snd_soc_codec *codec, in cs42l56_set_bias_level() 979 struct snd_soc_codec *codec = cs42l56->codec; in cs42l56_beep_work() 1015 struct snd_soc_codec *codec = input_get_drvdata(dev); in cs42l56_beep_event() 1055 static void cs42l56_init_beep(struct snd_soc_codec *codec) in cs42l56_init_beep() 1092 static void cs42l56_free_beep(struct snd_soc_codec *codec) in cs42l56_free_beep() [all …]
|
D | rt5645.c | 240 struct snd_soc_codec *codec; 268 static int rt5645_reset(struct snd_soc_codec *codec) in rt5645_reset() 667 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() 685 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() 699 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_using_asrc() 744 static int rt5645_enable_hweq(struct snd_soc_codec *codec) in rt5645_enable_hweq() 774 int rt5645_sel_asrc_clk_src(struct snd_soc_codec *codec, in rt5645_sel_asrc_clk_src() 1499 static void hp_amp_power(struct snd_soc_codec *codec, int on) in hp_amp_power() 1594 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5645_hp_event() 1660 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5645_spk_event() [all …]
|
D | da732x.c | 171 static inline int da732x_get_input_div(struct snd_soc_codec *codec, int sysclk) in da732x_get_input_div() 200 static void da732x_set_charge_pump(struct snd_soc_codec *codec, int state) in da732x_set_charge_pump() 334 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da732x_hpf_set() 362 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da732x_hpf_get() 612 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in da732x_adc_event() 666 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in da732x_out_pga_event() 952 struct snd_soc_codec *codec = dai->codec; in da732x_hw_params() 1022 struct snd_soc_codec *codec = dai->codec; in da732x_set_dai_fmt() 1121 static int da732x_set_dai_pll(struct snd_soc_codec *codec, int pll_id, in da732x_set_dai_pll() 1186 struct snd_soc_codec *codec = dai->codec; in da732x_set_dai_sysclk() [all …]
|
D | wm8350.c | 259 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pga_event() 302 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8350_put_volsw_2r_vu() 345 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8350_get_volsw_2r() 756 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_dai_sysclk() 791 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_clkdiv() 839 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_dai_fmt() 910 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_pcm_hw_params() 950 struct snd_soc_codec *codec = dai->codec; in wm8350_mute() 1027 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_fll() 1077 static int wm8350_set_bias_level(struct snd_soc_codec *codec, in wm8350_set_bias_level() [all …]
|
D | wm_adsp.h | 90 int wm_adsp2_codec_probe(struct wm_adsp *dsp, struct snd_soc_codec *codec); 91 int wm_adsp2_codec_remove(struct wm_adsp *dsp, struct snd_soc_codec *codec);
|
D | wm8750.c | 505 struct snd_soc_codec *codec = codec_dai->codec; in wm8750_set_dai_sysclk() 523 struct snd_soc_codec *codec = codec_dai->codec; in wm8750_set_dai_fmt() 582 struct snd_soc_codec *codec = dai->codec; in wm8750_pcm_hw_params() 614 struct snd_soc_codec *codec = dai->codec; in wm8750_mute() 624 static int wm8750_set_bias_level(struct snd_soc_codec *codec, in wm8750_set_bias_level() 688 static int wm8750_probe(struct snd_soc_codec *codec) in wm8750_probe()
|
D | wm8983.c | 495 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_get() 510 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_put() 565 struct snd_soc_codec *codec = dai->codec; in wm8983_dac_mute() 574 struct snd_soc_codec *codec = dai->codec; in wm8983_set_fmt() 654 struct snd_soc_codec *codec = dai->codec; in wm8983_hw_params() 792 struct snd_soc_codec *codec; in wm8983_set_pll() 829 struct snd_soc_codec *codec = dai->codec; in wm8983_set_sysclk() 850 static int wm8983_set_bias_level(struct snd_soc_codec *codec, in wm8983_set_bias_level() 916 static int wm8983_probe(struct snd_soc_codec *codec) in wm8983_probe()
|
D | cq93vc.c | 48 struct snd_soc_codec *codec = dai->codec; in cq93vc_mute() 75 static int cq93vc_set_bias_level(struct snd_soc_codec *codec, in cq93vc_set_bias_level()
|
D | ad1836.c | 231 static int ad1836_suspend(struct snd_soc_codec *codec) in ad1836_suspend() 239 static int ad1836_resume(struct snd_soc_codec *codec) in ad1836_resume() 251 static int ad1836_probe(struct snd_soc_codec *codec) in ad1836_probe() 316 static int ad1836_remove(struct snd_soc_codec *codec) in ad1836_remove()
|
D | ad1980.c | 208 static int ad1980_reset(struct snd_soc_codec *codec, int try_warm) in ad1980_reset() 235 static int ad1980_soc_probe(struct snd_soc_codec *codec) in ad1980_soc_probe() 289 static int ad1980_soc_remove(struct snd_soc_codec *codec) in ad1980_soc_remove()
|
D | wm9090.c | 146 static void wait_for_dc_servo(struct snd_soc_codec *codec) in wait_for_dc_servo() 254 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_ev() 422 static int wm9090_add_controls(struct snd_soc_codec *codec) in wm9090_add_controls() 475 static int wm9090_set_bias_level(struct snd_soc_codec *codec, in wm9090_set_bias_level() 518 static int wm9090_probe(struct snd_soc_codec *codec) in wm9090_probe()
|
D | cs4265.c | 325 struct snd_soc_codec *codec = codec_dai->codec; in cs4265_set_sysclk() 346 struct snd_soc_codec *codec = codec_dai->codec; in cs4265_set_fmt() 386 struct snd_soc_codec *codec = dai->codec; in cs4265_digital_mute() 410 struct snd_soc_codec *codec = dai->codec; in cs4265_pcm_hw_params() 469 static int cs4265_set_bias_level(struct snd_soc_codec *codec, in cs4265_set_bias_level()
|
D | adau1761.c | 258 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau1761_dejitter_fixup() 448 static int adau1761_set_bias_level(struct snd_soc_codec *codec, in adau1761_set_bias_level() 473 struct snd_soc_codec *codec) in adau1761_get_lineout_mode() 483 static int adau1761_setup_digmic_jackdetect(struct snd_soc_codec *codec) in adau1761_setup_digmic_jackdetect() 545 static int adau1761_setup_headphone_mode(struct snd_soc_codec *codec) in adau1761_setup_headphone_mode() 639 static int adau1761_codec_probe(struct snd_soc_codec *codec) in adau1761_codec_probe()
|
D | sta350.c | 312 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta350_coefficient_get() 354 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta350_coefficient_put() 389 static int sta350_sync_coef_shadow(struct snd_soc_codec *codec) in sta350_sync_coef_shadow() 417 static int sta350_cache_sync(struct snd_soc_codec *codec) in sta350_cache_sync() 616 struct snd_soc_codec *codec = codec_dai->codec; in sta350_set_dai_sysclk() 636 struct snd_soc_codec *codec = codec_dai->codec; in sta350_set_dai_fmt() 685 struct snd_soc_codec *codec = dai->codec; in sta350_hw_params() 837 static int sta350_set_bias_level(struct snd_soc_codec *codec, in sta350_set_bias_level() 914 static int sta350_probe(struct snd_soc_codec *codec) in sta350_probe() 1046 static int sta350_remove(struct snd_soc_codec *codec) in sta350_remove()
|
D | tfa9879.c | 33 struct snd_soc_codec *codec = dai->codec; in tfa9879_hw_params() 103 struct snd_soc_codec *codec = dai->codec; in tfa9879_digital_mute() 114 struct snd_soc_codec *codec = dai->codec; in tfa9879_set_fmt()
|
D | da9055.c | 454 static int da9055_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) in da9055_get_alc_data() 484 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da9055_put_alc_sw() 1055 struct snd_soc_codec *codec = dai->codec; in da9055_hw_params() 1163 struct snd_soc_codec *codec = codec_dai->codec; in da9055_set_dai_fmt() 1220 struct snd_soc_codec *codec = dai->codec; in da9055_mute() 1243 struct snd_soc_codec *codec = codec_dai->codec; in da9055_set_dai_sysclk() 1286 struct snd_soc_codec *codec = codec_dai->codec; in da9055_set_dai_pll() 1356 static int da9055_set_bias_level(struct snd_soc_codec *codec, in da9055_set_bias_level() 1380 static int da9055_probe(struct snd_soc_codec *codec) in da9055_probe()
|
D | pcm3008.c | 35 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pcm3008_dac_ev() 48 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pcm3008_adc_ev()
|
D | cs42xx8.c | 196 struct snd_soc_codec *codec = codec_dai->codec; in cs42xx8_set_dai_sysclk() 207 struct snd_soc_codec *codec = codec_dai->codec; in cs42xx8_set_dai_fmt() 254 struct snd_soc_codec *codec = dai->codec; in cs42xx8_hw_params() 284 struct snd_soc_codec *codec = dai->codec; in cs42xx8_digital_mute() 380 static int cs42xx8_codec_probe(struct snd_soc_codec *codec) in cs42xx8_codec_probe()
|
D | sirf-audio-codec.c | 123 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in atlas6_codec_enable_and_reset_event() 146 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in prima2_codec_enable_and_reset_event() 336 struct snd_soc_codec *codec = dai->codec; in sirf_audio_codec_trigger() 396 static int sirf_audio_codec_probe(struct snd_soc_codec *codec) in sirf_audio_codec_probe() 426 static int sirf_audio_codec_remove(struct snd_soc_codec *codec) in sirf_audio_codec_remove()
|
D | da7210.c | 334 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7210_put_alc_sw() 357 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7210_put_noise_sup_sw() 763 struct snd_soc_codec *codec = dai->codec; in da7210_hw_params() 877 struct snd_soc_codec *codec = codec_dai->codec; in da7210_set_dai_fmt() 934 struct snd_soc_codec *codec = dai->codec; in da7210_mute() 950 struct snd_soc_codec *codec = codec_dai->codec; in da7210_set_dai_sysclk() 991 struct snd_soc_codec *codec = codec_dai->codec; in da7210_set_dai_pll() 1067 static int da7210_probe(struct snd_soc_codec *codec) in da7210_probe()
|
D | wm8993.c | 469 static int _wm8993_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in _wm8993_set_fll() 579 static int configure_clock(struct snd_soc_codec *codec) in configure_clock() 812 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event() 975 static int wm8993_set_bias_level(struct snd_soc_codec *codec, in wm8993_set_bias_level() 1073 struct snd_soc_codec *codec = codec_dai->codec; in wm8993_set_sysclk() 1093 struct snd_soc_codec *codec = dai->codec; in wm8993_set_dai_fmt() 1189 struct snd_soc_codec *codec = dai->codec; in wm8993_hw_params() 1336 struct snd_soc_codec *codec = codec_dai->codec; in wm8993_digital_mute() 1354 struct snd_soc_codec *codec = dai->codec; in wm8993_set_tdm_slot() 1482 static int wm8993_probe(struct snd_soc_codec *codec) in wm8993_probe() [all …]
|
D | sta529.c | 154 static int sta529_set_bias_level(struct snd_soc_codec *codec, enum in sta529_set_bias_level() 190 struct snd_soc_codec *codec = dai->codec; in sta529_hw_params() 268 struct snd_soc_codec *codec = codec_dai->codec; in sta529_set_dai_fmt()
|
D | ab8500-codec.c | 1040 static void anc_fir(struct snd_soc_codec *codec, in anc_fir() 1057 static void anc_iir(struct snd_soc_codec *codec, unsigned int bnk, in anc_iir() 1088 static void anc_configure(struct snd_soc_codec *codec, in anc_configure() 1129 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sid_status_control_get() 1143 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sid_status_control_put() 1198 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in anc_status_control_get() 1211 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in anc_status_control_put() 1294 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in filter_control_get() 1311 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in filter_control_put() 1929 static int ab8500_audio_init_audioblock(struct snd_soc_codec *codec) in ab8500_audio_init_audioblock() [all …]
|
D | wm8903.c | 263 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8903_dcs_event() 285 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm8903_seq_notifier() 367 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8903_class_w_put() 410 static int wm8903_set_deemph(struct snd_soc_codec *codec) in wm8903_set_deemph() 442 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8903_get_deemph() 453 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8903_put_deemph() 1094 static int wm8903_set_bias_level(struct snd_soc_codec *codec, in wm8903_set_bias_level() 1209 struct snd_soc_codec *codec = codec_dai->codec; in wm8903_set_dai_sysclk() 1220 struct snd_soc_codec *codec = codec_dai->codec; in wm8903_set_dai_fmt() 1306 struct snd_soc_codec *codec = codec_dai->codec; in wm8903_digital_mute() [all …]
|
D | rt5677.c | 557 struct snd_soc_codec *codec = rt5677->codec; in rt5677_dsp_mode_i2c_write_addr() 615 struct snd_soc_codec *codec = rt5677->codec; in rt5677_dsp_mode_i2c_read_addr() 688 static void rt5677_set_dsp_mode(struct snd_soc_codec *codec, bool on) in rt5677_set_dsp_mode() 701 static int rt5677_set_dsp_vad(struct snd_soc_codec *codec, bool on) in rt5677_set_dsp_vad() 817 struct snd_soc_codec *codec = snd_soc_component_to_codec(component); in rt5677_dsp_vad_put() 916 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() 934 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() 949 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_using_asrc() 1032 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in can_use_asrc() 1055 int rt5677_sel_asrc_clk_src(struct snd_soc_codec *codec, in rt5677_sel_asrc_clk_src() [all …]
|
D | cs4349.c | 77 struct snd_soc_codec *codec = codec_dai->codec; in cs4349_set_dai_fmt() 100 struct snd_soc_codec *codec = dai->codec; in cs4349_pcm_hw_params() 139 struct snd_soc_codec *codec = dai->codec; in cs4349_digital_mute()
|
D | wm8991.c | 126 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm899x_outpga_put_volsw_vu() 354 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in outmixer_event() 920 struct snd_soc_codec *codec = codec_dai->codec; in wm8991_set_dai_pll() 955 struct snd_soc_codec *codec = codec_dai->codec; in wm8991_set_dai_fmt() 1008 struct snd_soc_codec *codec = codec_dai->codec; in wm8991_set_dai_clkdiv() 1046 struct snd_soc_codec *codec = dai->codec; in wm8991_hw_params() 1071 struct snd_soc_codec *codec = dai->codec; in wm8991_mute() 1082 static int wm8991_set_bias_level(struct snd_soc_codec *codec, in wm8991_set_bias_level()
|
D | wl1273.h | 28 int wl1273_get_format(struct snd_soc_codec *codec, unsigned int *fmt);
|
D | cs35l32.c | 46 struct snd_soc_codec *codec; 157 struct snd_soc_codec *codec = codec_dai->codec; in cs35l32_set_dai_fmt() 178 struct snd_soc_codec *codec = dai->codec; in cs35l32_set_tristate() 205 static int cs35l32_codec_set_sysclk(struct snd_soc_codec *codec, in cs35l32_codec_set_sysclk()
|
D | max9877.h | 35 extern int max9877_add_controls(struct snd_soc_codec *codec);
|
D | adau1373.c | 551 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau1373_pll_event() 823 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adau1373_check_aif_clk() 844 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adau1373_check_src() 1033 struct snd_soc_codec *codec = dai->codec; in adau1373_hw_params() 1100 struct snd_soc_codec *codec = dai->codec; in adau1373_set_dai_fmt() 1252 static int adau1373_set_pll(struct snd_soc_codec *codec, int pll_id, in adau1373_set_pll() 1369 static int adau1373_probe(struct snd_soc_codec *codec) in adau1373_probe() 1425 static int adau1373_set_bias_level(struct snd_soc_codec *codec, in adau1373_set_bias_level() 1447 static int adau1373_resume(struct snd_soc_codec *codec) in adau1373_resume()
|
D | tlv320aic32x4.c | 316 struct snd_soc_codec *codec = codec_dai->codec; in aic32x4_set_dai_sysclk() 332 struct snd_soc_codec *codec = codec_dai->codec; in aic32x4_set_dai_fmt() 391 struct snd_soc_codec *codec = dai->codec; in aic32x4_hw_params() 484 struct snd_soc_codec *codec = dai->codec; in aic32x4_mute() 495 static int aic32x4_set_bias_level(struct snd_soc_codec *codec, in aic32x4_set_bias_level() 599 static int aic32x4_probe(struct snd_soc_codec *codec) in aic32x4_probe()
|
D | ad193x.c | 260 struct snd_soc_codec *codec = codec_dai->codec; in ad193x_set_dai_sysclk() 278 struct snd_soc_codec *codec = dai->codec; in ad193x_hw_params() 354 static int ad193x_codec_probe(struct snd_soc_codec *codec) in ad193x_codec_probe()
|
D | adau1781.c | 177 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau1781_dejitter_fixup() 317 static int adau1781_set_bias_level(struct snd_soc_codec *codec, in adau1781_set_bias_level() 383 static int adau1781_codec_probe(struct snd_soc_codec *codec) in adau1781_codec_probe()
|
D | wm5102.c | 584 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5102_sysclk_ev() 620 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5102_adsp_power_ev() 663 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_coeff_get() 677 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_coeff_put() 692 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_switch_get() 705 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_switch_put() 1717 static int wm5102_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm5102_set_fll() 1869 static int wm5102_codec_probe(struct snd_soc_codec *codec) in wm5102_codec_probe() 1899 static int wm5102_codec_remove(struct snd_soc_codec *codec) in wm5102_codec_remove()
|
D | wm5110.c | 162 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_sysclk_ev() 268 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_hp_pre_enable() 305 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_hp_pre_disable() 338 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_hp_ev() 377 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5110_put_dre() 438 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5110_in_pga_get() 459 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5110_in_pga_put() 480 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_in_analog_ev() 539 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_in_ev() 1847 static int wm5110_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm5110_set_fll() [all …]
|
D | nau8825.c | 402 struct snd_soc_codec *codec = dai->codec; in nau8825_hw_params() 431 struct snd_soc_codec *codec = codec_dai->codec; in nau8825_set_dai_fmt() 524 int nau8825_enable_jack_detect(struct snd_soc_codec *codec, in nau8825_enable_jack_detect() 841 static int nau8825_codec_probe(struct snd_soc_codec *codec) in nau8825_codec_probe() 949 static int nau8825_set_pll(struct snd_soc_codec *codec, int pll_id, int source, in nau8825_set_pll() 1031 static int nau8825_set_sysclk(struct snd_soc_codec *codec, int clk_id, in nau8825_set_sysclk() 1039 static int nau8825_set_bias_level(struct snd_soc_codec *codec, in nau8825_set_bias_level()
|
D | sn95031.h | 130 extern void sn95031_jack_detection(struct snd_soc_codec *codec,
|
D | jz4740.c | 239 static int jz4740_codec_set_bias_level(struct snd_soc_codec *codec, in jz4740_codec_set_bias_level() 286 static int jz4740_codec_dev_probe(struct snd_soc_codec *codec) in jz4740_codec_dev_probe()
|
D | wm5100.c | 57 struct snd_soc_codec *codec; 120 static int wm5100_alloc_sr(struct snd_soc_codec *codec, int rate) in wm5100_alloc_sr() 176 static void wm5100_free_sr(struct snd_soc_codec *codec, int rate) in wm5100_free_sr() 738 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm5100_seq_notifier() 778 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5100_out_ev() 843 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5100_post_ev() 1284 struct snd_soc_codec *codec = dai->codec; in wm5100_set_fmt() 1402 struct snd_soc_codec *codec = dai->codec; in wm5100_hw_params() 1509 static int wm5100_set_sysclk(struct snd_soc_codec *codec, int clk_id, in wm5100_set_sysclk() 1757 static int wm5100_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm5100_set_fll() [all …]
|
D | max98357a.c | 61 static int max98357a_codec_probe(struct snd_soc_codec *codec) in max98357a_codec_probe()
|
D | adau1977.c | 297 struct snd_soc_codec *codec = dai->codec; in adau1977_hw_params() 476 static int adau1977_set_bias_level(struct snd_soc_codec *codec, in adau1977_set_bias_level() 795 static int adau1977_set_sysclk(struct snd_soc_codec *codec, in adau1977_set_sysclk() 849 static int adau1977_codec_probe(struct snd_soc_codec *codec) in adau1977_codec_probe()
|
D | ssm2518.c | 339 struct snd_soc_codec *codec = dai->codec; in ssm2518_hw_params() 501 static int ssm2518_set_bias_level(struct snd_soc_codec *codec, in ssm2518_set_bias_level() 644 static int ssm2518_set_sysclk(struct snd_soc_codec *codec, int clk_id, in ssm2518_set_sysclk()
|
D | wm8998.c | 44 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8998_asrc_ev() 107 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8998_in1mux_put() 164 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8998_in2mux_put() 1285 static int wm8998_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm8998_set_fll() 1306 static int wm8998_codec_probe(struct snd_soc_codec *codec) in wm8998_codec_probe() 1321 static int wm8998_codec_remove(struct snd_soc_codec *codec) in wm8998_codec_remove()
|
D | ssm4567.c | 202 struct snd_soc_codec *codec = dai->codec; in ssm4567_hw_params() 369 static int ssm4567_set_bias_level(struct snd_soc_codec *codec, in ssm4567_set_bias_level()
|
D | lm49453.c | 1113 struct snd_soc_codec *codec = dai->codec; in lm49453_hw_params() 1145 struct snd_soc_codec *codec = codec_dai->codec; in lm49453_set_dai_fmt() 1200 struct snd_soc_codec *codec = dai->codec; in lm49453_set_dai_sysclk() 1259 static int lm49453_set_bias_level(struct snd_soc_codec *codec, in lm49453_set_bias_level()
|
D | rt5670.h | 1984 int rt5670_sel_asrc_clk_src(struct snd_soc_codec *codec, 1988 struct snd_soc_codec *codec; 2010 void rt5670_jack_suspend(struct snd_soc_codec *codec); 2011 void rt5670_jack_resume(struct snd_soc_codec *codec); 2012 int rt5670_set_jack_detect(struct snd_soc_codec *codec,
|
D | isabelle.c | 892 static int isabelle_set_bias_level(struct snd_soc_codec *codec, in isabelle_set_bias_level() 919 struct snd_soc_codec *codec = dai->codec; in isabelle_hw_params() 978 struct snd_soc_codec *codec = codec_dai->codec; in isabelle_set_dai_fmt()
|
D | wm_adsp.c | 344 struct snd_soc_codec *codec) in wm_adsp2_init_debugfs() 398 struct snd_soc_codec *codec) in wm_adsp2_init_debugfs() 424 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm_adsp_fw_get() 436 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm_adsp_fw_put() 1792 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm_adsp1_event() 1995 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm_adsp2_early_event() 2016 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm_adsp2_event() 2083 int wm_adsp2_codec_probe(struct wm_adsp *dsp, struct snd_soc_codec *codec) in wm_adsp2_codec_probe() 2093 int wm_adsp2_codec_remove(struct wm_adsp *dsp, struct snd_soc_codec *codec) in wm_adsp2_codec_remove()
|
D | wm2200.c | 90 struct snd_soc_codec *codec; 1551 static int wm2200_probe(struct snd_soc_codec *codec) in wm2200_probe() 1567 struct snd_soc_codec *codec = dai->codec; in wm2200_set_fmt() 1699 struct snd_soc_codec *codec = dai->codec; in wm2200_hw_params() 1789 static int wm2200_set_sysclk(struct snd_soc_codec *codec, int clk_id, in wm2200_set_sysclk() 1937 static int wm2200_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm2200_set_fll() 2061 struct snd_soc_codec *codec = dai->codec; in wm2200_dai_probe()
|
D | tpa6130a2.c | 332 int tpa6130a2_stereo_enable(struct snd_soc_codec *codec, int enable) in tpa6130a2_stereo_enable() 351 int tpa6130a2_add_controls(struct snd_soc_codec *codec) in tpa6130a2_add_controls()
|
D | wm8997.c | 87 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8997_sysclk_ev() 925 static int wm8997_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm8997_set_fll() 1055 static int wm8997_codec_probe(struct snd_soc_codec *codec) in wm8997_codec_probe() 1069 static int wm8997_codec_remove(struct snd_soc_codec *codec) in wm8997_codec_remove()
|
D | max98095.h | 318 extern int max98095_jack_detect(struct snd_soc_codec *codec,
|
D | rt298.h | 203 int rt298_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
|
D | rt286.h | 202 int rt286_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
|
D | nau8825.h | 337 int nau8825_enable_jack_detect(struct snd_soc_codec *codec,
|
D | wm1250-ev1.c | 35 static int wm1250_ev1_set_bias_level(struct snd_soc_codec *codec, in wm1250_ev1_set_bias_level()
|
D | max98090.h | 1522 struct snd_soc_codec *codec; 1549 int max98090_mic_detect(struct snd_soc_codec *codec,
|
D | tas571x.c | 170 static int tas571x_set_bias_level(struct snd_soc_codec *codec, in tas571x_set_bias_level()
|
D | rt5677.h | 1765 struct snd_soc_codec *codec; 1791 int rt5677_sel_asrc_clk_src(struct snd_soc_codec *codec,
|
D | max98925.h | 824 struct snd_soc_codec *codec;
|
D | rt5645.h | 2194 int rt5645_sel_asrc_clk_src(struct snd_soc_codec *codec, 2197 int rt5645_set_jack_detect(struct snd_soc_codec *codec,
|
D | rt5640.h | 2083 struct snd_soc_codec *codec; 2100 int rt5640_dmic_enable(struct snd_soc_codec *codec,
|
/linux-4.4.14/include/sound/ |
D | soc.h | 386 struct snd_soc_codec; 411 int snd_soc_codec_set_sysclk(struct snd_soc_codec *codec, int clk_id, 413 int snd_soc_codec_set_pll(struct snd_soc_codec *codec, int pll_id, int source, 454 int snd_soc_cache_init(struct snd_soc_codec *codec); 455 int snd_soc_cache_exit(struct snd_soc_codec *codec); 540 int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned int reg, 542 int snd_soc_update_bits_locked(struct snd_soc_codec *codec, 545 int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned int reg, 549 struct snd_ac97 *snd_soc_alloc_ac97_codec(struct snd_soc_codec *codec); 550 struct snd_ac97 *snd_soc_new_ac97_codec(struct snd_soc_codec *codec, [all …]
|
D | soc-dai.h | 286 struct snd_soc_codec *codec;
|
/linux-4.4.14/sound/soc/ |
D | soc-io.c | 196 unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg) in snd_soc_read() 209 int snd_soc_write(struct snd_soc_codec *codec, unsigned int reg, in snd_soc_write() 227 int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned int reg, in snd_soc_update_bits() 247 int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned int reg, in snd_soc_test_bits()
|
D | soc-cache.c | 18 int snd_soc_cache_init(struct snd_soc_codec *codec) in snd_soc_cache_init() 46 int snd_soc_cache_exit(struct snd_soc_codec *codec) in snd_soc_cache_exit()
|
D | soc-core.c | 90 static int format_register_str(struct snd_soc_codec *codec, in format_register_str() 115 static ssize_t soc_codec_reg_show(struct snd_soc_codec *codec, char *buf, in soc_codec_reg_show() 224 struct snd_soc_codec *codec = file->private_data; in codec_reg_read_file() 254 struct snd_soc_codec *codec = file->private_data; in codec_reg_write_file() 325 struct snd_soc_codec *codec = snd_soc_component_to_codec(component); in soc_init_codec_debugfs() 340 struct snd_soc_codec *codec; in codec_list_read_file() 580 struct snd_soc_codec *codec; in snd_soc_suspend() 720 struct snd_soc_codec *codec; in soc_resume_deferred() 1468 static int snd_soc_init_codec_cache(struct snd_soc_codec *codec) in snd_soc_init_codec_cache() 1554 struct snd_soc_codec *codec; in snd_soc_instantiate_card() [all …]
|
D | soc-ac97.c | 60 struct snd_ac97 *snd_soc_alloc_ac97_codec(struct snd_soc_codec *codec) in snd_soc_alloc_ac97_codec() 99 struct snd_ac97 *snd_soc_new_ac97_codec(struct snd_soc_codec *codec, in snd_soc_new_ac97_codec()
|
/linux-4.4.14/sound/soc/pxa/ |
D | mioa701_wm9713.c | 62 static int rear_amp_power(struct snd_soc_codec *codec, int power) in rear_amp_power() 84 struct snd_soc_codec *codec = widget->dapm->card->rtd[0].codec; in rear_amp_event() 129 struct snd_soc_codec *codec = rtd->codec; in mioa701_wm9713_init()
|
D | ttc-dkb.c | 78 struct snd_soc_codec *codec = rtd->codec; in ttc_pm860x_init()
|
/linux-4.4.14/sound/soc/intel/boards/ |
D | broadwell.c | 81 struct snd_soc_codec *codec = rtd->codec; in broadwell_rt286_codec_init() 223 struct snd_soc_codec *codec; in broadwell_suspend() 236 struct snd_soc_codec *codec; in broadwell_resume()
|
D | cht_bsw_rt5672.c | 174 struct snd_soc_codec *codec = codec_dai->codec; in cht_codec_init() 286 struct snd_soc_codec *codec; in cht_suspend_pre() 300 struct snd_soc_codec *codec; in cht_resume_post()
|
D | skl_rt286.c | 91 struct snd_soc_codec *codec = rtd->codec; in skylake_rt286_codec_init()
|
D | byt-rt5640.c | 134 struct snd_soc_codec *codec = runtime->codec; in byt_rt5640_init()
|
D | mfld_machine.c | 56 static struct snd_soc_codec *mfld_codec;
|
D | cht_bsw_rt5645.c | 182 struct snd_soc_codec *codec = runtime->codec; in cht_codec_init()
|
/linux-4.4.14/sound/soc/samsung/ |
D | bells.c | 62 struct snd_soc_codec *codec = codec_dai->codec; in bells_set_bias_level() 103 struct snd_soc_codec *codec = codec_dai->codec; in bells_set_bias_level_post() 140 struct snd_soc_codec *wm0010 = card->rtd[DAI_AP_DSP].codec; in bells_late_probe() 141 struct snd_soc_codec *codec = card->rtd[DAI_DSP_CODEC].codec; in bells_late_probe()
|
D | speyside.c | 119 static void speyside_set_polarity(struct snd_soc_codec *codec, in speyside_set_polarity() 144 struct snd_soc_codec *codec = rtd->codec; in speyside_wm8996_init() 227 struct snd_soc_codec *codec = snd_soc_component_to_codec(component); in speyside_wm9081_init()
|
D | lowland.c | 40 struct snd_soc_codec *codec = rtd->codec; in lowland_wm5100_init() 73 struct snd_soc_codec *codec = rtd->codec; in lowland_wm9081_init()
|
D | tobermory.c | 173 struct snd_soc_codec *codec = card->rtd[0].codec; in tobermory_late_probe()
|
D | littlemill.c | 248 struct snd_soc_codec *codec = card->rtd[0].codec; in littlemill_late_probe()
|
/linux-4.4.14/sound/soc/atmel/ |
D | atmel-classd.c | 247 static int atmel_classd_codec_probe(struct snd_soc_codec *codec) in atmel_classd_codec_probe() 330 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_digital_mute() 379 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_hw_params() 435 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_prepare() 448 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_trigger()
|
/linux-4.4.14/sound/soc/mediatek/ |
D | mt8173-rt5650-rt5676.c | 91 struct snd_soc_codec *codec = runtime->codec_dais[0]->codec; in mt8173_rt5650_rt5676_init() 92 struct snd_soc_codec *codec_sub = runtime->codec_dais[1]->codec; in mt8173_rt5650_rt5676_init()
|
D | mt8173-max98090.c | 78 struct snd_soc_codec *codec = runtime->codec; in mt8173_max98090_init()
|
/linux-4.4.14/sound/soc/omap/ |
D | ams-delta.c | 96 static struct snd_soc_codec *cx20442_codec; 303 struct snd_soc_codec *codec = tty->disc_data; in cx81801_close() 341 struct snd_soc_codec *codec = tty->disc_data; in cx81801_receive()
|
D | rx51.c | 170 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rx51_hp_event() 289 struct snd_soc_codec *codec = rtd->codec; in rx51_aic34_init()
|
D | omap-abe-twl6040.c | 169 struct snd_soc_codec *codec = rtd->codec; in omap_abe_twl6040_init()
|
/linux-4.4.14/include/linux/mfd/wm8350/ |
D | audio.h | 620 struct snd_soc_codec; 624 struct snd_soc_codec *codec;
|
/linux-4.4.14/sound/soc/tegra/ |
D | tegra_wm8903.c | 173 struct snd_soc_codec *codec = codec_dai->codec; in tegra_wm8903_init() 204 struct snd_soc_codec *codec = codec_dai->codec; in tegra_wm8903_remove()
|
/linux-4.4.14/sound/soc/rockchip/ |
D | rockchip_rt5645.c | 38 extern int rt5645_set_jack_detect(struct snd_soc_codec *codec,
|
/linux-4.4.14/sound/soc/fsl/ |
D | wm1133-ev1.c | 204 struct snd_soc_codec *codec = rtd->codec; in wm1133_ev1_init()
|
/linux-4.4.14/include/trace/events/ |
D | asoc.h | 14 struct snd_soc_codec;
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sh_mobile_hdmi.c | 353 static unsigned int sh_hdmi_snd_read(struct snd_soc_codec *codec, in sh_hdmi_snd_read() 361 static int sh_hdmi_snd_write(struct snd_soc_codec *codec, in sh_hdmi_snd_write() 385 static int sh_hdmi_snd_probe(struct snd_soc_codec *codec) in sh_hdmi_snd_probe()
|
/linux-4.4.14/Documentation/sound/alsa/soc/ |
D | codec.txt | 171 struct snd_soc_codec *codec = dai->codec;
|