| /linux/sound/soc/ |
| H A D | soc-dapm.c | 58 struct snd_soc_dapm_widget *wcache_sink; 59 struct snd_soc_dapm_widget *wcache_source; 219 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() 224 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() 245 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths() 248 struct snd_soc_dapm_widget *node; in dapm_widget_invalidate_paths() 285 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths() 302 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths() 341 struct snd_soc_dapm_widget *w; in snd_soc_dapm_mark_endpoints_dirty() 359 static inline struct snd_soc_dapm_widget *dapm_cnew_widget( in dapm_cnew_widget() [all …]
|
| /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,
|
| H A D | axg-tdmout.c | 56 axg_tdmout_get_be(struct snd_soc_dapm_widget *w) in axg_tdmout_get_be() 77 axg_tdmout_get_tdm_stream(struct snd_soc_dapm_widget *w) in axg_tdmout_get_tdm_stream() 201 static const struct snd_soc_dapm_widget axg_tdmout_dapm_widgets[] = { 273 static const struct snd_soc_dapm_widget sm1_tdmout_dapm_widgets[] = {
|
| H A D | axg-tdmin.c | 58 axg_tdmin_get_be(struct snd_soc_dapm_widget *w) in axg_tdmin_get_be() 79 axg_tdmin_get_tdm_stream(struct snd_soc_dapm_widget *w) in axg_tdmin_get_tdm_stream() 167 static const struct snd_soc_dapm_widget axg_tdmin_dapm_widgets[] = {
|
| /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 *sourc [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 * 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 *sin in mtk_afe_adc_hires_connect() [all...] |
| H A D | mt8186-dai-pcm.c | 118 static int mtk_pcm_en_event(struct snd_soc_dapm_widget *w, in mtk_pcm_en_event() 169 static const struct snd_soc_dapm_widget mtk_dai_pcm_widgets[] = { 221 struct snd_soc_dapm_widget *p = snd_soc_dai_get_widget_playback(dai); in mtk_dai_pcm_hw_params() 222 struct snd_soc_dapm_widget *c = snd_soc_dai_get_widget_capture(dai); in mtk_dai_pcm_hw_params()
|
| /linux/include/sound/ |
| 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/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_widget [all...] |
| /linux/sound/soc/codecs/ |
| 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 | 574 static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, in mt_reg_set_clr_event() 618 static int mt_ncp_event(struct snd_soc_dapm_widget *w, in mt_ncp_event() 642 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event() 662 static int mt_aif_in_event(struct snd_soc_dapm_widget *w, in mt_aif_in_event() 707 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event() 835 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event() 898 static int mt_adc_clkgen_event(struct snd_soc_dapm_widget *w, in mt_adc_clkgen_event() 921 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event() 951 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event() 981 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event() [all …]
|
| H A D | arizona.h | 296 int arizona_in_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, 298 int arizona_out_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, 300 int arizona_hp_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, 302 int arizona_anc_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, 310 int arizona_clk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, 338 int arizona_dvfs_sysclk_ev(struct snd_soc_dapm_widget *w,
|
| H A D | ssm2305.c | 19 static int ssm2305_power_event(struct snd_soc_dapm_widget *w, in ssm2305_power_event() 31 static const struct snd_soc_dapm_widget ssm2305_dapm_widgets[] = {
|
| H A D | mt6357.c | 528 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event() 549 static int mt_adc_supply_event(struct snd_soc_dapm_widget *w, in mt_adc_supply_event() 594 static int mt_mic_type_event(struct snd_soc_dapm_widget *w, in mt_mic_type_event() 642 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event() 695 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event() 742 static int adc_enable_event(struct snd_soc_dapm_widget *w, in adc_enable_event() 907 static int mt_audio_in_event(struct snd_soc_dapm_widget *w, in mt_audio_in_event() 988 static int mt_delay_250_event(struct snd_soc_dapm_widget *w, in mt_delay_250_event() 1006 static int lo_mux_event(struct snd_soc_dapm_widget *w, in lo_mux_event() 1073 static int hs_mux_event(struct snd_soc_dapm_widget * [all...] |
| H A D | simple-mux.c | 23 struct snd_soc_dapm_widget mux_widgets[MUX_WIDGET_SIZE]; 84 static int simple_mux_event(struct snd_soc_dapm_widget *w, in simple_mux_event() 106 static const struct snd_soc_dapm_widget simple_mux_dapm_widgets[MUX_WIDGET_SIZE] = {
|
| /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() 877 int index, struct snd_soc_dapm_widget *w, in audioreach_pga_event() 923 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_ready() 965 static int audioreach_pga_event(struct snd_soc_dapm_widget *w, in audioreach_widget_unload() 991 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_unload() 1019 int index, struct snd_soc_dapm_widget * in audioreach_find_module() [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 is_virtual_widget() 257 int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, in sof_route_setup() 258 struct snd_soc_dapm_widget *wsink) in sof_route_setup() 309 struct snd_soc_dapm_widget *wsource, in sof_set_up_same_dir_widget_routes() 310 struct snd_soc_dapm_widget *wsink) in sof_set_up_same_dir_widget_routes() 331 struct snd_soc_dapm_widget *widget; in sof_setup_pipeline_connections() 434 sof_unprepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_unprepare_widgets_in_path() 478 sof_prepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_prepare_widgets_in_path() 549 static int sof_free_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_free_widgets_in_path() 599 static int sof_set_up_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_set_up_widgets_in_path() [all …]
|
| /linux/sound/soc/mediatek/mt8192/ |
| 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()
|
| 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 *sin in mtk_afe_i2s_hd_connect() [all...] |
| H A D | mt8192-dai-pcm.c | 174 static int mtk_pcm_en_event(struct snd_soc_dapm_widget *w, in mtk_pcm_en_event() 186 static const struct snd_soc_dapm_widget mtk_dai_pcm_widgets[] = { 276 struct snd_soc_dapm_widget *p = snd_soc_dai_get_widget_playback(dai); in mtk_dai_pcm_hw_params() 277 struct snd_soc_dapm_widget *c = snd_soc_dai_get_widget_capture(dai); in mtk_dai_pcm_hw_params()
|
| /linux/sound/soc/amd/acp/acp3x-es83xx/ |
| H A D | acp3x-es83xx.c | 57 static int acp3x_es83xx_headphone_power_event(struct snd_soc_dapm_widget *w, 59 static int acp3x_es83xx_speaker_power_event(struct snd_soc_dapm_widget *w, 110 static const struct snd_soc_dapm_widget acp3x_es83xx_widgets[] = { 158 static int acp3x_es83xx_headphone_power_event(struct snd_soc_dapm_widget *w, in acp3x_es83xx_headphone_power_event() 176 static int acp3x_es83xx_speaker_power_event(struct snd_soc_dapm_widget *w, in acp3x_es83xx_speaker_power_event()
|
| /linux/sound/soc/mediatek/mt8183/ |
| H A D | mt8183-dai-tdm.c | 246 static int mtk_tdm_bck_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_bck_en_event() 272 static int mtk_tdm_mck_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_mck_en_event() 299 static const struct snd_soc_dapm_widget mtk_dai_tdm_widgets[] = { 330 static int mtk_afe_tdm_apll_connect(struct snd_soc_dapm_widget *source, in mtk_afe_tdm_apll_connect() 331 struct snd_soc_dapm_widget *sink) in mtk_afe_tdm_apll_connect() 333 struct snd_soc_dapm_widget *w = sink; in mtk_afe_tdm_apll_connect()
|