| /linux/include/sound/ |
| H A D | soc-dapm.h | 47 (struct snd_soc_dapm_widget) { \ 53 (struct snd_soc_dapm_widget) { \ 57 (struct snd_soc_dapm_widget) { \ 61 (struct snd_soc_dapm_widget) { \ 65 (struct snd_soc_dapm_widget) { \ 69 (struct snd_soc_dapm_widget) { \ 74 (struct snd_soc_dapm_widget) { \ 79 (struct snd_soc_dapm_widget) { \ 84 (struct snd_soc_dapm_widget) { \ 96 (struct snd_soc_dapm_widget) { \ 515 struct snd_soc_dapm_widget { global() struct 516 idsnd_soc_dapm_widget global() argument 517 namesnd_soc_dapm_widget global() argument 518 snamesnd_soc_dapm_widget global() argument 519 listsnd_soc_dapm_widget global() argument 520 dapmsnd_soc_dapm_widget global() argument 545 power_checksnd_soc_dapm_widget global() argument 549 eventsnd_soc_dapm_widget global() argument 552 num_kcontrolssnd_soc_dapm_widget global() argument 553 kcontrol_newssnd_soc_dapm_widget global() argument 554 kcontrolssnd_soc_dapm_widget global() argument 555 dobjsnd_soc_dapm_widget global() argument 558 edgessnd_soc_dapm_widget global() argument 561 work_listsnd_soc_dapm_widget global() argument 562 power_listsnd_soc_dapm_widget global() argument 563 dirtysnd_soc_dapm_widget global() argument 564 endpointssnd_soc_dapm_widget global() argument 566 clksnd_soc_dapm_widget global() argument 568 channelsnd_soc_dapm_widget global() argument [all...] |
| H A D | soc-topology.h | 23 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,
|
| /linux/sound/soc/ |
| H A D | soc-dapm.c | 56 struct snd_soc_dapm_widget *wcache_sink; 57 struct snd_soc_dapm_widget *wcache_source; 215 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() 220 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() 241 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths() 244 struct snd_soc_dapm_widget *node; in dapm_widget_invalidate_paths() 281 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths() 298 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths() 337 struct snd_soc_dapm_widget *w; in snd_soc_dapm_mark_endpoints_dirty() 355 static inline struct snd_soc_dapm_widget *dapm_cnew_widget( in dapm_cnew_widget() [all …]
|
| /linux/include/trace/events/ |
| H A D | asoc.h | 20 struct snd_soc_dapm_widget; 96 DECLARE_EVENT_CLASS(snd_soc_dapm_widget, 98 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 116 DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_power, 118 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 124 DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_event_start, 126 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 132 DEFINE_EVENT(snd_soc_dapm_widget, snd_soc_dapm_widget_event_done, 134 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 167 TP_PROTO(struct snd_soc_dapm_widget *widget,
|
| /linux/drivers/staging/greybus/ |
| H A D | audio_helper.c | 15 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()
|
| /linux/sound/soc/meson/ |
| H A D | meson-codec-glue.c | 13 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 D | axg-tdm-formatter.h | 14 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,
|
| /linux/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-dai-tdm.c | 99 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 D | mt8186-dai-i2s.c | 357 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 D | mt8186-dai-adda.c | 155 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event() 196 static int mtk_adda_pad_top_event(struct snd_soc_dapm_widget *w, in mtk_adda_pad_top_event() 218 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event() 298 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event() 390 static const struct snd_soc_dapm_widget mtk_dai_adda_widgets[] = { 451 static int mtk_afe_dac_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_dac_hires_connect() 452 struct snd_soc_dapm_widget *sink) in mtk_afe_dac_hires_connect() 454 struct snd_soc_dapm_widget *w = source; in mtk_afe_dac_hires_connect() 469 static int mtk_afe_adc_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_adc_hires_connect() 470 struct snd_soc_dapm_widget *sink) in mtk_afe_adc_hires_connect() [all …]
|
| /linux/sound/soc/mediatek/mt8183/ |
| H A D | mt8183-dai-i2s.c | 270 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 …]
|
| /linux/sound/soc/codecs/ |
| H A D | rt5631.c | 282 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 D | mt6359.c | 814 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event() 1040 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event() 1070 static int mt_rcv_event(struct snd_soc_dapm_widget *w, in mt_rcv_event() 1154 static int mt_lo_event(struct snd_soc_dapm_widget *w, in mt_lo_event() 1265 static int mt_adc_clk_gen_event(struct snd_soc_dapm_widget *w, in mt_adc_clk_gen_event() 1305 static int mt_dcc_clk_event(struct snd_soc_dapm_widget *w, in mt_dcc_clk_event() 1340 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event() 1394 static int mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_1_event() 1427 static int mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_2_event() 1478 static int mt_mtkaif_tx_event(struct snd_soc_dapm_widget *w, in mt_mtkaif_tx_event() [all …]
|
| H A D | madera.h | 386 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 D | mt6351.c | 575 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 D | wm_adsp.h | 91 int wm_adsp1_event(struct snd_soc_dapm_widget *w, 94 int wm_adsp_early_event(struct snd_soc_dapm_widget *w, 106 int wm_adsp_event(struct snd_soc_dapm_widget *w, 109 int wm_adsp2_set_dspclk(struct snd_soc_dapm_widget *w, unsigned int freq);
|
| H A D | arizona.h | 295 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,
|
| H A D | pcm3008.c | 32 static int pcm3008_dac_ev(struct snd_soc_dapm_widget *w, in pcm3008_dac_ev() 45 static int pcm3008_adc_ev(struct snd_soc_dapm_widget *w, in pcm3008_adc_ev() 58 static const struct snd_soc_dapm_widget pcm3008_dapm_widgets[] = {
|
| /linux/sound/soc/sunxi/ |
| H A D | sun8i-codec-analog.c | 220 static const struct snd_soc_dapm_widget sun8i_codec_common_widgets[] = { 246 static const struct snd_soc_dapm_widget sun8i_codec_mixer_widgets[] = { 265 static const struct snd_soc_dapm_widget sun8i_v3s_codec_mixer_widgets[] = { 343 static int sun8i_headphone_amp_event(struct snd_soc_dapm_widget *w, in sun8i_headphone_amp_event() 367 static const struct snd_soc_dapm_widget sun8i_codec_headphone_widgets[] = { 423 static const struct snd_soc_dapm_widget sun8i_codec_mbias_widgets[] = { 444 static const struct snd_soc_dapm_widget sun8i_codec_hmic_widgets[] = { 472 static const struct snd_soc_dapm_widget sun8i_codec_linein_widgets[] = { 550 static const struct snd_soc_dapm_widget sun8i_codec_lineout_widgets[] = { 612 static const struct snd_soc_dapm_widget sun8i_codec_mic2_widgets[] = {
|
| /linux/sound/soc/mediatek/mt8188/ |
| H A D | mt8188-dai-adda.c | 74 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event() 95 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event() 132 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event() 172 static int mtk_afe_adda_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_adda_hires_connect() 173 struct snd_soc_dapm_widget *sink) in mtk_afe_adda_hires_connect() 175 struct snd_soc_dapm_widget *w = source; in mtk_afe_adda_hires_connect() 217 static const struct snd_soc_dapm_widget mtk_dai_adda_widgets[] = {
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | topology.c | 23 struct snd_soc_dapm_widget *w; 164 struct snd_soc_dapm_widget *w, in audioreach_tplg_alloc_module() 441 struct snd_soc_dapm_widget *w) in audioreach_parse_common_tokens() 592 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_module_common() 622 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_enc_dec_cnv() 780 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_buffer() 820 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_mixer() 862 static int audioreach_pga_event(struct snd_soc_dapm_widget *w, in audioreach_pga_event() 888 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_pga() 916 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_ready() [all …]
|
| /linux/sound/soc/mediatek/mt8195/ |
| H A D | mt8195-dai-adda.c | 108 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event() 129 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event() 179 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event() 206 static int mtk_adda6_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda6_ul_event() 242 static int mtk_audio_hires_event(struct snd_soc_dapm_widget *w, in mtk_audio_hires_event() 288 static int mtk_afe_adda_hires_connect(struct snd_soc_dapm_widget *source, in mtk_afe_adda_hires_connect() 289 struct snd_soc_dapm_widget *sink) in mtk_afe_adda_hires_connect() 291 struct snd_soc_dapm_widget *w = source; in mtk_afe_adda_hires_connect() 333 static const struct snd_soc_dapm_widget mtk_dai_adda_widgets[] = {
|
| /linux/sound/soc/sof/ |
| H A D | sof-audio.c | 31 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_reset_route_setup_status() 258 int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, in sof_route_setup() 259 struct snd_soc_dapm_widget *wsink) in sof_route_setup() 310 struct snd_soc_dapm_widget *wsource, in sof_setup_pipeline_connections() 311 struct snd_soc_dapm_widget *wsink) in sof_setup_pipeline_connections() 332 struct snd_soc_dapm_widget *widget; in sof_setup_pipeline_connections() 435 sof_unprepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_unprepare_widgets_in_path() 479 sof_prepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_prepare_widgets_in_path() 551 static int sof_free_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_set_up_widgets_in_path() 601 static int sof_set_up_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widge in sof_set_up_widgets_in_path() [all...] |
| /linux/sound/soc/mediatek/mt8192/ |
| H A D | mt8192-dai-i2s.c | 582 static int mtk_i2s_en_event(struct snd_soc_dapm_widget *w, in mtk_i2s_en_event() 614 static int mtk_apll_event(struct snd_soc_dapm_widget *w, in mtk_apll_event() 644 static int i2s_out_tinyconn_event(struct snd_soc_dapm_widget *w, in i2s_out_tinyconn_event() 700 static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w, in mtk_mclk_en_event() 732 static const struct snd_soc_dapm_widget mtk_dai_i2s_widgets[] = { 918 static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_share_connect() 919 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_share_connect() 921 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect() 938 static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source, in mtk_afe_i2s_hd_connect() 939 struct snd_soc_dapm_widget *sink) in mtk_afe_i2s_hd_connect() [all …]
|
| H A D | mt8192-dai-tdm.c | 244 static int mtk_tdm_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_en_event() 276 static int mtk_tdm_bck_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_bck_en_event() 308 static int mtk_tdm_mck_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_mck_en_event() 341 static const struct snd_soc_dapm_widget mtk_dai_tdm_widgets[] = { 377 static int mtk_afe_tdm_apll_connect(struct snd_soc_dapm_widget *source, in mtk_afe_tdm_apll_connect() 378 struct snd_soc_dapm_widget *sink) in mtk_afe_tdm_apll_connect() 380 struct snd_soc_dapm_widget *w = sink; in mtk_afe_tdm_apll_connect()
|