/sound/soc/ |
D | soc-dapm.c | 183 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() argument 185 return !list_empty(&w->dirty); in dapm_dirty_widget() 188 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() argument 190 dapm_assert_locked(w->dapm); in dapm_mark_dirty() 192 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty() 193 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty() 194 w->name, reason); in dapm_mark_dirty() 195 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty() 207 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths() argument 214 dapm_assert_locked(w->dapm); in dapm_widget_invalidate_paths() [all …]
|
/sound/soc/ti/ |
D | davinci-vcif.c | 48 u32 w; in davinci_vcif_start() local 51 w = readl(davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_start() 54 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTDAC, 0); in davinci_vcif_start() 56 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTADC, 0); in davinci_vcif_start() 58 writel(w, davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_start() 67 u32 w; in davinci_vcif_stop() local 70 w = readl(davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_stop() 72 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTDAC, 1); in davinci_vcif_stop() 74 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTADC, 1); in davinci_vcif_stop() 76 writel(w, davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_stop() [all …]
|
D | omap-mcbsp-st.c | 81 unsigned int w; in omap_mcbsp_st_on() local 87 w = MCBSP_ST_READ(mcbsp, SYSCONFIG); in omap_mcbsp_st_on() 88 MCBSP_ST_WRITE(mcbsp, SYSCONFIG, w & ~(ST_AUTOIDLE)); in omap_mcbsp_st_on() 91 w = MCBSP_READ(mcbsp, SSELCR); in omap_mcbsp_st_on() 92 MCBSP_WRITE(mcbsp, SSELCR, w | SIDETONEEN); in omap_mcbsp_st_on() 95 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_mcbsp_st_on() 96 MCBSP_ST_WRITE(mcbsp, SSELCR, w | ST_SIDETONEEN); in omap_mcbsp_st_on() 101 unsigned int w; in omap_mcbsp_st_off() local 103 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_mcbsp_st_off() 104 MCBSP_ST_WRITE(mcbsp, SSELCR, w & ~(ST_SIDETONEEN)); in omap_mcbsp_st_off() [all …]
|
D | omap-mcbsp.c | 420 u16 w; in omap_mcbsp_start() local 426 w = MCBSP_READ_CACHE(mcbsp, PCR0); in omap_mcbsp_start() 427 if (w & (FSXM | FSRM | CLKXM | CLKRM)) in omap_mcbsp_start() 433 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start() 434 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); in omap_mcbsp_start() 439 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start() 440 MCBSP_WRITE(mcbsp, SPCR2, w | tx); in omap_mcbsp_start() 443 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_start() 444 MCBSP_WRITE(mcbsp, SPCR1, w | rx); in omap_mcbsp_start() 456 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start() [all …]
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 196 if (e->w && e->w->power) in sst_check_and_send_slot_map() 198 else if (!e->w) in sst_check_and_send_slot_map() 369 if (bc->w && bc->w->power) in sst_algo_control_set() 506 if (mc->w && mc->w->power) in sst_gain_put() 517 static int sst_send_pipe_module_params(struct snd_soc_dapm_widget *w, in sst_send_pipe_module_params() argument 520 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in sst_send_pipe_module_params() 522 struct sst_ids *ids = w->priv; in sst_send_pipe_module_params() 525 sst_find_and_send_pipe_algo(drv, w->name, ids); in sst_send_pipe_module_params() 532 static int sst_generic_modules_event(struct snd_soc_dapm_widget *w, in sst_generic_modules_event() argument 536 return sst_send_pipe_module_params(w, k); in sst_generic_modules_event() [all …]
|
/sound/soc/intel/skylake/ |
D | skl-topology.c | 92 static int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w, in is_skl_dsp_widget_type() argument 95 if (w->dapm->dev != dev) in is_skl_dsp_widget_type() 98 switch (w->id) { 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() argument 286 struct skl_module_cfg *m_cfg = w->priv; 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() argument 351 struct skl_module_cfg *m_cfg = w->priv; in skl_tplg_update_module_params() 360 w->name); in skl_tplg_update_module_params() 373 w->name); 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() argument [all …]
|
/sound/soc/codecs/ |
D | mt6351.c | 575 static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, in mt_reg_set_clr_event() argument 579 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_reg_set_clr_event() 583 if (w->on_val) { in mt_reg_set_clr_event() 586 w->reg + REG_STRIDE, in mt_reg_set_clr_event() 587 0x1 << w->shift, in mt_reg_set_clr_event() 588 0x1 << w->shift); in mt_reg_set_clr_event() 592 w->reg + REG_STRIDE * 2, in mt_reg_set_clr_event() 593 0x1 << w->shift, in mt_reg_set_clr_event() 594 0x1 << w->shift); in mt_reg_set_clr_event() 598 if (w->off_val) { in mt_reg_set_clr_event() [all …]
|
D | mt6359.c | 727 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event() argument 731 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() 953 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event() argument 957 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_event() 959 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_hp_event() 983 static int mt_rcv_event(struct snd_soc_dapm_widget *w, in mt_rcv_event() argument 987 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_rcv_event() 991 __func__, event, dapm_kcontrol_get_value(w->kcontrols[0])); in mt_rcv_event() 1067 static int mt_lo_event(struct snd_soc_dapm_widget *w, in mt_lo_event() argument 1071 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_lo_event() [all …]
|
D | msm8916-wcd-digital.c | 356 static int msm8x16_wcd_codec_set_iir_gain(struct snd_soc_dapm_widget *w, in msm8x16_wcd_codec_set_iir_gain() argument 360 snd_soc_dapm_to_component(w->dapm); in msm8x16_wcd_codec_set_iir_gain() 365 if (w->shift == 0) in msm8x16_wcd_codec_set_iir_gain() 367 else if (w->shift == 1) in msm8x16_wcd_codec_set_iir_gain() 576 struct snd_soc_dapm_widget *w, in msm8916_wcd_digital_enable_interpolator() argument 580 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in msm8916_wcd_digital_enable_interpolator() 586 snd_soc_component_write(component, rx_gain_reg[w->shift], in msm8916_wcd_digital_enable_interpolator() 587 snd_soc_component_read(component, rx_gain_reg[w->shift])); in msm8916_wcd_digital_enable_interpolator() 591 1 << w->shift, 1 << w->shift); in msm8916_wcd_digital_enable_interpolator() 593 1 << w->shift, 0x0); in msm8916_wcd_digital_enable_interpolator() [all …]
|
D | mt6358.c | 860 static int mt_clksq_event(struct snd_soc_dapm_widget *w, in mt_clksq_event() argument 864 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_clksq_event() 883 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event() argument 887 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() 922 static int mt_aif_in_event(struct snd_soc_dapm_widget *w, in mt_aif_in_event() argument 926 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_aif_in_event() 1354 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event() argument 1358 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_event() 1360 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_hp_event() 1412 static int mt_rcv_event(struct snd_soc_dapm_widget *w, in mt_rcv_event() argument [all …]
|
D | msm8916-wcd-analog.c | 391 static int pm8916_wcd_analog_enable_micbias_int(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_micbias_int() argument 395 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int() 408 static int pm8916_wcd_analog_enable_micbias1(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_micbias1() argument 412 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias1() 419 static int pm8916_wcd_analog_enable_micbias2(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_micbias2() argument 423 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias2() 530 *w, struct snd_kcontrol in pm8916_wcd_analog_enable_micbias_int2() 533 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int2() 549 return pm8916_wcd_analog_enable_micbias_int(w, kcontrol, event); in pm8916_wcd_analog_enable_micbias_int2() 552 static int pm8916_wcd_analog_enable_adc(struct snd_soc_dapm_widget *w, in pm8916_wcd_analog_enable_adc() argument [all …]
|
/sound/mips/ |
D | ad1843.c | 175 int w; in ad1843_read_bits() local 177 w = ad1843->read(ad1843->chip, field->reg); in ad1843_read_bits() 178 return w >> field->lo_bit & ((1 << field->nbits) - 1); in ad1843_read_bits() 189 int w, mask, oldval, newbits; in ad1843_write_bits() local 191 w = ad1843->read(ad1843->chip, field->reg); in ad1843_write_bits() 193 oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits() 195 w = (w & ~mask) | newbits; in ad1843_write_bits() 196 ad1843->write(ad1843->chip, field->reg, w); in ad1843_write_bits() 218 int w = 0, mask, *value, reg = -1; in ad1843_read_multi() local 226 w = ad1843->read(ad1843->chip, reg); in ad1843_read_multi() [all …]
|
/sound/isa/msnd/ |
D | msnd.h | 171 #define HIBYTE(w) ((u8)(((u16)(w) >> 8) & 0xFF)) argument 172 #define LOBYTE(w) ((u8)(w)) argument 176 #define PCTODSP_OFFSET(w) (u16)((w)/2) argument 177 #define PCTODSP_BASED(w) (u16)(((w)/2) + DSP_BASE_ADDR) argument 178 #define DSPTOPC_BASED(w) (((w) - DSP_BASE_ADDR) * 2) argument
|
/sound/soc/qcom/qdsp6/ |
D | topology.c | 159 struct snd_soc_dapm_widget *w, in audioreach_tplg_alloc_module() argument 198 mod->widget = w; in audioreach_tplg_alloc_module() 408 struct snd_soc_dapm_widget *w) in audioreach_parse_common_tokens() argument 430 mod = audioreach_tplg_alloc_module(apm, cont, w, in audioreach_parse_common_tokens() 489 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_module_common() argument 506 mod = audioreach_parse_common_tokens(apm, cont, &tplg_w->priv, w); in audioreach_widget_load_module_common() 510 dobj = &w->dobj; in audioreach_widget_load_module_common() 517 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_enc_dec_cnv() argument 527 ret = audioreach_widget_load_module_common(component, index, w, tplg_w); in audioreach_widget_load_enc_dec_cnv() 531 dobj = &w->dobj; in audioreach_widget_load_enc_dec_cnv() [all …]
|
/sound/soc/mediatek/mt8186/ |
D | mt8186-dai-tdm.c | 99 static int mtk_tdm_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_en_event() argument 103 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() 106 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_en_event() 110 __func__, w->name, event); 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() argument 130 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() 133 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_mck_en_event() 137 __func__, w->name, event, dai_id); in mtk_tdm_mck_en_event() 201 struct snd_soc_dapm_widget *w = sink; in mtk_afe_tdm_mclk_connect() local 202 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_mclk_connect() [all …]
|
D | mt8186-dai-adda.c | 241 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event() argument 245 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() 251 __func__, w->name, event, mtkaif_dmic); 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() argument 286 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); 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() argument 308 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() 324 if (strcmp(w->name, "ADDA_MTKAIF_CFG") == 0) { in mtk_adda_mtkaif_cfg_event() 384 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event() argument 388 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() [all …]
|
D | mt8186-dai-i2s.c | 357 static int mtk_i2s_en_event(struct snd_soc_dapm_widget *w, in mtk_i2s_en_event() argument 361 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_i2s_en_event() 365 i2s_priv = get_i2s_priv_by_name(afe, w->name); in mtk_i2s_en_event() 368 __func__, w->name, event); in mtk_i2s_en_event() 384 static int mtk_apll_event(struct snd_soc_dapm_widget *w, in mtk_apll_event() argument 388 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() 392 __func__, w->name, event); in mtk_apll_event() 396 if (strcmp(w->name, APLL1_W_NAME) == 0) in mtk_apll_event() 402 if (strcmp(w->name, APLL1_W_NAME) == 0) in mtk_apll_event() 414 static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w, in mtk_mclk_en_event() argument [all …]
|
/sound/soc/sof/intel/ |
D | hda-dai.c | 307 static int hda_dai_widget_update(struct snd_soc_dapm_widget *w, in hda_dai_widget_update() argument 316 return hda_ctrl_dai_widget_setup(w, SOF_DAI_CONFIG_FLAGS_2_STEP_STOP, &data); in hda_dai_widget_update() 318 return hda_ctrl_dai_widget_free(w, SOF_DAI_CONFIG_FLAGS_NONE, &data); in hda_dai_widget_update() 326 struct snd_soc_dapm_widget *w; in hda_dai_hw_params_update() local 335 w = snd_soc_dai_get_widget(dai, substream->stream); in hda_dai_hw_params_update() 338 return hda_dai_widget_update(w, stream_tag - 1, true); in hda_dai_hw_params_update() 360 static int hda_dai_config_pause_push_ipc(struct snd_soc_dapm_widget *w) in hda_dai_config_pause_push_ipc() argument 362 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_config_pause_push_ipc() 372 w->name); in hda_dai_config_pause_push_ipc() 402 struct snd_soc_dapm_widget *w; in hda_dai_hw_free_ipc() local [all …]
|
/sound/pci/ |
D | es1968.c | 2053 unsigned short w; in snd_es1968_ac97_reset() local 2067 pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */ in snd_es1968_ac97_reset() 2069 if (w & 1) in snd_es1968_ac97_reset() 2101 for (w = 0;; w++) { in snd_es1968_ac97_reset() 2116 if (w > 10000) { in snd_es1968_ac97_reset() 2123 for (w = 0; w < 10000; w++) { in snd_es1968_ac97_reset() 2170 u16 w; in snd_es1968_chip_init() local 2185 pci_read_config_word(pci, ESM_CONFIG_A, &w); in snd_es1968_chip_init() 2187 w &= ~DMA_CLEAR; /* Clear DMA bits */ in snd_es1968_chip_init() 2188 w &= ~(PIC_SNOOP1 | PIC_SNOOP2); /* Clear Pic Snoop Mode Bits */ in snd_es1968_chip_init() [all …]
|
/sound/soc/mediatek/mt8195/ |
D | mt8195-dai-adda.c | 192 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event() argument 196 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() 200 __func__, w->name, event); in mtk_adda_mtkaif_cfg_event() 213 static int mtk_adda_dl_event(struct snd_soc_dapm_widget *w, in mtk_adda_dl_event() argument 217 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() 221 __func__, w->name, event); in mtk_adda_dl_event() 263 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event() argument 267 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() 273 __func__, w->name, event); in mtk_adda_ul_event() 290 static int mtk_adda6_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda6_ul_event() argument [all …]
|
/sound/soc/mediatek/mt8192/ |
D | mt8192-dai-tdm.c | 244 static int mtk_tdm_en_event(struct snd_soc_dapm_widget *w, in mtk_tdm_en_event() argument 248 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() 251 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_en_event() 260 __func__, w->name, event); 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() argument 280 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event() 283 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_bck_en_event() 292 __func__, w->name, event, dai_id); 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() argument 312 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() [all …]
|
D | mt8192-dai-adda.c | 297 static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ul_event() argument 301 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() 307 __func__, w->name, event, mtkaif_dmic); in mtk_adda_ul_event() 338 static int mtk_adda_ch34_ul_event(struct snd_soc_dapm_widget *w, in mtk_adda_ch34_ul_event() argument 342 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ch34_ul_event() 350 __func__, w->name, event, mtkaif_dmic, mtkaif_adda6_only); in mtk_adda_ch34_ul_event() 404 static int mtk_adda_pad_top_event(struct snd_soc_dapm_widget *w, in mtk_adda_pad_top_event() argument 408 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_pad_top_event() 426 static int mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, in mtk_adda_mtkaif_cfg_event() argument 430 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() [all …]
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-i2s.c | 272 static int mtk_apll_event(struct snd_soc_dapm_widget *w, in mtk_apll_event() argument 276 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() 280 __func__, w->name, event); in mtk_apll_event() 284 if (strcmp(w->name, APLL1_W_NAME) == 0) in mtk_apll_event() 290 if (strcmp(w->name, APLL1_W_NAME) == 0) in mtk_apll_event() 302 static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w, in mtk_mclk_en_event() argument 306 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_mclk_en_event() 311 __func__, w->name, event); in mtk_mclk_en_event() 313 i2s_priv = get_i2s_priv_by_name(afe, w->name); in mtk_mclk_en_event() 426 struct snd_soc_dapm_widget *w = sink; in mtk_afe_i2s_share_connect() local [all …]
|
/sound/soc/meson/ |
D | meson-codec-glue.c | 14 meson_codec_glue_get_input(struct snd_soc_dapm_widget *w) in meson_codec_glue_get_input() argument 19 snd_soc_dapm_widget_for_each_source_path(w, p) { in meson_codec_glue_get_input() 24 if (snd_soc_dapm_to_component(w->dapm) != 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() argument 56 meson_codec_glue_get_input(w); in meson_codec_glue_output_get_input_data()
|
/sound/soc/samsung/ |
D | midas_wm1811.c | 141 static int midas_ext_spkmode(struct snd_soc_dapm_widget *w, in midas_ext_spkmode() argument 144 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); in midas_ext_spkmode() 163 static int midas_mic_bias(struct snd_soc_dapm_widget *w, in midas_mic_bias() argument 166 struct snd_soc_card *card = w->dapm->card; in midas_mic_bias() 179 static int midas_submic_bias(struct snd_soc_dapm_widget *w, in midas_submic_bias() argument 182 struct snd_soc_card *card = w->dapm->card; in midas_submic_bias() 195 static int midas_fm_set(struct snd_soc_dapm_widget *w, in midas_fm_set() argument 198 struct snd_soc_card *card = w->dapm->card; in midas_fm_set() 216 static int midas_line_set(struct snd_soc_dapm_widget *w, in midas_line_set() argument 219 struct snd_soc_card *card = w->dapm->card; in midas_line_set()
|