Lines Matching defs:source
454 static int mtk_afe_etdm_apll_connect(struct snd_soc_dapm_widget *source,
470 cur_apll = mt8188_get_apll_by_name(afe, source->name);
476 static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
487 cur_apll = mt8188_get_apll_by_name(afe, source->name);
492 static int mtk_etdm_mclk_connect(struct snd_soc_dapm_widget *source,
502 mclk_id = get_etdm_id_by_name(afe, source->name);
525 static int mtk_etdm_cowork_connect(struct snd_soc_dapm_widget *source,
536 source_id = get_etdm_id_by_name(afe, source->name);
1018 unsigned int source = ucontrol->value.enumerated.item[0];
1024 if (source >= e->items)
1030 val = FIELD_PREP(ETDM_OUT_CON4_CLOCK_MASK, source);
1034 val = FIELD_PREP(ETDM_OUT_CON4_CLOCK_MASK, source);
1038 val = FIELD_PREP(ETDM_OUT_CON4_CLOCK_MASK, source);
1042 val = FIELD_PREP(ETDM_IN_CON2_CLOCK_MASK, source);
1046 val = FIELD_PREP(ETDM_IN_CON2_CLOCK_MASK, source);
2587 dev_err(afe->dev, "%s [%d] wrong sync source\n",
2628 snprintf(prop, sizeof(prop), "mediatek,%s-cowork-source",