/linux-6.6.21/sound/drivers/ ! |
D | aloop.c | 72 int (*open)(struct loopback_pcm *dpcm); 76 int (*start)(struct loopback_pcm *dpcm); 80 int (*stop)(struct loopback_pcm *dpcm); 82 int (*stop_sync)(struct loopback_pcm *dpcm); 84 int (*close_substream)(struct loopback_pcm *dpcm); 88 int (*close_cable)(struct loopback_pcm *dpcm); 94 void (*dpcm_info)(struct loopback_pcm *dpcm, 165 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument 167 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos() 171 HZ * (unsigned long long)dpcm->pcm_rate_shift); in byte_pos() [all …]
|
D | dummy.c | 243 static void dummy_systimer_rearm(struct dummy_systimer_pcm *dpcm) in dummy_systimer_rearm() argument 245 mod_timer(&dpcm->timer, jiffies + in dummy_systimer_rearm() 246 DIV_ROUND_UP(dpcm->frac_period_rest, dpcm->rate)); in dummy_systimer_rearm() 249 static void dummy_systimer_update(struct dummy_systimer_pcm *dpcm) in dummy_systimer_update() argument 253 delta = jiffies - dpcm->base_time; in dummy_systimer_update() 256 dpcm->base_time += delta; in dummy_systimer_update() 257 delta *= dpcm->rate; in dummy_systimer_update() 258 dpcm->frac_pos += delta; in dummy_systimer_update() 259 while (dpcm->frac_pos >= dpcm->frac_buffer_size) in dummy_systimer_update() 260 dpcm->frac_pos -= dpcm->frac_buffer_size; in dummy_systimer_update() [all …]
|
/linux-6.6.21/sound/soc/ ! |
D | soc-pcm.c | 113 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state() 114 struct snd_soc_dpcm *dpcm; in dpcm_show_state() local 123 dpcm_state_string(fe->dpcm[stream].state)); in dpcm_show_state() 125 if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state() 126 (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) in dpcm_show_state() 137 if (list_empty(&fe->dpcm[stream].be_clients)) { in dpcm_show_state() 143 for_each_dpcm_be(fe, stream, dpcm) { in dpcm_show_state() 144 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() 145 params = &be->dpcm[stream].hw_params; in dpcm_show_state() 152 dpcm_state_string(be->dpcm[stream].state)); in dpcm_show_state() [all …]
|
D | soc-compress.c | 137 struct snd_soc_dpcm *dpcm; in soc_compr_open_fe() local 153 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; in soc_compr_open_fe() 158 for_each_dpcm_be(fe, stream, dpcm) in soc_compr_open_fe() 159 dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; in soc_compr_open_fe() 180 fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN; in soc_compr_open_fe() 181 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; in soc_compr_open_fe() 198 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; in soc_compr_open_fe() 207 struct snd_soc_dpcm *dpcm; in soc_compr_free_fe() local 215 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; in soc_compr_free_fe() 222 for_each_dpcm_be(fe, stream, dpcm) in soc_compr_free_fe() [all …]
|
D | soc-core.c | 537 INIT_LIST_HEAD(&rtd->dpcm[stream].be_clients); in soc_new_pcm_runtime() 538 INIT_LIST_HEAD(&rtd->dpcm[stream].fe_clients); in soc_new_pcm_runtime()
|
/linux-6.6.21/sound/pci/asihpi/ ! |
D | asihpi.c | 434 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; in snd_card_asihpi_pcm_hw_params() local 446 hpi_handle_error(hpi_format_create(&dpcm->format, in snd_card_asihpi_pcm_hw_params() 451 if (hpi_instream_reset(dpcm->h_stream) != 0) in snd_card_asihpi_pcm_hw_params() 455 dpcm->h_stream, &dpcm->format) != 0) in snd_card_asihpi_pcm_hw_params() 459 dpcm->hpi_buffer_attached = 0; in snd_card_asihpi_pcm_hw_params() 461 err = hpi_stream_host_buffer_attach(dpcm->h_stream, in snd_card_asihpi_pcm_hw_params() 474 err = hpi_stream_get_info_ex(dpcm->h_stream, NULL, in snd_card_asihpi_pcm_hw_params() 475 &dpcm->hpi_buffer_attached, NULL, NULL, NULL); in snd_card_asihpi_pcm_hw_params() 484 dpcm->bytes_per_sec = bytes_per_sec; in snd_card_asihpi_pcm_hw_params() 485 dpcm->buffer_bytes = params_buffer_bytes(params); in snd_card_asihpi_pcm_hw_params() [all …]
|
/linux-6.6.21/include/sound/ ! |
D | soc-dpcm.h | 108 list_for_each_entry(_dpcm, &(be)->dpcm[stream].fe_clients, list_fe) 111 list_for_each_entry(_dpcm, &(fe)->dpcm[stream].be_clients, list_be) 113 list_for_each_entry_safe(_dpcm, __dpcm, &(fe)->dpcm[stream].be_clients, list_be) 115 list_for_each_entry_continue_reverse(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
|
D | soc.h | 1111 struct snd_soc_dpcm_runtime dpcm[SNDRV_PCM_STREAM_LAST + 1]; member
|
/linux-6.6.21/sound/soc/intel/avs/ ! |
D | pcm.c | 128 struct snd_soc_dpcm *dpcm; in avs_dai_be_hw_params() local 131 for_each_dpcm_fe(be, substream->stream, dpcm) { in avs_dai_be_hw_params() 132 fe = dpcm->fe; in avs_dai_be_hw_params() 133 fe_hw_params = &fe->dpcm[substream->stream].hw_params; in avs_dai_be_hw_params() 522 struct snd_soc_dpcm *dpcm; in avs_dai_fe_hw_params() local 538 for_each_dpcm_be(fe, substream->stream, dpcm) { in avs_dai_fe_hw_params() 539 be = dpcm->be; in avs_dai_fe_hw_params() 540 be_hw_params = &be->dpcm[substream->stream].hw_params; in avs_dai_fe_hw_params() 874 ret = dai->driver->ops->hw_params(substream, &rtd->dpcm[substream->stream].hw_params, dai); in avs_dai_resume_hw_params() 1440 struct snd_soc_dpcm *dpcm; in avs_component_hda_open() local [all …]
|
/linux-6.6.21/Documentation/sound/soc/ ! |
D | index.rst | 19 dpcm
|
/linux-6.6.21/sound/soc/fsl/ ! |
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() 161 if (dpcm->fe != rtd) in fsl_asrc_dma_hw_params()
|
/linux-6.6.21/sound/soc/intel/boards/ ! |
D | kbl_rt5663_rt5514_max98927.c | 352 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 358 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 359 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 367 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 368 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
D | kbl_rt5663_max98927.c | 423 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 429 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 430 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 438 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 439 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
D | kbl_da7219_max98927.c | 304 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 310 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 311 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 319 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 320 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
/linux-6.6.21/sound/soc/apple/ ! |
D | mca.c | 551 struct snd_soc_dpcm *dpcm; in mca_fe_get_port() local 554 for_each_dpcm_be(fe, substream->stream, dpcm) { in mca_fe_get_port() 555 be = dpcm->be; in mca_fe_get_port() 708 struct snd_soc_dpcm *dpcm; in mca_be_startup() local 712 for_each_dpcm_fe(be, substream->stream, dpcm) { in mca_be_startup() 713 if (fe && dpcm->fe != fe) { in mca_be_startup() 718 fe = dpcm->fe; in mca_be_startup()
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ ! |
D | audio-graph-card2.yaml | 29 dpcm:
|
/linux-6.6.21/sound/soc/sof/ ! |
D | ipc3-pcm.c | 219 struct snd_soc_dpcm *dpcm; in sof_ipc3_pcm_dai_link_fixup() local 281 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in sof_ipc3_pcm_dai_link_fixup() 282 struct snd_soc_pcm_runtime *fe = dpcm->fe; in sof_ipc3_pcm_dai_link_fixup()
|
/linux-6.6.21/sound/soc/sof/intel/ ! |
D | hda-dai-ops.c | 31 struct snd_soc_dpcm *dpcm; in hda_check_fes() local 33 for_each_dpcm_fe(rtd, dir, dpcm) { in hda_check_fes() 34 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes()
|
D | hda-dai.c | 322 return hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, dai); in hda_dai_prepare() 414 return non_hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, cpu_dai); in non_hda_dai_prepare()
|
/linux-6.6.21/arch/arm64/boot/dts/renesas/ ! |
D | ulcb-audio-graph-card2-mix+split.dtsi | 35 dpcm {
|
D | ulcb-kf-audio-graph-card2-mix+split.dtsi | 52 dpcm {
|
/linux-6.6.21/sound/soc/sh/rcar/ ! |
D | core.c | 1594 struct snd_soc_dpcm *dpcm; in rsnd_hw_params() local 1597 for_each_dpcm_be(fe, stream, dpcm) { in rsnd_hw_params() 1598 struct snd_soc_pcm_runtime *be = dpcm->be; in rsnd_hw_params() 1599 struct snd_pcm_hw_params *be_params = &be->dpcm[stream].hw_params; in rsnd_hw_params()
|
/linux-6.6.21/sound/soc/generic/ ! |
D | audio-graph-card2-custom-sample.dtsi | 246 dpcm {
|
/linux-6.6.21/drivers/soundwire/ ! |
D | intel_ace2x.c | 334 hw_params = &rtd->dpcm[substream->stream].hw_params; in intel_prepare()
|
D | intel.c | 765 hw_params = &rtd->dpcm[substream->stream].hw_params; in intel_prepare()
|