| /linux/sound/soc/ |
| H A D | soc-component.c | 17 static inline int _soc_component_ret(struct snd_soc_component *component, const char *func, int ret) in _soc_component_ret() argument 24 static inline int _soc_component_ret_reg_rw(struct snd_soc_component *component, in _soc_component_ret_reg_rw() argument 32 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift() argument 48 soc_component_mark_push(component,substream,tgt) global() argument 49 soc_component_mark_pop(component,tgt) global() argument 50 soc_component_mark_match(component,substream,tgt) global() argument 52 snd_soc_component_set_aux(struct snd_soc_component * component,struct snd_soc_aux_dev * aux) snd_soc_component_set_aux() argument 58 snd_soc_component_init(struct snd_soc_component * component) snd_soc_component_init() argument 78 snd_soc_component_set_sysclk(struct snd_soc_component * component,int clk_id,int source,unsigned int freq,int dir) snd_soc_component_set_sysclk() argument 102 snd_soc_component_set_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) snd_soc_component_set_pll() argument 116 snd_soc_component_seq_notifier(struct snd_soc_component * component,enum snd_soc_dapm_type type,int subseq) snd_soc_component_seq_notifier() argument 123 snd_soc_component_stream_event(struct snd_soc_component * component,int event) snd_soc_component_stream_event() argument 134 snd_soc_component_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) snd_soc_component_set_bias_level() argument 145 snd_soc_component_enable_pin(struct snd_soc_component * component,const char * pin) snd_soc_component_enable_pin() argument 154 snd_soc_component_enable_pin_unlocked(struct snd_soc_component * component,const char * pin) snd_soc_component_enable_pin_unlocked() argument 163 snd_soc_component_disable_pin(struct snd_soc_component * component,const char * pin) snd_soc_component_disable_pin() argument 172 snd_soc_component_disable_pin_unlocked(struct snd_soc_component * component,const char * pin) snd_soc_component_disable_pin_unlocked() argument 181 snd_soc_component_nc_pin(struct snd_soc_component * component,const char * pin) snd_soc_component_nc_pin() argument 190 snd_soc_component_nc_pin_unlocked(struct snd_soc_component * component,const char * pin) snd_soc_component_nc_pin_unlocked() argument 199 snd_soc_component_get_pin_status(struct snd_soc_component * component,const char * pin) snd_soc_component_get_pin_status() argument 208 snd_soc_component_force_enable_pin(struct snd_soc_component * component,const char * pin) snd_soc_component_force_enable_pin() argument 218 snd_soc_component_force_enable_pin_unlocked(struct snd_soc_component * component,const char * pin) snd_soc_component_force_enable_pin_unlocked() argument 227 soc_get_kcontrol_name(struct snd_soc_component * component,char * buf,int size,const char * const ctl) soc_get_kcontrol_name() argument 237 snd_soc_component_get_kcontrol(struct snd_soc_component * component,const char * const ctl) snd_soc_component_get_kcontrol() argument 248 snd_soc_component_notify_control(struct snd_soc_component * component,const char * const ctl) snd_soc_component_notify_control() argument 272 snd_soc_component_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) snd_soc_component_set_jack() argument 293 snd_soc_component_get_jack_type(struct snd_soc_component * component) snd_soc_component_get_jack_type() argument 304 snd_soc_component_module_get(struct snd_soc_component * component,void * mark,int upon_open) snd_soc_component_module_get() argument 320 snd_soc_component_module_put(struct snd_soc_component * component,void * mark,int upon_open,int rollback) snd_soc_component_module_put() argument 333 snd_soc_component_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_soc_component_open() argument 348 snd_soc_component_close(struct snd_soc_component * component,struct snd_pcm_substream * substream,int rollback) snd_soc_component_close() argument 366 snd_soc_component_suspend(struct snd_soc_component * component) snd_soc_component_suspend() argument 373 snd_soc_component_resume(struct snd_soc_component * component) snd_soc_component_resume() argument 380 snd_soc_component_is_suspended(struct snd_soc_component * component) snd_soc_component_is_suspended() argument 385 snd_soc_component_probe(struct snd_soc_component * component) snd_soc_component_probe() argument 395 snd_soc_component_remove(struct snd_soc_component * component) snd_soc_component_remove() argument 401 snd_soc_component_of_xlate_dai_id(struct snd_soc_component * component,struct device_node * ep) snd_soc_component_of_xlate_dai_id() argument 412 snd_soc_component_of_xlate_dai_name(struct snd_soc_component * component,const struct of_phandle_args * args,const char ** dai_name) snd_soc_component_of_xlate_dai_name() argument 427 snd_soc_component_setup_regmap(struct snd_soc_component * component) snd_soc_component_setup_regmap() argument 449 snd_soc_component_init_regmap(struct snd_soc_component * component,struct regmap * regmap) snd_soc_component_init_regmap() argument 468 snd_soc_component_exit_regmap(struct snd_soc_component * component) snd_soc_component_exit_regmap() argument 477 snd_soc_component_compr_open(struct snd_soc_component * component,struct snd_compr_stream * cstream) snd_soc_component_compr_open() argument 494 snd_soc_component_compr_free(struct snd_soc_component * component,struct snd_compr_stream * cstream,int rollback) snd_soc_component_compr_free() argument 513 struct snd_soc_component *component; snd_soc_component_compr_trigger() local 534 struct snd_soc_component *component; snd_soc_component_compr_set_params() local 555 struct snd_soc_component *component; snd_soc_component_compr_get_params() local 575 struct snd_soc_component *component; snd_soc_component_compr_get_caps() local 599 struct snd_soc_component *component; snd_soc_component_compr_get_codec_caps() local 622 struct snd_soc_component *component; snd_soc_component_compr_ack() local 643 struct snd_soc_component *component; snd_soc_component_compr_pointer() local 663 struct snd_soc_component *component; snd_soc_component_compr_copy() local 687 struct snd_soc_component *component; snd_soc_component_compr_set_metadata() local 708 struct snd_soc_component *component; snd_soc_component_compr_get_metadata() local 725 soc_component_read_no_lock(struct snd_soc_component * component,unsigned int reg) soc_component_read_no_lock() argument 753 snd_soc_component_read(struct snd_soc_component * component,unsigned int reg) snd_soc_component_read() argument 767 soc_component_write_no_lock(struct snd_soc_component * component,unsigned int reg,unsigned int val) soc_component_write_no_lock() argument 788 snd_soc_component_write(struct snd_soc_component * component,unsigned int reg,unsigned int val) snd_soc_component_write() argument 802 snd_soc_component_update_bits_legacy(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val,bool * change) snd_soc_component_update_bits_legacy() argument 833 snd_soc_component_update_bits(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val) snd_soc_component_update_bits() argument 869 snd_soc_component_update_bits_async(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val) snd_soc_component_update_bits_async() argument 896 snd_soc_component_read_field(struct snd_soc_component * component,unsigned int reg,unsigned int mask) snd_soc_component_read_field() argument 918 snd_soc_component_write_field(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int val) snd_soc_component_write_field() argument 936 snd_soc_component_async_complete(struct snd_soc_component * component) snd_soc_component_async_complete() argument 955 snd_soc_component_test_bits(struct snd_soc_component * component,unsigned int reg,unsigned int mask,unsigned int value) snd_soc_component_test_bits() argument 969 struct snd_soc_component *component; snd_soc_pcm_component_pointer() local 981 snd_soc_component_is_codec_on_rtd(struct snd_soc_pcm_runtime * rtd,struct snd_soc_component * component) snd_soc_component_is_codec_on_rtd() argument 999 struct snd_soc_component *component; snd_soc_pcm_component_delay() local 1026 struct snd_soc_component *component; snd_soc_pcm_component_ioctl() local 1043 struct snd_soc_component *component; snd_soc_pcm_component_sync_stop() local 1063 struct snd_soc_component *component; snd_soc_pcm_component_copy() local 1080 struct snd_soc_component *component; snd_soc_pcm_component_page() local 1101 struct snd_soc_component *component; snd_soc_pcm_component_mmap() local 1117 struct snd_soc_component *component; snd_soc_pcm_component_new() local 1134 struct snd_soc_component *component; snd_soc_pcm_component_free() local 1148 struct snd_soc_component *component; snd_soc_pcm_component_prepare() local 1166 struct snd_soc_component *component; snd_soc_pcm_component_hw_params() local 1187 struct snd_soc_component *component; snd_soc_pcm_component_hw_free() local 1205 soc_component_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) soc_component_trigger() argument 1221 struct snd_soc_component *component; snd_soc_pcm_component_trigger() local 1255 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_get() local 1274 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_put() local 1291 struct snd_soc_component *component; snd_soc_pcm_component_ack() local [all...] |
| /linux/sound/soc/codecs/ |
| H A D | rt5640.c | 165 static int rt5640_reset(struct snd_soc_component *component) in rt5640_reset() argument 461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 479 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local 916 static void hp_amp_power_on(struct snd_soc_component *component) in hp_amp_power_on() argument 942 rt5640_pmu_depop(struct snd_soc_component * component) rt5640_pmu_depop() argument 970 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_hp_event() local 994 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_lout_event() local 1023 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_hp_power_event() local 1039 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_hp_post_event() local 1646 get_sdp_info(struct snd_soc_component * component,int dai_id) get_sdp_info() argument 1699 struct snd_soc_component *component = dai->component; rt5640_hw_params() local 1770 struct snd_soc_component *component = dai->component; rt5640_set_dai_fmt() local 1835 struct snd_soc_component *component = dai->component; rt5640_set_dai_sysclk() local 1874 struct snd_soc_component *component = dai->component; rt5640_set_dai_pll() local 1934 rt5640_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt5640_set_bias_level() argument 2004 rt5640_dmic_enable(struct snd_soc_component * component,bool dmic1_data_pin,bool dmic2_data_pin) rt5640_dmic_enable() argument 2030 rt5640_sel_asrc_clk_src(struct snd_soc_component * component,unsigned int filter_mask,unsigned int clk_src) rt5640_sel_asrc_clk_src() argument 2100 rt5640_enable_micbias1_for_ovcd(struct snd_soc_component * component) rt5640_enable_micbias1_for_ovcd() argument 2116 rt5640_disable_micbias1_for_ovcd(struct snd_soc_component * component) rt5640_disable_micbias1_for_ovcd() argument 2131 rt5640_enable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5640_enable_micbias1_ovcd_irq() argument 2140 rt5640_disable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5640_disable_micbias1_ovcd_irq() argument 2149 rt5640_clear_micbias1_ovcd(struct snd_soc_component * component) rt5640_clear_micbias1_ovcd() argument 2155 rt5640_micbias1_ovcd(struct snd_soc_component * component) rt5640_micbias1_ovcd() argument 2165 rt5640_jack_inserted(struct snd_soc_component * component) rt5640_jack_inserted() argument 2192 rt5640_start_button_press_work(struct snd_soc_component * component) rt5640_start_button_press_work() argument 2209 struct snd_soc_component *component = rt5640->component; rt5640_button_press_work() local 2258 rt5640_detect_headset(struct snd_soc_component * component,struct gpio_desc * hp_det_gpio) rt5640_detect_headset() argument 2313 struct snd_soc_component *component = rt5640->component; rt5640_jack_work() local 2441 rt5640_set_ovcd_params(struct snd_soc_component * component) rt5640_set_ovcd_params() argument 2466 rt5640_disable_jack_detect(struct snd_soc_component * component) rt5640_disable_jack_detect() argument 2489 rt5640_enable_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * jack,struct rt5640_set_jack_data * jack_data) rt5640_enable_jack_detect() argument 2587 rt5640_enable_hda_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * jack) rt5640_enable_hda_jack_detect() argument 2636 rt5640_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) rt5640_set_jack() argument 2653 rt5640_probe(struct snd_soc_component * component) rt5640_probe() argument 2790 rt5640_remove(struct snd_soc_component * component) rt5640_remove() argument 2796 rt5640_suspend(struct snd_soc_component * component) rt5640_suspend() argument 2818 rt5640_resume(struct snd_soc_component * component) rt5640_resume() argument [all...] |
| H A D | twl6040.c | 65 struct snd_soc_component *component; member 95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent) argument 97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() 122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() 141 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache() 159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() 174 static void twl6040_init_chip(struct snd_soc_component *component) in twl6040_init_chip() 200 static int headset_power_mode(struct snd_soc_component *component, int high_perf) in headset_power_mode() 225 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_hs_dac_event() local 252 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_ep_drv_event() local [all …]
|
| H A D | rt5651.c | 379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 684 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_amp_power_event() local 722 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_hp_event() local 767 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_hp_post_event() local 787 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5651_bst1_event() local 810 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5651_bst2_event() local 833 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5651_bst3_event() local 1284 struct snd_soc_component *component = dai->component; rt5651_hw_params() local 1350 struct snd_soc_component *component = dai->component; rt5651_set_dai_fmt() local 1413 struct snd_soc_component *component = dai->component; rt5651_set_dai_sysclk() local 1451 struct snd_soc_component *component = dai->component; rt5651_set_dai_pll() local 1511 rt5651_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt5651_set_bias_level() argument 1560 rt5651_enable_micbias1_for_ovcd(struct snd_soc_component * component) rt5651_enable_micbias1_for_ovcd() argument 1573 rt5651_disable_micbias1_for_ovcd(struct snd_soc_component * component) rt5651_disable_micbias1_for_ovcd() argument 1585 rt5651_enable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5651_enable_micbias1_ovcd_irq() argument 1594 rt5651_disable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5651_disable_micbias1_ovcd_irq() argument 1603 rt5651_clear_micbias1_ovcd(struct snd_soc_component * component) rt5651_clear_micbias1_ovcd() argument 1609 rt5651_micbias1_ovcd(struct snd_soc_component * component) rt5651_micbias1_ovcd() argument 1619 rt5651_jack_inserted(struct snd_soc_component * component) rt5651_jack_inserted() argument 1662 rt5651_start_button_press_work(struct snd_soc_component * component) rt5651_start_button_press_work() argument 1679 struct snd_soc_component *component = rt5651->component; rt5651_button_press_work() local 1728 rt5651_detect_headset(struct snd_soc_component * component) rt5651_detect_headset() argument 1787 struct snd_soc_component *component = rt5651->component; rt5651_jack_detect_work() local 1858 rt5651_enable_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * hp_jack,struct gpio_desc * gpiod_hp_det) rt5651_enable_jack_detect() argument 1970 rt5651_disable_jack_detect(struct snd_soc_component * component) rt5651_disable_jack_detect() argument 1986 rt5651_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) rt5651_set_jack() argument 2004 rt5651_apply_properties(struct snd_soc_component * component) rt5651_apply_properties() argument 2060 rt5651_probe(struct snd_soc_component * component) rt5651_probe() argument 2078 rt5651_suspend(struct snd_soc_component * component) rt5651_suspend() argument 2087 rt5651_resume(struct snd_soc_component * component) rt5651_resume() argument [all...] |
| H A D | rt5682s.c | 627 static int rt5682s_button_detect(struct snd_soc_component *component) in rt5682s_button_detect() 647 static void rt5682s_sar_power_mode(struct snd_soc_component *component, int mode) in rt5682s_sar_power_mode() 702 static void rt5682s_enable_push_button_irq(struct snd_soc_component *component) in rt5682s_enable_push_button_irq() 718 static void rt5682s_disable_push_button_irq(struct snd_soc_component *component) in rt5682s_disable_push_button_irq() 741 static int rt5682s_headset_detect(struct snd_soc_component *component, int jack_insert) in rt5682s_headset_detect() 942 static int rt5682s_set_jack_detect(struct snd_soc_component *component, in rt5682s_set_jack_detect() 1055 int rt5682s_sel_asrc_clk_src(struct snd_soc_component *component, in rt5682s_sel_asrc_clk_src() 1143 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 1162 struct snd_soc_component *component = rt5682s->component; in rt5682s_set_pllb_power() local 1182 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_pllb_event() local [all …]
|
| H A D | wm8958-dsp2.c | 41 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw() 188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) in wm8958_dsp_start_mbc() 232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) in wm8958_dsp_start_vss() 293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) in wm8958_dsp_start_enh_eq() 324 static void wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) in wm8958_dsp_apply() 414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8958_aif_ev() local 456 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_put_mbc_enum() local 478 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_get_mbc_enum() local 500 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_mbc_get() local 512 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_mbc_put() local [all …]
|
| H A D | da7213.c | 217 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_get() local 231 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_put() local 245 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_enum_locked_get() local 259 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_enum_locked_put() local 271 static int da7213_get_alc_data(struct snd_soc_component *component, u8 reg_val) in da7213_get_alc_data() argument 298 da7213_alc_calib_man(struct snd_soc_component * component) da7213_alc_calib_man() argument 331 da7213_alc_calib_auto(struct snd_soc_component * component) da7213_alc_calib_auto() argument 358 da7213_alc_calib(struct snd_soc_component * component) da7213_alc_calib() argument 423 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_put_mixin_gain() local 439 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_put_alc_sw() local 460 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_tonegen_freq_get() local 487 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_tonegen_freq_put() local 901 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7213_dai_event() local 1324 struct snd_soc_component *component = dai->component; da7213_hw_params() local 1423 struct snd_soc_component *component = codec_dai->component; da7213_set_dai_fmt() local 1529 struct snd_soc_component *component = dai->component; da7213_mute() local 1549 da7213_set_component_sysclk(struct snd_soc_component * component,int clk_id,int source,unsigned int freq,int dir) da7213_set_component_sysclk() argument 1602 _da7213_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int fref,unsigned int fout) _da7213_set_component_pll() argument 1713 da7213_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int fref,unsigned int fout) da7213_set_component_pll() argument 1771 da7213_set_auto_pll(struct snd_soc_component * component,bool enable) da7213_set_auto_pll() argument 1815 da7213_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) da7213_set_bias_level() argument 1886 da7213_of_micbias_lvl(struct snd_soc_component * component,u32 val) da7213_of_micbias_lvl() argument 1904 da7213_of_dmic_data_sel(struct snd_soc_component * component,const char * str) da7213_of_dmic_data_sel() argument 1917 da7213_of_dmic_samplephase(struct snd_soc_component * component,const char * str) da7213_of_dmic_samplephase() argument 1930 da7213_of_dmic_clkrate(struct snd_soc_component * component,u32 val) da7213_of_dmic_clkrate() argument 1944 da7213_fw_to_pdata(struct snd_soc_component * component) da7213_fw_to_pdata() argument 1984 da7213_probe(struct snd_soc_component * component) da7213_probe() argument 2151 da7213_suspend(struct snd_soc_component * component) da7213_suspend() argument 2158 da7213_resume(struct snd_soc_component * component) da7213_resume() argument [all...] |
| H A D | tlv320dac33.c | 79 struct snd_soc_component *component; member 159 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache() 170 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache() 181 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read() 207 static int dac33_write(struct snd_soc_component *component, unsigned int reg, in dac33_write() 234 static int dac33_write_locked(struct snd_soc_component *component, unsigned int reg, in dac33_write_locked() 248 static int dac33_write16(struct snd_soc_component *component, unsigned int reg, in dac33_write16() 281 static void dac33_init_chip(struct snd_soc_component *component) in dac33_init_chip() 320 static inline int dac33_read_id(struct snd_soc_component *component) in dac33_read_id() 334 static inline void dac33_soft_power(struct snd_soc_component *component, int power) in dac33_soft_power() [all …]
|
| H A D | da7218.c | 290 static void da7218_alc_calib(struct snd_soc_component *component) in da7218_alc_calib() 428 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_mixin_gain_put() local 449 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_alc_sw_put() local 472 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_tonegen_freq_get() local 496 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_tonegen_freq_put() local 516 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_mic_lvl_det_sw_put() local 543 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_mic_lvl_det_sw_get() local 563 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_biquad_coeff_get() local 588 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7218_biquad_coeff_put() local 1348 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in da7218_in_filter_event() local [all …]
|
| H A D | da7219.c | 257 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_get() local 271 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_put() local 285 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_enum_locked_get() local 299 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_enum_locked_put() local 311 static void da7219_alc_calib(struct snd_soc_component *component) in da7219_alc_calib() 379 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_mixin_gain_put() local 398 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_alc_sw_put() local 417 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_tonegen_freq_get() local 444 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_tonegen_freq_put() local 776 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in da7219_mic_pga_event() local [all …]
|
| H A D | twl4030.c | 80 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() 145 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() 180 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() 218 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() 241 static int twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip() 331 static void twl4030_apll_enable(struct snd_soc_component *component, int enable) in twl4030_apll_enable() 578 static void handsfree_ramp(struct snd_soc_component *component, int reg, int ramp) in handsfree_ramp() 611 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreelpga_event() local 627 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreerpga_event() local 643 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in vibramux_event() local [all …]
|
| H A D | wm8994.c | 111 static void wm8958_micd_set_rate(struct snd_soc_component *component) in wm8958_micd_set_rate() 162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() 215 static int configure_clock(struct snd_soc_component *component) in configure_clock() 255 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_clk_sys() local 304 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8994_put_drc_sw() local 323 static void wm8994_set_drc(struct snd_soc_component *component, int drc) in wm8994_set_drc() 361 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8994_put_drc_enum() local 384 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8994_get_drc_enum() local 395 static void wm8994_set_retune_mobile(struct snd_soc_component *component, int block) in wm8994_set_retune_mobile() 468 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8994_put_retune_mobile_enum() local [all …]
|
| H A D | wm_hubs.c | 60 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() 108 static bool wm_hubs_dac_hp_direct(struct snd_soc_component *component) in wm_hubs_dac_hp_direct() 149 static bool wm_hubs_dcs_cache_get(struct snd_soc_component *component, in wm_hubs_dcs_cache_get() 173 static void wm_hubs_dcs_cache_set(struct snd_soc_component *component, u16 dcs_cfg) in wm_hubs_dcs_cache_set() 196 static int wm_hubs_read_dc_servo(struct snd_soc_component *component, in wm_hubs_read_dc_servo() 242 static void enable_dc_servo(struct snd_soc_component *component) in enable_dc_servo() 334 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8993_put_dc_servo() local 499 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in hp_supply_event() local 541 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in hp_event() local 593 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in earpiece_event() local [all …]
|
| H A D | rt1011.c | 679 static int rt1011_reg_init(struct snd_soc_component *component) in rt1011_reg_init() 1037 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_recv_spk_mode_get() local 1049 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_recv_spk_mode_put() local 1112 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_bq_drc_coeff_get() local 1148 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_bq_drc_coeff_put() local 1212 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_cali_get() local 1223 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_cali_put() local 1253 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_load_mode_get() local 1264 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_load_mode_put() local 1321 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_i2s_ref_put() local [all …]
|
| H A D | rt1015.c | 430 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1015_boost_mode_get() local 442 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1015_boost_mode_put() local 482 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1015_bypass_boost_get() local 493 struct snd_soc_component *component = rt1015->component; in rt1015_calibrate() local 525 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1015_bypass_boost_put() local 574 struct snd_soc_component *component = in rt1015_is_sys_clk_from_pll() local 587 struct snd_soc_component *component = in r1015_dac_event() local 647 struct snd_soc_component *component = in rt1015_amp_drv_event() local 699 struct snd_soc_component *component = dai->component; in rt1015_hw_params() local 749 struct snd_soc_component *component = dai->component; in rt1015_set_dai_fmt() local [all …]
|
| H A D | rt5631.c | 70 static void rt5631_write_index(struct snd_soc_component *component, in rt5631_write_index() 80 static unsigned int rt5631_read_index(struct snd_soc_component *component, in rt5631_read_index() 91 static int rt5631_reset(struct snd_soc_component *component) in rt5631_reset() 186 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt5631_dmic_get() local 197 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt5631_dmic_put() local 285 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_sysclk1_source() local 295 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dmic_used() local 303 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacl_to_outmixl() local 313 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacr_to_outmixr() local 323 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacl_to_spkmixl() local [all …]
|
| H A D | rt5682.c | 839 int rt5682_sel_asrc_clk_src(struct snd_soc_component *component, in rt5682_sel_asrc_clk_src() 868 static int rt5682_button_detect(struct snd_soc_component *component) in rt5682_button_detect() 882 static void rt5682_enable_push_button_irq(struct snd_soc_component *component, in rt5682_enable_push_button_irq() 928 static int rt5682_headset_detect(struct snd_soc_component *component, int jack_insert) in rt5682_headset_detect() 1014 static int rt5682_set_jack_detect(struct snd_soc_component *component, in rt5682_set_jack_detect() 1262 struct snd_soc_component *component = in set_dmic_clk() local 1282 struct snd_soc_component *component = in set_filter_clk() local 1327 struct snd_soc_component *component = in is_sys_clk_from_pll1() local 1342 struct snd_soc_component *component = in is_sys_clk_from_pll2() local 1357 struct snd_soc_component *component = in is_using_asrc() local [all …]
|
| H A D | sma1307.c | 306 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_force_mute_get() local 317 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_force_mute_put() local 334 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_tdm_slot_get() local 367 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_tdm_slot_put() local 420 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_sw_ot1_prot_get() local 431 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_sw_ot1_prot_put() local 448 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_check_fault_status_get() local 459 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_check_fault_status_put() local 476 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_check_fault_period_get() local 487 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_check_fault_period_put() local [all …]
|
| H A D | max98095.c | 251 static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, in m98095_eq_band() 277 static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, in m98095_biquad_band() 353 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_set() local 367 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_get() local 377 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic2pre_set() local 391 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic2pre_get() local 598 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98095_mic_event() local 628 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98095_line_pga() local 676 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98095_lineout_event() local 942 struct snd_soc_component *component = dai->component; in max98095_dai1_hw_params() local [all …]
|
| H A D | wcd937x.c | 298 static int wcd937x_rx_clk_enable(struct snd_soc_component *component) in wcd937x_rx_clk_enable() 318 static int wcd937x_rx_clk_disable(struct snd_soc_component *component) in wcd937x_rx_clk_disable() 340 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_hphl_dac_event() local 415 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_hphr_dac_event() local 484 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_ear_dac_event() local 539 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_aux_dac_event() local 575 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_hphr_pa() local 644 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_hphl_pa() local 712 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_aux_pa() local 758 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_ear_pa() local [all …]
|
| H A D | rt286.c | 40 struct snd_soc_component *component; member 190 static void rt286_index_sync(struct snd_soc_component *component) in rt286_index_sync() argument 314 static int rt286_mic_detect(struct snd_soc_component *component, in rt286_mic_detect() argument 343 struct snd_soc_component *component in is_mclk_mode() local 443 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt286_spk_event() local 465 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt286_set_dmic1_event() local 484 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt286_ldo2_event() local 503 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt286_mic1_event() local 683 struct snd_soc_component *component = dai->component; rt286_hw_params() local 765 struct snd_soc_component *component = dai->component; rt286_set_dai_fmt() local 810 struct snd_soc_component *component = dai->component; rt286_set_dai_sysclk() local 873 struct snd_soc_component *component = dai->component; rt286_set_bclk_ratio() local 887 rt286_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt286_set_bias_level() argument 947 rt286_probe(struct snd_soc_component * component) rt286_probe() argument 960 rt286_remove(struct snd_soc_component * component) rt286_remove() argument 969 rt286_suspend(struct snd_soc_component * component) rt286_suspend() argument 979 rt286_resume(struct snd_soc_component * component) rt286_resume() argument [all...] |
| H A D | wcd939x.c | 180 struct snd_soc_component *component; member 332 static int wcd939x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd939x_set_swr_clk_rate() 361 static int wcd939x_io_init(struct snd_soc_component *component) in wcd939x_io_init() 446 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_enable_rxclk() local 506 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_hphl_dac_event() local 560 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_hphr_dac_event() local 616 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_ear_dac_event() local 648 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_enable_hphr_pa() local 768 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_enable_hphl_pa() local 885 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd939x_codec_enable_ear_pa() local [all …]
|
| H A D | rt5663.c | 58 struct snd_soc_component *component; member 1398 static void rt5663_enable_push_button_irq(struct snd_soc_component *component, in rt5663_enable_push_button_irq() argument 1464 rt5663_v2_jack_detect(struct snd_soc_component * component,int jack_insert) rt5663_v2_jack_detect() argument 1536 rt5663_jack_detect(struct snd_soc_component * component,int jack_insert) rt5663_jack_detect() argument 1672 rt5663_impedance_sensing(struct snd_soc_component * component) rt5663_impedance_sensing() argument 1843 rt5663_button_detect(struct snd_soc_component * component) rt5663_button_detect() argument 1868 rt5663_set_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * hs_jack,void * data) rt5663_set_jack_detect() argument 1880 rt5663_check_jd_status(struct snd_soc_component * component) rt5663_check_jd_status() argument 1904 struct snd_soc_component *component = rt5663->component; rt5663_jack_detect_work() local 2005 struct snd_soc_component *component = rt5663->component; rt5663_jd_unplug_work() local 2074 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5663_is_sys_clk_from_pll() local 2088 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5663_is_using_asrc() local 2130 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); rt5663_i2s_use_asrc() local 2173 rt5663_sel_asrc_clk_src(struct snd_soc_component * component,unsigned int filter_mask,unsigned int clk_src) rt5663_sel_asrc_clk_src() argument 2322 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5663_hp_event() local 2380 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5663_charge_pump_event() local 2410 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5663_bst2_power() local 2434 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5663_pre_div_power() local 2766 struct snd_soc_component *component = dai->component; rt5663_hw_params() local 2813 struct snd_soc_component *component = dai->component; rt5663_set_dai_fmt() local 2861 struct snd_soc_component *component = dai->component; rt5663_set_dai_sysclk() local 2896 struct snd_soc_component *component = dai->component; rt5663_set_dai_pll() local 2969 struct snd_soc_component *component = dai->component; rt5663_set_tdm_slot() local 3035 struct snd_soc_component *component = dai->component; rt5663_set_bclk_ratio() local 3075 rt5663_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt5663_set_bias_level() argument 3141 rt5663_probe(struct snd_soc_component * component) rt5663_probe() argument 3178 rt5663_remove(struct snd_soc_component * component) rt5663_remove() argument 3186 rt5663_suspend(struct snd_soc_component * component) rt5663_suspend() argument 3202 rt5663_resume(struct snd_soc_component * component) rt5663_resume() argument [all...] |
| H A D | rt5670.c | 431 static int rt5670_headset_detect(struct snd_soc_component *component, int jack_insert) in rt5670_headset_detect() 479 void rt5670_jack_suspend(struct snd_soc_component *component) in rt5670_jack_suspend() 488 void rt5670_jack_resume(struct snd_soc_component *component) in rt5670_jack_resume() 497 static int rt5670_button_detect(struct snd_soc_component *component) in rt5670_button_detect() 577 int rt5670_set_jack_detect(struct snd_soc_component *component, in rt5670_set_jack_detect() 655 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt5670_dac1_playback_switch_get() local 667 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt5670_dac1_playback_switch_put() local 747 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 765 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_sys_clk_from_pll() local 777 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local [all …]
|
| /linux/sound/soc/generic/ |
| H A D | test-component.c | 249 static int test_component_probe(struct snd_soc_component *component) in test_component_probe() 256 static void test_component_remove(struct snd_soc_component *component) in test_component_remove() 261 static int test_component_suspend(struct snd_soc_component *component) in test_component_suspend() 268 static int test_component_resume(struct snd_soc_component *component) in test_component_resume() 276 static int test_component_pcm_construct(struct snd_soc_component *component, in test_component_pcm_construct() 290 static void test_component_pcm_destruct(struct snd_soc_component *component, in test_component_pcm_destruct() 296 static int test_component_set_sysclk(struct snd_soc_component *component, in test_component_set_sysclk() 304 static int test_component_set_pll(struct snd_soc_component *component, int pll_id, in test_component_set_pll() 312 static int test_component_set_jack(struct snd_soc_component *component, in test_component_set_jack() 320 static void test_component_seq_notifier(struct snd_soc_component *component, in test_component_seq_notifier() [all …]
|