Home
last modified time | relevance | path

Searched full:component (Results 1 – 25 of 1366) sorted by relevance

12345678910>>...55

/linux/sound/soc/
H A Dsoc-component.c3 // soc-component.c
19 static inline int _soc_component_ret(struct snd_soc_component *component, const char *func, int ret) in _soc_component_ret()
21 return snd_soc_ret(component->dev, ret, in _soc_component_ret()
22 "at %s() on %s\n", func, component->name);
26 static inline int _soc_component_ret_reg_rw(struct snd_soc_component *component, in _soc_component_ret_reg_rw()
29 return snd_soc_ret(component->dev, ret, in _soc_component_ret_reg_rw()
31 func, component->name, reg);
40 const char *snd_soc_component_name(struct snd_soc_component *component) in snd_soc_component_alloc()
42 return component->name; in snd_soc_component_alloc()
46 void snd_soc_component_set_priv(struct snd_soc_component *component, voi in snd_soc_component_set_name()
17 _soc_component_ret(struct snd_soc_component * component,const char * func,int ret) _soc_component_ret() argument
24 _soc_component_ret_reg_rw(struct snd_soc_component * component,const char * func,int ret,int reg) _soc_component_ret_reg_rw() argument
34 struct snd_soc_component *component = devm_kzalloc(dev, sizeof(*component), GFP_KERNEL); snd_soc_component_alloc() local
45 snd_soc_component_set_name(struct snd_soc_component * component,const char * name) snd_soc_component_set_name() argument
51 snd_soc_component_name(struct snd_soc_component * component) snd_soc_component_name() argument
57 snd_soc_component_set_priv(struct snd_soc_component * component,void * priv) snd_soc_component_set_priv() argument
63 snd_soc_component_to_priv(struct snd_soc_component * component) snd_soc_component_to_priv() argument
73 soc_component_mark_push(component,substream,tgt) global() argument
74 soc_component_mark_pop(component,tgt) global() argument
75 soc_component_mark_match(component,substream,tgt) global() argument
77 snd_soc_component_set_aux(struct snd_soc_component * component,struct snd_soc_aux_dev * aux) snd_soc_component_set_aux() argument
83 snd_soc_component_init(struct snd_soc_component * component) snd_soc_component_init() argument
103 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
127 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
141 snd_soc_component_seq_notifier(struct snd_soc_component * component,enum snd_soc_dapm_type type,int subseq) snd_soc_component_seq_notifier() argument
148 snd_soc_component_stream_event(struct snd_soc_component * component,int event) snd_soc_component_stream_event() argument
159 snd_soc_component_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) snd_soc_component_set_bias_level() argument
170 soc_get_kcontrol_name(struct snd_soc_component * component,char * buf,int size,const char * const ctl) soc_get_kcontrol_name() argument
180 snd_soc_component_get_kcontrol(struct snd_soc_component * component,const char * const ctl) snd_soc_component_get_kcontrol() argument
191 snd_soc_component_notify_control(struct snd_soc_component * component,const char * const ctl) snd_soc_component_notify_control() argument
215 snd_soc_component_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) snd_soc_component_set_jack() argument
236 snd_soc_component_get_jack_type(struct snd_soc_component * component) snd_soc_component_get_jack_type() argument
247 snd_soc_component_module_get(struct snd_soc_component * component,void * mark,int upon_open) snd_soc_component_module_get() argument
263 snd_soc_component_module_put(struct snd_soc_component * component,void * mark,int upon_open,int rollback) snd_soc_component_module_put() argument
276 snd_soc_component_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_soc_component_open() argument
291 snd_soc_component_close(struct snd_soc_component * component,struct snd_pcm_substream * substream,int rollback) snd_soc_component_close() argument
309 snd_soc_component_suspend(struct snd_soc_component * component) snd_soc_component_suspend() argument
316 snd_soc_component_resume(struct snd_soc_component * component) snd_soc_component_resume() argument
323 snd_soc_component_is_suspended(struct snd_soc_component * component) snd_soc_component_is_suspended() argument
328 snd_soc_component_probe(struct snd_soc_component * component) snd_soc_component_probe() argument
338 snd_soc_component_fixup_controls(struct snd_soc_component * component) snd_soc_component_fixup_controls() argument
348 snd_soc_component_remove(struct snd_soc_component * component) snd_soc_component_remove() argument
354 snd_soc_component_of_xlate_dai_id(struct snd_soc_component * component,struct device_node * ep) snd_soc_component_of_xlate_dai_id() argument
365 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
380 snd_soc_component_regmap_val_bytes(struct snd_soc_component * component) snd_soc_component_regmap_val_bytes() argument
410 snd_soc_component_init_regmap(struct snd_soc_component * component,struct regmap * regmap) snd_soc_component_init_regmap() argument
428 snd_soc_component_exit_regmap(struct snd_soc_component * component) snd_soc_component_exit_regmap() argument
437 snd_soc_component_compr_open(struct snd_soc_component * component,struct snd_compr_stream * cstream) snd_soc_component_compr_open() argument
454 snd_soc_component_compr_free(struct snd_soc_component * component,struct snd_compr_stream * cstream,int rollback) snd_soc_component_compr_free() argument
473 struct snd_soc_component *component; snd_soc_component_compr_trigger() local
494 struct snd_soc_component *component; snd_soc_component_compr_set_params() local
515 struct snd_soc_component *component; snd_soc_component_compr_get_params() local
535 struct snd_soc_component *component; snd_soc_component_compr_get_caps() local
559 struct snd_soc_component *component; snd_soc_component_compr_get_codec_caps() local
582 struct snd_soc_component *component; snd_soc_component_compr_ack() local
603 struct snd_soc_component *component; snd_soc_component_compr_pointer() local
623 struct snd_soc_component *component; snd_soc_component_compr_copy() local
647 struct snd_soc_component *component; snd_soc_component_compr_set_metadata() local
668 struct snd_soc_component *component; snd_soc_component_compr_get_metadata() local
685 soc_component_read_no_lock(struct snd_soc_component * component,unsigned int reg) soc_component_read_no_lock() argument
713 snd_soc_component_read(struct snd_soc_component * component,unsigned int reg) snd_soc_component_read() argument
727 soc_component_write_no_lock(struct snd_soc_component * component,unsigned int reg,unsigned int val) soc_component_write_no_lock() argument
748 snd_soc_component_write(struct snd_soc_component * component,unsigned int reg,unsigned int val) snd_soc_component_write() argument
762 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
793 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
829 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
848 soc_component_field_shift(struct snd_soc_component * component,unsigned int mask) soc_component_field_shift() argument
868 snd_soc_component_read_field(struct snd_soc_component * component,unsigned int reg,unsigned int mask) snd_soc_component_read_field() argument
890 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
908 snd_soc_component_async_complete(struct snd_soc_component * component) snd_soc_component_async_complete() argument
927 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
941 struct snd_soc_component *component; snd_soc_pcm_component_pointer() local
953 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
971 struct snd_soc_component *component; snd_soc_pcm_component_delay() local
998 struct snd_soc_component *component; snd_soc_pcm_component_ioctl() local
1015 struct snd_soc_component *component; snd_soc_pcm_component_sync_stop() local
1035 struct snd_soc_component *component; snd_soc_pcm_component_copy() local
1052 struct snd_soc_component *component; snd_soc_pcm_component_page() local
1073 struct snd_soc_component *component; snd_soc_pcm_component_mmap() local
1089 struct snd_soc_component *component; snd_soc_pcm_component_new() local
1106 struct snd_soc_component *component; snd_soc_pcm_component_free() local
1120 struct snd_soc_component *component; snd_soc_pcm_component_prepare() local
1138 struct snd_soc_component *component; snd_soc_pcm_component_hw_params() local
1159 struct snd_soc_component *component; snd_soc_pcm_component_hw_free() local
1177 soc_component_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) soc_component_trigger() argument
1193 struct snd_soc_component *component; snd_soc_pcm_component_trigger() local
1227 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_get() local
1246 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_put() local
1263 struct snd_soc_component *component; snd_soc_pcm_component_ack() local
[all...]
H A Dsoc-core.c133 struct snd_soc_component *component;
137 for_each_component(component) in soc_init_component_debugfs()
138 for_each_component_dais(component, dai) in soc_init_component_debugfs()
147 struct snd_soc_component *component; in soc_init_component_debugfs()
150 for_each_component(component) in soc_init_component_debugfs()
151 seq_printf(m, "%s\n", component->name); in soc_init_component_debugfs()
214 struct snd_soc_component *component) in snd_soc_debugfs_init()
221 if (comp == component) in snd_soc_debugfs_exit()
227 rtd->components[rtd->num_components - 1] = component; in soc_cleanup_component_debugfs() argument
235 struct snd_soc_component *component; in snd_soc_is_match_dai_args()
52 for_each_component(component) global() argument
134 soc_init_component_debugfs(struct snd_soc_component * component) soc_init_component_debugfs() argument
158 soc_cleanup_component_debugfs(struct snd_soc_component * component) soc_cleanup_component_debugfs() argument
168 struct snd_soc_component *component; dai_list_show() local
182 struct snd_soc_component *component; component_list_show() local
226 soc_init_component_debugfs(struct snd_soc_component * component) soc_init_component_debugfs() argument
311 snd_soc_rtd_add_component(struct snd_soc_pcm_runtime * rtd,struct snd_soc_component * component) snd_soc_rtd_add_component() argument
332 struct snd_soc_component *component; snd_soc_rtdcom_lookup() local
364 struct snd_soc_component *component; snd_soc_lookup_component_nolocked() local
398 struct snd_soc_component *component; snd_soc_lookup_component_by_name() local
659 struct snd_soc_component *component; snd_soc_suspend() local
762 struct snd_soc_component *component; soc_resume_deferred() local
802 struct snd_soc_component *component; snd_soc_resume() local
833 soc_component_to_node(struct snd_soc_component * component) soc_component_to_node() argument
860 snd_soc_is_matching_component(const struct snd_soc_dai_link_component * dlc,struct snd_soc_component * component) snd_soc_is_matching_component() argument
889 struct snd_soc_component *component; soc_find_component() local
922 struct snd_soc_component *component; snd_soc_find_dai() local
1178 struct snd_soc_component *component; snd_soc_add_pcm_runtime() local
1398 soc_set_name_prefix(struct snd_soc_card * card,struct snd_soc_component * component) soc_set_name_prefix() argument
1425 soc_remove_component(struct snd_soc_component * component,int probed) soc_remove_component() argument
1443 soc_probe_component(struct snd_soc_card * card,struct snd_soc_component * component) soc_probe_component() argument
1566 struct snd_soc_component *component; soc_remove_link_components() local
1584 struct snd_soc_component *component; soc_probe_link_components() local
1606 struct snd_soc_component *component, *_component; soc_unbind_aux_dev() local
1617 struct snd_soc_component *component; soc_bind_aux_dev() local
1637 struct snd_soc_component *component; soc_probe_aux_devices() local
1834 struct snd_soc_component *component; soc_check_tplg_fes() local
1985 struct snd_soc_component *component; snd_soc_remove_device_links() local
2009 struct snd_soc_component *component; snd_soc_bind_card() local
2263 struct snd_soc_component *component; snd_soc_poweroff() local
2375 snd_soc_add_component_controls(struct snd_soc_component * component,const struct snd_kcontrol_new * controls,unsigned int num_controls) snd_soc_add_component_controls() argument
2566 snd_soc_register_dai(struct snd_soc_component * component,struct snd_soc_dai_driver * dai_drv,bool legacy_dai_naming) snd_soc_register_dai() argument
2618 snd_soc_unregister_dais(struct snd_soc_component * component) snd_soc_unregister_dais() argument
2633 snd_soc_register_dais(struct snd_soc_component * component,struct snd_soc_dai_driver * dai_drv,size_t count) snd_soc_register_dais() argument
2693 snd_soc_del_component_unlocked(struct snd_soc_component * component) snd_soc_del_component_unlocked() argument
2710 soc_component_initialize(struct snd_soc_component * component,const struct snd_soc_component_driver * driver) soc_component_initialize() argument
2739 soc_component_add(struct snd_soc_component * component,struct snd_soc_dai_driver * dai_drv,int num_dai) soc_component_add() argument
2781 snd_soc_register_component_c(struct snd_soc_component * component,const struct snd_soc_component_driver * component_driver,struct snd_soc_dai_driver * dai_drv,int num_dai) snd_soc_register_component_c() argument
2801 struct snd_soc_component *component; snd_soc_register_component_d() local
2829 struct snd_soc_component *component = snd_soc_lookup_component_nolocked(dev, driver_name); snd_soc_unregister_component_by_driver() local
3425 struct snd_soc_component *component = soc_find_component(&dlc); snd_soc_get_dai_id() local
3550 struct snd_soc_component *component; snd_soc_get_dai_via_args() local
3562 __snd_soc_of_put_component(struct snd_soc_dai_link_component * component) __snd_soc_of_put_component() argument
3575 struct snd_soc_dai_link_component *component; __snd_soc_of_get_dai_link_component_alloc() local
3605 struct snd_soc_dai_link_component *component; snd_soc_of_put_dai_link_codecs() local
3631 struct snd_soc_dai_link_component *component; snd_soc_of_get_dai_link_codecs() local
3662 struct snd_soc_dai_link_component *component; snd_soc_of_put_dai_link_cpus() local
3685 struct snd_soc_dai_link_component *component; snd_soc_of_get_dai_link_cpus() local
[all...]
/linux/Documentation/gpu/
H A Dafbc.rst21 AFBC streams can contain several components - where a component
29 maximum compression efficiency), the component order must be:
31 * Component 0: R
32 * Component 1: G
33 * Component 2: B
35 The component ordering is communicated via the fourcc code in the
36 fourcc:modifier pair. In general, component '0' is considered to
42 * Component 0: R(8)
43 * Component 1: G(8)
44 * Component 2: B(8)
[all …]
/linux/include/sound/
H A Dsoc-component.h3 * soc-component.h
16 * Component probe and remove ordering levels for components with runtime
30 /* component interface */
32 int (*open)(struct snd_soc_component *component,
34 int (*free)(struct snd_soc_component *component,
36 int (*set_params)(struct snd_soc_component *component,
39 int (*get_params)(struct snd_soc_component *component,
42 int (*set_metadata)(struct snd_soc_component *component,
45 int (*get_metadata)(struct snd_soc_component *component,
48 int (*trigger)(struct snd_soc_component *component,
261 for_each_component_dais(component,dai) global() argument
263 for_each_component_dais_safe(component,dai,_dai) global() argument
272 snd_soc_component_to_dapm(struct snd_soc_component * component) snd_soc_component_to_dapm() argument
284 snd_soc_component_cache_sync(struct snd_soc_component * component) snd_soc_component_cache_sync() argument
349 snd_soc_component_module_get_when_probe(component) global() argument
351 snd_soc_component_module_get_when_open(component,substream) global() argument
355 snd_soc_component_module_put_when_remove(component) global() argument
357 snd_soc_component_module_put_when_close(component,substream,rollback) global() argument
374 snd_soc_component_active(struct snd_soc_component * component) snd_soc_component_active() argument
[all...]
/linux/drivers/base/
H A Dcomponent.c5 #include <linux/component.h>
16 * The component helper allows drivers to collect a pile of sub-devices,
19 * of_clk_get_by_name(). The component helper can be used when such a
20 * subsystem-specific way to find a device is not available: The component
27 * The component helper also doesn't solve runtime dependencies, e.g. for system
33 * Aggregate drivers first assemble a component match list of what they need
39 struct component;
46 struct component *component; member
65 struct component { struct
98 struct component *component = match->compare[i].component; in component_devices_show() local
[all …]
/linux/sound/soc/codecs/
H A Dwm8958-dsp2.c42 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw()
45 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw()
58 dev_err(component->dev, "%s: firmware too short (%zd bytes)\n", in wm8958_dsp2_fw()
65 dev_err(component->dev, "%s: firmware has bad file magic %08x\n", in wm8958_dsp2_fw()
74 dev_err(component->dev, "%s: unsupported firmware version %d\n", in wm8958_dsp2_fw()
79 dev_err(component->dev, "%s: unsupported target device %d\n", in wm8958_dsp2_fw()
84 dev_err(component->dev, "%s: unsupported target core %d\n", in wm8958_dsp2_fw()
91 dev_info(component->dev, "%s timestamp %llx\n", name, data64); in wm8958_dsp2_fw()
93 snd_soc_component_write(component, 0x102, 0x2); in wm8958_dsp2_fw()
94 snd_soc_component_write(component, in wm8958_dsp2_fw()
41 wm8958_dsp2_fw(struct snd_soc_component * component,const char * name,const struct firmware * fw,bool check) wm8958_dsp2_fw() argument
188 wm8958_dsp_start_mbc(struct snd_soc_component * component,int path) wm8958_dsp_start_mbc() argument
232 wm8958_dsp_start_vss(struct snd_soc_component * component,int path) wm8958_dsp_start_vss() argument
293 wm8958_dsp_start_enh_eq(struct snd_soc_component * component,int path) wm8958_dsp_start_enh_eq() argument
324 wm8958_dsp_apply(struct snd_soc_component * component,int path,int start) wm8958_dsp_apply() argument
414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wm8958_aif_ev() local
456 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_mbc_enum() local
478 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_mbc_enum() local
500 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_mbc_get() local
512 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_mbc_put() local
546 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_vss_enum() local
568 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_vss_enum() local
579 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_vss_hpf_enum() local
601 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_vss_hpf_enum() local
623 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_vss_get() local
635 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_vss_put() local
684 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_hpf_get() local
699 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_hpf_put() local
746 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_enh_eq_enum() local
768 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_enh_eq_enum() local
790 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_enh_eq_get() local
802 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_enh_eq_put() local
863 struct snd_soc_component *component = context; wm8958_enh_eq_loaded() local
875 struct snd_soc_component *component = context; wm8958_mbc_vss_loaded() local
887 struct snd_soc_component *component = context; wm8958_mbc_loaded() local
897 wm8958_dsp2_init(struct snd_soc_component * component) wm8958_dsp2_init() argument
[all...]
H A Dwcd939x.c17 #include <linux/component.h>
181 struct snd_soc_component *component;
333 static int wcd939x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd939x_set_swr_clk_rate()
357 snd_soc_component_write_field(component, WCD939X_DIGITAL_SWR_TX_CLK_RATE, mask, val); in wcd939x_set_swr_clk_rate()
362 static int wcd939x_io_init(struct snd_soc_component *component) in wcd939x_io_init()
364 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
366 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
371 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
374 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_L, in wcd939x_io_init()
376 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_ in wcd939x_io_init()
180 struct snd_soc_component *component; global() member
332 wcd939x_set_swr_clk_rate(struct snd_soc_component * component,int rate,int bank) wcd939x_set_swr_clk_rate() argument
361 wcd939x_io_init(struct snd_soc_component * component) wcd939x_io_init() argument
446 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_rxclk() local
506 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_hphl_dac_event() local
560 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_hphr_dac_event() local
616 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_ear_dac_event() local
648 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_hphr_pa() local
768 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_hphl_pa() local
885 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_ear_pa() local
929 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_dmic() local
1013 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_tx_swr_ctrl() local
1090 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_adc() local
1116 wcd939x_tx_channel_config(struct snd_soc_component * component,int channel,bool init) wcd939x_tx_channel_config() argument
1148 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_adc_enable_req() local
1264 wcd939x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd939x_micbias_control() argument
1389 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_micbias() local
1412 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_micbias_pullup() local
1436 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_tx_mode_get() local
1449 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_tx_mode_put() local
1467 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_rx_hph_mode_get() local
1478 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_rx_hph_mode_put() local
1523 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_get_compander() local
1538 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_set_compander() local
1560 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_ldoh_get() local
1571 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_ldoh_put() local
1833 wcd939x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd939x_mbhc_clk_setup() argument
1840 wcd939x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd939x_mbhc_mbhc_bias_control() argument
1847 wcd939x_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) wcd939x_mbhc_program_btn_thr() argument
1868 wcd939x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd939x_mbhc_micb_en_status() argument
1882 wcd939x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd939x_mbhc_hph_l_pull_up_control() argument
1898 wcd939x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd939x_mbhc_request_micbias() argument
1904 wcd939x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd939x_mbhc_micb_ramp_control() argument
1920 wcd939x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd939x_mbhc_micb_adjust_voltage() argument
1998 wcd939x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd939x_mbhc_micb_ctrl_threshold_mic() argument
2038 wcd939x_mbhc_get_result_params(struct snd_soc_component * component,int32_t * zdet) wcd939x_mbhc_get_result_params() argument
2097 wcd939x_mbhc_zdet_ramp(struct snd_soc_component * component,s32 * zl,int32_t * zr) wcd939x_mbhc_zdet_ramp() argument
2148 wcd939x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,s32 * z_val,int flag_l_r) wcd939x_wcd_mbhc_qfuse_cal() argument
2164 wcd939x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,u32 * zl,uint32_t * zr) wcd939x_wcd_mbhc_calc_impedance() argument
2305 wcd939x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_gnd_det_ctrl() argument
2323 wcd939x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_hph_pull_down_ctrl() argument
2332 wcd939x_mbhc_moisture_config(struct snd_soc_component * component) wcd939x_mbhc_moisture_config() argument
2355 wcd939x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd939x_mbhc_moisture_detect_en() argument
2368 wcd939x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd939x_mbhc_get_moisture_status() argument
2405 wcd939x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_moisture_polling_ctrl() argument
2435 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_get_hph_type() local
2447 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_hph_impedance_get() local
2471 wcd939x_mbhc_init(struct snd_soc_component * component) wcd939x_mbhc_init() argument
2503 wcd939x_mbhc_deinit(struct snd_soc_component * component) wcd939x_mbhc_deinit() argument
2968 wcd939x_soc_codec_probe(struct snd_soc_component * component) wcd939x_soc_codec_probe() argument
3090 wcd939x_soc_codec_remove(struct snd_soc_component * component) wcd939x_soc_codec_remove() argument
3165 wcd939x_swap_gnd_mic(struct snd_soc_component * component) wcd939x_swap_gnd_mic() argument
[all...]
H A Dwcd937x.c4 #include <linux/component.h>
299 static int wcd937x_rx_clk_enable(struct snd_soc_component *component) in wcd937x_rx_clk_enable()
301 struct wcd937x_priv *wcd937x = snd_soc_component_get_drvdata(component); in wcd937x_rx_clk_enable()
306 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_DIG_CLK_CTL, BIT(3), BIT(3)); in wcd937x_rx_clk_enable()
307 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CTL, BIT(0), BIT(0)); in wcd937x_rx_clk_enable()
308 snd_soc_component_update_bits(component, WCD937X_ANA_RX_SUPPLIES, BIT(0), BIT(0)); in wcd937x_rx_clk_enable()
309 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX0_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
310 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX1_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
311 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX2_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
312 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CT in wcd937x_rx_clk_enable()
298 wcd937x_rx_clk_enable(struct snd_soc_component * component) wcd937x_rx_clk_enable() argument
318 wcd937x_rx_clk_disable(struct snd_soc_component * component) wcd937x_rx_clk_disable() argument
340 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_hphl_dac_event() local
415 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_hphr_dac_event() local
484 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_ear_dac_event() local
539 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_aux_dac_event() local
575 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_hphr_pa() local
644 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_hphl_pa() local
712 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_aux_pa() local
758 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_ear_pa() local
830 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_rx1() local
845 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_rx2() local
861 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_rx3() local
878 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_tx_swr_ctrl() local
893 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_adc() local
921 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_req() local
976 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_dmic() local
1014 wcd937x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd937x_micbias_control() argument
1128 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); __wcd937x_codec_enable_micbias() local
1158 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); __wcd937x_codec_enable_micbias_pullup() local
1211 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_rx_hph_mode_get() local
1221 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_rx_hph_mode_put() local
1253 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_get_compander() local
1269 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_set_compander() local
1359 wcd937x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd937x_mbhc_clk_setup() argument
1366 wcd937x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd937x_mbhc_mbhc_bias_control() argument
1373 wcd937x_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) wcd937x_mbhc_program_btn_thr() argument
1392 wcd937x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd937x_mbhc_micb_en_status() argument
1406 wcd937x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd937x_mbhc_hph_l_pull_up_control() argument
1418 wcd937x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd937x_mbhc_request_micbias() argument
1424 wcd937x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd937x_mbhc_micb_ramp_control() argument
1440 wcd937x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd937x_mbhc_micb_adjust_voltage() argument
1508 wcd937x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd937x_mbhc_micb_ctrl_threshold_mic() argument
1529 wcd937x_mbhc_get_result_params(struct snd_soc_component * component,s16 * d1_a,u16 noff,int32_t * zdet) wcd937x_mbhc_get_result_params() argument
1589 wcd937x_mbhc_zdet_ramp(struct snd_soc_component * component,struct wcd937x_mbhc_zdet_param * zdet_param,s32 * zl,s32 * zr,s16 * d1_a) wcd937x_mbhc_zdet_ramp() argument
1633 wcd937x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,s32 * z_val,int flag_l_r) wcd937x_wcd_mbhc_qfuse_cal() argument
1653 wcd937x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,u32 * zl,u32 * zr) wcd937x_wcd_mbhc_calc_impedance() argument
1829 wcd937x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd937x_mbhc_gnd_det_ctrl() argument
1845 wcd937x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd937x_mbhc_hph_pull_down_ctrl() argument
1854 wcd937x_mbhc_moisture_config(struct snd_soc_component * component) wcd937x_mbhc_moisture_config() argument
1877 wcd937x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd937x_mbhc_moisture_detect_en() argument
1889 wcd937x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd937x_mbhc_get_moisture_status() argument
1924 wcd937x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd937x_mbhc_moisture_polling_ctrl() argument
1953 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_get_hph_type() local
1967 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_hph_impedance_get() local
1990 wcd937x_mbhc_init(struct snd_soc_component * component) wcd937x_mbhc_init() argument
2022 wcd937x_mbhc_deinit(struct snd_soc_component * component) wcd937x_mbhc_deinit() argument
2474 wcd937x_soc_codec_probe(struct snd_soc_component * component) wcd937x_soc_codec_probe() argument
2573 wcd937x_soc_codec_remove(struct snd_soc_component * component) wcd937x_soc_codec_remove() argument
2613 wcd937x_swap_gnd_mic(struct snd_soc_component * component) wcd937x_swap_gnd_mic() argument
[all...]
H A Dwcd938x.c13 #include <linux/component.h>
314 static int wcd938x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd938x_set_swr_clk_rate()
337 snd_soc_component_update_bits(component, WCD938X_DIGITAL_SWR_TX_CLK_RATE, in wcd938x_set_swr_clk_rate()
428 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd938x_codec_enable_rxclk()
432 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CTL, in wcd938x_codec_enable_rxclk()
434 snd_soc_component_write_field(component, WCD938X_ANA_RX_SUPPLIES, in wcd938x_codec_enable_rxclk()
436 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX0_CTL, in wcd938x_codec_enable_rxclk()
438 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX1_CTL, in wcd938x_codec_enable_rxclk()
440 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX2_CTL, in wcd938x_codec_enable_rxclk()
442 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CT in wcd938x_codec_enable_rxclk()
313 wcd938x_set_swr_clk_rate(struct snd_soc_component * component,int rate,int bank) wcd938x_set_swr_clk_rate() argument
427 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_rxclk() local
466 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_hphl_dac_event() local
520 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_hphr_dac_event() local
574 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_ear_dac_event() local
653 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_aux_dac_event() local
689 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_hphr_pa() local
796 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_hphl_pa() local
901 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_aux_pa() local
945 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_ear_pa() local
1019 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_dmic() local
1090 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_tx_swr_ctrl() local
1173 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_adc() local
1196 wcd938x_tx_channel_config(struct snd_soc_component * component,int channel,int mode) wcd938x_tx_channel_config() argument
1228 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_adc_enable_req() local
1331 wcd938x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd938x_micbias_control() argument
1435 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_micbias() local
1458 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_micbias_pullup() local
1482 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_tx_mode_get() local
1495 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_tx_mode_put() local
1511 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_rx_hph_mode_get() local
1522 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_rx_hph_mode_put() local
1536 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_ear_pa_put_gain() local
1555 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_get_compander() local
1574 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_set_compander() local
1605 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_ldoh_get() local
1616 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_ldoh_put() local
1892 wcd938x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd938x_mbhc_clk_setup() argument
1899 wcd938x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd938x_mbhc_mbhc_bias_control() argument
1906 wcd938x_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) wcd938x_mbhc_program_btn_thr() argument
1927 wcd938x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd938x_mbhc_micb_en_status() argument
1941 wcd938x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd938x_mbhc_hph_l_pull_up_control() argument
1953 wcd938x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd938x_mbhc_request_micbias() argument
1959 wcd938x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd938x_mbhc_micb_ramp_control() argument
1975 wcd938x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd938x_mbhc_micb_adjust_voltage() argument
2046 wcd938x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd938x_mbhc_micb_ctrl_threshold_mic() argument
2067 wcd938x_mbhc_get_result_params(struct snd_soc_component * component,s16 * d1_a,u16 noff,int32_t * zdet) wcd938x_mbhc_get_result_params() argument
2127 wcd938x_mbhc_zdet_ramp(struct snd_soc_component * component,struct wcd938x_mbhc_zdet_param * zdet_param,int32_t * zl,int32_t * zr,s16 * d1_a) wcd938x_mbhc_zdet_ramp() argument
2175 wcd938x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,int32_t * z_val,int flag_l_r) wcd938x_wcd_mbhc_qfuse_cal() argument
2195 wcd938x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,uint32_t * zl,uint32_t * zr) wcd938x_wcd_mbhc_calc_impedance() argument
2383 wcd938x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_gnd_det_ctrl() argument
2399 wcd938x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_hph_pull_down_ctrl() argument
2408 wcd938x_mbhc_moisture_config(struct snd_soc_component * component) wcd938x_mbhc_moisture_config() argument
2431 wcd938x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd938x_mbhc_moisture_detect_en() argument
2443 wcd938x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd938x_mbhc_get_moisture_status() argument
2480 wcd938x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_moisture_polling_ctrl() argument
2509 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_get_hph_type() local
2523 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_hph_impedance_get() local
2547 wcd938x_mbhc_init(struct snd_soc_component * component) wcd938x_mbhc_init() argument
2579 wcd938x_mbhc_deinit(struct snd_soc_component * component) wcd938x_mbhc_deinit() argument
3016 wcd938x_soc_codec_probe(struct snd_soc_component * component) wcd938x_soc_codec_probe() argument
3139 wcd938x_soc_codec_remove(struct snd_soc_component * component) wcd938x_soc_codec_remove() argument
3179 wcd938x_swap_gnd_mic(struct snd_soc_component * component) wcd938x_swap_gnd_mic() argument
[all...]
H A Dda7219-aad.c31 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument
33 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_jack_det()
42 snd_soc_component_update_bits(component, DA7219_ACCDET_CONFIG_1, in da7219_aad_jack_det()
55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() local
56 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in da7219_aad_btn_det_work()
57 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_btn_det_work()
63 snd_soc_component_update_bits(component, DA7219_HP_L_CTRL, in da7219_aad_btn_det_work()
66 snd_soc_component_update_bits(component, DA7219_HP_R_CTRL, in da7219_aad_btn_det_work()
75 statusa = snd_soc_component_read(component, DA7219_ACCDET_STATUS_ in da7219_aad_btn_det_work()
111 struct snd_soc_component *component = da7219_aad->component; da7219_aad_hptest_work() local
340 struct snd_soc_component *component = da7219_aad->component; da7219_aad_jack_det_work() local
353 struct snd_soc_component *component = da7219_aad->component; da7219_aad_irq_thread() local
763 da7219_aad_handle_pdata(struct snd_soc_component * component) da7219_aad_handle_pdata() argument
896 da7219_aad_handle_gnd_switch_time(struct snd_soc_component * component) da7219_aad_handle_gnd_switch_time() argument
927 da7219_aad_suspend(struct snd_soc_component * component) da7219_aad_suspend() argument
961 da7219_aad_resume(struct snd_soc_component * component) da7219_aad_resume() argument
990 da7219_aad_init(struct snd_soc_component * component) da7219_aad_init() argument
1035 da7219_aad_exit(struct snd_soc_component * component) da7219_aad_exit() argument
[all...]
H A Dtwl6040.c66 struct snd_soc_component *component;
96 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent)
98 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read()
100 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read()
101 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read()
123 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip()
126 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_can_write_to_chip()
142 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache()
145 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache()
65 struct snd_soc_component *component; global() member
95 to_twl6040(component) global() argument
97 twl6040_read(struct snd_soc_component * component,unsigned int reg) twl6040_read() argument
122 twl6040_can_write_to_chip(struct snd_soc_component * component,unsigned int reg) twl6040_can_write_to_chip() argument
141 twl6040_update_dl12_cache(struct snd_soc_component * component,u8 reg,u8 value) twl6040_update_dl12_cache() argument
159 twl6040_write(struct snd_soc_component * component,unsigned int reg,unsigned int value) twl6040_write() argument
174 twl6040_init_chip(struct snd_soc_component * component) twl6040_init_chip() argument
200 headset_power_mode(struct snd_soc_component * component,int high_perf) headset_power_mode() argument
225 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); twl6040_hs_dac_event() local
252 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); twl6040_ep_drv_event() local
270 twl6040_hs_jack_report(struct snd_soc_component * component,struct snd_soc_jack * jack,int report) twl6040_hs_jack_report() argument
288 twl6040_hs_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * jack,int report) twl6040_hs_jack_detect() argument
305 struct snd_soc_component *component = priv->component; twl6040_accessory_work() local
314 struct snd_soc_component *component = data; twl6040_audio_handler() local
326 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); twl6040_soc_dapm_put_vibra_enum() local
475 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_headset_power_get_enum() local
486 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_headset_power_put_enum() local
503 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_pll_get_enum() local
514 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_pll_put_enum() local
522 twl6040_get_dl1_gain(struct snd_soc_component * component) twl6040_get_dl1_gain() argument
544 twl6040_get_clk_id(struct snd_soc_component * component) twl6040_get_clk_id() argument
552 twl6040_get_trim_value(struct snd_soc_component * component,enum twl6040_trim trim) twl6040_get_trim_value() argument
561 twl6040_get_hs_step_size(struct snd_soc_component * component) twl6040_get_hs_step_size() argument
818 twl6040_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) twl6040_set_bias_level() argument
862 struct snd_soc_component *component = dai->component; twl6040_startup() local
876 struct snd_soc_component *component = dai->component; twl6040_hw_params() local
912 struct snd_soc_component *component = dai->component; twl6040_prepare() local
935 struct snd_soc_component *component = codec_dai->component; twl6040_set_dai_sysclk() local
952 twl6040_mute_path(struct snd_soc_component * component,enum twl6040_dai_id id,int mute) twl6040_mute_path() argument
1097 twl6040_probe(struct snd_soc_component * component) twl6040_probe() argument
1134 twl6040_remove(struct snd_soc_component * component) twl6040_remove() argument
[all...]
H A Dtas2552.c64 struct snd_soc_component *component; member
82 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event() local
86 snd_soc_component_write(component, TAS2552_RESERVED_0D, 0xc0); in tas2552_post_event()
87 snd_soc_component_update_bits(component, TAS2552_LIMIT_RATE_HYS, (1 << 5), in tas2552_post_event()
89 snd_soc_component_update_bits(component, TAS2552_CFG_2, 1, 0); in tas2552_post_event()
90 snd_soc_component_update_bits(component, TAS2552_CFG_1, TAS2552_SWS, 0); in tas2552_post_event()
93 snd_soc_component_update_bits(component, TAS2552_CFG_1, TAS2552_SWS, in tas2552_post_event()
95 snd_soc_component_update_bits(component, TAS2552_CFG_2, 1, 1); in tas2552_post_event()
96 snd_soc_component_update_bits(component, TAS2552_LIMIT_RATE_HYS, (1 << 5), 0); in tas2552_post_event()
97 snd_soc_component_write(component, TAS2552_RESERVED_0 in tas2552_post_event()
155 tas2552_setup_pll(struct snd_soc_component * component,struct snd_pcm_hw_params * params) tas2552_setup_pll() argument
239 struct snd_soc_component *component = dai->component; tas2552_hw_params() local
328 struct snd_soc_component *component = dai->component; tas2552_prepare() local
346 struct snd_soc_component *component = dai->component; tas2552_set_dai_fmt() local
396 struct snd_soc_component *component = dai->component; tas2552_set_dai_sysclk() local
443 struct snd_soc_component *component = dai->component; tas2552_set_dai_tdm_slot() local
471 struct snd_soc_component *component = dai->component; tas2552_mute() local
570 tas2552_component_probe(struct snd_soc_component * component) tas2552_component_probe() argument
618 tas2552_component_remove(struct snd_soc_component * component) tas2552_component_remove() argument
628 tas2552_suspend(struct snd_soc_component * component) tas2552_suspend() argument
642 tas2552_resume(struct snd_soc_component * component) tas2552_resume() argument
[all...]
H A Dwcd-clsh-v2.c147 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode() argument
152 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode()
156 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode()
194 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_buck_ctrl() argument
202 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
212 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
216 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
317 static void wcd_clsh_v3_set_hph_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_hph_mode() argument
341 dev_err(component->dev, "%s:Invalid mode %d\n", __func__, mode); in wcd_clsh_v3_set_hph_mode()
345 snd_soc_component_update_bits(component, WCD9XXX_ANA_HP in wcd_clsh_v3_set_hph_mode()
385 wcd_clsh_v3_set_buck_regulator_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_buck_regulator_mode() argument
392 wcd_clsh_v3_set_flyback_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_mode() argument
413 wcd_clsh_v3_force_iq_ctl(struct snd_soc_component * component,int mode,bool enable) wcd_clsh_v3_force_iq_ctl() argument
452 wcd_clsh_v3_flyback_ctrl(struct snd_soc_component * component,struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_v3_flyback_ctrl() argument
479 wcd_clsh_v3_set_flyback_current(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_current() argument
493 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_aux() local
539 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_hph_r() local
629 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_hph_l() local
719 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_ear() local
[all...]
H A Dmax98095.c252 static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, in m98095_eq_band() argument
270 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band()
271 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band()
278 static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, in m98095_biquad_band() argument
296 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band()
297 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
354 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_set() local
355 struct max98095_priv *max98095 = snd_soc_component_get_drvdata(component); in max98095_mic1pre_set()
359 snd_soc_component_update_bits(component, M98095_05F_LVL_MIC1, M98095_MICPRE_MASK, in max98095_mic1pre_set()
368 struct snd_soc_component *component in max98095_mic1pre_get() local
378 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); max98095_mic2pre_set() local
392 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); max98095_mic2pre_get() local
599 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); max98095_mic_event() local
629 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); max98095_line_pga() local
677 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); max98095_lineout_event() local
943 struct snd_soc_component *component = dai->component; max98095_dai1_hw_params() local
1004 struct snd_soc_component *component = dai->component; max98095_dai2_hw_params() local
1065 struct snd_soc_component *component = dai->component; max98095_dai3_hw_params() local
1125 struct snd_soc_component *component = dai->component; max98095_dai_set_sysclk() local
1162 struct snd_soc_component *component = codec_dai->component; max98095_dai1_set_fmt() local
1228 struct snd_soc_component *component = codec_dai->component; max98095_dai2_set_fmt() local
1295 struct snd_soc_component *component = codec_dai->component; max98095_dai3_set_fmt() local
1359 max98095_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) max98095_set_bias_level() argument
1490 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); max98095_put_eq_enum() local
1556 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); max98095_get_eq_enum() local
1567 max98095_handle_eq_pdata(struct snd_soc_component * component) max98095_handle_eq_pdata() argument
1629 max98095_get_bq_channel(struct snd_soc_component * component,const char * name) max98095_get_bq_channel() argument
1643 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); max98095_put_bq_enum() local
1706 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); max98095_get_bq_enum() local
1720 max98095_handle_bq_pdata(struct snd_soc_component * component) max98095_handle_bq_pdata() argument
1781 max98095_handle_pdata(struct snd_soc_component * component) max98095_handle_pdata() argument
1812 struct snd_soc_component *component = data; max98095_report_jack() local
1850 max98095_jack_detect_enable(struct snd_soc_component * component) max98095_jack_detect_enable() argument
1879 max98095_jack_detect_disable(struct snd_soc_component * component) max98095_jack_detect_disable() argument
1893 max98095_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * hp_jack,struct snd_soc_jack * mic_jack) max98095_jack_detect() argument
1923 max98095_suspend(struct snd_soc_component * component) max98095_suspend() argument
1936 max98095_resume(struct snd_soc_component * component) max98095_resume() argument
1956 max98095_reset(struct snd_soc_component * component) max98095_reset() argument
1987 max98095_probe(struct snd_soc_component * component) max98095_probe() argument
2088 max98095_remove(struct snd_soc_component * component) max98095_remove() argument
[all...]
H A Dpm4125.c5 #include <linux/component.h>
228 static int pm4125_global_mbias_disable(struct snd_soc_component *component) in pm4125_global_mbias_disable()
230 struct pm4125_priv *pm4125 = snd_soc_component_get_drvdata(component); in pm4125_global_mbias_disable()
234 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_disable()
237 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_disable()
245 static int pm4125_global_mbias_enable(struct snd_soc_component *component) in pm4125_global_mbias_enable()
247 struct pm4125_priv *pm4125 = snd_soc_component_get_drvdata(component); in pm4125_global_mbias_enable()
250 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_enable()
253 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_enable()
262 static int pm4125_rx_clk_enable(struct snd_soc_component *component) in pm4125_rx_clk_enable()
227 pm4125_global_mbias_disable(struct snd_soc_component * component) pm4125_global_mbias_disable() argument
244 pm4125_global_mbias_enable(struct snd_soc_component * component) pm4125_global_mbias_enable() argument
261 pm4125_rx_clk_enable(struct snd_soc_component * component) pm4125_rx_clk_enable() argument
288 pm4125_rx_clk_disable(struct snd_soc_component * component) pm4125_rx_clk_disable() argument
316 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_rxclk() local
333 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_hphl_dac_event() local
399 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_hphr_dac_event() local
464 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_ear_lo_dac_event() local
498 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphl_wdt_irq() local
517 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphr_wdt_irq() local
536 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphr_pa() local
558 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphl_pa() local
580 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_lo_pa() local
616 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_ear_pa() local
648 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_adc() local
690 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_dmic() local
715 pm4125_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) pm4125_micbias_control() argument
798 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_micbias() local
825 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_micbias_pullup() local
870 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); pm4125_get_compander() local
884 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); pm4125_set_compander() local
960 pm4125_mbhc_bias_control(struct snd_soc_component * component,bool enable) pm4125_mbhc_bias_control() argument
968 pm4125_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) pm4125_mbhc_program_btn_thr() argument
992 pm4125_mbhc_init(struct snd_soc_component * component) pm4125_mbhc_init() argument
1022 pm4125_mbhc_deinit(struct snd_soc_component * component) pm4125_mbhc_deinit() argument
1309 pm4125_soc_codec_probe(struct snd_soc_component * component) pm4125_soc_codec_probe() argument
1363 pm4125_soc_codec_remove(struct snd_soc_component * component) pm4125_soc_codec_remove() argument
[all...]
H A Dda7213.c218 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_get()
219 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_get()
229 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_put()
230 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_put()
240 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_put()
241 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component);
251 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_enum_locked_get()
252 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_get()
260 static int da7213_get_alc_data(struct snd_soc_component *component, u8 reg_val) in da7213_enum_locked_put()
269 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTR in da7213_enum_locked_put()
217 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_volsw_locked_get() local
231 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_volsw_locked_put() local
245 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_enum_locked_get() local
259 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_enum_locked_put() local
271 da7213_get_alc_data(struct snd_soc_component * component,u8 reg_val) 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 Dda7218.c290 static void da7218_alc_calib(struct snd_soc_component *component) in da7218_alc_calib() argument
301 mic_1_ctrl = snd_soc_component_read(component, DA7218_MIC_1_CTRL); in da7218_alc_calib()
302 mic_2_ctrl = snd_soc_component_read(component, DA7218_MIC_2_CTRL); in da7218_alc_calib()
305 mixin_1_ctrl = snd_soc_component_read(component, DA7218_MIXIN_1_CTRL); in da7218_alc_calib()
306 mixin_2_ctrl = snd_soc_component_read(component, DA7218_MIXIN_2_CTRL); in da7218_alc_calib()
309 in_1l_filt_ctrl = snd_soc_component_read(component, DA7218_IN_1L_FILTER_CTRL); in da7218_alc_calib()
310 in_1r_filt_ctrl = snd_soc_component_read(component, DA7218_IN_1R_FILTER_CTRL); in da7218_alc_calib()
311 in_2l_filt_ctrl = snd_soc_component_read(component, DA7218_IN_2L_FILTER_CTRL); in da7218_alc_calib()
312 in_2r_filt_ctrl = snd_soc_component_read(component, DA7218_IN_2R_FILTER_CTRL); in da7218_alc_calib()
315 in_1_hpf_ctrl = snd_soc_component_read(component, DA7218_IN_1_HPF_FILTER_CTR in da7218_alc_calib()
428 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_mixin_gain_put() local
449 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_alc_sw_put() local
472 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_tonegen_freq_get() local
496 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_tonegen_freq_put() local
516 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_mic_lvl_det_sw_put() local
543 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_mic_lvl_det_sw_get() local
563 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_biquad_coeff_get() local
588 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_biquad_coeff_put() local
1348 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_in_filter_event() local
1397 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_dai_event() local
1480 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_cp_event() local
1507 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_hp_pga_event() local
1812 struct snd_soc_component *component = codec_dai->component; da7218_set_dai_sysclk() local
1858 struct snd_soc_component *component = codec_dai->component; da7218_set_dai_pll() local
1933 struct snd_soc_component *component = codec_dai->component; da7218_set_dai_fmt() local
2022 struct snd_soc_component *component = dai->component; da7218_set_dai_tdm_slot() local
2091 struct snd_soc_component *component = dai->component; da7218_hw_params() local
2207 da7218_hpldet(struct snd_soc_component * component,struct snd_soc_jack * jack) da7218_hpldet() argument
2223 da7218_micldet_irq(struct snd_soc_component * component) da7218_micldet_irq() argument
2233 da7218_hpldet_irq(struct snd_soc_component * component) da7218_hpldet_irq() argument
2255 struct snd_soc_component *component = data; da7218_irq_thread() local
2289 da7218_of_micbias_lvl(struct snd_soc_component * component,u32 val) da7218_of_micbias_lvl() argument
2317 da7218_of_mic_amp_in_sel(struct snd_soc_component * component,const char * str) da7218_of_mic_amp_in_sel() argument
2332 da7218_of_dmic_data_sel(struct snd_soc_component * component,const char * str) da7218_of_dmic_data_sel() argument
2345 da7218_of_dmic_samplephase(struct snd_soc_component * component,const char * str) da7218_of_dmic_samplephase() argument
2358 da7218_of_dmic_clkrate(struct snd_soc_component * component,u32 val) da7218_of_dmic_clkrate() argument
2372 da7218_of_jack_rate(struct snd_soc_component * component,u32 val) da7218_of_jack_rate() argument
2398 da7218_of_jack_debounce(struct snd_soc_component * component,u32 val) da7218_of_jack_debounce() argument
2416 da7218_of_jack_thr(struct snd_soc_component * component,u32 val) da7218_of_jack_thr() argument
2433 da7218_of_to_pdata(struct snd_soc_component * component) da7218_of_to_pdata() argument
2561 da7218_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) da7218_set_bias_level() argument
2623 da7218_handle_supplies(struct snd_soc_component * component) da7218_handle_supplies() argument
2665 da7218_handle_pdata(struct snd_soc_component * component) da7218_handle_pdata() argument
2867 da7218_probe(struct snd_soc_component * component) da7218_probe() argument
2975 da7218_remove(struct snd_soc_component * component) da7218_remove() argument
2983 da7218_suspend(struct snd_soc_component * component) da7218_suspend() argument
2996 da7218_resume(struct snd_soc_component * component) da7218_resume() argument
[all...]
H A Dtwl4030.c80 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() argument
82 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_read()
145 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() argument
148 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_write()
180 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() argument
182 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_codec_enable()
277 static int twl4030_soc_probe(struct snd_soc_component *component) in twl4030_init_chip()
279 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_init_chip()
288 reg = twl4030_read(component, TWL4030_REG_MISC_SET_1); in twl4030_init_chip()
289 twl4030_write(component, TWL4030_REG_MISC_SET_ in twl4030_init_chip()
218 twl4030_get_board_params(struct snd_soc_component * component) twl4030_get_board_params() argument
241 twl4030_init_chip(struct snd_soc_component * component) twl4030_init_chip() argument
331 twl4030_apll_enable(struct snd_soc_component * component,int enable) twl4030_apll_enable() argument
578 handsfree_ramp(struct snd_soc_component * component,int reg,int ramp) handsfree_ramp() argument
611 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); handsfreelpga_event() local
627 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); handsfreerpga_event() local
643 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); vibramux_event() local
652 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); apll_event() local
668 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif_event() local
691 headset_ramp(struct snd_soc_component * component,int ramp) headset_ramp() argument
759 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); headsetlpga_event() local
784 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); headsetrpga_event() local
809 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); digimic_event() local
833 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_get_volsw_twl4030() local
862 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_put_volsw_twl4030() local
891 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_get_volsw_r2_twl4030() local
918 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_put_volsw_r2_twl4030() local
959 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_put_twl4030_opmode_enum_double() local
1570 twl4030_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) twl4030_set_bias_level() argument
1619 twl4030_tdm_enable(struct snd_soc_component * component,int direction,int enable) twl4030_tdm_enable() argument
1642 struct snd_soc_component *component = dai->component; twl4030_startup() local
1671 struct snd_soc_component *component = dai->component; twl4030_shutdown() local
1695 struct snd_soc_component *component = dai->component; twl4030_hw_params() local
1812 struct snd_soc_component *component = codec_dai->component; twl4030_set_dai_sysclk() local
1837 struct snd_soc_component *component = codec_dai->component; twl4030_set_dai_fmt() local
1890 struct snd_soc_component *component = dai->component; twl4030_set_tristate() local
1903 twl4030_voice_enable(struct snd_soc_component * component,int direction,int enable) twl4030_voice_enable() argument
1926 struct snd_soc_component *component = dai->component; twl4030_voice_startup() local
1958 struct snd_soc_component *component = dai->component; twl4030_voice_shutdown() local
1968 struct snd_soc_component *component = dai->component; twl4030_voice_hw_params() local
2013 struct snd_soc_component *component = codec_dai->component; twl4030_voice_set_dai_sysclk() local
2034 struct snd_soc_component *component = codec_dai->component; twl4030_voice_set_dai_fmt() local
2084 struct snd_soc_component *component = dai->component; twl4030_voice_set_tristate() local
2153 twl4030_soc_probe(struct snd_soc_component * component) twl4030_soc_probe() argument
[all...]
H A Dda7219.c258 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_get()
259 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_volsw_locked_get()
269 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_put()
270 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_volsw_locked_put()
280 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_put()
281 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component);
291 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_enum_locked_get()
292 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_enum_locked_get()
300 static void da7219_alc_calib(struct snd_soc_component *component) in da7219_enum_locked_put()
305 mic_ctrl = snd_soc_component_read(component, DA7219_MIC_1_CTR in da7219_enum_locked_put()
257 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_volsw_locked_get() local
271 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_volsw_locked_put() local
285 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_enum_locked_get() local
299 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_enum_locked_put() local
311 da7219_alc_calib(struct snd_soc_component * component) da7219_alc_calib() argument
379 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_mixin_gain_put() local
398 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_alc_sw_put() local
417 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_tonegen_freq_get() local
444 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_tonegen_freq_put() local
776 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_mic_pga_event() local
800 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_dai_event() local
891 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_mixout_event() local
929 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_gain_ramp_event() local
1166 struct snd_soc_component *component = codec_dai->component; da7219_set_dai_sysclk() local
1220 da7219_set_pll(struct snd_soc_component * component,int source,unsigned int fout) da7219_set_pll() argument
1297 struct snd_soc_component *component = codec_dai->component; da7219_set_dai_pll() local
1310 struct snd_soc_component *component = codec_dai->component; da7219_set_dai_fmt() local
1394 da7219_set_bclks_per_wclk(struct snd_soc_component * component,unsigned long factor) da7219_set_bclks_per_wclk() argument
1427 struct snd_soc_component *component = dai->component; da7219_set_dai_tdm_slot() local
1511 da7219_set_sr(struct snd_soc_component * component,unsigned long rate) da7219_set_sr() argument
1563 struct snd_soc_component *component = dai->component; da7219_hw_params() local
1806 da7219_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) da7219_set_bias_level() argument
1861 da7219_handle_supplies(struct snd_soc_component * component,u8 * io_voltage_lvl) da7219_handle_supplies() argument
1907 struct snd_soc_component *component = da7219->component; da7219_wclk_prepare() local
1924 struct snd_soc_component *component = da7219->component; da7219_wclk_unprepare() local
1938 struct snd_soc_component *component = da7219->component; da7219_wclk_is_prepared() local
1955 struct snd_soc_component *component = da7219->component; da7219_wclk_recalc_rate() local
2028 struct snd_soc_component *component = da7219->component; da7219_wclk_set_rate() local
2042 struct snd_soc_component *component = da7219->component; da7219_bclk_recalc_rate() local
2107 struct snd_soc_component *component = da7219->component; da7219_bclk_set_rate() local
2134 da7219_register_dai_clks(struct snd_soc_component * component) da7219_register_dai_clks() argument
2241 da7219_free_dai_clks(struct snd_soc_component * component) da7219_free_dai_clks() argument
2261 da7219_register_dai_clks(struct snd_soc_component * component) da7219_register_dai_clks() argument
2266 da7219_free_dai_clks(struct snd_soc_component * component) da7219_free_dai_clks() argument
2269 da7219_handle_pdata(struct snd_soc_component * component) da7219_handle_pdata() argument
2454 da7219_probe(struct snd_soc_component * component) da7219_probe() argument
2598 da7219_remove(struct snd_soc_component * component) da7219_remove() argument
2613 da7219_suspend(struct snd_soc_component * component) da7219_suspend() argument
2627 da7219_resume(struct snd_soc_component * component) da7219_resume() argument
2645 da7219_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) da7219_set_jack() argument
[all...]
H A Drt5682.c3 // rt5682.c -- RT5682 ALSA SoC audio component driver
828 * @component: SoC audio component device.
837 * set of filters specified by the mask. And the component driver will turn on
840 int rt5682_sel_asrc_clk_src(struct snd_soc_component *component, in rt5682_sel_asrc_clk_src()
854 snd_soc_component_update_bits(component, RT5682_PLL_TRACK_2, in rt5682_sel_asrc_clk_src()
860 snd_soc_component_update_bits(component, RT5682_PLL_TRACK_3, in rt5682_sel_asrc_clk_src()
869 static int rt5682_button_detect(struct snd_soc_component *component) in rt5682_button_detect()
873 val = snd_soc_component_read(component, RT5682_4BTN_IL_CMD_1); in rt5682_button_detect()
875 snd_soc_component_write(component, RT5682_4BTN_IL_CMD_ in rt5682_button_detect()
839 rt5682_sel_asrc_clk_src(struct snd_soc_component * component,unsigned int filter_mask,unsigned int clk_src) rt5682_sel_asrc_clk_src() argument
868 rt5682_button_detect(struct snd_soc_component * component) rt5682_button_detect() argument
882 rt5682_enable_push_button_irq(struct snd_soc_component * component,bool enable) rt5682_enable_push_button_irq() argument
928 rt5682_headset_detect(struct snd_soc_component * component,int jack_insert) rt5682_headset_detect() argument
1014 rt5682_set_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * hs_jack,void * data) rt5682_set_jack_detect() argument
1262 struct snd_soc_component *component = set_dmic_clk() local
1282 struct snd_soc_component *component = set_filter_clk() local
1327 struct snd_soc_component *component = is_sys_clk_from_pll1() local
1342 struct snd_soc_component *component = is_sys_clk_from_pll2() local
1357 struct snd_soc_component *component = is_using_asrc() local
1542 struct snd_soc_component *component = rt5682_hp_event() local
1581 struct snd_soc_component *component = set_dmic_power() local
1621 struct snd_soc_component *component = rt5682_set_verf() local
2066 struct snd_soc_component *component = dai->component; rt5682_set_tdm_slot() local
2135 struct snd_soc_component *component = dai->component; rt5682_hw_params() local
2223 struct snd_soc_component *component = dai->component; rt5682_set_dai_fmt() local
2305 rt5682_set_component_sysclk(struct snd_soc_component * component,int clk_id,int source,unsigned int freq,int dir) rt5682_set_component_sysclk() argument
2353 rt5682_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5682_set_component_pll() argument
2485 struct snd_soc_component *component = dai->component; rt5682_set_bclk1_ratio() local
2517 struct snd_soc_component *component = dai->component; rt5682_set_bclk2_ratio() local
2541 rt5682_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt5682_set_bias_level() argument
2591 struct snd_soc_component *component; rt5682_wclk_prepare() local
2629 struct snd_soc_component *component; rt5682_wclk_unprepare() local
2707 struct snd_soc_component *component; rt5682_wclk_set_rate() local
2829 struct snd_soc_component *component; rt5682_bclk_set_rate() local
2928 rt5682_probe(struct snd_soc_component * component) rt5682_probe() argument
2954 rt5682_remove(struct snd_soc_component * component) rt5682_remove() argument
2962 rt5682_suspend(struct snd_soc_component * component) rt5682_suspend() argument
3015 rt5682_resume(struct snd_soc_component * component) rt5682_resume() argument
[all...]
H A Dwm0010.c91 struct snd_soc_component *component;
149 static void wm0010_halt(struct snd_soc_component *component) in wm0010_halt()
151 struct wm0010_priv *wm0010 = snd_soc_component_get_drvdata(component); in wm0010_halt()
181 struct snd_soc_component *component;
204 struct snd_soc_component *component = xfer->component;
205 struct wm0010_priv *wm0010 = snd_soc_component_get_drvdata(component); in wm0010_boot_xfer_complete()
210 dev_err(component->dev, "SPI transfer failed: %d\n", in wm0010_boot_xfer_complete()
219 dev_dbg(component->dev, "%d: %04x\n", i, out32[i]); in wm0010_boot_xfer_complete()
223 dev_err(component in wm0010_boot_xfer_complete()
90 struct snd_soc_component *component; global() member
148 wm0010_halt(struct snd_soc_component * component) wm0010_halt() argument
183 struct snd_soc_component *component; global() member
208 struct snd_soc_component *component = xfer->component; wm0010_boot_xfer_complete() local
332 wm0010_firmware_load(const char * name,struct snd_soc_component * component) wm0010_firmware_load() argument
485 wm0010_stage2_load(struct snd_soc_component * component) wm0010_stage2_load() argument
557 wm0010_boot(struct snd_soc_component * component) wm0010_boot() argument
722 wm0010_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) wm0010_set_bias_level() argument
749 wm0010_set_sysclk(struct snd_soc_component * component,int source,int clk_id,unsigned int freq,int dir) wm0010_set_sysclk() argument
846 wm0010_probe(struct snd_soc_component * component) wm0010_probe() argument
[all...]
H A Drt5640.c165 static int rt5640_reset(struct snd_soc_component *component) in rt5640_reset() argument
167 return snd_soc_component_write(component, RT5640_RESET, 0); in rt5640_reset()
461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local
462 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in set_dmic_clk()
469 dev_err(component->dev, "Failed to set DMIC clock\n"); in set_dmic_clk()
471 snd_soc_component_update_bits(component, RT5640_DMIC, RT5640_DMIC_CLK_MASK, in set_dmic_clk()
479 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local
480 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in is_using_asrc()
916 static void hp_amp_power_on(struct snd_soc_component *component) in hp_amp_power_on() argument
918 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in hp_amp_power_on()
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
2003 rt5640_dmic_enable(struct snd_soc_component * component,bool dmic1_data_pin,bool dmic2_data_pin) rt5640_dmic_enable() argument
2029 rt5640_sel_asrc_clk_src(struct snd_soc_component * component,unsigned int filter_mask,unsigned int clk_src) rt5640_sel_asrc_clk_src() argument
2099 rt5640_enable_micbias1_for_ovcd(struct snd_soc_component * component) rt5640_enable_micbias1_for_ovcd() argument
2115 rt5640_disable_micbias1_for_ovcd(struct snd_soc_component * component) rt5640_disable_micbias1_for_ovcd() argument
2130 rt5640_enable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5640_enable_micbias1_ovcd_irq() argument
2139 rt5640_disable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5640_disable_micbias1_ovcd_irq() argument
2148 rt5640_clear_micbias1_ovcd(struct snd_soc_component * component) rt5640_clear_micbias1_ovcd() argument
2154 rt5640_micbias1_ovcd(struct snd_soc_component * component) rt5640_micbias1_ovcd() argument
2164 rt5640_jack_inserted(struct snd_soc_component * component) rt5640_jack_inserted() argument
2191 rt5640_start_button_press_work(struct snd_soc_component * component) rt5640_start_button_press_work() argument
2208 struct snd_soc_component *component = rt5640->component; rt5640_button_press_work() local
2257 rt5640_detect_headset(struct snd_soc_component * component,struct gpio_desc * hp_det_gpio) rt5640_detect_headset() argument
2312 struct snd_soc_component *component = rt5640->component; rt5640_jack_work() local
2440 rt5640_set_ovcd_params(struct snd_soc_component * component) rt5640_set_ovcd_params() argument
2465 rt5640_disable_jack_detect(struct snd_soc_component * component) rt5640_disable_jack_detect() argument
2488 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
2586 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
2817 rt5640_resume(struct snd_soc_component * component) rt5640_resume() argument
[all...]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fw_update.c59 * ixgbe_check_component_response - Report firmware response to a component
61 * @response: indicates whether this component can be updated
65 * Check whether firmware indicates if this component can be updated. Report
66 * a suitable error message over the netlink extended ACK if the component
69 * Return: 0 if the component can be updated, or -ECANCELED if the
70 * firmware indicates the component cannot be updated.
99 "Component comparison stamp is identical to running image"); in ixgbe_check_component_response()
103 "Component comparison stamp is lower than running image"); in ixgbe_check_component_response()
107 "Component comparison stamp is invalid"); in ixgbe_check_component_response()
111 "Component table conflict occurred"); in ixgbe_check_component_response()
[all …]
/linux/sound/soc/meson/
H A Daiu-encoder-i2s.c27 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component,
30 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_divider_enable() argument
35 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable()
48 dev_err(component->dev, "Unsupported i2s divider: %u\n", bs); in aiu_encoder_i2s_setup_desc()
52 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_setup_desc()
57 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MORE, in aiu_encoder_i2s_setup_desc()
91 static int aiu_encoder_i2s_set_more_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div()
104 dev_err(component->dev, in aiu_encoder_i2s_set_legacy_div()
112 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_set_more_div()
116 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MOR in aiu_encoder_i2s_set_more_div()
38 aiu_encoder_i2s_setup_desc(struct snd_soc_component * component,struct snd_pcm_hw_params * params) aiu_encoder_i2s_setup_desc() argument
81 aiu_encoder_i2s_set_legacy_div(struct snd_soc_component * component,struct snd_pcm_hw_params * params,unsigned int bs) aiu_encoder_i2s_set_legacy_div() argument
111 aiu_encoder_i2s_set_more_div(struct snd_soc_component * component,struct snd_pcm_hw_params * params,unsigned int bs) aiu_encoder_i2s_set_more_div() argument
144 aiu_encoder_i2s_set_clocks(struct snd_soc_component * component,struct snd_pcm_hw_params * params) aiu_encoder_i2s_set_clocks() argument
191 struct snd_soc_component *component = dai->component; aiu_encoder_i2s_hw_params() local
217 struct snd_soc_component *component = dai->component; aiu_encoder_i2s_hw_free() local
226 struct snd_soc_component *component = dai->component; aiu_encoder_i2s_set_fmt() local
[all...]
H A Daiu-encoder-spdif.c30 aiu_encoder_spdif_divider_enable(struct snd_soc_component *component, in aiu_encoder_spdif_divider_enable() argument
33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_spdif_divider_enable()
38 static void aiu_encoder_spdif_hold(struct snd_soc_component *component, in aiu_encoder_spdif_hold() argument
41 snd_soc_component_update_bits(component, AIU_958_CTRL, in aiu_encoder_spdif_hold()
50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() local
56 aiu_encoder_spdif_hold(component, false); in aiu_encoder_spdif_trigger()
62 aiu_encoder_spdif_hold(component, true); in aiu_encoder_spdif_trigger()
70 static int aiu_encoder_spdif_setup_cs_word(struct snd_soc_component *component, in aiu_encoder_spdif_setup_cs_word() argument
84 snd_soc_component_write(component, AIU_958_CHSTAT_L0, val); in aiu_encoder_spdif_setup_cs_word()
85 snd_soc_component_write(component, AIU_958_CHSTAT_R0, val); in aiu_encoder_spdif_setup_cs_word()
[all …]

12345678910>>...55