/linux-master/sound/drivers/ |
H A 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, 170 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) argument 172 if (dpcm->pcm_rate_shift == NO_PITCH) { 176 HZ * (unsigned long long)dpcm 181 frac_pos(struct loopback_pcm *dpcm, unsigned int x) argument 192 get_setup(struct loopback_pcm *dpcm) argument 201 get_notify(struct loopback_pcm *dpcm) argument 206 get_rate_shift(struct loopback_pcm *dpcm) argument 212 loopback_jiffies_timer_start(struct loopback_pcm *dpcm) argument 233 loopback_snd_timer_start(struct loopback_pcm *dpcm) argument 262 loopback_jiffies_timer_stop(struct loopback_pcm *dpcm) argument 271 loopback_snd_timer_stop(struct loopback_pcm *dpcm) argument 293 loopback_jiffies_timer_stop_sync(struct loopback_pcm *dpcm) argument 301 loopback_snd_timer_close_cable(struct loopback_pcm *dpcm) argument 394 loopback_active_notify(struct loopback_pcm *dpcm) argument 404 struct loopback_pcm *dpcm = runtime->private_data; local 461 struct loopback_pcm *dpcm = runtime->private_data; local 481 struct loopback_pcm *dpcm = runtime->private_data; local 524 clear_capture_buf(struct loopback_pcm *dpcm, unsigned int bytes) argument 618 bytepos_delta(struct loopback_pcm *dpcm, unsigned int jiffies_delta) argument 637 bytepos_finish(struct loopback_pcm *dpcm, unsigned int delta) argument 702 struct loopback_pcm *dpcm = from_timer(dpcm, t, timer); local 725 struct loopback_pcm *dpcm = runtime->private_data; local 881 loopback_jiffies_timer_dpcm_info(struct loopback_pcm *dpcm, struct snd_info_buffer *buffer) argument 893 loopback_snd_timer_dpcm_info(struct loopback_pcm *dpcm, struct snd_info_buffer *buffer) argument 910 struct loopback_pcm *dpcm = runtime->private_data; local 948 struct loopback_pcm *dpcm = runtime->private_data; local 955 struct loopback_pcm *dpcm = runtime->private_data; local 975 struct loopback_pcm *dpcm = rule->private; local 990 struct loopback_pcm *dpcm = rule->private; local 1006 struct loopback_pcm *dpcm = rule->private; local 1022 struct loopback_pcm *dpcm = rule->private; local 1051 struct loopback_pcm *dpcm = substream->runtime->private_data; local 1061 loopback_jiffies_timer_open(struct loopback_pcm *dpcm) argument 1139 loopback_snd_timer_open(struct loopback_pcm *dpcm) argument 1231 struct loopback_pcm *dpcm; local 1331 struct loopback_pcm *dpcm = substream->runtime->private_data; local 1684 print_dpcm_info(struct snd_info_buffer *buffer, struct loopback_pcm *dpcm, const char *id) argument [all...] |
H A D | dummy.c | 243 static void dummy_systimer_rearm(struct dummy_systimer_pcm *dpcm) argument 245 mod_timer(&dpcm->timer, jiffies + 246 DIV_ROUND_UP(dpcm->frac_period_rest, dpcm->rate)); 249 static void dummy_systimer_update(struct dummy_systimer_pcm *dpcm) argument 253 delta = jiffies - dpcm->base_time; 256 dpcm->base_time += delta; 257 delta *= dpcm->rate; 258 dpcm->frac_pos += delta; 259 while (dpcm 270 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; local 280 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; local 290 struct dummy_systimer_pcm *dpcm = runtime->private_data; local 304 struct dummy_systimer_pcm *dpcm = from_timer(dpcm, t, timer); local 321 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; local 333 struct dummy_systimer_pcm *dpcm; local 376 struct dummy_hrtimer_pcm *dpcm; local 395 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; local 405 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; local 413 dummy_hrtimer_sync(struct dummy_hrtimer_pcm *dpcm) argument 422 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; local 436 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; local 454 struct dummy_hrtimer_pcm *dpcm; local 469 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; local [all...] |
/linux-master/sound/soc/ |
H A D | soc-pcm.c | 25 #include <sound/soc-dpcm.h> 113 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; 114 struct snd_soc_dpcm *dpcm; local 123 dpcm_state_string(fe->dpcm[stream].state)); 125 if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && 126 (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) 137 if (list_empty(&fe->dpcm[stream].be_clients)) { 143 for_each_dpcm_be(fe, stream, dpcm) { 144 struct snd_soc_pcm_runtime *be = dpcm->be; 145 params = &be->dpcm[strea 220 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) argument 235 dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm) argument 241 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) argument 246 dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm) argument 357 struct snd_soc_dpcm *dpcm; local 1244 struct snd_soc_dpcm *dpcm; local 1292 struct snd_soc_dpcm *dpcm; local 1321 struct snd_soc_dpcm *dpcm, *d; local 1456 dpcm_be_is_active(struct snd_soc_dpcm *dpcm, int stream, struct snd_soc_dapm_widget_list *list) argument 1480 struct snd_soc_dpcm *dpcm; local 1581 struct snd_soc_dpcm *dpcm; local 1590 struct snd_soc_dpcm *dpcm; local 1635 struct snd_soc_dpcm *dpcm; local 1738 struct snd_soc_dpcm *dpcm; local 1776 struct snd_soc_dpcm *dpcm; local 1824 struct snd_soc_dpcm *dpcm; local 1859 struct snd_soc_dpcm *dpcm; local 1968 struct snd_soc_dpcm *dpcm; local 2035 struct snd_soc_dpcm *dpcm; local 2147 struct snd_soc_dpcm *dpcm; local 2450 struct snd_soc_dpcm *dpcm; local 2562 struct snd_soc_dpcm *dpcm; local 2739 struct snd_soc_dpcm *dpcm; local 3053 struct snd_soc_dpcm *dpcm; local [all...] |
H A D | soc-compress.c | 21 #include <sound/soc-dpcm.h> 137 struct snd_soc_dpcm *dpcm; local 153 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; 158 for_each_dpcm_be(fe, stream, dpcm) 159 dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; 180 fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN; 181 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; 198 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; 207 struct snd_soc_dpcm *dpcm; local 215 fe->dpcm[strea [all...] |
H A D | soc-core.c | 39 #include <sound/soc-dpcm.h> 537 INIT_LIST_HEAD(&rtd->dpcm[stream].be_clients); 538 INIT_LIST_HEAD(&rtd->dpcm[stream].fe_clients);
|
H A D | soc-ops.c | 26 #include <sound/soc-dpcm.h>
|
/linux-master/sound/pci/asihpi/ |
H A D | asihpi.c | 434 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 446 hpi_handle_error(hpi_format_create(&dpcm->format, 451 if (hpi_instream_reset(dpcm->h_stream) != 0) 455 dpcm->h_stream, &dpcm->format) != 0) 459 dpcm->hpi_buffer_attached = 0; 461 err = hpi_stream_host_buffer_attach(dpcm->h_stream, 474 err = hpi_stream_get_info_ex(dpcm->h_stream, NULL, 475 &dpcm->hpi_buffer_attached, NULL, NULL, NULL); 484 dpcm 495 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 504 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 512 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 525 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 533 struct snd_card_asihpi_pcm *dpcm; local 562 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; local 719 struct snd_card_asihpi_pcm *dpcm = from_timer(dpcm, t, timer); local 920 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 935 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 981 struct snd_card_asihpi_pcm *dpcm; local 1071 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 1094 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 1109 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; local 1157 struct snd_card_asihpi_pcm *dpcm; local 1232 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; local [all...] |
/linux-master/include/sound/ |
H A D | soc-dpcm.h | 3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support 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)
|
H A D | soc.h | 419 #include <sound/soc-dpcm.h> 1150 struct snd_soc_dpcm_runtime dpcm[SNDRV_PCM_STREAM_LAST + 1]; member in struct:snd_soc_pcm_runtime
|
/linux-master/sound/soc/mediatek/common/ |
H A D | mtk-dsp-sof-common.c | 79 struct snd_soc_dpcm *dpcm; local 84 for_each_dpcm_fe(rtd, stream, dpcm) { 85 fe = dpcm->fe; 93 for_each_dpcm_be(fe, stream, dpcm) { 94 be = dpcm->be;
|
/linux-master/sound/soc/sof/ |
H A D | ipc3-pcm.c | 219 struct snd_soc_dpcm *dpcm; local 281 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { 282 struct snd_soc_pcm_runtime *fe = dpcm->fe; 400 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { 401 struct snd_soc_pcm_runtime *fe = dpcm->fe; 407 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { 408 struct snd_soc_pcm_runtime *fe = dpcm->fe;
|
/linux-master/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 149 struct snd_soc_dpcm *dpcm; local 156 for_each_dpcm_be(rtd, stream, dpcm) { 157 struct snd_soc_pcm_runtime *be = dpcm->be; 161 if (dpcm->fe != rtd)
|
/linux-master/sound/soc/intel/boards/ |
H A D | kbl_rt5663_rt5514_max98927.c | 352 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; local 358 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { 359 rtd_dpcm = dpcm; 367 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { 368 rtd_dpcm = dpcm;
|
H A D | kbl_rt5663_max98927.c | 423 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; local 429 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { 430 rtd_dpcm = dpcm; 438 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { 439 rtd_dpcm = dpcm;
|
H A D | kbl_da7219_max98927.c | 304 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; local 310 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { 311 rtd_dpcm = dpcm; 319 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { 320 rtd_dpcm = dpcm;
|
/linux-master/sound/soc/intel/avs/ |
H A D | pcm.c | 129 struct snd_soc_dpcm *dpcm; local 132 for_each_dpcm_fe(be, substream->stream, dpcm) { 133 fe = dpcm->fe; 134 fe_hw_params = &fe->dpcm[substream->stream].hw_params; 527 struct snd_soc_dpcm *dpcm; local 543 for_each_dpcm_be(fe, substream->stream, dpcm) { 544 be = dpcm->be; 545 be_hw_params = &be->dpcm[substream->stream].hw_params; 953 ret = dai->driver->ops->hw_params(substream, &rtd->dpcm[substream->stream].hw_params, dai); 1553 struct snd_soc_dpcm *dpcm; local [all...] |
/linux-master/sound/soc/apple/ |
H A D | mca.c | 551 struct snd_soc_dpcm *dpcm; local 554 for_each_dpcm_be(fe, substream->stream, dpcm) { 555 be = dpcm->be; 708 struct snd_soc_dpcm *dpcm; local 712 for_each_dpcm_fe(be, substream->stream, dpcm) { 713 if (fe && dpcm->fe != fe) { 718 fe = dpcm->fe;
|
/linux-master/sound/soc/sof/intel/ |
H A D | hda-dai-ops.c | 32 struct snd_soc_dpcm *dpcm; local 34 for_each_dpcm_fe(rtd, dir, dpcm) { 35 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir);
|
H A D | hda-dai.c | 323 return hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, dai); 419 return non_hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, cpu_dai);
|
/linux-master/sound/soc/sh/rcar/ |
H A D | core.c | 1594 struct snd_soc_dpcm *dpcm; local 1597 for_each_dpcm_be(fe, stream, dpcm) { 1598 struct snd_soc_pcm_runtime *be = dpcm->be; 1599 struct snd_pcm_hw_params *be_params = &be->dpcm[stream].hw_params;
|
/linux-master/drivers/soundwire/ |
H A D | intel_ace2x.c | 334 hw_params = &rtd->dpcm[substream->stream].hw_params;
|
H A D | intel.c | 765 hw_params = &rtd->dpcm[substream->stream].hw_params;
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 11 #include <sound/soc-dpcm.h>
|