Home
last modified time | relevance | path

Searched refs:snd_soc_component (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/linux/include/sound/
H A Dsoc-component.h30 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,
51 int (*copy)(struct snd_soc_component *component,
54 int (*mmap)(struct snd_soc_component *component,
[all …]
H A Dsoc-topology.h24 struct snd_soc_component;
65 int (*unload)(struct snd_soc_component *comp, struct snd_soc_dobj *dobj);
111 int (*control_load)(struct snd_soc_component *, int index,
113 int (*control_unload)(struct snd_soc_component *,
117 int (*dapm_route_load)(struct snd_soc_component *, int index,
119 int (*dapm_route_unload)(struct snd_soc_component *,
123 int (*widget_load)(struct snd_soc_component *, int index,
126 int (*widget_ready)(struct snd_soc_component *, int index,
129 int (*widget_unload)(struct snd_soc_component *,
133 int (*dai_load)(struct snd_soc_component *, int index,
[all …]
H A Dpxa2xx-lib.h13 struct snd_soc_component;
23 extern int pxa2xx_soc_pcm_new(struct snd_soc_component *component,
25 extern int pxa2xx_soc_pcm_open(struct snd_soc_component *component,
27 extern int pxa2xx_soc_pcm_close(struct snd_soc_component *component,
29 extern int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component,
32 extern int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component,
34 extern int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component,
37 pxa2xx_soc_pcm_pointer(struct snd_soc_component *component,
H A Dsoc-usb.h54 struct snd_soc_component *component;
58 int (*update_offload_route_info)(struct snd_soc_component *component,
74 int snd_soc_usb_setup_offload_jack(struct snd_soc_component *component,
80 struct snd_soc_usb *snd_soc_usb_allocate_port(struct snd_soc_component *component,
110 static inline int snd_soc_usb_setup_offload_jack(struct snd_soc_component *component, in snd_soc_usb_setup_offload_jack()
124 snd_soc_usb_allocate_port(struct snd_soc_component *component, void *data) in snd_soc_usb_allocate_port()
/linux/sound/soc/codecs/
H A Dwcd-mbhc-v2.h197 bool (*swap_gnd_mic)(struct snd_soc_component *component);
233 void (*update_cross_conn_thr)(struct snd_soc_component *component);
234 void (*get_micbias_val)(struct snd_soc_component *component, int *mb);
235 void (*bcs_enable)(struct snd_soc_component *component, bool bcs_enable);
236 void (*compute_impedance)(struct snd_soc_component *component,
238 void (*set_micbias_value)(struct snd_soc_component *component);
239 void (*set_auto_zeroing)(struct snd_soc_component *component,
241 void (*clk_setup)(struct snd_soc_component *component, bool enable);
242 bool (*micbias_enable_status)(struct snd_soc_component *component, int micb_num);
243 void (*mbhc_bias)(struct snd_soc_component *component, bool enable);
[all …]
H A Dwm_hubs.h18 struct snd_soc_component;
34 bool (*check_class_w_digital)(struct snd_soc_component *);
50 struct snd_soc_component *component;
53 extern int wm_hubs_add_analogue_controls(struct snd_soc_component *);
54 extern int wm_hubs_add_analogue_routes(struct snd_soc_component *, int, int);
55 extern int wm_hubs_handle_analogue_pdata(struct snd_soc_component *,
63 extern void wm_hubs_vmid_ena(struct snd_soc_component *component);
64 extern void wm_hubs_set_bias_level(struct snd_soc_component *component,
66 extern void wm_hubs_update_class_w(struct snd_soc_component *component);
H A Dwcd-clsh-v2.c19 struct snd_soc_component *comp;
122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block()
133 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode()
147 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode()
161 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode()
179 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl()
194 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_buck_ctrl()
228 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_flyback_ctrl()
248 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_set_gain_path()
273 static void wcd_clsh_v2_set_hph_mode(struct snd_soc_component *comp, int mode) in wcd_clsh_v2_set_hph_mode()
[all …]
H A Dtwl6040.c65 struct snd_soc_component *component;
97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read()
122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip()
141 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache()
159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write()
174 static void twl6040_init_chip(struct snd_soc_component *component) in twl6040_init_chip()
200 static int headset_power_mode(struct snd_soc_component *component, int high_perf) in headset_power_mode()
225 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_hs_dac_event()
252 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_ep_drv_event()
270 static void twl6040_hs_jack_report(struct snd_soc_component *component, in twl6040_hs_jack_report()
[all …]
H A Dwm_adsp.h33 struct snd_soc_component *component;
87 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component);
88 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component);
121 int wm_adsp_compr_free(struct snd_soc_component *component,
123 int wm_adsp_compr_set_params(struct snd_soc_component *component,
126 int wm_adsp_compr_get_caps(struct snd_soc_component *component,
129 int wm_adsp_compr_trigger(struct snd_soc_component *component,
132 int wm_adsp_compr_pointer(struct snd_soc_component *component,
135 int wm_adsp_compr_copy(struct snd_soc_component *component,
H A Dtwl6040.h23 int twl6040_get_dl1_gain(struct snd_soc_component *component);
24 void twl6040_hs_jack_detect(struct snd_soc_component *component,
26 int twl6040_get_clk_id(struct snd_soc_component *component);
27 int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim);
28 int twl6040_get_hs_step_size(struct snd_soc_component *component);
H A Dda7219-aad.h189 struct snd_soc_component *component;
209 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
212 void da7219_aad_suspend(struct snd_soc_component *component);
213 void da7219_aad_resume(struct snd_soc_component *component);
216 int da7219_aad_init(struct snd_soc_component *component);
217 void da7219_aad_exit(struct snd_soc_component *component);
H A Dak5386.c39 static int ak5386_soc_probe(struct snd_soc_component *component) in ak5386_soc_probe()
45 static void ak5386_soc_remove(struct snd_soc_component *component) in ak5386_soc_remove()
52 static int ak5386_soc_suspend(struct snd_soc_component *component) in ak5386_soc_suspend()
59 static int ak5386_soc_resume(struct snd_soc_component *component) in ak5386_soc_resume()
86 struct snd_soc_component *component = codec_dai->component; in ak5386_set_dai_fmt()
102 struct snd_soc_component *component = dai->component; in ak5386_hw_params()
123 struct snd_soc_component *component = dai->component; in ak5386_hw_free()
H A Dadav80x.c214 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_sysclk_check()
238 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_pll_check()
283 static int adav80x_set_deemph(struct snd_soc_component *component) in adav80x_set_deemph()
317 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in adav80x_put_deemph()
332 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in adav80x_get_deemph()
367 struct snd_soc_component *component = dai->component; in adav80x_set_dai_fmt()
418 static int adav80x_set_adc_clock(struct snd_soc_component *component, in adav80x_set_adc_clock()
435 static int adav80x_set_dac_clock(struct snd_soc_component *component, in adav80x_set_dac_clock()
453 static int adav80x_set_capture_pcm_format(struct snd_soc_component *component, in adav80x_set_capture_pcm_format()
482 static int adav80x_set_playback_pcm_format(struct snd_soc_component *component, in adav80x_set_playback_pcm_format()
[all …]
H A Dtwl4030.c80 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read()
145 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write()
180 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable()
218 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params()
241 static int twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip()
331 static void twl4030_apll_enable(struct snd_soc_component *component, int enable) in twl4030_apll_enable()
556 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); \
578 static void handsfree_ramp(struct snd_soc_component *component, int reg, int ramp) in handsfree_ramp()
611 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreelpga_event()
627 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreerpga_event()
[all …]
H A Dwm8958-dsp2.c41 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw()
188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) in wm8958_dsp_start_mbc()
232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) in wm8958_dsp_start_vss()
293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) in wm8958_dsp_start_enh_eq()
324 static void wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) in wm8958_dsp_apply()
414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8958_aif_ev()
456 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_put_mbc_enum()
478 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_get_mbc_enum()
500 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_mbc_get()
512 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_mbc_put()
[all …]
H A Darizona.h311 int arizona_set_sysclk(struct snd_soc_component *component, int clk_id, int source,
335 int arizona_dvfs_up(struct snd_soc_component *component, unsigned int flags);
336 int arizona_dvfs_down(struct snd_soc_component *component, unsigned int flags);
348 int arizona_init_spk(struct snd_soc_component *component);
349 int arizona_init_gpio(struct snd_soc_component *component);
350 int arizona_init_mono(struct snd_soc_component *component);
360 int arizona_set_output_mode(struct snd_soc_component *component, int output,
363 bool arizona_input_analog(struct snd_soc_component *component, int shift);
367 static inline int arizona_register_notifier(struct snd_soc_component *component, in arizona_register_notifier()
381 static inline int arizona_unregister_notifier(struct snd_soc_component *component, in arizona_unregister_notifier()
[all …]
/linux/sound/soc/
H A Dsoc-component.c17 static inline int _soc_component_ret(struct snd_soc_component *component, const char *func, int ret) in _soc_component_ret()
24 static inline int _soc_component_ret_reg_rw(struct snd_soc_component *component, in _soc_component_ret_reg_rw()
32 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift()
52 void snd_soc_component_set_aux(struct snd_soc_component *component, in snd_soc_component_set_aux()
58 int snd_soc_component_init(struct snd_soc_component *component) in snd_soc_component_init()
78 int snd_soc_component_set_sysclk(struct snd_soc_component *component, in snd_soc_component_set_sysclk()
102 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id, in snd_soc_component_set_pll()
116 void snd_soc_component_seq_notifier(struct snd_soc_component *component, in snd_soc_component_seq_notifier()
123 int snd_soc_component_stream_event(struct snd_soc_component *component, in snd_soc_component_stream_event()
134 int snd_soc_component_set_bias_level(struct snd_soc_component *component, in snd_soc_component_set_bias_level()
[all …]
/linux/sound/soc/generic/
H A Dtest-component.c249 static int test_component_probe(struct snd_soc_component *component) in test_component_probe()
256 static void test_component_remove(struct snd_soc_component *component) in test_component_remove()
261 static int test_component_suspend(struct snd_soc_component *component) in test_component_suspend()
268 static int test_component_resume(struct snd_soc_component *component) in test_component_resume()
276 static int test_component_pcm_construct(struct snd_soc_component *component, in test_component_pcm_construct()
290 static void test_component_pcm_destruct(struct snd_soc_component *component, in test_component_pcm_destruct()
296 static int test_component_set_sysclk(struct snd_soc_component *component, in test_component_set_sysclk()
304 static int test_component_set_pll(struct snd_soc_component *component, int pll_id, in test_component_set_pll()
312 static int test_component_set_jack(struct snd_soc_component *component, in test_component_set_jack()
320 static void test_component_seq_notifier(struct snd_soc_component *component, in test_component_seq_notifier()
[all …]
/linux/sound/soc/meson/
H A Daxg-fifo.h75 int axg_fifo_pcm_open(struct snd_soc_component *component,
77 int axg_fifo_pcm_close(struct snd_soc_component *component,
79 int axg_fifo_pcm_hw_params(struct snd_soc_component *component,
82 int g12a_fifo_pcm_hw_params(struct snd_soc_component *component,
85 int axg_fifo_pcm_hw_free(struct snd_soc_component *component,
87 snd_pcm_uframes_t axg_fifo_pcm_pointer(struct snd_soc_component *component,
89 int axg_fifo_pcm_trigger(struct snd_soc_component *component,
H A Daiu-encoder-i2s.c30 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, 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()
81 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div()
111 static int aiu_encoder_i2s_set_more_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_more_div()
144 static int aiu_encoder_i2s_set_clocks(struct snd_soc_component *component, in aiu_encoder_i2s_set_clocks()
191 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_params()
217 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_free()
226 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_set_fmt()
/linux/sound/soc/tegra/
H A Dtegra_pcm.h23 int tegra_pcm_construct(struct snd_soc_component *component,
25 int tegra_pcm_open(struct snd_soc_component *component,
27 int tegra_pcm_close(struct snd_soc_component *component,
29 int tegra_pcm_hw_params(struct snd_soc_component *component,
32 snd_pcm_uframes_t tegra_pcm_pointer(struct snd_soc_component *component,
/linux/sound/soc/sof/
H A Dcontrol.c23 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_get()
38 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_put()
75 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_get()
90 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_put()
105 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_enum_get()
120 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_enum_put()
135 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_get()
150 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_put()
166 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_ext_put()
185 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_ext_volatile_get()
[all …]
/linux/sound/soc/mediatek/common/
H A Dmtk-afe-platform-driver.h17 struct snd_soc_component;
20 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component,
22 int mtk_afe_pcm_new(struct snd_soc_component *component,
26 int mtk_afe_add_sub_dai_control(struct snd_soc_component *component);
/linux/sound/arm/
H A Dpxa2xx-pcm-lib.c134 int pxa2xx_soc_pcm_new(struct snd_soc_component *component, in pxa2xx_soc_pcm_new()
149 int pxa2xx_soc_pcm_open(struct snd_soc_component *component, in pxa2xx_soc_pcm_open()
156 int pxa2xx_soc_pcm_close(struct snd_soc_component *component, in pxa2xx_soc_pcm_close()
163 int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component, in pxa2xx_soc_pcm_hw_params()
171 int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component, in pxa2xx_soc_pcm_prepare()
178 int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component, in pxa2xx_soc_pcm_trigger()
186 pxa2xx_soc_pcm_pointer(struct snd_soc_component *component, in pxa2xx_soc_pcm_pointer()
/linux/sound/soc/codecs/aw88395/
H A Daw88395.c107 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_get_fade_in_time()
119 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_set_fade_in_time()
142 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_get_fade_out_time()
154 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_set_fade_out_time()
176 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_profile_info()
211 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_profile_get()
222 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_profile_set()
248 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_volume_get()
260 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_volume_set()
284 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_get_fade_step()
[all …]

12345678910>>...20