Home
last modified time | relevance | path

Searched full:dpcm (Results 1 – 25 of 48) sorted by relevance

12

/linux/sound/drivers/
H A Daloop.c72 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) in byte_pos() argument
172 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos()
176 HZ * (unsigned long long)dpcm->pcm_rate_shift); in byte_pos()
[all …]
H A Ddummy.c243 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/include/sound/
H A Dsoc-dpcm.h3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support
76 /* list of BE and FE for this DPCM link */
107 list_for_each_entry(_dpcm, &(be)->dpcm[stream].fe_clients, list_fe)
110 list_for_each_entry(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
112 list_for_each_entry_safe(_dpcm, __dpcm, &(fe)->dpcm[stream].be_clients, list_be)
114 list_for_each_entry_continue_reverse(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
/linux/sound/soc/generic/
H A Daudio-graph-card2-custom-sample.dtsi87 * [DPCM]
97 * [DPCM-Multi]
135 /* for [DPCM] */
141 /* for [DPCM-Multi] */
200 * [DPCM]: both FE / BE
206 * [DPCM-Multi]: both FE / BE
263 * [DPCM-Multi]::BE
484 dpcm {
494 * [DPCM]::FE
506 * [DPCM-Multi]::FE
[all …]
H A DKconfig10 It also support DPCM of multi CPU single Codec ststem.
19 It also support DPCM of multi CPU single Codec ststem.
H A Daudio-graph-card2.c129 DPCM
154 dpcm {
234 #define GRAPH_NODENAME_DPCM "dpcm"
312 str = "DPCM Front-End"; in graph_get_type()
314 str = "DPCM Back-End"; in graph_get_type()
472 * if DPCM-BE case in __graph_parse_node()
598 * DPCM is out of scope in graph_parse_node_multi()
877 * dpcm { in audio_graph2_link_dpcm()
911 * dpcm { in audio_graph2_link_dpcm()
944 graph_parse_convert(ep, dai_props); /* at node of <dpcm> */ in audio_graph2_link_dpcm()
[all …]
H A Dsimple-card.c234 dev_dbg(dev, "link_of DPCM (%pOF)\n", np); in simple_dai_link_of_dpcm()
413 * It is DPCM in __simple_for_each_link()
470 * In DPCM sound case, in __simple_for_each_link()
/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,imx-asrc.yaml12 different output clock. The driver currently works as a Front End of DPCM
82 description: The mutual sample rate used by DPCM Back Ends
86 description: The mutual sample width used by DPCM Back Ends
107 Defines a mutual sample format used by DPCM Back Ends, which can
H A Daudio-graph-card2.yaml34 dpcm:
36 description: DPCM node
H A Dqcom,q6usb.yaml7 title: Qualcomm ASoC DPCM USB backend DAI
13 The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM
/linux/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c78 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 Dispcsi2.c104 /* 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/sound/soc/sof/
H A Dipc3-pcm.c219 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()
400 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in sof_ipc3_pcm_dai_link_fixup()
401 struct snd_soc_pcm_runtime *fe = dpcm->fe; in sof_ipc3_pcm_dai_link_fixup()
407 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in sof_ipc3_pcm_dai_link_fixup()
408 struct snd_soc_pcm_runtime *fe = dpcm->fe; in sof_ipc3_pcm_dai_link_fixup()
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csid-gen1.h24 #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 Dcamss-csid-gen2.h35 #define PLAIN_FORMAT_PLAIN8 0x0 /* supports DPCM, UNCOMPRESSED_6/8_BIT */
36 #define PLAIN_FORMAT_PLAIN16 0x1 /* supports DPCM, UNCOMPRESSED_10/16_BIT */
/linux/drivers/slimbus/
H A Dstream.c99 * 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 Dpixfmt-srggb10dpcm8.rst25 colour compressed to 8 bits each, using DPCM compression. DPCM,
H A Dfourcc.rst19 - b: raw bayer, DPCM compressed
/linux/sound/soc/fsl/
H A Dfsl_asrc_dma.c149 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()
161 if (dpcm->fe != rtd) in fsl_asrc_dma_hw_params()
/linux/Documentation/driver-api/soundwire/
H A Dstream.rst197 framework(ASoC DPCM) guarantees that stream operations on a card are
289 per stream. From ASoC DPCM framework, this stream state maybe linked to
320 only be invoked once by respective Master(s) and Slave(s). From ASoC DPCM
369 once per stream. From ASoC DPCM framework, this stream state is linked
401 stream. From ASoC DPCM framework, this stream state is linked to
429 per stream. From ASoC DPCM framework, this stream state is linked to
496 all the Master(s) and Slave(s) associated with stream. From ASoC DPCM
507 The .shutdown() ASoC DPCM operation calls below Bus API to release
/linux/sound/soc/qcom/
H A Dcommon.c145 /* DPCM backend */ in qcom_snd_parse_of()
150 /* DPCM frontend */ in qcom_snd_parse_of()
157 /* DPCM */ in qcom_snd_parse_of()
/linux/Documentation/sound/soc/
H A Dindex.rst19 dpcm
H A Dplatform.rst78 Please see DPCM.txt for a description of item 4.
/linux/sound/soc/sof/intel/
H A Dhda-dai-ops.c32 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()
/linux/arch/arm64/boot/dts/renesas/
H A Dulcb-audio-graph-card2-mix+split.dtsi34 dpcm {

12