Home
last modified time | relevance | path

Searched refs:cpu_dai (Results 1 – 25 of 121) sorted by relevance

12345

/linux/sound/soc/sof/intel/
H A Dhda-dai.c62 struct snd_soc_dai *cpu_dai) in dai_to_sdev() argument
64 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in dai_to_sdev()
70 hda_dai_get_ops(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) in hda_dai_get_ops() argument
72 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in hda_dai_get_ops()
109 struct snd_soc_dai *cpu_dai, bool release) in hda_link_dma_cleanup() argument
111 const struct hda_dai_widget_dma_ops *ops = hda_dai_get_ops(substream, cpu_dai); in hda_link_dma_cleanup()
118 dev_err(cpu_dai->dev, "DAI widget ops not set\n"); in hda_link_dma_cleanup()
122 sdev = dai_to_sdev(substream, cpu_dai); in hda_link_dma_cleanup()
145 ops->release_hext_stream(sdev, cpu_dai, substream); in hda_link_dma_cleanup()
157 struct snd_pcm_hw_params *params, struct snd_soc_dai *cpu_dai) in hda_link_dma_hw_params() argument
[all …]
H A Dhda-dai-ops.c119 struct snd_soc_dai *cpu_dai, in hda_get_hext_stream() argument
122 return snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_get_hext_stream()
126 struct snd_soc_dai *cpu_dai, in hda_ipc4_get_hext_stream() argument
134 w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in hda_ipc4_get_hext_stream()
142 return snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_ipc4_get_hext_stream()
146 struct snd_soc_dai *cpu_dai, in hda_assign_hext_stream() argument
155 snd_soc_dai_set_dma_data(cpu_dai, substream, (void *)hext_stream); in hda_assign_hext_stream()
160 static void hda_release_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai, in hda_release_hext_stream() argument
163 struct hdac_ext_stream *hext_stream = hda_get_hext_stream(sdev, cpu_dai, substream); in hda_release_hext_stream()
165 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in hda_release_hext_stream()
[all …]
/linux/sound/soc/qcom/
H A Dsdm845.c63 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params() local
75 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
89 ret = snd_soc_dai_set_channel_map(cpu_dai, 0, NULL, in sdm845_slim_snd_hw_params()
92 ret = snd_soc_dai_set_channel_map(cpu_dai, tx_ch_cnt, in sdm845_slim_snd_hw_params()
103 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params() local
120 ret = snd_soc_dai_set_tdm_slot(cpu_dai, 0, 0x3, in sdm845_tdm_snd_hw_params()
128 ret = snd_soc_dai_set_channel_map(cpu_dai, 0, NULL, in sdm845_tdm_snd_hw_params()
136 ret = snd_soc_dai_set_tdm_slot(cpu_dai, 0xf, 0, in sdm845_tdm_snd_hw_params()
144 ret = snd_soc_dai_set_channel_map(cpu_dai, channels, in sdm845_tdm_snd_hw_params()
188 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_params() local
[all …]
H A Dsc7280.c65 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_headset_init() local
97 switch (cpu_dai->id) { in sc7280_headset_init()
143 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_rt5682_init() local
150 snd_soc_dai_set_sysclk(cpu_dai, in sc7280_rt5682_init()
182 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_init() local
184 switch (cpu_dai->id) { in sc7280_init()
199 dev_err(rtd->dev, "%s: invalid dai id 0x%x\n", __func__, cpu_dai->id); in sc7280_init()
211 const struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_snd_hw_params() local
221 switch (cpu_dai->id) { in sc7280_snd_hw_params()
231 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params()
[all …]
H A Dsm8250.c54 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_startup() local
57 switch (cpu_dai->id) { in sm8250_snd_startup()
60 snd_soc_dai_set_sysclk(cpu_dai, in sm8250_snd_startup()
63 snd_soc_dai_set_fmt(cpu_dai, fmt); in sm8250_snd_startup()
68 snd_soc_dai_set_sysclk(cpu_dai, in sm8250_snd_startup()
71 snd_soc_dai_set_fmt(cpu_dai, fmt); in sm8250_snd_startup()
76 snd_soc_dai_set_sysclk(cpu_dai, in sm8250_snd_startup()
79 snd_soc_dai_set_fmt(cpu_dai, fmt); in sm8250_snd_startup()
92 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_shutdown() local
94 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_shutdown()
[all …]
H A Dsc7180.c121 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7180_init() local
123 switch (cpu_dai->id) { in sc7180_init()
132 cpu_dai->id); in sc7180_init()
140 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7180_qdsp_init() local
142 switch (cpu_dai->id) { in sc7180_qdsp_init()
152 cpu_dai->id); in sc7180_qdsp_init()
206 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7180_snd_startup() local
209 switch (cpu_dai->id) { in sc7180_snd_startup()
212 snd_soc_dai_set_sysclk(cpu_dai, in sc7180_snd_startup()
229 cpu_dai->id); in sc7180_snd_startup()
[all …]
H A Dsdw.c25 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_startup() local
30 sruntime = sdw_alloc_stream(cpu_dai->name); in qcom_snd_sdw_startup()
58 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_prepare() local
64 switch (cpu_dai->id) { in qcom_snd_sdw_prepare()
110 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_params() local
114 switch (cpu_dai->id) { in qcom_snd_sdw_hw_params()
139 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_free() local
141 switch (cpu_dai->id) { in qcom_snd_sdw_hw_free()
H A Dapq8016_sbc.c151 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in apq8016_sbc_dai_init() local
153 return apq8016_dai_init(rtd, cpu_dai->id); in apq8016_sbc_dai_init()
165 static int qdsp6_dai_get_lpass_id(struct snd_soc_dai *cpu_dai) in qdsp6_dai_get_lpass_id() argument
167 switch (cpu_dai->id) { in qdsp6_dai_get_lpass_id()
187 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_dai_init() local
189 snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP); in msm8916_qdsp6_dai_init()
190 return apq8016_dai_init(rtd, qdsp6_dai_get_lpass_id(cpu_dai)); in msm8916_qdsp6_dai_init()
198 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_startup() local
201 mi2s = qdsp6_dai_get_lpass_id(cpu_dai); in msm8916_qdsp6_startup()
208 ret = snd_soc_dai_set_sysclk(cpu_dai, LPAIF_BIT_CLK, MI2S_BCLK_RATE, 0); in msm8916_qdsp6_startup()
[all …]
H A Dlpass-platform.c197 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_open() local
203 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_open()
210 data->i2s_port = cpu_dai->driver->id; in lpass_platform_pcmops_open()
289 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_close() local
293 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_close()
326 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_dmactl_handle() local
330 switch (cpu_dai->driver->id) { in __lpass_get_dmactl_handle()
358 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_id() local
365 switch (cpu_dai->driver->id) { in __lpass_get_id()
393 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_regmap_handle() local
[all …]
/linux/sound/soc/stm/
H A Dstm32_sai_sub.c109 struct snd_soc_dai *cpu_dai; member
661 static int stm32_sai_set_sysclk(struct snd_soc_dai *cpu_dai, in stm32_sai_set_sysclk() argument
664 struct stm32_sai_sub_data *sai = snd_soc_dai_get_drvdata(cpu_dai); in stm32_sai_set_sysclk()
695 dev_err(cpu_dai->dev, in stm32_sai_set_sysclk()
702 dev_dbg(cpu_dai->dev, "SAI MCLK frequency is %uHz\n", freq); in stm32_sai_set_sysclk()
709 static int stm32_sai_set_dai_tdm_slot(struct snd_soc_dai *cpu_dai, u32 tx_mask, in stm32_sai_set_dai_tdm_slot() argument
712 struct stm32_sai_sub_data *sai = snd_soc_dai_get_drvdata(cpu_dai); in stm32_sai_set_dai_tdm_slot()
716 dev_warn(cpu_dai->dev, "Slot setting relevant only for TDM\n"); in stm32_sai_set_dai_tdm_slot()
720 dev_dbg(cpu_dai->dev, "Masks tx/rx:%#x/%#x, slots:%d, width:%d\n", in stm32_sai_set_dai_tdm_slot()
760 static int stm32_sai_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in stm32_sai_set_dai_fmt() argument
[all …]
H A Dstm32_i2s.c671 static int stm32_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in stm32_i2s_set_dai_fmt() argument
673 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_set_dai_fmt()
678 dev_dbg(cpu_dai->dev, "fmt %x\n", fmt); in stm32_i2s_set_dai_fmt()
699 dev_err(cpu_dai->dev, "Unsupported protocol %#x\n", in stm32_i2s_set_dai_fmt()
719 dev_err(cpu_dai->dev, "Unsupported strobing %#x\n", in stm32_i2s_set_dai_fmt()
733 dev_err(cpu_dai->dev, "Unsupported mode %#x\n", in stm32_i2s_set_dai_fmt()
743 static int stm32_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, in stm32_i2s_set_sysclk() argument
746 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_set_sysclk()
749 dev_dbg(cpu_dai->dev, "I2S MCLK frequency is %uHz. mode: %s, dir: %s\n", in stm32_i2s_set_sysclk()
756 dev_dbg(cpu_dai->dev, "No MCLK registered\n"); in stm32_i2s_set_sysclk()
[all …]
H A Dstm32_spdifrx.c524 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in stm32_spdifrx_capture_get() local
525 struct stm32_spdifrx_data *spdifrx = snd_soc_dai_get_drvdata(cpu_dai); in stm32_spdifrx_capture_get()
541 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in stm32_spdif_user_bits_get() local
542 struct stm32_spdifrx_data *spdifrx = snd_soc_dai_get_drvdata(cpu_dai); in stm32_spdif_user_bits_get()
581 static int stm32_spdifrx_dai_register_ctrls(struct snd_soc_dai *cpu_dai) in stm32_spdifrx_dai_register_ctrls() argument
585 ret = snd_soc_add_dai_controls(cpu_dai, stm32_spdifrx_iec_ctrls, in stm32_spdifrx_dai_register_ctrls()
590 return snd_soc_add_component_controls(cpu_dai->component, in stm32_spdifrx_dai_register_ctrls()
595 static int stm32_spdifrx_dai_probe(struct snd_soc_dai *cpu_dai) in stm32_spdifrx_dai_probe() argument
597 struct stm32_spdifrx_data *spdifrx = dev_get_drvdata(cpu_dai->dev); in stm32_spdifrx_dai_probe()
603 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_dai_probe()
[all …]
/linux/sound/soc/hisilicon/
H A Dhi6210-i2s.c91 struct snd_soc_dai *cpu_dai) in hi6210_i2s_startup() argument
93 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_startup()
172 struct snd_soc_dai *cpu_dai) in hi6210_i2s_shutdown() argument
174 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_shutdown()
183 static void hi6210_i2s_txctrl(struct snd_soc_dai *cpu_dai, int on) in hi6210_i2s_txctrl() argument
185 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_txctrl()
203 static void hi6210_i2s_rxctrl(struct snd_soc_dai *cpu_dai, int on) in hi6210_i2s_rxctrl() argument
205 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_rxctrl()
221 static int hi6210_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in hi6210_i2s_set_fmt() argument
223 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_set_fmt()
[all …]
/linux/sound/soc/mxs/
H A Dmxs-saif.c47 static int mxs_saif_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in mxs_saif_set_dai_sysclk() argument
50 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_sysclk()
289 static int mxs_saif_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in mxs_saif_set_dai_fmt() argument
293 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_fmt()
297 dev_err(cpu_dai->dev, "error: busy\n"); in mxs_saif_set_dai_fmt()
377 struct snd_soc_dai *cpu_dai) in mxs_saif_startup() argument
379 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_startup()
402 struct snd_soc_dai *cpu_dai) in mxs_saif_shutdown() argument
404 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_shutdown()
415 struct snd_soc_dai *cpu_dai) in mxs_saif_hw_params() argument
[all …]
/linux/sound/soc/pxa/
H A Dpxa-ssp.c74 struct snd_soc_dai *cpu_dai) in pxa_ssp_startup() argument
76 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_startup()
81 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_startup()
94 snd_soc_dai_set_dma_data(cpu_dai, substream, dma); in pxa_ssp_startup()
100 struct snd_soc_dai *cpu_dai) in pxa_ssp_shutdown() argument
102 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_shutdown()
105 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_shutdown()
112 kfree(snd_soc_dai_get_dma_data(cpu_dai, substream)); in pxa_ssp_shutdown()
113 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in pxa_ssp_shutdown()
184 static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in pxa_ssp_set_dai_sysclk() argument
[all …]
/linux/sound/soc/fsl/
H A Dlpc3xxx-i2s.c69 static int lpc3xxx_i2s_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) in lpc3xxx_i2s_startup() argument
71 struct lpc3xxx_i2s_info *i2s_info_p = snd_soc_dai_get_drvdata(cpu_dai); in lpc3xxx_i2s_startup()
101 static void lpc3xxx_i2s_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) in lpc3xxx_i2s_shutdown() argument
103 struct lpc3xxx_i2s_info *i2s_info_p = snd_soc_dai_get_drvdata(cpu_dai); in lpc3xxx_i2s_shutdown()
125 static int lpc3xxx_i2s_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in lpc3xxx_i2s_set_dai_sysclk() argument
128 struct lpc3xxx_i2s_info *i2s_info_p = snd_soc_dai_get_drvdata(cpu_dai); in lpc3xxx_i2s_set_dai_sysclk()
136 static int lpc3xxx_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in lpc3xxx_i2s_set_dai_fmt() argument
138 struct lpc3xxx_i2s_info *i2s_info_p = snd_soc_dai_get_drvdata(cpu_dai); in lpc3xxx_i2s_set_dai_fmt()
156 struct snd_soc_dai *cpu_dai) in lpc3xxx_i2s_hw_params() argument
158 struct lpc3xxx_i2s_info *i2s_info_p = snd_soc_dai_get_drvdata(cpu_dai); in lpc3xxx_i2s_hw_params()
[all …]
H A Dmpc5200_psc_i2s.c86 static int psc_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, in psc_i2s_set_sysclk() argument
89 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_sysclk()
91 cpu_dai, dir); in psc_i2s_set_sysclk()
106 static int psc_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int format) in psc_i2s_set_fmt() argument
108 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_fmt()
110 cpu_dai, format); in psc_i2s_set_fmt()
H A Dfsl_sai.c166 static int fsl_sai_set_dai_tdm_slot(struct snd_soc_dai *cpu_dai, u32 tx_mask, in fsl_sai_set_dai_tdm_slot() argument
169 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_tdm_slot()
187 static int fsl_sai_set_dai_sysclk_tr(struct snd_soc_dai *cpu_dai, in fsl_sai_set_dai_sysclk_tr() argument
190 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_sysclk_tr()
232 static int fsl_sai_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in fsl_sai_set_dai_sysclk() argument
235 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_sysclk()
243 dev_err(cpu_dai->dev, "Unknown clock id: %d\n", clk_id); in fsl_sai_set_dai_sysclk()
248 dev_err(cpu_dai->dev, "Unassigned clock: %d\n", clk_id); in fsl_sai_set_dai_sysclk()
253 ret = fsl_sai_set_mclk_rate(cpu_dai, clk_id, freq); in fsl_sai_set_dai_sysclk()
259 ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq, true); in fsl_sai_set_dai_sysclk()
[all …]
H A Dfsl_spdif.c604 struct snd_soc_dai *cpu_dai) in fsl_spdif_startup() argument
614 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_startup()
646 struct snd_soc_dai *cpu_dai) in fsl_spdif_shutdown() argument
668 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_shutdown()
788 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_get() local
789 struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(cpu_dai); in fsl_spdif_pb_get()
803 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_put() local
804 struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(cpu_dai); in fsl_spdif_pb_put()
821 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_capture_get() local
822 struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(cpu_dai); in fsl_spdif_capture_get()
853 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_subcode_get() local
885 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_qget() local
907 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_rx_vbit_get() local
922 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_tx_vbit_get() local
938 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_tx_vbit_put() local
951 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_rx_rcm_get() local
966 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_rx_rcm_put() local
1099 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_rxrate_get() local
1119 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_usync_get() local
1138 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); fsl_spdif_usync_put() local
[all...]
/linux/sound/soc/img/
H A Dimg-spdif-in.c294 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_status() local
295 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai); in img_spdif_in_get_status()
324 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_multi_freq() local
325 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai); in img_spdif_in_get_multi_freq()
348 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_set_multi_freq() local
349 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai); in img_spdif_in_set_multi_freq()
398 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_lock_freq() local
399 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai); in img_spdif_in_get_lock_freq()
438 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_trk() local
439 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai); in img_spdif_in_get_trk()
[all …]
/linux/sound/soc/ti/
H A Domap-mcbsp-st.c390 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \
391 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); \
409 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \
410 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); \
426 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_put_mode() local
427 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_put_mode()
444 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_get_mode() local
445 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_get_mode()
478 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in omap_mcbsp_st_add_controls() local
479 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_add_controls()
[all …]
H A Domap-mcbsp.c725 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in omap_mcbsp_set_threshold() local
726 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_set_threshold()
771 struct snd_soc_dai *cpu_dai) in omap_mcbsp_dai_startup() argument
773 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_startup()
776 if (!snd_soc_dai_active(cpu_dai)) in omap_mcbsp_dai_startup()
816 struct snd_soc_dai *cpu_dai) in omap_mcbsp_dai_shutdown() argument
818 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_shutdown()
831 if (!snd_soc_dai_active(cpu_dai)) { in omap_mcbsp_dai_shutdown()
838 struct snd_soc_dai *cpu_dai) in omap_mcbsp_dai_prepare() argument
840 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_prepare()
[all …]
/linux/sound/soc/intel/keembay/
H A Dkmb_platform.c403 static int kmb_probe(struct snd_soc_dai *cpu_dai) in kmb_probe() argument
405 struct kmb_i2s_info *kmb_i2s = snd_soc_dai_get_drvdata(cpu_dai); in kmb_probe()
410 snd_soc_dai_init_dma_data(cpu_dai, &kmb_i2s->play_dma_data, in kmb_probe()
495 static int kmb_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in kmb_set_dai_fmt() argument
497 struct kmb_i2s_info *kmb_i2s = snd_soc_dai_get_drvdata(cpu_dai); in kmb_set_dai_fmt()
527 int cmd, struct snd_soc_dai *cpu_dai) in kmb_dai_trigger() argument
529 struct kmb_i2s_info *kmb_i2s = snd_soc_dai_get_drvdata(cpu_dai); in kmb_dai_trigger()
581 struct snd_soc_dai *cpu_dai) in kmb_dai_hw_params() argument
583 struct kmb_i2s_info *kmb_i2s = snd_soc_dai_get_drvdata(cpu_dai); in kmb_dai_hw_params()
677 struct snd_soc_dai *cpu_dai) in kmb_dai_prepare() argument
[all …]
/linux/sound/soc/samsung/
H A Dsmdk_wm8994pcm.c48 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in smdk_wm8994_pcm_hw_params() local
57 dev_err(cpu_dai->dev, "%s:%d Sampling Rate %u not supported!\n", in smdk_wm8994_pcm_hw_params()
75 ret = snd_soc_dai_set_sysclk(cpu_dai, S3C_PCM_CLKSRC_MUX, in smdk_wm8994_pcm_hw_params()
81 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C_PCM_SCLK_PER_FS, rfs); in smdk_wm8994_pcm_hw_params()
H A Dodroid.c199 struct device_node *cpu_dai = NULL; in odroid_audio_probe() local
265 cpu_dai = of_parse_phandle(cpu, "sound-dai", 0); in odroid_audio_probe()
266 if (!cpu_dai) in odroid_audio_probe()
284 priv->sclk_i2s = of_clk_get_by_name(cpu_dai, "i2s_opclk1"); in odroid_audio_probe()
290 priv->clk_i2s_bus = of_clk_get_by_name(cpu_dai, "iis"); in odroid_audio_probe()
302 of_node_put(cpu_dai); in odroid_audio_probe()
311 of_node_put(cpu_dai); in odroid_audio_probe()

12345