| /linux/sound/drivers/ |
| H A D | aloop.c | 73 int (*open)(struct loopback_pcm *dpcm); 77 int (*start)(struct loopback_pcm *dpcm); 81 int (*stop)(struct loopback_pcm *dpcm); 83 int (*stop_sync)(struct loopback_pcm *dpcm); 85 int (*close_substream)(struct loopback_pcm *dpcm); 89 int (*close_cable)(struct loopback_pcm *dpcm); 95 void (*dpcm_info)(struct loopback_pcm *dpcm, 174 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() 176 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos() 180 HZ * (unsigned long long)dpcm in byte_pos() 171 byte_pos(struct loopback_pcm * dpcm,unsigned int x) byte_pos() argument 182 frac_pos(struct loopback_pcm * dpcm,unsigned int x) frac_pos() argument 193 get_setup(struct loopback_pcm * dpcm) get_setup() argument 202 get_notify(struct loopback_pcm * dpcm) get_notify() argument 207 get_rate_shift(struct loopback_pcm * dpcm) get_rate_shift() argument 213 loopback_jiffies_timer_start(struct loopback_pcm * dpcm) loopback_jiffies_timer_start() argument 234 loopback_snd_timer_start(struct loopback_pcm * dpcm) loopback_snd_timer_start() argument 263 loopback_jiffies_timer_stop(struct loopback_pcm * dpcm) loopback_jiffies_timer_stop() argument 272 loopback_snd_timer_stop(struct loopback_pcm * dpcm) loopback_snd_timer_stop() argument 294 loopback_jiffies_timer_stop_sync(struct loopback_pcm * dpcm) loopback_jiffies_timer_stop_sync() argument 302 loopback_snd_timer_close_cable(struct loopback_pcm * dpcm) loopback_snd_timer_close_cable() argument 405 loopback_active_notify(struct loopback_pcm * dpcm) loopback_active_notify() argument 415 struct loopback_pcm *dpcm = runtime->private_data; loopback_trigger() local 472 struct loopback_pcm *dpcm = runtime->private_data; params_change() local 492 struct loopback_pcm *dpcm = runtime->private_data; loopback_prepare() local 534 clear_capture_buf(struct loopback_pcm * dpcm,unsigned int bytes) clear_capture_buf() argument 628 bytepos_delta(struct loopback_pcm * dpcm,unsigned int jiffies_delta) bytepos_delta() argument 647 bytepos_finish(struct loopback_pcm * dpcm,unsigned int delta) bytepos_finish() argument 712 struct loopback_pcm *dpcm = timer_container_of(dpcm, t, timer); loopback_jiffies_timer_function() local 736 struct loopback_pcm *dpcm = runtime->private_data; loopback_snd_timer_check_resolution() local 892 loopback_jiffies_timer_dpcm_info(struct loopback_pcm * dpcm,struct snd_info_buffer * buffer) loopback_jiffies_timer_dpcm_info() argument 904 loopback_snd_timer_dpcm_info(struct loopback_pcm * dpcm,struct snd_info_buffer * buffer) loopback_snd_timer_dpcm_info() argument 920 struct loopback_pcm *dpcm = runtime->private_data; loopback_pointer() local 960 struct loopback_pcm *dpcm = runtime->private_data; loopback_runtime_free() local 967 struct loopback_pcm *dpcm = runtime->private_data; loopback_hw_free() local 986 struct loopback_pcm *dpcm = rule->private; rule_format() local 1001 struct loopback_pcm *dpcm = rule->private; rule_rate() local 1017 struct loopback_pcm *dpcm = rule->private; rule_channels() local 1033 struct loopback_pcm *dpcm = rule->private; rule_period_bytes() local 1061 struct loopback_pcm *dpcm = substream->runtime->private_data; free_cable() local 1071 loopback_jiffies_timer_open(struct loopback_pcm * dpcm) loopback_jiffies_timer_open() argument 1151 loopback_snd_timer_open(struct loopback_pcm * dpcm) loopback_snd_timer_open() argument 1243 struct loopback_pcm *dpcm; loopback_open() local 1340 struct loopback_pcm *dpcm = substream->runtime->private_data; loopback_close() local 1685 print_dpcm_info(struct snd_info_buffer * buffer,struct loopback_pcm * dpcm,const char * id) print_dpcm_info() argument [all...] |
| H A D | dummy.c | 244 static void dummy_systimer_rearm(struct dummy_systimer_pcm *dpcm) in dummy_systimer_rearm() argument 246 mod_timer(&dpcm->timer, jiffies + in dummy_systimer_rearm() 247 DIV_ROUND_UP(dpcm->frac_period_rest, dpcm->rate)); in dummy_systimer_rearm() 250 static void dummy_systimer_update(struct dummy_systimer_pcm *dpcm) in dummy_systimer_update() argument 254 delta = jiffies - dpcm->base_time; in dummy_systimer_update() 257 dpcm->base_time += delta; in dummy_systimer_update() 258 delta *= dpcm->rate; in dummy_systimer_update() 259 dpcm->frac_pos += delta; in dummy_systimer_update() 260 while (dpcm->frac_pos >= dpcm->frac_buffer_size) in dummy_systimer_update() 261 dpcm->frac_pos -= dpcm->frac_buffer_size; in dummy_systimer_update() [all …]
|
| /linux/sound/soc/ |
| H A D | soc-pcm.c | 25 #include <sound/soc-dpcm.h> 41 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) 51 if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || in snd_soc_dpcm_can_be_update() 52 ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && in snd_soc_dpcm_can_be_update() 53 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update() 64 struct snd_soc_dpcm *dpcm; in snd_soc_dpcm_check_state() local 69 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state() 71 if (dpcm->fe == fe) in snd_soc_dpcm_check_state() 74 state = dpcm->fe->dpcm[strea in snd_soc_dpcm_check_state() 180 struct snd_soc_dpcm *dpcm; dpcm_show_state() local 284 dpcm_create_debugfs_state(struct snd_soc_dpcm * dpcm,int stream) dpcm_create_debugfs_state() argument 299 dpcm_remove_debugfs_state(struct snd_soc_dpcm * dpcm) dpcm_remove_debugfs_state() argument 305 dpcm_create_debugfs_state(struct snd_soc_dpcm * dpcm,int stream) dpcm_create_debugfs_state() argument 310 dpcm_remove_debugfs_state(struct snd_soc_dpcm * dpcm) dpcm_remove_debugfs_state() argument 405 struct snd_soc_dpcm *dpcm; dpcm_dapm_stream_event() local 1304 struct snd_soc_dpcm *dpcm; dpcm_be_connect() local 1351 struct snd_soc_dpcm *dpcm; dpcm_be_reparent() local 1380 struct snd_soc_dpcm *dpcm, *d; dpcm_be_disconnect() local 1514 dpcm_be_is_active(struct snd_soc_dpcm * dpcm,int stream,struct snd_soc_dapm_widget_list * list) dpcm_be_is_active() argument 1538 struct snd_soc_dpcm *dpcm; dpcm_prune_paths() local 1629 struct snd_soc_dpcm *dpcm; dpcm_clear_pending_state() local 1638 struct snd_soc_dpcm *dpcm; dpcm_be_dai_stop() local 1683 struct snd_soc_dpcm *dpcm; dpcm_be_dai_startup() local 1781 struct snd_soc_dpcm *dpcm; dpcm_runtime_setup_be_format() local 1818 struct snd_soc_dpcm *dpcm; dpcm_runtime_setup_be_chan() local 1866 struct snd_soc_dpcm *dpcm; dpcm_runtime_setup_be_rate() local 1901 struct snd_soc_dpcm *dpcm; dpcm_apply_symmetry() local 2010 struct snd_soc_dpcm *dpcm; dpcm_be_dai_hw_free() local 2077 struct snd_soc_dpcm *dpcm; dpcm_be_dai_hw_params() local 2189 struct snd_soc_dpcm *dpcm; dpcm_be_dai_trigger() local 2469 struct snd_soc_dpcm *dpcm; dpcm_be_dai_prepare() local 2566 struct snd_soc_dpcm *dpcm; dpcm_run_update_startup() local 2734 struct snd_soc_dpcm *dpcm; dpcm_fe_dai_cleanup() local [all...] |
| H A D | soc-core.c | 544 INIT_LIST_HEAD(&rtd->dpcm[stream].be_clients); in soc_new_pcm_runtime() 545 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 | 207 struct snd_soc_dpcm *dpcm; in avs_dai_be_hw_params() local 211 for_each_dpcm_fe(be, substream->stream, dpcm) { in avs_dai_be_hw_params() 212 fe = dpcm->fe; in avs_dai_be_hw_params() 213 fe_hw_params = &fe->dpcm[substream->stream].hw_params; in avs_dai_be_hw_params() 461 p = &be->dpcm[substream->stream].hw_params; in avs_dai_hda_be_prepare() 664 struct snd_soc_dpcm *dpcm; in avs_dai_fe_hw_params() local 681 for_each_dpcm_be(fe, substream->stream, dpcm) { in avs_dai_fe_hw_params() 682 be = dpcm->be; in avs_dai_fe_hw_params() 683 be_hw_params = &be->dpcm[substream->stream].hw_params; in avs_dai_fe_hw_params() 1095 ret = dai->driver->ops->hw_params(substream, &rtd->dpcm[substrea in avs_dai_resume_hw_params() 1719 struct snd_soc_dpcm *dpcm; avs_component_hda_open() local [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/Documentation/sound/soc/ |
| H A D | index.rst | 19 dpcm
|
| /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 | 1172 struct snd_soc_dpcm *dpcm; in hda_dsp_get_stream_llp() 1179 for_each_dpcm_be(rtd, substream->stream, dpcm) { in hda_dsp_get_stream_llp() 1180 if (dpcm->fe != rtd) in hda_dsp_get_stream_llp() 1183 be_rtd = dpcm->be; 1136 struct snd_soc_dpcm *dpcm; hda_dsp_get_stream_llp() local
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | core.c | 1576 struct snd_soc_dpcm *dpcm; in rsnd_hw_params() local 1579 for_each_dpcm_be(fe, stream, dpcm) { in rsnd_hw_params() 1580 struct snd_soc_pcm_runtime *be = dpcm->be; in rsnd_hw_params() 1581 struct snd_pcm_hw_params *be_params = &be->dpcm[stream].hw_params; in rsnd_hw_params()
|
| /linux/drivers/soundwire/ |
| H A D | intel.c | 807 hw_params = &rtd->dpcm[substream->stream].hw_params; in intel_prepare()
|