/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, 171 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument 173 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos() 177 HZ * (unsigned long long)dpcm in byte_pos() 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 395 loopback_active_notify(struct loopback_pcm * dpcm) loopback_active_notify() argument 405 struct loopback_pcm *dpcm = runtime->private_data; loopback_trigger() local 462 struct loopback_pcm *dpcm = runtime->private_data; params_change() local 482 struct loopback_pcm *dpcm = runtime->private_data; loopback_prepare() local 525 clear_capture_buf(struct loopback_pcm * dpcm,unsigned int bytes) clear_capture_buf() argument 619 bytepos_delta(struct loopback_pcm * dpcm,unsigned int jiffies_delta) bytepos_delta() argument 638 bytepos_finish(struct loopback_pcm * dpcm,unsigned int delta) bytepos_finish() argument 703 struct loopback_pcm *dpcm = timer_container_of(dpcm, t, timer); loopback_jiffies_timer_function() local 726 struct loopback_pcm *dpcm = runtime->private_data; loopback_snd_timer_check_resolution() local 882 loopback_jiffies_timer_dpcm_info(struct loopback_pcm * dpcm,struct snd_info_buffer * buffer) loopback_jiffies_timer_dpcm_info() argument 894 loopback_snd_timer_dpcm_info(struct loopback_pcm * dpcm,struct snd_info_buffer * buffer) loopback_snd_timer_dpcm_info() argument 910 struct loopback_pcm *dpcm = runtime->private_data; loopback_pointer() local 951 struct loopback_pcm *dpcm = runtime->private_data; loopback_runtime_free() local 958 struct loopback_pcm *dpcm = runtime->private_data; loopback_hw_free() local 978 struct loopback_pcm *dpcm = rule->private; rule_format() local 993 struct loopback_pcm *dpcm = rule->private; rule_rate() local 1009 struct loopback_pcm *dpcm = rule->private; rule_channels() local 1025 struct loopback_pcm *dpcm = rule->private; rule_period_bytes() local 1054 struct loopback_pcm *dpcm = substream->runtime->private_data; free_cable() local 1064 loopback_jiffies_timer_open(struct loopback_pcm * dpcm) loopback_jiffies_timer_open() argument 1144 loopback_snd_timer_open(struct loopback_pcm * dpcm) loopback_snd_timer_open() argument 1236 struct loopback_pcm *dpcm; loopback_open() local 1336 struct loopback_pcm *dpcm = substream->runtime->private_data; loopback_close() local 1690 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 in dummy_systimer_update() 271 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_start() local 281 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_stop() local 291 struct dummy_systimer_pcm *dpcm = runtime->private_data; dummy_systimer_prepare() local 305 struct dummy_systimer_pcm *dpcm = timer_container_of(dpcm, t, timer); dummy_systimer_callback() local 322 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_pointer() local 334 struct dummy_systimer_pcm *dpcm; dummy_systimer_create() local 377 struct dummy_hrtimer_pcm *dpcm; dummy_hrtimer_callback() local 396 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_start() local 406 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_stop() local 414 dummy_hrtimer_sync(struct dummy_hrtimer_pcm * dpcm) dummy_hrtimer_sync() argument 423 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_pointer() local 437 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_prepare() local 455 struct dummy_hrtimer_pcm *dpcm; dummy_hrtimer_create() local 469 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_free() local [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[stream].state; in snd_soc_dpcm_check_state() 179 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state() [all …]
|
H A D | soc-usb.c | 61 * @component: USB DPCM backend DAI component 177 * @component: USB DPCM backend DAI component 265 * handle how the DPCM backend selects, which device to enable USB offloading
|
/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/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsi2.c | 104 /* No DPCM decompression */ 106 /* DPCM decompression */ 111 /* No DPCM decompression */ 114 /* DPCM decompression */ 122 /* No DPCM decompression */ 124 /* DPCM decompression */ 130 /* No DPCM decompression */ 133 /* DPCM decompression */ 142 /* No DPCM decompression */ 145 /* DPCM decompression */ [all …]
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csid-gen1.h | 24 #define PLAIN_FORMAT_PLAIN8 0x0 /* supports DPCM, UNCOMPRESSED_6/8_BIT */ 25 #define PLAIN_FORMAT_PLAIN16 0x1 /* supports DPCM, UNCOMPRESSED_10/16_BIT */
|
H A D | camss-csid-gen2.h | 35 #define PLAIN_FORMAT_PLAIN8 0x0 /* supports DPCM, UNCOMPRESSED_6/8_BIT */ 36 #define PLAIN_FORMAT_PLAIN16 0x1 /* supports DPCM, UNCOMPRESSED_10/16_BIT */
|
/linux/sound/soc/generic/ |
H A D | Kconfig | 12 It also support DPCM of multi CPU single Codec ststem. 21 It also support DPCM of multi CPU single Codec ststem.
|
H A D | audio-graph-card2.c | 129 DPCM 154 dpcm { 234 #define GRAPH_NODENAME_DPCM "dpcm" 319 str = "DPCM Front-End"; in graph_get_type() 321 str = "DPCM Back-End"; in graph_get_type() 479 * if DPCM-BE case in __graph_parse_node() 606 * DPCM is out of scope in graph_parse_node_multi() 889 * dpcm { in audio_graph2_link_dpcm() 923 * dpcm { in audio_graph2_link_dpcm() 956 graph_parse_convert(ep, dai_props); /* at node of <dpcm> */ in audio_graph2_link_dpcm() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | audio-graph-card2.yaml | 30 dpcm: 32 description: DPCM node
|
H A D | qcom,q6usb.yaml | 7 title: Qualcomm ASoC DPCM USB backend DAI 13 The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM
|
/linux/drivers/slimbus/ |
H A D | stream.c | 99 * From ASoC DPCM framework, this state is linked to startup() operation. 201 * return zero on success and error code on failure. From ASoC DPCM framework, 356 * Return: zero on success and error code on failure. From ASoC DPCM framework, 409 * Return: zero on success and error code on failure. From ASoC DPCM framework, 446 * Return: zero on success and error code on failure. From ASoC DPCM framework, 476 * Return: zero on success and error code on failure. From ASoC DPCM framework,
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-srggb10dpcm8.rst | 25 colour compressed to 8 bits each, using DPCM compression. DPCM,
|
H A D | fourcc.rst | 19 - b: raw bayer, DPCM compressed
|
/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() 663 struct snd_soc_dpcm *dpcm; in avs_dai_fe_hw_params() local 680 for_each_dpcm_be(fe, substream->stream, dpcm) { in avs_dai_fe_hw_params() 681 be = dpcm->be; in avs_dai_fe_hw_params() 682 be_hw_params = &be->dpcm[substream->stream].hw_params; in avs_dai_fe_hw_params() 1092 ret = dai->driver->ops->hw_params(substream, &rtd->dpcm[substrea in avs_dai_resume_hw_params() 1714 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 155 /* Fetch the Back-End dma_data from DPCM */ in fsl_asrc_dma_hw_params() 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()
|
H A D | fsl-asoc-card.c | 83 * @dai_link: DAI link structure including normal one and DPCM link 117 * This dapm route map exists for DPCM link only. 323 /* DPCM Link between Front-End and Back-End (Optional) */ 709 * "DPCM Link Front-End": 1 cpus, 1 codecs (dummy), 1 platforms in fsl_asoc_card_probe() 710 * "DPCM Link Back-End": 1 cpus, 2 codecs in fsl_asoc_card_probe() 991 /* DPCM DAI Links only if ASRC exists */ in fsl_asoc_card_probe()
|
/linux/sound/soc/apple/ |
H A D | mca.c | 15 // of their native cluster). We map this onto ASoC's (DPCM) notion of backend 573 struct snd_soc_dpcm *dpcm; in mca_fe_get_port() local 576 for_each_dpcm_be(fe, substream->stream, dpcm) { in mca_fe_get_port() 577 be = dpcm->be; in mca_fe_get_port() 731 struct snd_soc_dpcm *dpcm; in mca_be_startup() local 735 for_each_dpcm_fe(be, substream->stream, dpcm) { in mca_be_startup() 736 if (fe && dpcm->fe != fe) { in mca_be_startup() 741 fe = dpcm->fe; in mca_be_startup()
|
/linux/Documentation/sound/soc/ |
H A D | index.rst | 19 dpcm
|
H A D | usb.rst | 90 - ``params``: Requested PCM parameters from the USB DPCM BE DAI link 183 - ``component``: DPCM BE DAI link component 223 The ASoC DPCM USB BE DAI link is the entity responsible for allocating and 440 execute the registered function calls to the DPCM BE DAI link.
|
/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()
|