Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v5.15/include/sound/
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 …]
Dsoc-topology.h24 struct snd_soc_component;
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,
137 int (*dai_unload)(struct snd_soc_component *,
[all …]
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,
/Linux-v5.15/sound/soc/codecs/
Dwcd-mbhc-v2.h196 bool (*swap_gnd_mic)(struct snd_soc_component *component, bool active);
232 void (*update_cross_conn_thr)(struct snd_soc_component *component);
233 void (*get_micbias_val)(struct snd_soc_component *component, int *mb);
234 void (*bcs_enable)(struct snd_soc_component *component, bool bcs_enable);
235 void (*compute_impedance)(struct snd_soc_component *component,
237 void (*set_micbias_value)(struct snd_soc_component *component);
238 void (*set_auto_zeroing)(struct snd_soc_component *component,
240 void (*clk_setup)(struct snd_soc_component *component, bool enable);
241 bool (*micbias_enable_status)(struct snd_soc_component *component, int micb_num);
242 void (*mbhc_bias)(struct snd_soc_component *component, bool enable);
[all …]
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);
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 bool wcd_clsh_enable_status(struct snd_soc_component *comp) in wcd_clsh_enable_status()
139 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode()
153 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode()
167 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode()
185 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl()
200 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_buck_ctrl()
234 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_flyback_ctrl()
254 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_set_gain_path()
[all …]
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 …]
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);
Dwm_adsp.h65 struct snd_soc_component *component;
164 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component);
165 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component);
193 int wm_adsp_compr_free(struct snd_soc_component *component,
195 int wm_adsp_compr_set_params(struct snd_soc_component *component,
198 int wm_adsp_compr_get_caps(struct snd_soc_component *component,
201 int wm_adsp_compr_trigger(struct snd_soc_component *component,
204 int wm_adsp_compr_pointer(struct snd_soc_component *component,
207 int wm_adsp_compr_copy(struct snd_soc_component *component,
Dda7219-aad.h188 struct snd_soc_component *component;
205 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
208 void da7219_aad_suspend(struct snd_soc_component *component);
209 void da7219_aad_resume(struct snd_soc_component *component);
212 int da7219_aad_init(struct snd_soc_component *component);
213 void da7219_aad_exit(struct snd_soc_component *component);
Dtlv320dac33.c52 struct snd_soc_component *component);
54 struct snd_soc_component *component);
80 struct snd_soc_component *component;
160 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache()
171 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache()
182 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read()
208 static int dac33_write(struct snd_soc_component *component, unsigned int reg, in dac33_write()
235 static int dac33_write_locked(struct snd_soc_component *component, unsigned int reg, in dac33_write_locked()
249 static int dac33_write16(struct snd_soc_component *component, unsigned int reg, in dac33_write16()
282 static void dac33_init_chip(struct snd_soc_component *component) in dac33_init_chip()
[all …]
Dak5386.c38 static int ak5386_soc_probe(struct snd_soc_component *component) in ak5386_soc_probe()
44 static void ak5386_soc_remove(struct snd_soc_component *component) in ak5386_soc_remove()
51 static int ak5386_soc_suspend(struct snd_soc_component *component) in ak5386_soc_suspend()
58 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()
124 struct snd_soc_component *component = dai->component; in ak5386_hw_free()
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 …]
Dtwl4030.c75 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read()
140 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write()
175 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable()
216 static struct twl4030_codec_data *twl4030_get_pdata(struct snd_soc_component *component) in twl4030_get_pdata()
239 static void 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 …]
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 …]
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-v5.15/sound/soc/
Dsoc-component.c17 static inline int _soc_component_ret(struct snd_soc_component *component, in _soc_component_ret()
38 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift()
58 void snd_soc_component_set_aux(struct snd_soc_component *component, in snd_soc_component_set_aux()
64 int snd_soc_component_init(struct snd_soc_component *component) in snd_soc_component_init()
84 int snd_soc_component_set_sysclk(struct snd_soc_component *component, in snd_soc_component_set_sysclk()
108 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id, in snd_soc_component_set_pll()
122 void snd_soc_component_seq_notifier(struct snd_soc_component *component, in snd_soc_component_seq_notifier()
129 int snd_soc_component_stream_event(struct snd_soc_component *component, in snd_soc_component_stream_event()
140 int snd_soc_component_set_bias_level(struct snd_soc_component *component, in snd_soc_component_set_bias_level()
151 int snd_soc_component_enable_pin(struct snd_soc_component *component, in snd_soc_component_enable_pin()
[all …]
Dsoc-ac97.c50 struct snd_soc_component *component;
53 static inline struct snd_soc_component *gpio_to_component(struct gpio_chip *chip) in gpio_to_component()
71 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_direction_in()
80 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_get()
95 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_set()
107 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_direction_out()
127 struct snd_soc_component *component) in snd_soc_ac97_init_gpio()
154 struct snd_soc_component *component) in snd_soc_ac97_init_gpio()
174 struct snd_ac97 *snd_soc_alloc_ac97_component(struct snd_soc_component *component) in snd_soc_alloc_ac97_component()
213 struct snd_ac97 *snd_soc_new_ac97_component(struct snd_soc_component *component, in snd_soc_new_ac97_component()
/Linux-v5.15/sound/soc/sof/
Dsof-audio.h48 struct snd_soc_component *scomp;
64 struct snd_soc_component *scomp;
82 struct snd_soc_component *scomp;
100 struct snd_soc_component *scomp;
110 struct snd_soc_component *scomp;
157 int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file);
170 int snd_sof_ipc_stream_posn(struct snd_soc_component *scomp,
174 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp,
177 snd_sof_find_swidget_sname(struct snd_soc_component *scomp,
179 struct snd_sof_dai *snd_sof_find_dai(struct snd_soc_component *scomp,
[all …]
/Linux-v5.15/sound/soc/meson/
Daxg-fifo.h79 int axg_fifo_pcm_open(struct snd_soc_component *component,
81 int axg_fifo_pcm_close(struct snd_soc_component *component,
83 int axg_fifo_pcm_hw_params(struct snd_soc_component *component,
86 int g12a_fifo_pcm_hw_params(struct snd_soc_component *component,
89 int axg_fifo_pcm_hw_free(struct snd_soc_component *component,
91 snd_pcm_uframes_t axg_fifo_pcm_pointer(struct snd_soc_component *component,
93 int axg_fifo_pcm_trigger(struct snd_soc_component *component,
Daiu-encoder-i2s.c31 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable()
39 static void aiu_encoder_i2s_hold(struct snd_soc_component *component, in aiu_encoder_i2s_hold()
50 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_trigger()
70 static int aiu_encoder_i2s_setup_desc(struct snd_soc_component *component, in aiu_encoder_i2s_setup_desc()
113 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div()
143 static int aiu_encoder_i2s_set_more_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_more_div()
176 static int aiu_encoder_i2s_set_clocks(struct snd_soc_component *component, in aiu_encoder_i2s_set_clocks()
223 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_params()
249 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_free()
258 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_set_fmt()
/Linux-v5.15/sound/soc/tegra/
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-v5.15/sound/soc/mediatek/common/
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-v5.15/sound/arm/
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-v5.15/sound/soc/pxa/
Dmmp-pcm.c58 static int mmp_pcm_hw_params(struct snd_soc_component *component, in mmp_pcm_hw_params()
81 static int mmp_pcm_trigger(struct snd_soc_component *component, in mmp_pcm_trigger()
87 static snd_pcm_uframes_t mmp_pcm_pointer(struct snd_soc_component *component, in mmp_pcm_pointer()
110 static int mmp_pcm_open(struct snd_soc_component *component, in mmp_pcm_open()
133 static int mmp_pcm_close(struct snd_soc_component *component, in mmp_pcm_close()
139 static int mmp_pcm_mmap(struct snd_soc_component *component, in mmp_pcm_mmap()
152 static void mmp_pcm_free_dma_buffers(struct snd_soc_component *component, in mmp_pcm_free_dma_buffers()
202 static int mmp_pcm_new(struct snd_soc_component *component, in mmp_pcm_new()

12345678910>>...23