| /linux/sound/drivers/ |
| H A D | aloop.c | 74 int (*open)(struct loopback_pcm *dpcm); 78 int (*start)(struct loopback_pcm *dpcm); 82 int (*stop)(struct loopback_pcm *dpcm); 84 int (*stop_sync)(struct loopback_pcm *dpcm); 86 int (*close_substream)(struct loopback_pcm *dpcm); 90 int (*close_cable)(struct loopback_pcm *dpcm); 96 void (*dpcm_info)(struct loopback_pcm *dpcm, 177 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument 179 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos() 183 HZ * (unsigned long long)dpcm->pcm_rate_shift); in byte_pos() [all …]
|
| H A D | dummy.c | 246 static void dummy_systimer_rearm(struct dummy_systimer_pcm *dpcm) in dummy_systimer_rearm() argument 248 mod_timer(&dpcm->timer, jiffies + in dummy_systimer_rearm() 249 DIV_ROUND_UP(dpcm->frac_period_rest, dpcm->rate)); in dummy_systimer_rearm() 252 static void dummy_systimer_update(struct dummy_systimer_pcm *dpcm) in dummy_systimer_update() argument 256 delta = jiffies - dpcm->base_time; in dummy_systimer_update() 259 dpcm->base_time += delta; in dummy_systimer_update() 260 delta *= dpcm->rate; in dummy_systimer_update() 261 dpcm->frac_pos += delta; in dummy_systimer_update() 262 while (dpcm->frac_pos >= dpcm->frac_buffer_size) in dummy_systimer_update() 263 dpcm->frac_pos -= dpcm->frac_buffer_size; in dummy_systimer_update() [all …]
|
| /linux/sound/soc/ |
| H A D | soc-pcm.c | 45 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) 55 if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || in snd_soc_dpcm_can_be_update() 56 ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && in snd_soc_dpcm_can_be_update() 57 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update() 68 struct snd_soc_dpcm *dpcm; in snd_soc_dpcm_check_state() local 73 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state() 75 if (dpcm->fe == fe) in snd_soc_dpcm_check_state() 78 state = dpcm->fe->dpcm[stream].state; in snd_soc_dpcm_check_state() 183 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state() 184 struct snd_soc_dpcm *dpcm; in dpcm_show_state() local [all …]
|
| H A D | soc-core.c | 543 INIT_LIST_HEAD(&rtd->dpcm[stream].be_clients); in soc_new_pcm_runtime() 544 INIT_LIST_HEAD(&rtd->dpcm[stream].fe_clients); in soc_new_pcm_runtime()
|
| /linux/sound/pci/asihpi/ |
| H A D | asihpi.c | 427 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; in snd_card_asihpi_pcm_hw_params() local 439 hpi_handle_error(hpi_format_create(&dpcm->format, in snd_card_asihpi_pcm_hw_params() 444 if (hpi_instream_reset(dpcm->h_stream) != 0) in snd_card_asihpi_pcm_hw_params() 448 dpcm->h_stream, &dpcm->format) != 0) in snd_card_asihpi_pcm_hw_params() 452 dpcm->hpi_buffer_attached = 0; in snd_card_asihpi_pcm_hw_params() 454 err = hpi_stream_host_buffer_attach(dpcm->h_stream, in snd_card_asihpi_pcm_hw_params() 467 hpi_stream_get_info_ex(dpcm->h_stream, NULL, in snd_card_asihpi_pcm_hw_params() 468 &dpcm->hpi_buffer_attached, NULL, NULL, NULL); in snd_card_asihpi_pcm_hw_params() 477 dpcm in snd_card_asihpi_pcm_hw_params() 488 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_hw_free() local 497 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_runtime_free() local 505 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_pcm_timer_start() local 518 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_pcm_timer_stop() local 526 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_pcm_int_start() local 555 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; snd_card_asihpi_trigger() local 712 struct snd_card_asihpi_pcm *dpcm = timer_container_of(dpcm, t, timer); snd_card_asihpi_timer_function() local 914 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_prepare() local 927 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_pointer() local 973 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_playback_open() local 1061 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_close() local 1082 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_capture_pointer() local 1097 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_capture_prepare() local 1144 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_capture_open() local 1220 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; snd_card_asihpi_capture_close() local [all...] |
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-dsp-sof-common.c | 78 struct snd_soc_dpcm *dpcm; in mtk_sof_find_tplg_be() local 83 for_each_dpcm_fe(rtd, stream, dpcm) { in mtk_sof_find_tplg_be() 84 fe = dpcm->fe; in mtk_sof_find_tplg_be() 92 for_each_dpcm_be(fe, stream, dpcm) { in mtk_sof_find_tplg_be() 93 be = dpcm->be; in mtk_sof_find_tplg_be()
|
| /linux/sound/soc/intel/avs/ |
| H A D | pcm.c | 208 struct snd_soc_dpcm *dpcm; in avs_dai_be_hw_params() local 212 for_each_dpcm_fe(be, substream->stream, dpcm) { in avs_dai_be_hw_params() 213 fe = dpcm->fe; in avs_dai_be_hw_params() 214 fe_hw_params = &fe->dpcm[substream->stream].hw_params; in avs_dai_be_hw_params() 462 p = &be->dpcm[substream->stream].hw_params; in avs_dai_hda_be_prepare() 665 struct snd_soc_dpcm *dpcm; in avs_dai_fe_hw_params() local 682 for_each_dpcm_be(fe, substream->stream, dpcm) { in avs_dai_fe_hw_params() 683 be = dpcm->be; in avs_dai_fe_hw_params() 684 be_hw_params = &be->dpcm[substream->stream].hw_params; in avs_dai_fe_hw_params() 1101 ret = dai->driver->ops->hw_params(substream, &rtd->dpcm[substream->stream].hw_params, dai); in avs_dai_resume_hw_params() [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_asrc_dma.c | 149 struct snd_soc_dpcm *dpcm; in fsl_asrc_dma_hw_params() local 156 for_each_dpcm_be(rtd, stream, dpcm) { in fsl_asrc_dma_hw_params() 157 struct snd_soc_pcm_runtime *be = dpcm->be; in fsl_asrc_dma_hw_params() 163 if (dpcm->fe != rtd) in fsl_asrc_dma_hw_params()
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | ulcb-kf-audio-graph-card2-mix+split.dtsi | 58 dpcm: dpcm { label
|
| H A D | ulcb-audio-graph-card2-mix+split.dtsi | 34 dpcm {
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-dai-ops.c | 32 struct snd_soc_dpcm *dpcm; in hda_check_fes() local 34 for_each_dpcm_fe(rtd, dir, dpcm) { in hda_check_fes() 35 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes()
|
| H A D | hda-stream.c | 1180 struct snd_soc_dpcm *dpcm; in hda_dsp_get_stream_llp() 1187 for_each_dpcm_be(rtd, substream->stream, dpcm) { 1188 if (dpcm->fe != rtd) 1191 be_rtd = dpcm->be; in hda_dsp_get_stream_ldp() 1136 struct snd_soc_dpcm *dpcm; hda_dsp_get_stream_llp() local
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | core.c | 1697 struct snd_soc_dpcm *dpcm; in rsnd_kctrl_info() 1700 for_each_dpcm_be(fe, stream, dpcm) { in rsnd_kctrl_info() 1701 struct snd_soc_pcm_runtime *be = dpcm->be; in rsnd_kctrl_info() 1702 struct snd_pcm_hw_params *be_params = &be->dpcm[stream].hw_params; in rsnd_kctrl_info() 1576 struct snd_soc_dpcm *dpcm; rsnd_hw_params() local
|
| /linux/drivers/soundwire/ |
| H A D | intel_ace2x.c | 806 hw_params = &rtd->dpcm[substream->stream].hw_params; in intel_prepare()
|
| /linux/include/sound/ |
| H A D | soc.h | 1148 struct snd_soc_dpcm_runtime dpcm[SNDRV_PCM_STREAM_LAST + 1]; member
|