Home
last modified time | relevance | path

Searched refs:component (Results 1 - 25 of 1566) sorted by relevance

12345678910>>...63

/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-component.c3 // soc-component.c
16 static inline int _soc_component_ret(struct snd_soc_component *component, in _soc_component_ret() argument
29 dev_err(component->dev, in _soc_component_ret()
31 func, component->name, ret); in _soc_component_ret()
41 #define soc_component_mark_push(component, substream, tgt) ((component)->mark_##tgt = substream)
42 #define soc_component_mark_pop(component, substream, tgt) ((component)->mark_##tgt = NULL)
43 #define soc_component_mark_match(component, substream, tgt) ((component)
45 snd_soc_component_set_aux(struct snd_soc_component *component, struct snd_soc_aux_dev *aux) snd_soc_component_set_aux() argument
51 snd_soc_component_init(struct snd_soc_component *component) snd_soc_component_init() argument
71 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
95 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
109 snd_soc_component_seq_notifier(struct snd_soc_component *component, enum snd_soc_dapm_type type, int subseq) snd_soc_component_seq_notifier() argument
116 snd_soc_component_stream_event(struct snd_soc_component *component, int event) snd_soc_component_stream_event() argument
127 snd_soc_component_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) snd_soc_component_set_bias_level() argument
138 snd_soc_component_enable_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_enable_pin() argument
147 snd_soc_component_enable_pin_unlocked(struct snd_soc_component *component, const char *pin) snd_soc_component_enable_pin_unlocked() argument
156 snd_soc_component_disable_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_disable_pin() argument
165 snd_soc_component_disable_pin_unlocked(struct snd_soc_component *component, const char *pin) snd_soc_component_disable_pin_unlocked() argument
174 snd_soc_component_nc_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_nc_pin() argument
183 snd_soc_component_nc_pin_unlocked(struct snd_soc_component *component, const char *pin) snd_soc_component_nc_pin_unlocked() argument
192 snd_soc_component_get_pin_status(struct snd_soc_component *component, const char *pin) snd_soc_component_get_pin_status() argument
201 snd_soc_component_force_enable_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_force_enable_pin() argument
210 snd_soc_component_force_enable_pin_unlocked( struct snd_soc_component *component, const char *pin) snd_soc_component_force_enable_pin_unlocked() argument
228 snd_soc_component_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *data) snd_soc_component_set_jack() argument
240 snd_soc_component_module_get(struct snd_soc_component *component, struct snd_pcm_substream *substream, int upon_open) snd_soc_component_module_get() argument
257 snd_soc_component_module_put(struct snd_soc_component *component, struct snd_pcm_substream *substream, int upon_open, int rollback) snd_soc_component_module_put() argument
271 snd_soc_component_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) snd_soc_component_open() argument
286 snd_soc_component_close(struct snd_soc_component *component, struct snd_pcm_substream *substream, int rollback) snd_soc_component_close() argument
304 snd_soc_component_suspend(struct snd_soc_component *component) snd_soc_component_suspend() argument
311 snd_soc_component_resume(struct snd_soc_component *component) snd_soc_component_resume() argument
318 snd_soc_component_is_suspended(struct snd_soc_component *component) snd_soc_component_is_suspended() argument
323 snd_soc_component_probe(struct snd_soc_component *component) snd_soc_component_probe() argument
333 snd_soc_component_remove(struct snd_soc_component *component) snd_soc_component_remove() argument
339 snd_soc_component_of_xlate_dai_id(struct snd_soc_component *component, struct device_node *ep) snd_soc_component_of_xlate_dai_id() argument
350 snd_soc_component_of_xlate_dai_name(struct snd_soc_component *component, struct of_phandle_args *args, const char **dai_name) snd_soc_component_of_xlate_dai_name() argument
365 snd_soc_component_setup_regmap(struct snd_soc_component *component) snd_soc_component_setup_regmap() argument
387 snd_soc_component_init_regmap(struct snd_soc_component *component, struct regmap *regmap) snd_soc_component_init_regmap() argument
406 snd_soc_component_exit_regmap(struct snd_soc_component *component) snd_soc_component_exit_regmap() argument
415 soc_component_read_no_lock( struct snd_soc_component *component, unsigned int reg) soc_component_read_no_lock() argument
444 snd_soc_component_read(struct snd_soc_component *component, unsigned int reg) snd_soc_component_read() argument
457 soc_component_write_no_lock( struct snd_soc_component *component, unsigned int reg, unsigned int val) soc_component_write_no_lock() argument
479 snd_soc_component_write(struct snd_soc_component *component, unsigned int reg, unsigned int val) snd_soc_component_write() argument
492 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
524 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
560 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
586 snd_soc_component_async_complete(struct snd_soc_component *component) snd_soc_component_async_complete() argument
605 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
619 struct snd_soc_component *component; snd_soc_pcm_component_pointer() local
634 struct snd_soc_component *component; snd_soc_pcm_component_ioctl() local
651 struct snd_soc_component *component; snd_soc_pcm_component_sync_stop() local
671 struct snd_soc_component *component; snd_soc_pcm_component_copy_user() local
690 struct snd_soc_component *component; snd_soc_pcm_component_page() local
711 struct snd_soc_component *component; snd_soc_pcm_component_mmap() local
727 struct snd_soc_component *component; snd_soc_pcm_component_new() local
744 struct snd_soc_component *component; snd_soc_pcm_component_free() local
758 struct snd_soc_component *component; snd_soc_pcm_component_prepare() local
777 struct snd_soc_component *component; snd_soc_pcm_component_hw_params() local
799 struct snd_soc_component *component; snd_soc_pcm_component_hw_free() local
818 struct snd_soc_component *component; snd_soc_pcm_component_trigger() local
835 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_get() local
854 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_put() local
[all...]
H A Dsoc-core.c52 #define for_each_component(component) \
53 list_for_each_entry(component, &component_list, list)
134 static void soc_init_component_debugfs(struct snd_soc_component *component) in soc_init_component_debugfs() argument
136 if (!component->card->debugfs_card_root) in soc_init_component_debugfs()
139 if (component->debugfs_prefix) { in soc_init_component_debugfs()
143 component->debugfs_prefix, component->name); in soc_init_component_debugfs()
145 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs()
146 component->card->debugfs_card_root); in soc_init_component_debugfs()
150 component in soc_init_component_debugfs()
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
185 struct snd_soc_component *component; component_list_show() local
233 soc_init_component_debugfs( struct snd_soc_component *component) soc_init_component_debugfs() argument
238 soc_cleanup_component_debugfs( struct snd_soc_component *component) soc_cleanup_component_debugfs() argument
261 snd_soc_rtd_add_component(struct snd_soc_pcm_runtime *rtd, struct snd_soc_component *component) snd_soc_rtd_add_component() argument
283 struct snd_soc_component *component; snd_soc_rtdcom_lookup() local
315 struct snd_soc_component *component; snd_soc_lookup_component_nolocked() local
336 struct snd_soc_component *component; snd_soc_lookup_component() local
434 struct snd_soc_component *component; soc_new_pcm_runtime() local
528 struct snd_soc_component *component; snd_soc_suspend() local
653 struct snd_soc_component *component; soc_resume_deferred() local
714 struct snd_soc_component *component; snd_soc_resume() local
747 soc_component_to_node(struct snd_soc_component *component) soc_component_to_node() argument
758 snd_soc_is_matching_component( const struct snd_soc_dai_link_component *dlc, struct snd_soc_component *component) snd_soc_is_matching_component() argument
780 struct snd_soc_component *component; soc_find_component() local
813 struct snd_soc_component *component; snd_soc_find_dai() local
991 struct snd_soc_component *component; snd_soc_add_pcm_runtime() local
1061 struct snd_soc_component *component; soc_init_pcm_runtime() local
1118 soc_set_name_prefix(struct snd_soc_card *card, struct snd_soc_component *component) soc_set_name_prefix() argument
1145 soc_remove_component(struct snd_soc_component *component, int probed) soc_remove_component() argument
1165 soc_probe_component(struct snd_soc_card *card, struct snd_soc_component *component) soc_probe_component() argument
1307 struct snd_soc_component *component; soc_remove_link_components() local
1325 struct snd_soc_component *component; soc_probe_link_components() local
1347 struct snd_soc_component *component, *_component; soc_unbind_aux_dev() local
1358 struct snd_soc_component *component; soc_bind_aux_dev() local
1378 struct snd_soc_component *component; soc_probe_aux_devices() local
1635 struct snd_soc_component *component; soc_check_tplg_fes() local
1815 struct snd_soc_component *component; snd_soc_bind_card() local
2007 struct snd_soc_component *component; snd_soc_poweroff() local
2120 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
2301 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
2354 snd_soc_unregister_dais(struct snd_soc_component *component) snd_soc_unregister_dais() argument
2369 snd_soc_register_dais(struct snd_soc_component *component, struct snd_soc_dai_driver *dai_drv, size_t count) snd_soc_register_dais() argument
2438 snd_soc_del_component_unlocked(struct snd_soc_component *component) snd_soc_del_component_unlocked() argument
2450 snd_soc_component_initialize(struct snd_soc_component *component, const struct snd_soc_component_driver *driver, struct device *dev) snd_soc_component_initialize() argument
2473 snd_soc_add_component(struct snd_soc_component *component, struct snd_soc_dai_driver *dai_drv, int num_dai) snd_soc_add_component() argument
2525 struct snd_soc_component *component; snd_soc_register_component() local
2550 struct snd_soc_component *component; snd_soc_unregister_component_by_driver() local
2575 struct snd_soc_component *component; snd_soc_unregister_component() local
2987 struct snd_soc_component *component; snd_soc_get_dai_id() local
3104 struct snd_soc_dai_link_component *component; snd_soc_of_put_dai_link_codecs() local
3135 struct snd_soc_dai_link_component *component; snd_soc_of_get_dai_link_codecs() local
[all...]
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-component.c3 // soc-component.c
18 static inline int _soc_component_ret(struct snd_soc_component *component, in _soc_component_ret() argument
32 dev_err(component->dev, in _soc_component_ret()
34 func, component->name, ret); in _soc_component_ret()
36 dev_err(component->dev, in _soc_component_ret()
38 func, component->name, reg, ret); in _soc_component_ret()
44 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift() argument
48 dev_err(component->dev, "ASoC: error field mask is zero for %s\n", in soc_component_field_shift()
49 component->name); in soc_component_field_shift()
60 #define soc_component_mark_push(component, substrea
64 snd_soc_component_set_aux(struct snd_soc_component *component, struct snd_soc_aux_dev *aux) snd_soc_component_set_aux() argument
70 snd_soc_component_init(struct snd_soc_component *component) snd_soc_component_init() argument
90 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
114 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
128 snd_soc_component_seq_notifier(struct snd_soc_component *component, enum snd_soc_dapm_type type, int subseq) snd_soc_component_seq_notifier() argument
135 snd_soc_component_stream_event(struct snd_soc_component *component, int event) snd_soc_component_stream_event() argument
146 snd_soc_component_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) snd_soc_component_set_bias_level() argument
157 snd_soc_component_enable_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_enable_pin() argument
166 snd_soc_component_enable_pin_unlocked(struct snd_soc_component *component, const char *pin) snd_soc_component_enable_pin_unlocked() argument
175 snd_soc_component_disable_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_disable_pin() argument
184 snd_soc_component_disable_pin_unlocked(struct snd_soc_component *component, const char *pin) snd_soc_component_disable_pin_unlocked() argument
193 snd_soc_component_nc_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_nc_pin() argument
202 snd_soc_component_nc_pin_unlocked(struct snd_soc_component *component, const char *pin) snd_soc_component_nc_pin_unlocked() argument
211 snd_soc_component_get_pin_status(struct snd_soc_component *component, const char *pin) snd_soc_component_get_pin_status() argument
220 snd_soc_component_force_enable_pin(struct snd_soc_component *component, const char *pin) snd_soc_component_force_enable_pin() argument
229 snd_soc_component_force_enable_pin_unlocked( struct snd_soc_component *component, const char *pin) snd_soc_component_force_enable_pin_unlocked() argument
239 snd_soc_component_notify_control(struct snd_soc_component *component, const char * const ctl) snd_soc_component_notify_control() argument
270 snd_soc_component_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *data) snd_soc_component_set_jack() argument
290 snd_soc_component_get_jack_type( struct snd_soc_component *component) snd_soc_component_get_jack_type() argument
302 snd_soc_component_module_get(struct snd_soc_component *component, void *mark, int upon_open) snd_soc_component_module_get() argument
318 snd_soc_component_module_put(struct snd_soc_component *component, void *mark, int upon_open, int rollback) snd_soc_component_module_put() argument
331 snd_soc_component_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) snd_soc_component_open() argument
346 snd_soc_component_close(struct snd_soc_component *component, struct snd_pcm_substream *substream, int rollback) snd_soc_component_close() argument
364 snd_soc_component_suspend(struct snd_soc_component *component) snd_soc_component_suspend() argument
371 snd_soc_component_resume(struct snd_soc_component *component) snd_soc_component_resume() argument
378 snd_soc_component_is_suspended(struct snd_soc_component *component) snd_soc_component_is_suspended() argument
383 snd_soc_component_probe(struct snd_soc_component *component) snd_soc_component_probe() argument
393 snd_soc_component_remove(struct snd_soc_component *component) snd_soc_component_remove() argument
399 snd_soc_component_of_xlate_dai_id(struct snd_soc_component *component, struct device_node *ep) snd_soc_component_of_xlate_dai_id() argument
410 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
425 snd_soc_component_setup_regmap(struct snd_soc_component *component) snd_soc_component_setup_regmap() argument
447 snd_soc_component_init_regmap(struct snd_soc_component *component, struct regmap *regmap) snd_soc_component_init_regmap() argument
466 snd_soc_component_exit_regmap(struct snd_soc_component *component) snd_soc_component_exit_regmap() argument
475 snd_soc_component_compr_open(struct snd_soc_component *component, struct snd_compr_stream *cstream) snd_soc_component_compr_open() argument
492 snd_soc_component_compr_free(struct snd_soc_component *component, struct snd_compr_stream *cstream, int rollback) snd_soc_component_compr_free() argument
511 struct snd_soc_component *component; snd_soc_component_compr_trigger() local
532 struct snd_soc_component *component; snd_soc_component_compr_set_params() local
553 struct snd_soc_component *component; snd_soc_component_compr_get_params() local
573 struct snd_soc_component *component; snd_soc_component_compr_get_caps() local
597 struct snd_soc_component *component; snd_soc_component_compr_get_codec_caps() local
620 struct snd_soc_component *component; snd_soc_component_compr_ack() local
641 struct snd_soc_component *component; snd_soc_component_compr_pointer() local
661 struct snd_soc_component *component; snd_soc_component_compr_copy() local
685 struct snd_soc_component *component; snd_soc_component_compr_set_metadata() local
706 struct snd_soc_component *component; snd_soc_component_compr_get_metadata() local
722 soc_component_read_no_lock( struct snd_soc_component *component, unsigned int reg) soc_component_read_no_lock() argument
751 snd_soc_component_read(struct snd_soc_component *component, unsigned int reg) snd_soc_component_read() argument
764 soc_component_write_no_lock( struct snd_soc_component *component, unsigned int reg, unsigned int val) soc_component_write_no_lock() argument
786 snd_soc_component_write(struct snd_soc_component *component, unsigned int reg, unsigned int val) snd_soc_component_write() argument
799 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
831 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
867 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
894 snd_soc_component_read_field(struct snd_soc_component *component, unsigned int reg, unsigned int mask) snd_soc_component_read_field() argument
916 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
934 snd_soc_component_async_complete(struct snd_soc_component *component) snd_soc_component_async_complete() argument
953 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
967 struct snd_soc_component *component; snd_soc_pcm_component_pointer() local
978 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
997 struct snd_soc_component *component; snd_soc_pcm_component_delay() local
1024 struct snd_soc_component *component; snd_soc_pcm_component_ioctl() local
1041 struct snd_soc_component *component; snd_soc_pcm_component_sync_stop() local
1061 struct snd_soc_component *component; snd_soc_pcm_component_copy() local
1078 struct snd_soc_component *component; snd_soc_pcm_component_page() local
1099 struct snd_soc_component *component; snd_soc_pcm_component_mmap() local
1115 struct snd_soc_component *component; snd_soc_pcm_component_new() local
1132 struct snd_soc_component *component; snd_soc_pcm_component_free() local
1146 struct snd_soc_component *component; snd_soc_pcm_component_prepare() local
1164 struct snd_soc_component *component; snd_soc_pcm_component_hw_params() local
1185 struct snd_soc_component *component; snd_soc_pcm_component_hw_free() local
1203 soc_component_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) soc_component_trigger() argument
1219 struct snd_soc_component *component; snd_soc_pcm_component_trigger() local
1253 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_get() local
1272 struct snd_soc_component *component; snd_soc_pcm_component_pm_runtime_put() local
1290 struct snd_soc_component *component; snd_soc_pcm_component_ack() local
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dsoc-component.h3 * soc-component.h
28 /* component interface */
30 int (*open)(struct snd_soc_component *component,
32 int (*free)(struct snd_soc_component *component,
34 int (*set_params)(struct snd_soc_component *component,
37 int (*get_params)(struct snd_soc_component *component,
40 int (*set_metadata)(struct snd_soc_component *component,
43 int (*get_metadata)(struct snd_soc_component *component,
46 int (*trigger)(struct snd_soc_component *component,
48 int (*pointer)(struct snd_soc_component *component,
284 snd_soc_component_get_dapm( struct snd_soc_component *component) snd_soc_component_get_dapm() argument
298 snd_soc_component_init_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) snd_soc_component_init_bias_level() argument
312 snd_soc_component_get_bias_level(struct snd_soc_component *component) snd_soc_component_get_bias_level() argument
327 snd_soc_component_force_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) snd_soc_component_force_bias_level() argument
355 snd_soc_component_cache_sync( struct snd_soc_component *component) snd_soc_component_cache_sync() argument
438 snd_soc_component_active(struct snd_soc_component *component) snd_soc_component_active() argument
[all...]
/kernel/linux/linux-5.10/include/sound/
H A Dsoc-component.h3 * soc-component.h
28 /* component interface */
30 int (*open)(struct snd_soc_component *component,
32 int (*free)(struct snd_soc_component *component,
34 int (*set_params)(struct snd_soc_component *component,
37 int (*get_params)(struct snd_soc_component *component,
40 int (*set_metadata)(struct snd_soc_component *component,
43 int (*get_metadata)(struct snd_soc_component *component,
46 int (*trigger)(struct snd_soc_component *component,
48 int (*pointer)(struct snd_soc_component *component,
256 snd_soc_component_get_dapm( struct snd_soc_component *component) snd_soc_component_get_dapm() argument
270 snd_soc_component_init_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) snd_soc_component_init_bias_level() argument
284 snd_soc_component_get_bias_level(struct snd_soc_component *component) snd_soc_component_get_bias_level() argument
299 snd_soc_component_force_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) snd_soc_component_force_bias_level() argument
327 snd_soc_component_cache_sync( struct snd_soc_component *component) snd_soc_component_cache_sync() argument
404 snd_soc_component_active(struct snd_soc_component *component) snd_soc_component_active() argument
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Dcomponent.c5 * This is work in progress. We gather up the component devices into a list,
10 #include <linux/component.h>
21 * The component helper allows drivers to collect a pile of sub-devices,
24 * of_clk_get_by_name(). The component helper can be used when such a
25 * subsystem-specific way to find a device is not available: The component
32 * The component helper also doesn't solve runtime dependencies, e.g. for system
38 * Aggregate drivers first assemble a component match list of what they need
44 struct component;
51 struct component *component; member
71 struct component { global() struct
104 struct component *component = match->compare[i].component; component_devices_show() local
234 try_to_bring_up_master(struct master *master, struct component *component) try_to_bring_up_master() argument
268 try_to_bring_up_masters(struct component *component) try_to_bring_up_masters() argument
527 component_unbind(struct component *component, struct master *master, void *data) component_unbind() argument
570 component_bind(struct component *component, struct master *master, void *data) component_bind() argument
669 struct component *component; __component_add() local
759 struct component *c, *component = NULL; component_del() local
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwm8961.c194 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8961_hp_event() local
195 u16 hp_reg = snd_soc_component_read(component, WM8961_ANALOGUE_HP_0); in wm8961_hp_event()
196 u16 cp_reg = snd_soc_component_read(component, WM8961_CHARGE_PUMP_1); in wm8961_hp_event()
197 u16 pwr_reg = snd_soc_component_read(component, WM8961_PWR_MGMT_2); in wm8961_hp_event()
198 u16 dcs_reg = snd_soc_component_read(component, WM8961_DC_SERVO_1); in wm8961_hp_event()
204 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
208 snd_soc_component_write(component, WM8961_CHARGE_PUMP_1, cp_reg); in wm8961_hp_event()
213 snd_soc_component_write(component, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event()
217 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
221 snd_soc_component_write(component, WM8961_ANALOGUE_HP_ in wm8961_hp_event()
286 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wm8961_spk_event() local
505 struct snd_soc_component *component = dai->component; wm8961_hw_params() local
596 struct snd_soc_component *component = dai->component; wm8961_set_sysclk() local
623 struct snd_soc_component *component = dai->component; wm8961_set_fmt() local
690 struct snd_soc_component *component = dai->component; wm8961_set_tristate() local
703 struct snd_soc_component *component = dai->component; wm8961_mute() local
718 struct snd_soc_component *component = dai->component; wm8961_set_clkdiv() local
743 wm8961_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm8961_set_bias_level() argument
832 wm8961_probe(struct snd_soc_component *component) wm8961_probe() argument
874 wm8961_resume(struct snd_soc_component *component) wm8961_resume() argument
[all...]
H A Dtlv320dac33.c52 struct snd_soc_component *component);
54 struct snd_soc_component *component);
80 struct snd_soc_component *component; member
160 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache() argument
163 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read_reg_cache()
171 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache() argument
174 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_write_reg_cache()
182 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read() argument
185 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read()
194 dev_err(component in dac33_read()
208 dac33_write(struct snd_soc_component *component, unsigned int reg, unsigned int value) dac33_write() argument
235 dac33_write_locked(struct snd_soc_component *component, unsigned int reg, unsigned int value) dac33_write_locked() argument
249 dac33_write16(struct snd_soc_component *component, unsigned int reg, unsigned int value) dac33_write16() argument
282 dac33_init_chip(struct snd_soc_component *component) dac33_init_chip() argument
321 dac33_read_id(struct snd_soc_component *component) dac33_read_id() argument
335 dac33_soft_power(struct snd_soc_component *component, int power) dac33_soft_power() argument
348 dac33_disable_digital(struct snd_soc_component *component) dac33_disable_digital() argument
363 dac33_hard_power(struct snd_soc_component *component, int power) dac33_hard_power() argument
414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); dac33_playback_event() local
434 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); dac33_get_fifo_mode() local
445 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); dac33_set_fifo_mode() local
612 dac33_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) dac33_set_bias_level() argument
647 struct snd_soc_component *component = dac33->component; dac33_prefill_handler() local
693 struct snd_soc_component *component = dac33->component; dac33_playback_handler() local
718 struct snd_soc_component *component; dac33_work() local
752 struct snd_soc_component *component = dev; dac33_interrupt_handler() local
767 dac33_oscwait(struct snd_soc_component *component) dac33_oscwait() argument
784 struct snd_soc_component *component = dai->component; dac33_startup() local
796 struct snd_soc_component *component = dai->component; dac33_shutdown() local
808 struct snd_soc_component *component = dai->component; dac33_hw_params() local
850 dac33_prepare_chip(struct snd_pcm_substream *substream, struct snd_soc_component *component) dac33_prepare_chip() argument
1048 dac33_calculate_times(struct snd_pcm_substream *substream, struct snd_soc_component *component) dac33_calculate_times() argument
1108 struct snd_soc_component *component = dai->component; dac33_pcm_trigger() local
1140 struct snd_soc_component *component = dai->component; dac33_dai_delay() local
1284 struct snd_soc_component *component = codec_dai->component; dac33_set_dai_sysclk() local
1314 struct snd_soc_component *component = codec_dai->component; dac33_set_dai_fmt() local
1366 dac33_soc_probe(struct snd_soc_component *component) dac33_soc_probe() argument
1412 dac33_soc_remove(struct snd_soc_component *component) dac33_soc_remove() argument
[all...]
H A Dwm_hubs.c59 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() argument
61 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component); in wait_for_dc_servo()
70 snd_soc_component_write(component, WM8993_DC_SERVO_0, val); in wait_for_dc_servo()
72 dev_dbg(component->dev, "Waiting for DC servo...\n"); in wait_for_dc_servo()
88 reg = snd_soc_component_read(component, WM8993_DC_SERVO_0); in wait_for_dc_servo()
89 dev_dbg(component->dev, "DC servo: %x\n", reg); in wait_for_dc_servo()
93 dev_err(component->dev, "Timed out waiting for DC Servo %x\n", in wait_for_dc_servo()
107 static bool wm_hubs_dac_hp_direct(struct snd_soc_component *component) in wm_hubs_dac_hp_direct() argument
112 reg = snd_soc_component_read(component, WM8993_OUTPUT_MIXER1); in wm_hubs_dac_hp_direct()
115 dev_vdbg(component in wm_hubs_dac_hp_direct()
148 wm_hubs_dcs_cache_get(struct snd_soc_component *component, struct wm_hubs_dcs_cache **entry) wm_hubs_dcs_cache_get() argument
172 wm_hubs_dcs_cache_set(struct snd_soc_component *component, u16 dcs_cfg) wm_hubs_dcs_cache_set() argument
195 wm_hubs_read_dc_servo(struct snd_soc_component *component, u16 *reg_l, u16 *reg_r) wm_hubs_read_dc_servo() argument
241 enable_dc_servo(struct snd_soc_component *component) enable_dc_servo() argument
333 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8993_put_dc_servo() local
498 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); hp_supply_event() local
540 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); hp_event() local
592 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); earpiece_event() local
617 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); lineout_event() local
647 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); micbias_event() local
666 wm_hubs_update_class_w(struct snd_soc_component *component) wm_hubs_update_class_w() argument
696 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); class_w_put_volsw() local
716 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); class_w_put_double() local
1112 wm_hubs_add_analogue_controls(struct snd_soc_component *component) wm_hubs_add_analogue_controls() argument
1154 wm_hubs_add_analogue_routes(struct snd_soc_component *component, int lineout1_diff, int lineout2_diff) wm_hubs_add_analogue_routes() argument
1190 wm_hubs_handle_analogue_pdata(struct snd_soc_component *component, int lineout1_diff, int lineout2_diff, int lineout1fb, int lineout2fb, int jd_scthr, int jd_thr, int micbias1_delay, int micbias2_delay, int micbias1_lvl, int micbias2_lvl) wm_hubs_handle_analogue_pdata() argument
1241 wm_hubs_vmid_ena(struct snd_soc_component *component) wm_hubs_vmid_ena() argument
1257 wm_hubs_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm_hubs_set_bias_level() argument
[all...]
H A Dtwl6040.c65 struct snd_soc_component *component; member
95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent)
97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() argument
99 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read()
100 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read()
122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() argument
125 struct twl6040_data *priv = snd_soc_component_get_drvdata(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() argument
144 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache()
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 Dwm8994.c111 static void wm8958_micd_set_rate(struct snd_soc_component *component) in wm8958_micd_set_rate() argument
113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate()
122 sysclk = snd_soc_component_read(component, WM8994_CLOCKING_1); in wm8958_micd_set_rate()
153 dev_dbg(component->dev, "MICD rate %d,%d for %dHz %s\n", in wm8958_micd_set_rate()
157 snd_soc_component_update_bits(component, WM8958_MIC_DETECT_1, in wm8958_micd_set_rate()
162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
164 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in configure_aif_clock()
202 dev_dbg(component->dev, "Dividing AIF%d clock to %dHz\n", in configure_aif_clock()
208 snd_soc_component_update_bits(component, WM8994_AIF1_CLOCKING_1 + offset, in configure_aif_clock()
215 static int configure_clock(struct snd_soc_component *component) in configure_clock() argument
255 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_clk_sys() local
304 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_drc_sw() local
323 wm8994_set_drc(struct snd_soc_component *component, int drc) wm8994_set_drc() argument
361 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_drc_enum() local
384 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_get_drc_enum() local
395 wm8994_set_retune_mobile(struct snd_soc_component *component, int block) wm8994_set_retune_mobile() argument
468 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_retune_mobile_enum() local
491 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_get_retune_mobile_enum() local
742 wm1811_jackdet_set_mode(struct snd_soc_component *component, u16 mode) wm1811_jackdet_set_mode() argument
765 active_reference(struct snd_soc_component *component) active_reference() argument
782 active_dereference(struct snd_soc_component *component) active_dereference() argument
810 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); clk_sys_event() local
841 vmid_reference(struct snd_soc_component *component) vmid_reference() argument
920 vmid_dereference(struct snd_soc_component *component) vmid_dereference() argument
986 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); vmid_event() local
1001 wm8994_check_class_w_digital(struct snd_soc_component *component) wm8994_check_class_w_digital() argument
1039 wm8994_update_vu_bits(struct snd_soc_component *component) wm8994_update_vu_bits() argument
1059 aif_mclk_set(struct snd_soc_component *component, int aif, bool enable) aif_mclk_set() argument
1101 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif1clk_ev() local
1206 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif2clk_ev() local
1298 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif1clk_late_ev() local
1316 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif2clk_late_ev() local
1334 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); late_enable_ev() local
1367 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); late_disable_ev() local
1409 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); dac_ev() local
1450 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); post_ev() local
1518 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); wm8994_put_class_w() local
2205 _wm8994_set_fll(struct snd_soc_component *component, int id, int src, unsigned int freq_in, unsigned int freq_out) _wm8994_set_fll() argument
2507 struct snd_soc_component *component = dai->component; wm8994_set_dai_sysclk() local
2614 wm8994_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm8994_set_bias_level() argument
2697 wm8994_vmid_mode(struct snd_soc_component *component, enum wm8994_vmid_mode mode) wm8994_vmid_mode() argument
2757 struct snd_soc_component *component = dai->component; wm8994_set_dai_fmt() local
2913 struct snd_soc_component *component = dai->component; wm8994_hw_params() local
3093 struct snd_soc_component *component = dai->component; wm8994_aif3_hw_params() local
3136 struct snd_soc_component *component = codec_dai->component; wm8994_aif_mute() local
3163 struct snd_soc_component *component = codec_dai->component; wm8994_set_tristate() local
3189 struct snd_soc_component *component = dai->component; wm8994_aif2_probe() local
3299 wm8994_component_suspend(struct snd_soc_component *component) wm8994_component_suspend() argument
3318 wm8994_component_resume(struct snd_soc_component *component) wm8994_component_resume() argument
3345 struct snd_soc_component *component = wm8994->hubs.component; wm8994_handle_retune_mobile_pdata() local
3413 struct snd_soc_component *component = wm8994->hubs.component; wm8994_handle_pdata() local
3503 wm8994_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, int micbias) wm8994_mic_detect() argument
3639 struct snd_soc_component *component = priv->hubs.component; wm8994_mic_irq() local
3654 wm1811_micd_stop(struct snd_soc_component *component) wm1811_micd_stop() argument
3670 wm8958_button_det(struct snd_soc_component *component, u16 status) wm8958_button_det() argument
3725 struct snd_soc_component *component = data; wm8958_mic_id() local
3775 struct snd_soc_component *component = wm8994->hubs.component; wm1811_mic_work() local
3814 struct snd_soc_component *component = wm8994->hubs.component; wm1811_jackdet_irq() local
3927 wm8958_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, wm1811_micdet_cb det_cb, void *det_cb_data, wm1811_mic_id_cb id_cb, void *id_cb_data) wm8958_mic_detect() argument
4025 struct snd_soc_component *component = wm8994->hubs.component; wm8958_mic_work() local
4041 struct snd_soc_component *component = wm8994->hubs.component; wm8958_mic_irq() local
4124 struct snd_soc_component *component = data; wm8994_fifo_error() local
4133 struct snd_soc_component *component = data; wm8994_temp_warn() local
4142 struct snd_soc_component *component = data; wm8994_temp_shut() local
4149 wm8994_component_probe(struct snd_soc_component *component) wm8994_component_probe() argument
4570 wm8994_component_remove(struct snd_soc_component *component) wm8994_component_remove() argument
[all...]
H A Dwm8900.c216 static void wm8900_reset(struct snd_soc_component *component) in wm8900_reset() argument
218 snd_soc_component_write(component, WM8900_REG_RESET, 0); in wm8900_reset()
224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() local
225 u16 hpctl1 = snd_soc_component_read(component, WM8900_REG_HPCTL1); in wm8900_hp_event()
232 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
241 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
248 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
252 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
254 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
260 snd_soc_component_write(component, WM8900_REG_HPCTL in wm8900_hp_event()
629 struct snd_soc_component *component = dai->component; wm8900_hw_params() local
745 wm8900_set_fll(struct snd_soc_component *component, int fll_id, unsigned int freq_in, unsigned int freq_out) wm8900_set_fll() argument
818 struct snd_soc_component *component = codec_dai->component; wm8900_set_dai_clkdiv() local
860 struct snd_soc_component *component = codec_dai->component; wm8900_set_dai_fmt() local
972 struct snd_soc_component *component = codec_dai->component; wm8900_mute() local
1023 wm8900_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm8900_set_bias_level() argument
1115 wm8900_suspend(struct snd_soc_component *component) wm8900_suspend() argument
1137 wm8900_resume(struct snd_soc_component *component) wm8900_resume() argument
1170 wm8900_probe(struct snd_soc_component *component) wm8900_probe() argument
[all...]
H A Drt5631.c70 static void rt5631_write_index(struct snd_soc_component *component, in rt5631_write_index() argument
73 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_write_index()
74 snd_soc_component_write(component, RT5631_INDEX_DATA, value); in rt5631_write_index()
80 static unsigned int rt5631_read_index(struct snd_soc_component *component, in rt5631_read_index() argument
85 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_read_index()
86 value = snd_soc_component_read(component, RT5631_INDEX_DATA); in rt5631_read_index()
91 static int rt5631_reset(struct snd_soc_component *component) in rt5631_reset() argument
93 return snd_soc_component_write(component, RT5631_RESET, 0); in rt5631_reset()
186 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_get() local
187 struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component); in rt5631_dmic_get()
197 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); rt5631_dmic_put() local
285 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_sysclk1_source() local
295 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dmic_used() local
303 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacl_to_outmixl() local
313 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacr_to_outmixr() local
323 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacl_to_spkmixl() local
333 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacr_to_spkmixr() local
343 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_adcl_select() local
353 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_adcr_select() local
367 onebit_depop_power_stage(struct snd_soc_component *component, int enable) onebit_depop_power_stage() argument
406 onebit_depop_mute_stage(struct snd_soc_component *component, int enable) onebit_depop_mute_stage() argument
445 depop_seq_power_stage(struct snd_soc_component *component, int enable) depop_seq_power_stage() argument
518 depop_seq_mute_stage(struct snd_soc_component *component, int enable) depop_seq_mute_stage() argument
566 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); hp_event() local
600 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); set_dmic_params() local
1355 struct snd_soc_component *component = dai->component; rt5631_hifi_pcm_params() local
1407 struct snd_soc_component *component = codec_dai->component; rt5631_hifi_codec_set_dai_fmt() local
1459 struct snd_soc_component *component = codec_dai->component; rt5631_hifi_codec_set_dai_sysclk() local
1475 struct snd_soc_component *component = codec_dai->component; rt5631_codec_set_dai_pll() local
1534 rt5631_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) rt5631_set_bias_level() argument
1575 rt5631_probe(struct snd_soc_component *component) rt5631_probe() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm8961.c194 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8961_hp_event() local
195 u16 hp_reg = snd_soc_component_read(component, WM8961_ANALOGUE_HP_0); in wm8961_hp_event()
196 u16 cp_reg = snd_soc_component_read(component, WM8961_CHARGE_PUMP_1); in wm8961_hp_event()
197 u16 pwr_reg = snd_soc_component_read(component, WM8961_PWR_MGMT_2); in wm8961_hp_event()
198 u16 dcs_reg = snd_soc_component_read(component, WM8961_DC_SERVO_1); in wm8961_hp_event()
204 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
208 snd_soc_component_write(component, WM8961_CHARGE_PUMP_1, cp_reg); in wm8961_hp_event()
213 snd_soc_component_write(component, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event()
217 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
221 snd_soc_component_write(component, WM8961_ANALOGUE_HP_ in wm8961_hp_event()
286 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wm8961_spk_event() local
505 struct snd_soc_component *component = dai->component; wm8961_hw_params() local
596 struct snd_soc_component *component = dai->component; wm8961_set_sysclk() local
623 struct snd_soc_component *component = dai->component; wm8961_set_fmt() local
690 struct snd_soc_component *component = dai->component; wm8961_set_tristate() local
703 struct snd_soc_component *component = dai->component; wm8961_mute() local
718 struct snd_soc_component *component = dai->component; wm8961_set_clkdiv() local
743 wm8961_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm8961_set_bias_level() argument
832 wm8961_probe(struct snd_soc_component *component) wm8961_probe() argument
874 wm8961_resume(struct snd_soc_component *component) wm8961_resume() argument
[all...]
H A Dtlv320dac33.c52 struct snd_soc_component *component);
54 struct snd_soc_component *component);
80 struct snd_soc_component *component; member
160 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache() argument
163 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read_reg_cache()
171 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache() argument
174 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_write_reg_cache()
182 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read() argument
185 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read()
194 dev_err(component in dac33_read()
208 dac33_write(struct snd_soc_component *component, unsigned int reg, unsigned int value) dac33_write() argument
235 dac33_write_locked(struct snd_soc_component *component, unsigned int reg, unsigned int value) dac33_write_locked() argument
249 dac33_write16(struct snd_soc_component *component, unsigned int reg, unsigned int value) dac33_write16() argument
282 dac33_init_chip(struct snd_soc_component *component) dac33_init_chip() argument
321 dac33_read_id(struct snd_soc_component *component) dac33_read_id() argument
335 dac33_soft_power(struct snd_soc_component *component, int power) dac33_soft_power() argument
348 dac33_disable_digital(struct snd_soc_component *component) dac33_disable_digital() argument
363 dac33_hard_power(struct snd_soc_component *component, int power) dac33_hard_power() argument
414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); dac33_playback_event() local
434 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); dac33_get_fifo_mode() local
445 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); dac33_set_fifo_mode() local
612 dac33_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) dac33_set_bias_level() argument
647 struct snd_soc_component *component = dac33->component; dac33_prefill_handler() local
693 struct snd_soc_component *component = dac33->component; dac33_playback_handler() local
718 struct snd_soc_component *component; dac33_work() local
752 struct snd_soc_component *component = dev; dac33_interrupt_handler() local
767 dac33_oscwait(struct snd_soc_component *component) dac33_oscwait() argument
784 struct snd_soc_component *component = dai->component; dac33_startup() local
796 struct snd_soc_component *component = dai->component; dac33_shutdown() local
808 struct snd_soc_component *component = dai->component; dac33_hw_params() local
850 dac33_prepare_chip(struct snd_pcm_substream *substream, struct snd_soc_component *component) dac33_prepare_chip() argument
1048 dac33_calculate_times(struct snd_pcm_substream *substream, struct snd_soc_component *component) dac33_calculate_times() argument
1108 struct snd_soc_component *component = dai->component; dac33_pcm_trigger() local
1140 struct snd_soc_component *component = dai->component; dac33_dai_delay() local
1284 struct snd_soc_component *component = codec_dai->component; dac33_set_dai_sysclk() local
1314 struct snd_soc_component *component = codec_dai->component; dac33_set_dai_fmt() local
1364 dac33_soc_probe(struct snd_soc_component *component) dac33_soc_probe() argument
1410 dac33_soc_remove(struct snd_soc_component *component) dac33_soc_remove() argument
[all...]
H A Dwm_hubs.c59 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() argument
61 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component); in wait_for_dc_servo()
70 snd_soc_component_write(component, WM8993_DC_SERVO_0, val); in wait_for_dc_servo()
72 dev_dbg(component->dev, "Waiting for DC servo...\n"); in wait_for_dc_servo()
88 reg = snd_soc_component_read(component, WM8993_DC_SERVO_0); in wait_for_dc_servo()
89 dev_dbg(component->dev, "DC servo: %x\n", reg); in wait_for_dc_servo()
93 dev_err(component->dev, "Timed out waiting for DC Servo %x\n", in wait_for_dc_servo()
107 static bool wm_hubs_dac_hp_direct(struct snd_soc_component *component) in wm_hubs_dac_hp_direct() argument
112 reg = snd_soc_component_read(component, WM8993_OUTPUT_MIXER1); in wm_hubs_dac_hp_direct()
115 dev_vdbg(component in wm_hubs_dac_hp_direct()
148 wm_hubs_dcs_cache_get(struct snd_soc_component *component, struct wm_hubs_dcs_cache **entry) wm_hubs_dcs_cache_get() argument
172 wm_hubs_dcs_cache_set(struct snd_soc_component *component, u16 dcs_cfg) wm_hubs_dcs_cache_set() argument
195 wm_hubs_read_dc_servo(struct snd_soc_component *component, u16 *reg_l, u16 *reg_r) wm_hubs_read_dc_servo() argument
241 enable_dc_servo(struct snd_soc_component *component) enable_dc_servo() argument
333 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8993_put_dc_servo() local
498 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); hp_supply_event() local
540 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); hp_event() local
592 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); earpiece_event() local
617 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); lineout_event() local
647 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); micbias_event() local
666 wm_hubs_update_class_w(struct snd_soc_component *component) wm_hubs_update_class_w() argument
696 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); class_w_put_volsw() local
716 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); class_w_put_double() local
1112 wm_hubs_add_analogue_controls(struct snd_soc_component *component) wm_hubs_add_analogue_controls() argument
1154 wm_hubs_add_analogue_routes(struct snd_soc_component *component, int lineout1_diff, int lineout2_diff) wm_hubs_add_analogue_routes() argument
1190 wm_hubs_handle_analogue_pdata(struct snd_soc_component *component, int lineout1_diff, int lineout2_diff, int lineout1fb, int lineout2fb, int jd_scthr, int jd_thr, int micbias1_delay, int micbias2_delay, int micbias1_lvl, int micbias2_lvl) wm_hubs_handle_analogue_pdata() argument
1241 wm_hubs_vmid_ena(struct snd_soc_component *component) wm_hubs_vmid_ena() argument
1257 wm_hubs_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm_hubs_set_bias_level() argument
[all...]
H A Dtwl6040.c65 struct snd_soc_component *component; member
95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent)
97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() argument
99 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read()
100 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read()
122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() argument
125 struct twl6040_data *priv = snd_soc_component_get_drvdata(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() argument
144 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache()
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 Dwm8994.c111 static void wm8958_micd_set_rate(struct snd_soc_component *component) in wm8958_micd_set_rate() argument
113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate()
122 sysclk = snd_soc_component_read(component, WM8994_CLOCKING_1); in wm8958_micd_set_rate()
153 dev_dbg(component->dev, "MICD rate %d,%d for %dHz %s\n", in wm8958_micd_set_rate()
157 snd_soc_component_update_bits(component, WM8958_MIC_DETECT_1, in wm8958_micd_set_rate()
162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
164 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in configure_aif_clock()
202 dev_dbg(component->dev, "Dividing AIF%d clock to %dHz\n", in configure_aif_clock()
208 snd_soc_component_update_bits(component, WM8994_AIF1_CLOCKING_1 + offset, in configure_aif_clock()
215 static int configure_clock(struct snd_soc_component *component) in configure_clock() argument
255 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_clk_sys() local
304 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_drc_sw() local
323 wm8994_set_drc(struct snd_soc_component *component, int drc) wm8994_set_drc() argument
361 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_drc_enum() local
384 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_get_drc_enum() local
395 wm8994_set_retune_mobile(struct snd_soc_component *component, int block) wm8994_set_retune_mobile() argument
468 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_retune_mobile_enum() local
491 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_get_retune_mobile_enum() local
742 wm1811_jackdet_set_mode(struct snd_soc_component *component, u16 mode) wm1811_jackdet_set_mode() argument
765 active_reference(struct snd_soc_component *component) active_reference() argument
782 active_dereference(struct snd_soc_component *component) active_dereference() argument
810 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); clk_sys_event() local
841 vmid_reference(struct snd_soc_component *component) vmid_reference() argument
920 vmid_dereference(struct snd_soc_component *component) vmid_dereference() argument
986 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); vmid_event() local
1001 wm8994_check_class_w_digital(struct snd_soc_component *component) wm8994_check_class_w_digital() argument
1039 wm8994_update_vu_bits(struct snd_soc_component *component) wm8994_update_vu_bits() argument
1059 aif_mclk_set(struct snd_soc_component *component, int aif, bool enable) aif_mclk_set() argument
1101 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif1clk_ev() local
1206 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif2clk_ev() local
1298 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif1clk_late_ev() local
1316 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif2clk_late_ev() local
1334 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); late_enable_ev() local
1367 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); late_disable_ev() local
1409 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); dac_ev() local
1450 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); post_ev() local
1518 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); wm8994_put_class_w() local
2205 _wm8994_set_fll(struct snd_soc_component *component, int id, int src, unsigned int freq_in, unsigned int freq_out) _wm8994_set_fll() argument
2507 struct snd_soc_component *component = dai->component; wm8994_set_dai_sysclk() local
2614 wm8994_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm8994_set_bias_level() argument
2697 wm8994_vmid_mode(struct snd_soc_component *component, enum wm8994_vmid_mode mode) wm8994_vmid_mode() argument
2757 struct snd_soc_component *component = dai->component; wm8994_set_dai_fmt() local
2913 struct snd_soc_component *component = dai->component; wm8994_hw_params() local
3093 struct snd_soc_component *component = dai->component; wm8994_aif3_hw_params() local
3136 struct snd_soc_component *component = codec_dai->component; wm8994_aif_mute() local
3163 struct snd_soc_component *component = codec_dai->component; wm8994_set_tristate() local
3189 struct snd_soc_component *component = dai->component; wm8994_aif2_probe() local
3299 wm8994_component_suspend(struct snd_soc_component *component) wm8994_component_suspend() argument
3318 wm8994_component_resume(struct snd_soc_component *component) wm8994_component_resume() argument
3345 struct snd_soc_component *component = wm8994->hubs.component; wm8994_handle_retune_mobile_pdata() local
3413 struct snd_soc_component *component = wm8994->hubs.component; wm8994_handle_pdata() local
3503 wm8994_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, int micbias) wm8994_mic_detect() argument
3639 struct snd_soc_component *component = priv->hubs.component; wm8994_mic_irq() local
3654 wm1811_micd_stop(struct snd_soc_component *component) wm1811_micd_stop() argument
3670 wm8958_button_det(struct snd_soc_component *component, u16 status) wm8958_button_det() argument
3725 struct snd_soc_component *component = data; wm8958_mic_id() local
3775 struct snd_soc_component *component = wm8994->hubs.component; wm1811_mic_work() local
3814 struct snd_soc_component *component = wm8994->hubs.component; wm1811_jackdet_irq() local
3927 wm8958_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, wm1811_micdet_cb det_cb, void *det_cb_data, wm1811_mic_id_cb id_cb, void *id_cb_data) wm8958_mic_detect() argument
4025 struct snd_soc_component *component = wm8994->hubs.component; wm8958_mic_work() local
4041 struct snd_soc_component *component = wm8994->hubs.component; wm8958_mic_irq() local
4124 struct snd_soc_component *component = data; wm8994_fifo_error() local
4133 struct snd_soc_component *component = data; wm8994_temp_warn() local
4142 struct snd_soc_component *component = data; wm8994_temp_shut() local
4149 wm8994_component_probe(struct snd_soc_component *component) wm8994_component_probe() argument
4570 wm8994_component_remove(struct snd_soc_component *component) wm8994_component_remove() 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
2006 rt5640_dmic_enable(struct snd_soc_component *component, bool dmic1_data_pin, bool dmic2_data_pin) rt5640_dmic_enable() argument
2032 rt5640_sel_asrc_clk_src(struct snd_soc_component *component, unsigned int filter_mask, unsigned int clk_src) rt5640_sel_asrc_clk_src() argument
2102 rt5640_enable_micbias1_for_ovcd(struct snd_soc_component *component) rt5640_enable_micbias1_for_ovcd() argument
2118 rt5640_disable_micbias1_for_ovcd(struct snd_soc_component *component) rt5640_disable_micbias1_for_ovcd() argument
2133 rt5640_enable_micbias1_ovcd_irq(struct snd_soc_component *component) rt5640_enable_micbias1_ovcd_irq() argument
2142 rt5640_disable_micbias1_ovcd_irq(struct snd_soc_component *component) rt5640_disable_micbias1_ovcd_irq() argument
2151 rt5640_clear_micbias1_ovcd(struct snd_soc_component *component) rt5640_clear_micbias1_ovcd() argument
2157 rt5640_micbias1_ovcd(struct snd_soc_component *component) rt5640_micbias1_ovcd() argument
2167 rt5640_jack_inserted(struct snd_soc_component *component) rt5640_jack_inserted() argument
2194 rt5640_start_button_press_work(struct snd_soc_component *component) rt5640_start_button_press_work() argument
2211 struct snd_soc_component *component = rt5640->component; rt5640_button_press_work() local
2260 rt5640_detect_headset(struct snd_soc_component *component, struct gpio_desc *hp_det_gpio) rt5640_detect_headset() argument
2315 struct snd_soc_component *component = rt5640->component; rt5640_jack_work() local
2433 rt5640_set_ovcd_params(struct snd_soc_component *component) rt5640_set_ovcd_params() argument
2458 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
2586 rt5640_enable_hda_jack_detect( struct snd_soc_component *component, struct snd_soc_jack *jack) rt5640_enable_hda_jack_detect() argument
2637 rt5640_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *data) rt5640_set_jack() argument
2654 rt5640_probe(struct snd_soc_component *component) rt5640_probe() argument
2791 rt5640_remove(struct snd_soc_component *component) rt5640_remove() argument
2797 rt5640_suspend(struct snd_soc_component *component) rt5640_suspend() argument
2817 rt5640_resume(struct snd_soc_component *component) rt5640_resume() 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_get_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
759 da7219_aad_handle_pdata(struct snd_soc_component *component) da7219_aad_handle_pdata() argument
892 da7219_aad_handle_gnd_switch_time(struct snd_soc_component *component) da7219_aad_handle_gnd_switch_time() argument
923 da7219_aad_suspend(struct snd_soc_component *component) da7219_aad_suspend() argument
954 da7219_aad_resume(struct snd_soc_component *component) da7219_aad_resume() argument
981 da7219_aad_init(struct snd_soc_component *component) da7219_aad_init() argument
1026 da7219_aad_exit(struct snd_soc_component *component) da7219_aad_exit() argument
[all...]
H A Dwm8900.c216 static void wm8900_reset(struct snd_soc_component *component) in wm8900_reset() argument
218 snd_soc_component_write(component, WM8900_REG_RESET, 0); in wm8900_reset()
224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() local
225 u16 hpctl1 = snd_soc_component_read(component, WM8900_REG_HPCTL1); in wm8900_hp_event()
232 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
241 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
248 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
252 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
254 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
260 snd_soc_component_write(component, WM8900_REG_HPCTL in wm8900_hp_event()
629 struct snd_soc_component *component = dai->component; wm8900_hw_params() local
745 wm8900_set_fll(struct snd_soc_component *component, int fll_id, unsigned int freq_in, unsigned int freq_out) wm8900_set_fll() argument
818 struct snd_soc_component *component = codec_dai->component; wm8900_set_dai_clkdiv() local
860 struct snd_soc_component *component = codec_dai->component; wm8900_set_dai_fmt() local
972 struct snd_soc_component *component = codec_dai->component; wm8900_mute() local
1023 wm8900_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) wm8900_set_bias_level() argument
1115 wm8900_suspend(struct snd_soc_component *component) wm8900_suspend() argument
1137 wm8900_resume(struct snd_soc_component *component) wm8900_resume() argument
1170 wm8900_probe(struct snd_soc_component *component) wm8900_probe() argument
[all...]
H A Drt5631.c70 static void rt5631_write_index(struct snd_soc_component *component, in rt5631_write_index() argument
73 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_write_index()
74 snd_soc_component_write(component, RT5631_INDEX_DATA, value); in rt5631_write_index()
80 static unsigned int rt5631_read_index(struct snd_soc_component *component, in rt5631_read_index() argument
85 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_read_index()
86 value = snd_soc_component_read(component, RT5631_INDEX_DATA); in rt5631_read_index()
91 static int rt5631_reset(struct snd_soc_component *component) in rt5631_reset() argument
93 return snd_soc_component_write(component, RT5631_RESET, 0); in rt5631_reset()
186 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_get() local
187 struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component); in rt5631_dmic_get()
197 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); rt5631_dmic_put() local
285 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_sysclk1_source() local
295 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dmic_used() local
303 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacl_to_outmixl() local
313 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacr_to_outmixr() local
323 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacl_to_spkmixl() local
333 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_dacr_to_spkmixr() local
343 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_adcl_select() local
353 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_adcr_select() local
367 onebit_depop_power_stage(struct snd_soc_component *component, int enable) onebit_depop_power_stage() argument
406 onebit_depop_mute_stage(struct snd_soc_component *component, int enable) onebit_depop_mute_stage() argument
445 depop_seq_power_stage(struct snd_soc_component *component, int enable) depop_seq_power_stage() argument
518 depop_seq_mute_stage(struct snd_soc_component *component, int enable) depop_seq_mute_stage() argument
566 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); hp_event() local
600 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); set_dmic_params() local
1355 struct snd_soc_component *component = dai->component; rt5631_hifi_pcm_params() local
1407 struct snd_soc_component *component = codec_dai->component; rt5631_hifi_codec_set_dai_fmt() local
1459 struct snd_soc_component *component = codec_dai->component; rt5631_hifi_codec_set_dai_sysclk() local
1475 struct snd_soc_component *component = codec_dai->component; rt5631_codec_set_dai_pll() local
1534 rt5631_set_bias_level(struct snd_soc_component *component, enum snd_soc_bias_level level) rt5631_set_bias_level() argument
1575 rt5631_probe(struct snd_soc_component *component) rt5631_probe() argument
[all...]
/kernel/linux/linux-6.6/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; component_devices_show() local
227 try_to_bring_up_aggregate_device(struct aggregate_device *adev, struct component *component) try_to_bring_up_aggregate_device() argument
262 try_to_bring_up_masters(struct component *component) try_to_bring_up_masters() argument
572 component_unbind(struct component *component, struct aggregate_device *adev, void *data) component_unbind() argument
615 component_bind(struct component *component, struct aggregate_device *adev, void *data) component_bind() argument
714 struct component *component; __component_add() local
804 struct component *c, *component = NULL; component_del() local
[all...]
/kernel/linux/linux-5.10/sound/soc/meson/
H A Daiu-encoder-i2s.c30 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable() argument
33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_divider_enable()
38 static int aiu_encoder_i2s_setup_desc(struct snd_soc_component *component, in aiu_encoder_i2s_setup_desc() argument
45 snd_soc_component_write(component, AIU_RST_SOFT, AIU_RST_SOFT_I2S_FAST); in aiu_encoder_i2s_setup_desc()
46 snd_soc_component_read(component, AIU_I2S_SYNC); in aiu_encoder_i2s_setup_desc()
71 snd_soc_component_update_bits(component, AIU_I2S_SOURCE_DESC, in aiu_encoder_i2s_setup_desc()
81 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div() argument
94 dev_err(component->dev, "Unsupported i2s divider: %u\n", bs); in aiu_encoder_i2s_set_legacy_div()
98 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_set_legacy_div()
103 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MOR in aiu_encoder_i2s_set_legacy_div()
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...]
/kernel/linux/linux-6.6/sound/soc/meson/
H A Daiu-encoder-i2s.c30 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable() argument
33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_divider_enable()
38 static int aiu_encoder_i2s_setup_desc(struct snd_soc_component *component, in aiu_encoder_i2s_setup_desc() argument
45 snd_soc_component_write(component, AIU_RST_SOFT, AIU_RST_SOFT_I2S_FAST); in aiu_encoder_i2s_setup_desc()
46 snd_soc_component_read(component, AIU_I2S_SYNC); in aiu_encoder_i2s_setup_desc()
71 snd_soc_component_update_bits(component, AIU_I2S_SOURCE_DESC, in aiu_encoder_i2s_setup_desc()
81 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div() argument
94 dev_err(component->dev, "Unsupported i2s divider: %u\n", bs); in aiu_encoder_i2s_set_legacy_div()
98 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_set_legacy_div()
103 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MOR in aiu_encoder_i2s_set_legacy_div()
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...]

Completed in 25 milliseconds

12345678910>>...63