/sound/soc/ |
D | soc-compress.c | 31 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open() local 32 struct snd_soc_platform *platform = rtd->platform; in soc_compr_open() 35 mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass); in soc_compr_open() 46 if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->startup) { in soc_compr_open() 47 ret = rtd->dai_link->compr_ops->startup(cstream); in soc_compr_open() 49 pr_err("compress asoc: %s startup failed\n", rtd->dai_link->name); in soc_compr_open() 54 snd_soc_runtime_activate(rtd, cstream->direction); in soc_compr_open() 56 mutex_unlock(&rtd->pcm_mutex); in soc_compr_open() 64 mutex_unlock(&rtd->pcm_mutex); in soc_compr_open() 159 struct snd_soc_pcm_runtime *rtd = in close_delayed_work() local [all …]
|
D | soc-pcm.c | 47 void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_activate() argument 49 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in snd_soc_runtime_activate() 52 lockdep_assert_held(&rtd->pcm_mutex); in snd_soc_runtime_activate() 56 for (i = 0; i < rtd->num_codecs; i++) in snd_soc_runtime_activate() 57 rtd->codec_dais[i]->playback_active++; in snd_soc_runtime_activate() 60 for (i = 0; i < rtd->num_codecs; i++) in snd_soc_runtime_activate() 61 rtd->codec_dais[i]->capture_active++; in snd_soc_runtime_activate() 66 for (i = 0; i < rtd->num_codecs; i++) { in snd_soc_runtime_activate() 67 rtd->codec_dais[i]->active++; in snd_soc_runtime_activate() 68 rtd->codec_dais[i]->component->active++; in snd_soc_runtime_activate() [all …]
|
D | soc-generic-dmaengine-pcm.c | 64 struct snd_soc_pcm_runtime *rtd = substream->private_data; in snd_dmaengine_pcm_prepare_slave_config() local 68 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in snd_dmaengine_pcm_prepare_slave_config() 84 struct snd_soc_pcm_runtime *rtd = substream->private_data; in dmaengine_pcm_hw_params() local 85 struct dmaengine_pcm *pcm = soc_platform_to_pcm(rtd->platform); in dmaengine_pcm_hw_params() 115 struct snd_soc_pcm_runtime *rtd = substream->private_data; in dmaengine_pcm_set_runtime_hwparams() local 116 struct dmaengine_pcm *pcm = soc_platform_to_pcm(rtd->platform); in dmaengine_pcm_set_runtime_hwparams() 131 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in dmaengine_pcm_set_runtime_hwparams() 191 struct snd_soc_pcm_runtime *rtd = substream->private_data; in dmaengine_pcm_open() local 192 struct dmaengine_pcm *pcm = soc_platform_to_pcm(rtd->platform); in dmaengine_pcm_open() 209 struct snd_soc_pcm_runtime *rtd, in dmaengine_pcm_compat_request_channel() argument [all …]
|
D | soc-core.c | 176 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in codec_reg_show() local 178 return soc_codec_reg_show(rtd->codec, buf, PAGE_SIZE, 0); in codec_reg_show() 186 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_show() local 188 return sprintf(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 195 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_set() local 198 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_set() 479 if (card->rtd[i].dai_link->no_pcm && in snd_soc_get_dai_substream() 480 !strcmp(card->rtd[i].dai_link->name, dai_link)) in snd_soc_get_dai_substream() 481 return card->rtd[i].pcm->streams[stream].substream; in snd_soc_get_dai_substream() 494 if (!strcmp(card->rtd[i].dai_link->name, dai_link)) in snd_soc_get_pcm_runtime() [all …]
|
/sound/soc/intel/ |
D | sst-baytrail-pcm.c | 71 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sst_byt_pcm_hw_params() local 73 snd_soc_platform_get_drvdata(rtd->platform); in sst_byt_pcm_hw_params() 80 dev_dbg(rtd->dev, "PCM: hw_params, pcm_data %p\n", pcm_data); in sst_byt_pcm_hw_params() 85 dev_err(rtd->dev, "failed to set stream format %d\n", ret); in sst_byt_pcm_hw_params() 92 dev_err(rtd->dev, "could not set rate %d\n", rate); in sst_byt_pcm_hw_params() 99 dev_err(rtd->dev, "could not set formats %d\n", in sst_byt_pcm_hw_params() 107 dev_err(rtd->dev, "could not set channels %d\n", in sst_byt_pcm_hw_params() 118 dev_err(rtd->dev, "PCM: failed to set DMA buffer %d\n", ret); in sst_byt_pcm_hw_params() 124 dev_err(rtd->dev, "PCM: failed stream commit %d\n", ret); in sst_byt_pcm_hw_params() 133 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sst_byt_pcm_hw_free() local [all …]
|
D | sst-haswell-pcm.c | 277 struct hsw_priv_data *pdata, struct snd_soc_pcm_runtime *rtd, in create_adsp_page_table() argument 285 dev_dbg(rtd->dev, "generating page table for %p size 0x%zu pages %d\n", in create_adsp_page_table() 293 dev_dbg(rtd->dev, "pfn i %i idx %d pfn %x\n", i, idx, pfn); in create_adsp_page_table() 310 struct snd_soc_pcm_runtime *rtd = substream->private_data; in hsw_pcm_hw_params() local 313 snd_soc_platform_get_drvdata(rtd->platform); in hsw_pcm_hw_params() 314 struct hsw_pcm_data *pcm_data = snd_soc_pcm_get_drvdata(rtd); in hsw_pcm_hw_params() 329 dev_dbg(rtd->dev, "error: reset stream failed %d\n", in hsw_pcm_hw_params() 334 dev_dbg(rtd->dev, "error: free stream failed %d\n", in hsw_pcm_hw_params() 340 pcm_data->stream = sst_hsw_stream_new(hsw, rtd->cpu_dai->id, in hsw_pcm_hw_params() 343 dev_err(rtd->dev, "error: failed to create stream\n"); in hsw_pcm_hw_params() [all …]
|
D | haswell.c | 46 static int haswell_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, in haswell_ssp0_fixup() argument 68 struct snd_soc_pcm_runtime *rtd = substream->private_data; in haswell_rt5640_hw_params() local 69 struct snd_soc_dai *codec_dai = rtd->codec_dai; in haswell_rt5640_hw_params() 76 dev_err(rtd->dev, "can't set codec sysclk configuration\n"); in haswell_rt5640_hw_params() 81 snd_soc_update_bits(rtd->codec, 0x83, 0xffff, 0x8000); in haswell_rt5640_hw_params() 90 static int haswell_rtd_init(struct snd_soc_pcm_runtime *rtd) in haswell_rtd_init() argument 92 struct sst_pdata *pdata = dev_get_platdata(rtd->platform->dev); in haswell_rtd_init() 101 dev_err(rtd->dev, "failed to set device config\n"); in haswell_rtd_init()
|
D | broadwell.c | 60 static int broadwell_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, in broadwell_ssp0_fixup() argument 82 struct snd_soc_pcm_runtime *rtd = substream->private_data; in broadwell_rt286_hw_params() local 83 struct snd_soc_dai *codec_dai = rtd->codec_dai; in broadwell_rt286_hw_params() 90 dev_err(rtd->dev, "can't set codec sysclk configuration\n"); in broadwell_rt286_hw_params() 101 static int broadwell_rtd_init(struct snd_soc_pcm_runtime *rtd) in broadwell_rtd_init() argument 103 struct snd_soc_codec *codec = rtd->codec; in broadwell_rtd_init() 105 struct sst_pdata *pdata = dev_get_platdata(rtd->platform->dev); in broadwell_rtd_init() 114 dev_err(rtd->dev, "error: failed to set device config\n"); in broadwell_rtd_init()
|
/sound/arm/ |
D | pxa2xx-pcm-lib.c | 43 struct pxa2xx_runtime_data *rtd = runtime->private_data; in __pxa2xx_pcm_hw_params() local 51 switch (rtd->params->addr_width) { in __pxa2xx_pcm_hw_params() 66 switch (rtd->params->maxburst) { in __pxa2xx_pcm_hw_params() 81 dma_desc = rtd->dma_desc_array; in __pxa2xx_pcm_hw_params() 82 next_desc_phys = rtd->dma_desc_array_phys; in __pxa2xx_pcm_hw_params() 89 dma_desc->dtadr = rtd->params->addr; in __pxa2xx_pcm_hw_params() 91 dma_desc->dsadr = rtd->params->addr; in __pxa2xx_pcm_hw_params() 100 dma_desc[-1].ddadr = rtd->dma_desc_array_phys; in __pxa2xx_pcm_hw_params() 108 struct pxa2xx_runtime_data *rtd = substream->runtime->private_data; in __pxa2xx_pcm_hw_free() local 110 if (rtd && rtd->params && rtd->params->filter_data) { in __pxa2xx_pcm_hw_free() [all …]
|
D | pxa2xx-pcm.c | 38 struct pxa2xx_runtime_data *rtd; in pxa2xx_pcm_open() local 45 rtd = runtime->private_data; in pxa2xx_pcm_open() 47 rtd->params = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_pcm_open() 53 rtd->dma_ch = ret; in pxa2xx_pcm_open() 59 pxa_free_dma(rtd->dma_ch); in pxa2xx_pcm_open() 69 struct pxa2xx_runtime_data *rtd = substream->runtime->private_data; in pxa2xx_pcm_close() local 71 pxa_free_dma(rtd->dma_ch); in pxa2xx_pcm_close()
|
/sound/soc/sh/ |
D | dma-sh7760.c | 122 struct snd_soc_pcm_runtime *rtd = substream->private_data; in camelot_pcm_open() local 123 struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; in camelot_pcm_open() 136 rtd->cpu_dai->id); in camelot_pcm_open() 145 rtd->cpu_dai->id); in camelot_pcm_open() 155 struct snd_soc_pcm_runtime *rtd = substream->private_data; in camelot_pcm_close() local 156 struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; in camelot_pcm_close() 176 struct snd_soc_pcm_runtime *rtd = substream->private_data; in camelot_hw_params() local 177 struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; in camelot_hw_params() 204 struct snd_soc_pcm_runtime *rtd = substream->private_data; in camelot_prepare() local 205 struct camelot_pcm *cam = &cam_pcm_data[rtd->cpu_dai->id]; in camelot_prepare() [all …]
|
D | migor.c | 52 struct snd_soc_pcm_runtime *rtd = substream->private_data; in migor_hw_params() local 53 struct snd_soc_dai *codec_dai = rtd->codec_dai; in migor_hw_params() 71 ret = snd_soc_dai_set_fmt(rtd->cpu_dai, SND_SOC_DAIFMT_NB_IF | in migor_hw_params() 84 ret = snd_soc_dai_set_sysclk(rtd->cpu_dai, SIU_CLKB_EXT, in migor_hw_params() 95 struct snd_soc_pcm_runtime *rtd = substream->private_data; in migor_hw_free() local 96 struct snd_soc_dai *codec_dai = rtd->codec_dai; in migor_hw_free()
|
/sound/soc/blackfin/ |
D | bf5xx-i2s-pcm.c | 66 struct snd_soc_pcm_runtime *rtd = substream->private_data; in bf5xx_pcm_hw_params() local 70 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_hw_params() 87 struct snd_soc_pcm_runtime *rtd = substream->private_data; in bf5xx_pcm_prepare() local 93 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_prepare() 143 struct snd_soc_pcm_runtime *rtd = substream->private_data; in bf5xx_pcm_pointer() local 150 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_pointer() 176 struct snd_soc_pcm_runtime *rtd = substream->private_data; in bf5xx_pcm_open() local 177 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in bf5xx_pcm_open() 184 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_open() 231 struct snd_soc_pcm_runtime *rtd = substream->private_data; in bf5xx_pcm_copy() local [all …]
|
/sound/soc/ux500/ |
D | mop500_ab8500.c | 196 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_startup() local 199 return mop500_ab8500_set_mclk(rtd->card->dev, in mop500_ab8500_startup() 200 snd_soc_card_get_drvdata(rtd->card)); in mop500_ab8500_startup() 205 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_shutdown() local 206 struct device *dev = rtd->card->dev; in mop500_ab8500_shutdown() 220 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_hw_params() local 221 struct snd_soc_dai *codec_dai = rtd->codec_dai; in mop500_ab8500_hw_params() 222 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in mop500_ab8500_hw_params() 223 struct device *dev = rtd->card->dev; in mop500_ab8500_hw_params() 356 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mop500_ab8500_hw_free() local [all …]
|
D | ux500_pcm.c | 49 static struct dma_chan *ux500_pcm_request_chan(struct snd_soc_pcm_runtime *rtd, in ux500_pcm_request_chan() argument 52 struct snd_soc_dai *dai = rtd->cpu_dai; in ux500_pcm_request_chan() 91 struct snd_soc_pcm_runtime *rtd = substream->private_data; in ux500_pcm_prepare_slave_config() local 92 struct msp_i2s_platform_data *pdata = rtd->cpu_dai->dev->platform_data; in ux500_pcm_prepare_slave_config() 100 snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in ux500_pcm_prepare_slave_config() 104 snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in ux500_pcm_prepare_slave_config()
|
/sound/soc/omap/ |
D | omap-abe-twl6040.c | 48 struct snd_soc_pcm_runtime *rtd = substream->private_data; in omap_abe_hw_params() local 49 struct snd_soc_dai *codec_dai = rtd->codec_dai; in omap_abe_hw_params() 50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params() 55 clk_id = twl6040_get_clk_id(rtd->codec); in omap_abe_hw_params() 80 struct snd_soc_pcm_runtime *rtd = substream->private_data; in omap_abe_dmic_hw_params() local 81 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in omap_abe_dmic_hw_params() 167 static int omap_abe_twl6040_init(struct snd_soc_pcm_runtime *rtd) in omap_abe_twl6040_init() argument 169 struct snd_soc_codec *codec = rtd->codec; in omap_abe_twl6040_init() 170 struct snd_soc_card *card = rtd->card; in omap_abe_twl6040_init() 180 omap_mcpdm_configure_dn_offsets(rtd, TWL6040_HSF_TRIM_LEFT(hs_trim), in omap_abe_twl6040_init() [all …]
|
D | omap-pcm.c | 61 struct snd_soc_pcm_runtime *rtd = substream->private_data; in omap_pcm_hw_params() local 67 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in omap_pcm_hw_params() 87 snd_soc_dai_get_dma_data(rtd->cpu_dai, substream), in omap_pcm_hw_params() 113 struct snd_soc_pcm_runtime *rtd = substream->private_data; in omap_pcm_open() local 119 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in omap_pcm_open() 122 if (rtd->cpu_dai->dev->of_node) { in omap_pcm_open() 125 chan = dma_request_slave_channel(rtd->cpu_dai->dev, in omap_pcm_open() 198 static int omap_pcm_new(struct snd_soc_pcm_runtime *rtd) in omap_pcm_new() argument 200 struct snd_card *card = rtd->card->snd_card; in omap_pcm_new() 201 struct snd_pcm *pcm = rtd->pcm; in omap_pcm_new()
|
/sound/soc/pxa/ |
D | raumfeld.c | 69 struct snd_soc_pcm_runtime *rtd = substream->private_data; in raumfeld_cs4270_startup() local 70 struct snd_soc_dai *codec_dai = rtd->codec_dai; in raumfeld_cs4270_startup() 78 struct snd_soc_pcm_runtime *rtd = substream->private_data; in raumfeld_cs4270_shutdown() local 79 struct snd_soc_dai *codec_dai = rtd->codec_dai; in raumfeld_cs4270_shutdown() 88 struct snd_soc_pcm_runtime *rtd = substream->private_data; in raumfeld_cs4270_hw_params() local 89 struct snd_soc_dai *codec_dai = rtd->codec_dai; in raumfeld_cs4270_hw_params() 90 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in raumfeld_cs4270_hw_params() 171 struct snd_soc_pcm_runtime *rtd = substream->private_data; in raumfeld_ak4104_hw_params() local 172 struct snd_soc_dai *codec_dai = rtd->codec_dai; in raumfeld_ak4104_hw_params() 173 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in raumfeld_ak4104_hw_params()
|
D | magician.c | 76 struct snd_soc_pcm_runtime *rtd = substream->private_data; in magician_startup() local 79 magician_ext_control(&rtd->card->dapm); in magician_startup() 90 struct snd_soc_pcm_runtime *rtd = substream->private_data; in magician_playback_hw_params() local 91 struct snd_soc_dai *codec_dai = rtd->codec_dai; in magician_playback_hw_params() 92 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in magician_playback_hw_params() 230 struct snd_soc_pcm_runtime *rtd = substream->private_data; in magician_capture_hw_params() local 231 struct snd_soc_dai *codec_dai = rtd->codec_dai; in magician_capture_hw_params() 232 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in magician_capture_hw_params() 397 static int magician_uda1380_init(struct snd_soc_pcm_runtime *rtd) in magician_uda1380_init() argument 399 struct snd_soc_codec *codec = rtd->codec; in magician_uda1380_init()
|
/sound/soc/samsung/ |
D | neo1973_wm8753.c | 33 struct snd_soc_pcm_runtime *rtd = substream->private_data; in neo1973_hifi_hw_params() local 34 struct snd_soc_dai *codec_dai = rtd->codec_dai; in neo1973_hifi_hw_params() 35 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in neo1973_hifi_hw_params() 121 struct snd_soc_pcm_runtime *rtd = substream->private_data; in neo1973_hifi_hw_free() local 122 struct snd_soc_dai *codec_dai = rtd->codec_dai; in neo1973_hifi_hw_free() 139 struct snd_soc_pcm_runtime *rtd = substream->private_data; in neo1973_voice_hw_params() local 140 struct snd_soc_dai *codec_dai = rtd->codec_dai; in neo1973_voice_hw_params() 183 struct snd_soc_pcm_runtime *rtd = substream->private_data; in neo1973_voice_hw_free() local 184 struct snd_soc_dai *codec_dai = rtd->codec_dai; in neo1973_voice_hw_free() 272 static int neo1973_wm8753_init(struct snd_soc_pcm_runtime *rtd) in neo1973_wm8753_init() argument [all …]
|
D | littlemill.c | 26 struct snd_soc_dai *aif1_dai = card->rtd[0].codec_dai; in littlemill_set_bias_level() 69 struct snd_soc_dai *aif1_dai = card->rtd[0].codec_dai; in littlemill_set_bias_level_post() 104 struct snd_soc_pcm_runtime *rtd = substream->private_data; in littlemill_hw_params() local 105 struct snd_soc_dai *codec_dai = rtd->codec_dai; in littlemill_hw_params() 171 struct snd_soc_dai *aif2_dai = card->rtd[1].cpu_dai; in bbclk_ev() 248 struct snd_soc_codec *codec = card->rtd[0].codec; in littlemill_late_probe() 249 struct snd_soc_dai *aif1_dai = card->rtd[0].codec_dai; in littlemill_late_probe() 250 struct snd_soc_dai *aif2_dai = card->rtd[1].cpu_dai; in littlemill_late_probe()
|
D | goni_wm8994.c | 97 static int goni_wm8994_init(struct snd_soc_pcm_runtime *rtd) in goni_wm8994_init() argument 99 struct snd_soc_codec *codec = rtd->codec; in goni_wm8994_init() 137 struct snd_soc_pcm_runtime *rtd = substream->private_data; in goni_hifi_hw_params() local 138 struct snd_soc_dai *codec_dai = rtd->codec_dai; in goni_hifi_hw_params() 139 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in goni_hifi_hw_params() 177 struct snd_soc_pcm_runtime *rtd = substream->private_data; in goni_voice_hw_params() local 178 struct snd_soc_dai *codec_dai = rtd->codec_dai; in goni_voice_hw_params()
|
/sound/soc/fsl/ |
D | mpc5200_dma.c | 113 struct snd_soc_pcm_runtime *rtd = substream->private_data; in psc_dma_trigger() local 114 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); in psc_dma_trigger() 214 struct snd_soc_pcm_runtime *rtd = substream->private_data; in psc_dma_open() local 215 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); in psc_dma_open() 241 struct snd_soc_pcm_runtime *rtd = substream->private_data; in psc_dma_close() local 242 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); in psc_dma_close() 266 struct snd_soc_pcm_runtime *rtd = substream->private_data; in psc_dma_pointer() local 267 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(rtd->cpu_dai); in psc_dma_pointer() 300 static int psc_dma_new(struct snd_soc_pcm_runtime *rtd) in psc_dma_new() argument 302 struct snd_card *card = rtd->card->snd_card; in psc_dma_new() [all …]
|
D | fsl_asrc_dma.c | 64 struct snd_soc_pcm_runtime *rtd = substream->private_data; in fsl_asrc_dma_prepare_and_submit() local 67 struct device *dev = rtd->platform->dev; in fsl_asrc_dma_prepare_and_submit() 136 struct snd_soc_pcm_runtime *rtd = substream->private_data; in fsl_asrc_dma_hw_params() local 145 struct device *dev = rtd->platform->dev; in fsl_asrc_dma_hw_params() 156 list_for_each_entry(dpcm, &rtd->dpcm[stream].be_clients, list_be) { in fsl_asrc_dma_hw_params() 161 if (dpcm->fe != rtd) in fsl_asrc_dma_hw_params() 176 dma_params_fe = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in fsl_asrc_dma_hw_params() 275 struct snd_soc_pcm_runtime *rtd = substream->private_data; in fsl_asrc_dma_startup() local 277 struct device *dev = rtd->platform->dev; in fsl_asrc_dma_startup() 335 static int fsl_asrc_dma_pcm_new(struct snd_soc_pcm_runtime *rtd) in fsl_asrc_dma_pcm_new() argument [all …]
|
/sound/soc/davinci/ |
D | davinci-evm.c | 40 struct snd_soc_pcm_runtime *rtd = substream->private_data; in evm_startup() local 41 struct snd_soc_card *soc_card = rtd->card; in evm_startup() 53 struct snd_soc_pcm_runtime *rtd = substream->private_data; in evm_shutdown() local 54 struct snd_soc_card *soc_card = rtd->card; in evm_shutdown() 65 struct snd_soc_pcm_runtime *rtd = substream->private_data; in evm_hw_params() local 66 struct snd_soc_dai *codec_dai = rtd->codec_dai; in evm_hw_params() 67 struct snd_soc_dai *cpu_dai = rtd->cpu_dai; in evm_hw_params() 68 struct snd_soc_card *soc_card = rtd->card; in evm_hw_params() 123 static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) in evm_aic3x_init() argument 125 struct snd_soc_card *card = rtd->card; in evm_aic3x_init() [all …]
|