Home
last modified time | relevance | path

Searched refs:snd_soc_dapm_widget (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/openbmc/linux/include/sound/
H A Dsoc-dapm.h45 (struct snd_soc_dapm_widget) { \
51 (struct snd_soc_dapm_widget) { \
55 (struct snd_soc_dapm_widget) { \
59 (struct snd_soc_dapm_widget) { \
63 (struct snd_soc_dapm_widget) { \
67 (struct snd_soc_dapm_widget) { \
72 (struct snd_soc_dapm_widget) { \
77 (struct snd_soc_dapm_widget) { \
82 (struct snd_soc_dapm_widget) { \
94 (struct snd_soc_dapm_widget) { \
[all …]
H A Dsoc-topology.h23 struct snd_soc_dapm_widget;
100 int (*event_handler)(struct snd_soc_dapm_widget *w,
124 struct snd_soc_dapm_widget *,
127 struct snd_soc_dapm_widget *,
185 int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w,
/openbmc/linux/sound/soc/
H A Dsoc-dapm.c52 struct snd_soc_dapm_widget *wsource, struct snd_soc_dapm_widget *wsink,
54 int (*connected)(struct snd_soc_dapm_widget *source,
55 struct snd_soc_dapm_widget *sink));
57 struct snd_soc_dapm_widget *
59 const struct snd_soc_dapm_widget *widget);
61 struct snd_soc_dapm_widget *
63 const struct snd_soc_dapm_widget *widget);
183 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget()
188 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
207 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths()
[all …]
/openbmc/linux/include/trace/events/
H A Dasoc.h19 struct snd_soc_dapm_widget;
90 DECLARE_EVENT_CLASS(snd_soc_dapm_widget,
92 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
110 DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_power,
112 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
118 DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_event_start,
120 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
126 DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_event_done,
128 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
161 TP_PROTO(struct snd_soc_dapm_widget *widget,
/openbmc/linux/drivers/staging/greybus/
H A Daudio_helper.c15 static void gbaudio_dapm_link_dai_widget(struct snd_soc_dapm_widget *dai_w, in gbaudio_dapm_link_dai_widget()
18 struct snd_soc_dapm_widget *w; in gbaudio_dapm_link_dai_widget()
19 struct snd_soc_dapm_widget *src, *sink; in gbaudio_dapm_link_dai_widget()
62 struct snd_soc_dapm_widget *dai_w; in gbaudio_dapm_link_component_dai_widgets()
90 static void gbaudio_dapm_free_widget(struct snd_soc_dapm_widget *w) in gbaudio_dapm_free_widget()
113 const struct snd_soc_dapm_widget *widget, in gbaudio_dapm_free_controls()
117 struct snd_soc_dapm_widget *w, *tmp_w; in gbaudio_dapm_free_controls()
/openbmc/linux/sound/soc/meson/
H A Dmeson-codec-glue.c13 static struct snd_soc_dapm_widget *
14 meson_codec_glue_get_input(struct snd_soc_dapm_widget *w) in meson_codec_glue_get_input()
17 struct snd_soc_dapm_widget *in; in meson_codec_glue_get_input()
53 meson_codec_glue_output_get_input_data(struct snd_soc_dapm_widget *w) in meson_codec_glue_output_get_input_data()
55 struct snd_soc_dapm_widget *in = in meson_codec_glue_output_get_input_data()
102 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget_capture(dai); in meson_codec_glue_output_startup()
H A Daxg-tdm-formatter.h14 struct snd_soc_dapm_widget;
22 struct axg_tdm_stream *(*get_stream)(struct snd_soc_dapm_widget *w);
40 int axg_tdm_formatter_event(struct snd_soc_dapm_widget *w,
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-tdm.c99 static int mtk_tdm_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_en_event()
126 static int mtk_tdm_mck_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_mck_en_event()
174 static const struct snd_soc_dapm_widget mtk_dai_tdm_widgets[] = {
198 static int mtk_afe_tdm_mclk_connect(struct snd_soc_dapm_widget *source, in mtk_afe_tdm_mclk_connect()
199 struct snd_soc_dapm_widget *sink) in mtk_afe_tdm_mclk_connect()
201 struct snd_soc_dapm_widget *w = sink; in mtk_afe_tdm_mclk_connect()
211 static int mtk_afe_tdm_mclk_apll_connect(struct snd_soc_dapm_widget *source, in mtk_afe_tdm_mclk_apll_connect()
212 struct snd_soc_dapm_widget *sink) in mtk_afe_tdm_mclk_apll_connect()
214 struct snd_soc_dapm_widget *w = sink; in mtk_afe_tdm_mclk_apll_connect()
228 static int mtk_afe_tdm_hd_connect(struct snd_soc_dapm_widget *source, in mtk_afe_tdm_hd_connect()
[all …]
H A Dmt8186-dai-i2s.c357 static int mtk_i2s_en_event(struct snd_soc_dapm_widget *w, in mtk_i2s_en_event()
384 static int mtk_apll_event(struct snd_soc_dapm_widget *w, in mtk_apll_event()
414 static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w, in mtk_mclk_en_event()
442 static const struct snd_soc_dapm_widget mtk_dai_i2s_widgets[] = {
537 static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_share_connect()
538 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_share_connect()
540 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect()
552 static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_hd_connect()
553 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_hd_connect()
555 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_hd_connect()
[all …]
H A Dmt8186-dai-adda.c241 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event()
282 static int mtk_adda_pad_top_event(struct snd_soc_dapm_widget *w, in mtk_adda_pad_top_event()
304 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event()
384 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event()
476 static const struct snd_soc_dapm_widget mtk_dai_adda_widgets[] = {
537 static int mtk_afe_dac_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_dac_hires_connect()
538 struct snd_soc_dapm_widget *sink) in mtk_afe_dac_hires_connect()
540 struct snd_soc_dapm_widget *w = source; in mtk_afe_dac_hires_connect()
555 static int mtk_afe_adc_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_adc_hires_connect()
556 struct snd_soc_dapm_widget *sink) in mtk_afe_adc_hires_connect()
[all …]
/openbmc/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-i2s.c270 static int mtk_apll_event(struct snd_soc_dapm_widget *w, in mtk_apll_event()
297 static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w, in mtk_mclk_en_event()
327 static const struct snd_soc_dapm_widget mtk_dai_i2s_widgets[] = {
415 static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_share_connect()
416 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_share_connect()
418 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect()
436 static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_hd_connect()
437 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_hd_connect()
439 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_hd_connect()
465 static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_apll_connect()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Drt5631.c282 static int check_sysclk1_source(struct snd_soc_dapm_widget *source, in check_sysclk1_source()
283 struct snd_soc_dapm_widget *sink) in check_sysclk1_source()
292 static int check_dmic_used(struct snd_soc_dapm_widget *source, in check_dmic_used()
293 struct snd_soc_dapm_widget *sink) in check_dmic_used()
300 static int check_dacl_to_outmixl(struct snd_soc_dapm_widget *source, in check_dacl_to_outmixl()
301 struct snd_soc_dapm_widget *sink) in check_dacl_to_outmixl()
310 static int check_dacr_to_outmixr(struct snd_soc_dapm_widget *source, in check_dacr_to_outmixr()
311 struct snd_soc_dapm_widget *sink) in check_dacr_to_outmixr()
320 static int check_dacl_to_spkmixl(struct snd_soc_dapm_widget *source, in check_dacl_to_spkmixl()
321 struct snd_soc_dapm_widget *sink) in check_dacl_to_spkmixl()
[all …]
H A Dmt6359.c816 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event()
1042 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event()
1072 static int mt_rcv_event(struct snd_soc_dapm_widget *w, in mt_rcv_event()
1156 static int mt_lo_event(struct snd_soc_dapm_widget *w, in mt_lo_event()
1267 static int mt_adc_clk_gen_event(struct snd_soc_dapm_widget *w, in mt_adc_clk_gen_event()
1307 static int mt_dcc_clk_event(struct snd_soc_dapm_widget *w, in mt_dcc_clk_event()
1342 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event()
1396 static int mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_1_event()
1429 static int mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_2_event()
1480 static int mt_mtkaif_tx_event(struct snd_soc_dapm_widget *w, in mt_mtkaif_tx_event()
[all …]
H A Dwm_adsp.h88 int wm_adsp1_event(struct snd_soc_dapm_widget *w,
91 int wm_adsp_early_event(struct snd_soc_dapm_widget *w,
101 int wm_adsp_event(struct snd_soc_dapm_widget *w,
104 int wm_adsp2_set_dspclk(struct snd_soc_dapm_widget *w, unsigned int freq);
H A Dmadera.h386 int madera_clk_ev(struct snd_soc_dapm_widget *w,
388 int madera_sysclk_ev(struct snd_soc_dapm_widget *w,
390 int madera_spk_ev(struct snd_soc_dapm_widget *w,
392 int madera_in_ev(struct snd_soc_dapm_widget *w,
394 int madera_out_ev(struct snd_soc_dapm_widget *w,
396 int madera_hp_ev(struct snd_soc_dapm_widget *w,
398 int madera_anc_ev(struct snd_soc_dapm_widget *w,
400 int madera_domain_clk_ev(struct snd_soc_dapm_widget *w,
H A Dmt6351.c575 static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, in mt_reg_set_clr_event()
619 static int mt_ncp_event(struct snd_soc_dapm_widget *w, in mt_ncp_event()
643 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event()
663 static int mt_aif_in_event(struct snd_soc_dapm_widget *w, in mt_aif_in_event()
708 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event()
836 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event()
899 static int mt_adc_clkgen_event(struct snd_soc_dapm_widget *w, in mt_adc_clkgen_event()
922 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event()
952 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event()
982 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event()
[all …]
H A Dpcm3008.c27 static int pcm3008_dac_ev(struct snd_soc_dapm_widget *w, in pcm3008_dac_ev()
40 static int pcm3008_adc_ev(struct snd_soc_dapm_widget *w, in pcm3008_adc_ev()
53 static const struct snd_soc_dapm_widget pcm3008_dapm_widgets[] = {
H A Darizona.h295 int arizona_in_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol,
297 int arizona_out_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol,
299 int arizona_hp_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol,
301 int arizona_anc_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol,
309 int arizona_clk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol,
337 int arizona_dvfs_sysclk_ev(struct snd_soc_dapm_widget *w,
/openbmc/linux/sound/soc/sunxi/
H A Dsun8i-codec-analog.c221 static const struct snd_soc_dapm_widget sun8i_codec_common_widgets[] = {
247 static const struct snd_soc_dapm_widget sun8i_codec_mixer_widgets[] = {
266 static const struct snd_soc_dapm_widget sun8i_v3s_codec_mixer_widgets[] = {
344 static int sun8i_headphone_amp_event(struct snd_soc_dapm_widget *w, in sun8i_headphone_amp_event()
368 static const struct snd_soc_dapm_widget sun8i_codec_headphone_widgets[] = {
424 static const struct snd_soc_dapm_widget sun8i_codec_mbias_widgets[] = {
445 static const struct snd_soc_dapm_widget sun8i_codec_hmic_widgets[] = {
473 static const struct snd_soc_dapm_widget sun8i_codec_linein_widgets[] = {
551 static const struct snd_soc_dapm_widget sun8i_codec_lineout_widgets[] = {
613 static const struct snd_soc_dapm_widget sun8i_codec_mic2_widgets[] = {
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-dai.c32 static struct snd_sof_dev *widget_to_sdev(struct snd_soc_dapm_widget *w) in widget_to_sdev()
40 int hda_dai_config(struct snd_soc_dapm_widget *w, unsigned int flags, in hda_dai_config()
71 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in dai_to_sdev()
79 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in hda_dai_get_ops()
227 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, substream->stream); in hda_dai_hw_params()
334 static struct sof_ipc4_copier *widget_to_copier(struct snd_soc_dapm_widget *w) in widget_to_copier()
347 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in non_hda_dai_hw_params()
436 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in sdw_hda_dai_hw_params()
473 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in sdw_hda_dai_hw_free()
524 struct snd_soc_dapm_widget *w; in hda_dai_suspend()
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c22 struct snd_soc_dapm_widget *w;
163 struct snd_soc_dapm_widget *w, in audioreach_tplg_alloc_module()
412 struct snd_soc_dapm_widget *w) in audioreach_parse_common_tokens()
570 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_module_common()
598 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_enc_dec_cnv()
733 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_buffer()
770 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_mixer()
812 static int audioreach_pga_event(struct snd_soc_dapm_widget *w, in audioreach_pga_event()
838 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_pga()
866 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_ready()
[all …]
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-dai-adda.c158 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event()
179 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event()
216 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event()
256 static int mtk_afe_adda_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_adda_hires_connect()
257 struct snd_soc_dapm_widget *sink) in mtk_afe_adda_hires_connect()
259 struct snd_soc_dapm_widget *w = source; in mtk_afe_adda_hires_connect()
301 static const struct snd_soc_dapm_widget mtk_dai_adda_widgets[] = {
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-adda.c192 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event()
213 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event()
263 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event()
290 static int mtk_adda6_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda6_ul_event()
326 static int mtk_audio_hires_event(struct snd_soc_dapm_widget *w, in mtk_audio_hires_event()
372 static int mtk_afe_adda_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_adda_hires_connect()
373 struct snd_soc_dapm_widget *sink) in mtk_afe_adda_hires_connect()
375 struct snd_soc_dapm_widget *w = source; in mtk_afe_adda_hires_connect()
417 static const struct snd_soc_dapm_widget mtk_dai_adda_widgets[] = {
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-topology.c92 static int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w, in is_skl_dsp_widget_type()
283 static int skl_tplg_update_be_blob(struct snd_soc_dapm_widget *w, in skl_tplg_update_be_blob()
348 static void skl_tplg_update_module_params(struct snd_soc_dapm_widget *w, in skl_tplg_update_module_params()
383 static int skl_tplg_set_module_params(struct snd_soc_dapm_widget *w, in skl_tplg_set_module_params()
428 static int skl_tplg_set_module_init_data(struct snd_soc_dapm_widget *w) in skl_tplg_set_module_init_data()
458 struct snd_soc_dapm_widget *w, struct skl_module_cfg *mcfg) in skl_tplg_module_prepare()
480 struct snd_soc_dapm_widget *w; in skl_tplg_init_pipe_modules()
653 static int skl_tplg_mixer_dapm_pre_pmu_event(struct snd_soc_dapm_widget *w, in skl_tplg_mixer_dapm_pre_pmu_event()
745 static int skl_tplg_set_module_bind_params(struct snd_soc_dapm_widget *w, in skl_tplg_set_module_bind_params()
865 struct snd_soc_dapm_widget *w) in skl_tplg_add_moduleid_in_bind_params()
[all …]
/openbmc/linux/sound/soc/samsung/
H A Dmidas_wm1811.c152 static int midas_ext_spkmode(struct snd_soc_dapm_widget *w, in midas_ext_spkmode()
174 static int midas_mic_bias(struct snd_soc_dapm_widget *w, in midas_mic_bias()
190 static int midas_submic_bias(struct snd_soc_dapm_widget *w, in midas_submic_bias()
206 static int midas_fm_set(struct snd_soc_dapm_widget *w, in midas_fm_set()
227 static int midas_line_set(struct snd_soc_dapm_widget *w, in midas_line_set()
264 static const struct snd_soc_dapm_widget midas_dapm_widgets[] = {

12345678910>>...22