/sound/soc/qcom/ |
D | sdm845.c | 50 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params() local 62 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params() 76 ret = snd_soc_dai_set_channel_map(cpu_dai, 0, NULL, in sdm845_slim_snd_hw_params() 79 ret = snd_soc_dai_set_channel_map(cpu_dai, tx_ch_cnt, in sdm845_slim_snd_hw_params() 90 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params() local 107 ret = snd_soc_dai_set_tdm_slot(cpu_dai, 0, 0x3, in sdm845_tdm_snd_hw_params() 115 ret = snd_soc_dai_set_channel_map(cpu_dai, 0, NULL, in sdm845_tdm_snd_hw_params() 123 ret = snd_soc_dai_set_tdm_slot(cpu_dai, 0xf, 0, in sdm845_tdm_snd_hw_params() 131 ret = snd_soc_dai_set_channel_map(cpu_dai, channels, in sdm845_tdm_snd_hw_params() 175 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_params() local [all …]
|
D | lpass-platform.c | 105 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_open() local 111 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_open() 118 data->i2s_port = cpu_dai->driver->id; in lpass_platform_pcmops_open() 131 if (cpu_dai->driver->id == LPASS_DP_RX) { in lpass_platform_pcmops_open() 169 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_close() local 173 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_close() 192 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_params() local 204 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_params() 350 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_free() local 358 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_free() [all …]
|
/sound/soc/hisilicon/ |
D | hi3660-i2s.c | 93 struct snd_soc_dai *cpu_dai) in startup() argument 95 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in startup() 131 struct snd_soc_dai *cpu_dai) in shutdown() argument 133 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in shutdown() 139 static void txctrl(struct snd_soc_dai *cpu_dai, int on) in txctrl() argument 141 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in txctrl() 162 static void rxctrl(struct snd_soc_dai *cpu_dai, int on) in rxctrl() argument 164 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in rxctrl() 183 static int set_sysclk(struct snd_soc_dai *cpu_dai, in set_sysclk() argument 189 static int set_format(struct snd_soc_dai *cpu_dai, unsigned int fmt) in set_format() argument [all …]
|
D | hi6210-i2s.c | 92 struct snd_soc_dai *cpu_dai) in hi6210_i2s_startup() argument 94 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_startup() 173 struct snd_soc_dai *cpu_dai) in hi6210_i2s_shutdown() argument 175 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_shutdown() 184 static void hi6210_i2s_txctrl(struct snd_soc_dai *cpu_dai, int on) in hi6210_i2s_txctrl() argument 186 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_txctrl() 204 static void hi6210_i2s_rxctrl(struct snd_soc_dai *cpu_dai, int on) in hi6210_i2s_rxctrl() argument 206 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_rxctrl() 222 static int hi6210_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in hi6210_i2s_set_fmt() argument 224 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_set_fmt() [all …]
|
/sound/soc/stm/ |
D | stm32_i2s.c | 332 static int stm32_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in stm32_i2s_set_dai_fmt() argument 334 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_set_dai_fmt() 339 dev_dbg(cpu_dai->dev, "fmt %x\n", fmt); in stm32_i2s_set_dai_fmt() 360 dev_err(cpu_dai->dev, "Unsupported protocol %#x\n", in stm32_i2s_set_dai_fmt() 380 dev_err(cpu_dai->dev, "Unsupported strobing %#x\n", in stm32_i2s_set_dai_fmt() 394 dev_err(cpu_dai->dev, "Unsupported mode %#x\n", in stm32_i2s_set_dai_fmt() 404 static int stm32_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, in stm32_i2s_set_sysclk() argument 407 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_set_sysclk() 409 dev_dbg(cpu_dai->dev, "I2S MCLK frequency is %uHz\n", freq); in stm32_i2s_set_sysclk() 422 static int stm32_i2s_configure_clock(struct snd_soc_dai *cpu_dai, in stm32_i2s_configure_clock() argument [all …]
|
D | stm32_sai_sub.c | 105 struct snd_soc_dai *cpu_dai; member 550 static int stm32_sai_set_sysclk(struct snd_soc_dai *cpu_dai, in stm32_sai_set_sysclk() argument 553 struct stm32_sai_sub_data *sai = snd_soc_dai_get_drvdata(cpu_dai); in stm32_sai_set_sysclk() 580 dev_err(cpu_dai->dev, in stm32_sai_set_sysclk() 587 dev_dbg(cpu_dai->dev, "SAI MCLK frequency is %uHz\n", freq); in stm32_sai_set_sysclk() 594 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 597 struct stm32_sai_sub_data *sai = snd_soc_dai_get_drvdata(cpu_dai); in stm32_sai_set_dai_tdm_slot() 601 dev_warn(cpu_dai->dev, "Slot setting relevant only for TDM\n"); in stm32_sai_set_dai_tdm_slot() 605 dev_dbg(cpu_dai->dev, "Masks tx/rx:%#x/%#x, slots:%d, width:%d\n", in stm32_sai_set_dai_tdm_slot() 645 static int stm32_sai_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in stm32_sai_set_dai_fmt() argument [all …]
|
D | stm32_spdifrx.c | 526 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in stm32_spdifrx_capture_get() local 527 struct stm32_spdifrx_data *spdifrx = snd_soc_dai_get_drvdata(cpu_dai); in stm32_spdifrx_capture_get() 543 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in stm32_spdif_user_bits_get() local 544 struct stm32_spdifrx_data *spdifrx = snd_soc_dai_get_drvdata(cpu_dai); in stm32_spdif_user_bits_get() 583 static int stm32_spdifrx_dai_register_ctrls(struct snd_soc_dai *cpu_dai) in stm32_spdifrx_dai_register_ctrls() argument 587 ret = snd_soc_add_dai_controls(cpu_dai, stm32_spdifrx_iec_ctrls, in stm32_spdifrx_dai_register_ctrls() 592 return snd_soc_add_component_controls(cpu_dai->component, in stm32_spdifrx_dai_register_ctrls() 597 static int stm32_spdifrx_dai_probe(struct snd_soc_dai *cpu_dai) in stm32_spdifrx_dai_probe() argument 599 struct stm32_spdifrx_data *spdifrx = dev_get_drvdata(cpu_dai->dev); in stm32_spdifrx_dai_probe() 605 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_dai_probe() [all …]
|
/sound/soc/ |
D | soc-compress.c | 77 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open() local 86 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open() 107 snd_soc_dai_compr_shutdown(cpu_dai, cstream); in soc_compr_open() 122 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_open_fe() local 159 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open_fe() 186 snd_soc_dai_compr_shutdown(cpu_dai, cstream); in soc_compr_open_fe() 198 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_free() local 213 if (!snd_soc_dai_active(cpu_dai)) in soc_compr_free() 214 cpu_dai->rate = 0; in soc_compr_free() 223 snd_soc_dai_compr_shutdown(cpu_dai, cstream); in soc_compr_free() [all …]
|
D | soc-pcm.c | 367 struct snd_soc_dai *cpu_dai; in soc_pcm_params_symmetry() local 381 for_each_rtd_cpu_dais(rtd, i, cpu_dai) { in soc_pcm_params_symmetry() 382 if (cpu_dai->rate && cpu_dai->rate != rate) { in soc_pcm_params_symmetry() 384 cpu_dai->rate, rate); in soc_pcm_params_symmetry() 396 for_each_rtd_cpu_dais(rtd, i, cpu_dai) { in soc_pcm_params_symmetry() 397 if (cpu_dai->channels && in soc_pcm_params_symmetry() 398 cpu_dai->channels != channels) { in soc_pcm_params_symmetry() 400 cpu_dai->channels, channels); in soc_pcm_params_symmetry() 412 for_each_rtd_cpu_dais(rtd, i, cpu_dai) { in soc_pcm_params_symmetry() 413 if (cpu_dai->sample_bits && in soc_pcm_params_symmetry() [all …]
|
/sound/soc/mxs/ |
D | mxs-saif.c | 48 static int mxs_saif_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in mxs_saif_set_dai_sysclk() argument 51 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_sysclk() 290 static int mxs_saif_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in mxs_saif_set_dai_fmt() argument 294 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_fmt() 298 dev_err(cpu_dai->dev, "error: busy\n"); in mxs_saif_set_dai_fmt() 378 struct snd_soc_dai *cpu_dai) in mxs_saif_startup() argument 380 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_startup() 403 struct snd_soc_dai *cpu_dai) in mxs_saif_shutdown() argument 405 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_shutdown() 416 struct snd_soc_dai *cpu_dai) in mxs_saif_hw_params() argument [all …]
|
/sound/soc/pxa/ |
D | pxa-ssp.c | 90 struct snd_soc_dai *cpu_dai) in pxa_ssp_startup() argument 92 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_startup() 97 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_startup() 111 snd_soc_dai_set_dma_data(cpu_dai, substream, dma); in pxa_ssp_startup() 117 struct snd_soc_dai *cpu_dai) in pxa_ssp_shutdown() argument 119 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_shutdown() 122 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_shutdown() 130 kfree(snd_soc_dai_get_dma_data(cpu_dai, substream)); in pxa_ssp_shutdown() 131 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in pxa_ssp_shutdown() 202 static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in pxa_ssp_set_dai_sysclk() argument [all …]
|
D | pxa2xx-ac97.c | 97 struct snd_soc_dai *cpu_dai) in pxa2xx_ac97_hifi_startup() argument 106 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_hifi_startup() 112 struct snd_soc_dai *cpu_dai) in pxa2xx_ac97_aux_startup() argument 121 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_aux_startup() 127 struct snd_soc_dai *cpu_dai) in pxa2xx_ac97_mic_startup() argument 131 snd_soc_dai_set_dma_data(cpu_dai, substream, in pxa2xx_ac97_mic_startup()
|
D | brownstone.c | 48 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in brownstone_wm8994_hw_params() local 61 snd_soc_dai_set_sysclk(cpu_dai, MMP_SSPA_CLK_AUDIO, freq_out, 0); in brownstone_wm8994_hw_params() 62 snd_soc_dai_set_pll(cpu_dai, MMP_SYSCLK, 0, freq_out, sysclk); in brownstone_wm8994_hw_params() 63 snd_soc_dai_set_pll(cpu_dai, MMP_SSPA_CLK, 0, freq_out, sspa_mclk); in brownstone_wm8994_hw_params()
|
/sound/soc/fsl/ |
D | fsl_sai.c | 147 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 150 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_tdm_slot() 168 static int fsl_sai_set_dai_sysclk_tr(struct snd_soc_dai *cpu_dai, in fsl_sai_set_dai_sysclk_tr() argument 171 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_sysclk_tr() 199 static int fsl_sai_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in fsl_sai_set_dai_sysclk() argument 207 ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq, in fsl_sai_set_dai_sysclk() 210 dev_err(cpu_dai->dev, "Cannot set tx sysclk: %d\n", ret); in fsl_sai_set_dai_sysclk() 214 ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq, in fsl_sai_set_dai_sysclk() 217 dev_err(cpu_dai->dev, "Cannot set rx sysclk: %d\n", ret); in fsl_sai_set_dai_sysclk() 222 static int fsl_sai_set_dai_fmt_tr(struct snd_soc_dai *cpu_dai, in fsl_sai_set_dai_fmt_tr() argument [all …]
|
D | mpc5200_psc_i2s.c | 87 static int psc_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, in psc_i2s_set_sysclk() argument 90 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_sysclk() 92 cpu_dai, dir); in psc_i2s_set_sysclk() 107 static int psc_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int format) in psc_i2s_set_fmt() argument 109 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_fmt() 111 cpu_dai, format); in psc_i2s_set_fmt()
|
D | fsl_spdif.c | 493 struct snd_soc_dai *cpu_dai) in fsl_spdif_startup() argument 503 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_startup() 535 struct snd_soc_dai *cpu_dai) in fsl_spdif_shutdown() argument 557 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_shutdown() 655 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_get() local 656 struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(cpu_dai); in fsl_spdif_pb_get() 670 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_put() local 671 struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(cpu_dai); in fsl_spdif_pb_put() 688 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_capture_get() local 689 struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(cpu_dai); in fsl_spdif_capture_get() [all …]
|
/sound/soc/img/ |
D | img-spdif-in.c | 294 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 …]
|
/sound/soc/samsung/ |
D | s3c24xx_uda134x.c | 54 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in s3c24xx_uda134x_startup() local 65 priv->pclk = clk_get(cpu_dai->dev, "iis"); in s3c24xx_uda134x_startup() 123 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in s3c24xx_uda134x_hw_params() local 170 ret = snd_soc_dai_set_sysclk(cpu_dai, clk_source , clk, in s3c24xx_uda134x_hw_params() 175 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_MCLK, fs_mode); in s3c24xx_uda134x_hw_params() 179 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_BCLK, in s3c24xx_uda134x_hw_params() 184 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_PRESCALER, in s3c24xx_uda134x_hw_params()
|
D | smdk_wm8994pcm.c | 48 struct snd_soc_dai *cpu_dai = asoc_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()
|
D | h1940_uda1380.c | 69 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in h1940_hw_params() local 89 ret = snd_soc_dai_set_sysclk(cpu_dai, S3C24XX_CLKSRC_PCLK, rate, in h1940_hw_params() 95 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_MCLK, in h1940_hw_params() 101 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_BCLK, in h1940_hw_params() 107 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_PRESCALER, in h1940_hw_params()
|
D | jive_wm8750.c | 37 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in jive_hw_params() local 57 s3c_i2sv2_get_clock(cpu_dai)); in jive_hw_params() 65 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C2412_DIV_RCLK, div.fs_div); in jive_hw_params() 69 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C2412_DIV_PRESCALER, in jive_hw_params()
|
D | rx1950_uda1380.c | 148 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in rx1950_hw_params() local 176 ret = snd_soc_dai_set_sysclk(cpu_dai, clk_source, rate, in rx1950_hw_params() 182 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_MCLK, in rx1950_hw_params() 188 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_BCLK, in rx1950_hw_params() 194 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C24XX_DIV_PRESCALER, in rx1950_hw_params()
|
D | s3c-i2s-v2.c | 37 static inline struct s3c_i2sv2_info *to_info(struct snd_soc_dai *cpu_dai) in to_info() argument 39 return snd_soc_dai_get_drvdata(cpu_dai); in to_info() 244 static int s3c2412_i2s_set_fmt(struct snd_soc_dai *cpu_dai, in s3c2412_i2s_set_fmt() argument 247 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c2412_i2s_set_fmt() 334 static int s3c_i2sv2_set_sysclk(struct snd_soc_dai *cpu_dai, in s3c_i2sv2_set_sysclk() argument 337 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c_i2sv2_set_sysclk() 443 static int s3c2412_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai, in s3c2412_i2s_set_clkdiv() argument 446 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c2412_i2s_set_clkdiv() 449 pr_debug("%s(%p, %d, %d)\n", __func__, cpu_dai, div_id, div); in s3c2412_i2s_set_clkdiv() 541 struct clk *s3c_i2sv2_get_clock(struct snd_soc_dai *cpu_dai) in s3c_i2sv2_get_clock() argument [all …]
|
/sound/soc/ti/ |
D | omap-mcbsp-st.c | 401 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 402 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); \ 420 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 421 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); \ 437 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_put_mode() local 438 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_put_mode() 455 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_get_mode() local 456 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_get_mode() 489 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in omap_mcbsp_st_add_controls() local 490 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_add_controls() [all …]
|
D | omap-mcbsp.c | 737 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in omap_mcbsp_set_threshold() local 738 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_set_threshold() 783 struct snd_soc_dai *cpu_dai) in omap_mcbsp_dai_startup() argument 785 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_startup() 788 if (!snd_soc_dai_active(cpu_dai)) in omap_mcbsp_dai_startup() 828 struct snd_soc_dai *cpu_dai) in omap_mcbsp_dai_shutdown() argument 830 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_shutdown() 843 if (!snd_soc_dai_active(cpu_dai)) { in omap_mcbsp_dai_shutdown() 850 struct snd_soc_dai *cpu_dai) in omap_mcbsp_dai_prepare() argument 852 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_prepare() [all …]
|