Home
last modified time | relevance | path

Searched refs:dai_id (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/qcom/
Dlpass-lpaif-reg.h132 #define LPAIF_INTFDMA_REG(v, chan, reg, dai_id) \ argument
133 ((dai_id == LPASS_DP_RX) ? \
137 #define __LPAIF_DMA_REG(v, chan, dir, reg, dai_id) \ argument
139 (LPAIF_INTFDMA_REG(v, chan, reg, dai_id)) : \
142 #define LPAIF_DMACTL_REG(v, chan, dir, dai_id) __LPAIF_DMA_REG(v, chan, dir, CTL, dai_id) argument
143 #define LPAIF_DMABASE_REG(v, chan, dir, dai_id) __LPAIF_DMA_REG(v, chan, dir, BASE, dai_id) argument
144 #define LPAIF_DMABUFF_REG(v, chan, dir, dai_id) __LPAIF_DMA_REG(v, chan, dir, BUFF, dai_id) argument
145 #define LPAIF_DMACURR_REG(v, chan, dir, dai_id) __LPAIF_DMA_REG(v, chan, dir, CURR, dai_id) argument
146 #define LPAIF_DMAPER_REG(v, chan, dir, dai_id) __LPAIF_DMA_REG(v, chan, dir, PER, dai_id) argument
147 #define LPAIF_DMAPERCNT_REG(v, chan, dir, dai_id) __LPAIF_DMA_REG(v, chan, dir, PERCNT, dai_id) argument
Dlpass-platform.c111 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_open() local
113 component->id = dai_id; in lpass_platform_pcmops_open()
122 dma_ch = v->alloc_dma_channel(drvdata, dir, dai_id); in lpass_platform_pcmops_open()
173 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_close() local
176 if (dai_id == LPASS_DP_RX) in lpass_platform_pcmops_close()
181 v->free_dma_channel(drvdata, data->dma_ch, dai_id); in lpass_platform_pcmops_close()
204 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_params() local
208 if (dai_id == LPASS_DP_RX) in lpass_platform_pcmops_hw_params()
237 switch (dai_id) { in lpass_platform_pcmops_hw_params()
273 dev_err(soc_runtime->dev, "%s: invalid interface: %d\n", __func__, dai_id); in lpass_platform_pcmops_hw_params()
[all …]
Dlpass-sc7180.c77 int direction, unsigned int dai_id) in sc7180_lpass_alloc_dma_channel() argument
82 if (dai_id == LPASS_DP_RX) { in sc7180_lpass_alloc_dma_channel()
113 static int sc7180_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id) in sc7180_lpass_free_dma_channel() argument
115 if (dai_id == LPASS_DP_RX) in sc7180_lpass_free_dma_channel()
Dlpass-ipq806x.c99 static int ipq806x_lpass_alloc_dma_channel(struct lpass_data *drvdata, int dir, unsigned int dai_id) in ipq806x_lpass_alloc_dma_channel() argument
107 static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id) in ipq806x_lpass_free_dma_channel() argument
Dlpass-cpu.c844 int ret, i, dai_id; in asoc_qcom_lpass_cpu_platform_probe() local
917 dai_id = variant->dai_driver[i].id; in asoc_qcom_lpass_cpu_platform_probe()
918 if (dai_id == LPASS_DP_RX) in asoc_qcom_lpass_cpu_platform_probe()
921 drvdata->mi2s_osr_clk[dai_id] = devm_clk_get_optional(dev, in asoc_qcom_lpass_cpu_platform_probe()
923 drvdata->mi2s_bit_clk[dai_id] = devm_clk_get(dev, in asoc_qcom_lpass_cpu_platform_probe()
925 if (IS_ERR(drvdata->mi2s_bit_clk[dai_id])) { in asoc_qcom_lpass_cpu_platform_probe()
929 PTR_ERR(drvdata->mi2s_bit_clk[dai_id])); in asoc_qcom_lpass_cpu_platform_probe()
930 return PTR_ERR(drvdata->mi2s_bit_clk[dai_id]); in asoc_qcom_lpass_cpu_platform_probe()
Dlpass.h245 int (*alloc_dma_channel)(struct lpass_data *data, int direction, unsigned int dai_id);
246 int (*free_dma_channel)(struct lpass_data *data, int ch, unsigned int dai_id);
Dlpass-apq8016.c128 int direction, unsigned int dai_id) in apq8016_lpass_alloc_dma_channel() argument
154 static int apq8016_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id) in apq8016_lpass_free_dma_channel() argument
/kernel/linux/linux-5.10/include/uapi/sound/
Dasoc.h516 __le32 dai_id; /* unique ID - used to match */ member
568 __le32 dai_id; /* unique ID - used to match */ member
616 __le32 dai_id; /* unique ID - used to match */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
Dasoc.h299 __le32 dai_id; member
327 __le32 dai_id; member
365 __le32 dai_id; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
Dasoc.h311 __le32 dai_id; member
339 __le32 dai_id; member
377 __le32 dai_id; member
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtscs454.c2728 unsigned int dai_id, bool delay) in set_aif_tdm_delay() argument
2733 switch (dai_id) { in set_aif_tdm_delay()
2746 "DAI %d unknown (%d)\n", dai_id + 1, ret); in set_aif_tdm_delay()
2761 unsigned int dai_id, unsigned int fmt) in set_aif_format_from_fmt() argument
2767 switch (dai_id) { in set_aif_format_from_fmt()
2780 "DAI %d unknown (%d)\n", dai_id + 1, ret); in set_aif_format_from_fmt()
2795 ret = set_aif_tdm_delay(component, dai_id, true); in set_aif_format_from_fmt()
2801 ret = set_aif_tdm_delay(component, dai_id, false); in set_aif_format_from_fmt()
2816 dai_id + 1, ret); in set_aif_format_from_fmt()
2825 unsigned int dai_id, unsigned int fmt) in set_aif_clock_format_from_fmt() argument
[all …]
Dhdac_hdmi.c115 int dai_id; member
1175 int dai_id = 0; in hdac_hdmi_init_dai_map() local
1181 dai_map = &hdmi->dai_map[dai_id]; in hdac_hdmi_init_dai_map()
1182 dai_map->dai_id = dai_id; in hdac_hdmi_init_dai_map()
1185 dai_id++; in hdac_hdmi_init_dai_map()
1187 if (dai_id == HDA_MAX_CVTS) { in hdac_hdmi_init_dai_map()
1189 "Max dais supported: %d\n", dai_id); in hdac_hdmi_init_dai_map()
Dcs43130.c483 static int cs43130_set_bitwidth(int dai_id, unsigned int bitwidth_dai, in cs43130_set_bitwidth() argument
492 switch (dai_id) { in cs43130_set_bitwidth()
556 static int cs43130_set_sp_fmt(int dai_id, unsigned int bitwidth_sclk, in cs43130_set_sp_fmt() argument
573 switch (cs43130->dais[dai_id].dai_format) { in cs43130_set_sp_fmt()
598 switch (cs43130->dais[dai_id].dai_mode) { in cs43130_set_sp_fmt()
628 switch (dai_id) { in cs43130_set_sp_fmt()
710 switch (dai_id) { in cs43130_set_sp_fmt()
Dwcd9335.c1346 int dai_id = widget->shift; in slim_tx_mixer_put() local
1349 switch (dai_id) { in slim_tx_mixer_put()
1357 &wcd->dai[dai_id].slim_ch_list); in slim_tx_mixer_put()
1364 dev_err(wcd->dev, "Unknown AIF %d\n", dai_id); in slim_tx_mixer_put()
Drt5640.c1647 static int get_sdp_info(struct snd_soc_component *component, int dai_id) in get_sdp_info() argument
1656 switch (dai_id) { in get_sdp_info()
Dwcd934x.c3077 int dai_id = widget->shift; in slim_tx_mixer_put() local
3087 &wcd->dai[dai_id].slim_ch_list); in slim_tx_mixer_put()
3095 list_for_each_entry_safe(ch, c, &wcd->dai[dai_id].slim_ch_list, list) { in slim_tx_mixer_put()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_codec.c319 int dai_id, ret; in gbaudio_module_update() local
331 ret = sscanf(w->sname, "%s %d %s", intf_name, &dai_id, dir); in gbaudio_module_update()
341 ret = gbaudio_module_enable_tx(codec, module, dai_id); in gbaudio_module_update()
343 ret = gbaudio_module_disable_tx(module, dai_id); in gbaudio_module_update()
346 ret = gbaudio_module_enable_rx(codec, module, dai_id); in gbaudio_module_update()
348 ret = gbaudio_module_disable_rx(module, dai_id); in gbaudio_module_update()
/kernel/linux/linux-5.10/sound/soc/mediatek/common/
Dmtk-base-afe.h105 int dai_id, unsigned int rate);
/kernel/linux/linux-5.10/drivers/soundwire/
Dcadence_master.h169 u32 ch, u32 dir, int dai_id);
Dcadence_master.c1621 int dai_id) in cdns_find_pdi() argument
1626 if (pdi[i].num == dai_id) in cdns_find_pdi()
1674 u32 ch, u32 dir, int dai_id) in sdw_cdns_alloc_pdi() argument
1680 dai_id); in sdw_cdns_alloc_pdi()
1683 dai_id); in sdw_cdns_alloc_pdi()
1688 dai_id); in sdw_cdns_alloc_pdi()
/kernel/linux/linux-5.10/sound/soc/sof/
Dsof-audio.h187 if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) in snd_sof_find_spcm_dai()
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c101 int dai_id = get_i2s_id_by_name(afe, name); in get_i2s_priv_by_name() local
103 if (dai_id < 0) in get_i2s_priv_by_name()
106 return afe_priv->dai_priv[dai_id]; in get_i2s_priv_by_name()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-topology.c1845 dai_drv->id = le32_to_cpu(pcm->dai_id); in soc_tplg_dai_create()
2074 dest->dai_id = src_v4->dai_id; in pcm_new_ver()
2464 if (le32_to_cpu(d->dai_id) != dai->id) { in soc_tplg_dai_config()