Searched refs:substream (Results 451 - 475 of 948) sorted by relevance

<<11121314151617181920>>

/linux-master/sound/soc/tegra/
H A Dtegra20_spdif.c75 static int tegra20_spdif_hw_params(struct snd_pcm_substream *substream, argument
159 static int tegra20_spdif_trigger(struct snd_pcm_substream *substream, int cmd, argument
213 static int tegra20_spdif_startup(struct snd_pcm_substream *substream, argument
228 return snd_pcm_hw_rule_add(substream->runtime, 0,
H A Dtegra30_i2s.c133 static int tegra30_i2s_hw_params(struct snd_pcm_substream *substream, argument
191 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
238 static int tegra30_i2s_trigger(struct snd_pcm_substream *substream, int cmd, argument
247 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
/linux-master/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h43 struct snd_pcm_substream *substream; member in struct:pcm_info
/linux-master/sound/soc/ti/
H A Domap-abe-twl6040.c45 static int omap_abe_hw_params(struct snd_pcm_substream *substream, argument
48 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
77 static int omap_abe_dmic_hw_params(struct snd_pcm_substream *substream, argument
80 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835.h72 struct snd_pcm_substream *substream; member in struct:bcm2835_alsa_stream
/linux-master/include/sound/
H A Dsb.h302 int snd_sb8_playback_open(struct snd_pcm_substream *substream);
303 int snd_sb8_capture_open(struct snd_pcm_substream *substream);
304 int snd_sb8_playback_close(struct snd_pcm_substream *substream);
305 int snd_sb8_capture_close(struct snd_pcm_substream *substream);
/linux-master/sound/soc/meson/
H A Daxg-frddr.c35 static int g12a_frddr_dai_prepare(struct snd_pcm_substream *substream, argument
51 static int axg_frddr_dai_hw_params(struct snd_pcm_substream *substream, argument
69 static int axg_frddr_dai_startup(struct snd_pcm_substream *substream, argument
86 static void axg_frddr_dai_shutdown(struct snd_pcm_substream *substream, argument
/linux-master/sound/soc/qcom/
H A Dapq8016_sbc.c193 static int msm8916_qdsp6_startup(struct snd_pcm_substream *substream) argument
195 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
214 static void msm8916_qdsp6_shutdown(struct snd_pcm_substream *substream) argument
216 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
H A Dlpass-hdmi.c19 static int lpass_hdmi_daiops_hw_params(struct snd_pcm_substream *substream, argument
190 static int lpass_hdmi_daiops_prepare(struct snd_pcm_substream *substream, argument
205 static int lpass_hdmi_daiops_trigger(struct snd_pcm_substream *substream, argument
/linux-master/sound/pci/ctxfi/
H A Dctvmem.c124 ct_vm_map(struct ct_vm *vm, struct snd_pcm_substream *substream, int size) argument
130 struct ct_atc *atc = snd_pcm_substream_chip(substream);
144 addr = snd_pcm_sgbuf_get_addr(substream, i << CT_PAGE_SHIFT);
/linux-master/sound/soc/stm/
H A Dstm32_spdifrx.c216 * @substream: PCM substream data pointer
237 struct snd_pcm_substream *substream; member in struct:stm32_spdifrx_data
748 if (spdifrx->substream)
749 snd_pcm_stop(spdifrx->substream,
757 if (err_xrun && spdifrx->substream)
758 snd_pcm_stop_xrun(spdifrx->substream);
764 static int stm32_spdifrx_startup(struct snd_pcm_substream *substream, argument
772 spdifrx->substream = substream;
782 stm32_spdifrx_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *cpu_dai) argument
815 stm32_spdifrx_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *cpu_dai) argument
845 stm32_spdifrx_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) argument
[all...]
/linux-master/sound/soc/codecs/
H A Duda1334.c90 static int uda1334_startup(struct snd_pcm_substream *substream, argument
106 snd_pcm_hw_constraint_list(substream->runtime, 0,
115 static void uda1334_shutdown(struct snd_pcm_substream *substream, argument
H A Dtlv320aic23.c333 static int tlv320aic23_hw_params(struct snd_pcm_substream *substream, argument
345 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
379 static int tlv320aic23_pcm_prepare(struct snd_pcm_substream *substream, argument
390 static void tlv320aic23_shutdown(struct snd_pcm_substream *substream, argument
401 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
H A Dml26124.c39 struct snd_pcm_substream *substream; member in struct:ml26124_priv
324 static int ml26124_hw_params(struct snd_pcm_substream *substream, argument
335 priv->substream = substream;
380 switch (priv->substream->stream) {
/linux-master/sound/soc/amd/
H A Dacp-es8336.c104 static int st_es8336_codec_startup(struct snd_pcm_substream *substream) argument
113 runtime = substream->runtime;
114 rtd = snd_soc_substream_to_rtd(substream);
/linux-master/sound/soc/amd/acp/
H A Damd.h148 struct snd_pcm_substream *substream; member in struct:acp_stream
245 void restore_acp_pdm_params(struct snd_pcm_substream *substream,
248 int restore_acp_i2s_params(struct snd_pcm_substream *substream,
/linux-master/sound/soc/fsl/
H A Dimx-hdmi.c32 static int imx_hdmi_hw_params(struct snd_pcm_substream *substream, argument
35 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
37 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
/linux-master/sound/soc/mediatek/mt8188/
H A Dmt8188-mt6359.c557 static int mt8188_dptx_hw_params(struct snd_pcm_substream *substream, argument
560 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
658 static int mt8188_max98390_hw_params(struct snd_pcm_substream *substream, argument
661 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
787 static int mt8188_nau8825_hw_params(struct snd_pcm_substream *substream, argument
790 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
821 static int mt8188_rt5682s_i2s_hw_params(struct snd_pcm_substream *substream, argument
824 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
866 static int mt8188_sof_be_hw_params(struct snd_pcm_substream *substream, argument
869 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
892 mt8188_es8326_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
[all...]
/linux-master/sound/soc/mediatek/mt6797/
H A Dmt6797-dai-adda.c151 static int mtk_dai_adda_hw_params(struct snd_pcm_substream *substream, argument
159 __func__, dai->id, substream->stream, rate);
161 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
/linux-master/sound/soc/sof/
H A Dsof-audio.c792 struct snd_pcm_substream *substream; local
799 substream = spcm->stream[dir].substream;
800 if (!substream || !substream->runtime)
804 * substream->runtime being not NULL indicates
832 int sof_pcm_stream_free(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, argument
839 if (spcm->prepared[substream->stream]) {
842 snd_sof_pcm_platform_trigger(sdev, substream, SNDRV_PCM_TRIGGER_STOP);
846 ret = pcm_ops->hw_free(sdev->component, substream);
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-stream.c46 if (hstream->substream)
47 rtd = snd_soc_substream_to_rtd(hstream->substream);
687 struct snd_pcm_substream *substream)
689 struct hdac_stream *hstream = substream->runtime->private_data;
713 hstream->substream = NULL;
779 if (!s->substream && !s->cstream) {
781 * when no substream is found, the DMA may used for code loading
796 if (s->substream && sof_hda->no_ipc_position) {
797 snd_sof_pcm_period_elapsed(s->substream);
1100 * @substream
686 hda_dsp_stream_hw_free(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
1104 hda_dsp_get_stream_llp(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
1142 hda_dsp_get_stream_ldp(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
[all...]
/linux-master/include/linux/soundwire/
H A Dsdw_intel.h192 struct snd_pcm_substream *substream; member in struct:sdw_intel_stream_params_data
205 struct snd_pcm_substream *substream; member in struct:sdw_intel_stream_free_data
219 int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai);
/linux-master/sound/soc/samsung/
H A Di2s.c51 void (*fixup_early)(struct snd_pcm_substream *substream,
53 void (*fixup_late)(struct snd_pcm_substream *substream,
116 void (*fixup_early)(struct snd_pcm_substream *substream,
118 void (*fixup_late)(struct snd_pcm_substream *substream,
725 static int i2s_hw_params(struct snd_pcm_substream *substream, argument
747 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
753 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
821 /* We set constraints on the substream according to the version of I2S */
822 static int i2s_startup(struct snd_pcm_substream *substream, argument
849 static void i2s_shutdown(struct snd_pcm_substream *substream, argument
935 i2s_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument
1020 i2s_delay(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
1578 fsd_i2s_fixup_early(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
1591 fsd_i2s_fixup_late(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
[all...]
/linux-master/sound/i2c/other/
H A Dak4113.c493 ak4113->substream = cap_substream;
524 ak4113->substream ? ak4113->substream->runtime : NULL;
600 snd_pcm_stream_lock_irqsave(ak4113->substream, _flags);
601 if (snd_pcm_running(ak4113->substream)) {
604 snd_pcm_stop(ak4113->substream,
609 snd_pcm_stream_unlock_irqrestore(ak4113->substream, _flags);
H A Dak4117.c419 ak4117->substream = cap_substream;
444 struct snd_pcm_runtime *runtime = ak4117->substream ? ak4117->substream->runtime : NULL;
506 snd_pcm_stream_lock_irqsave(ak4117->substream, _flags);
507 if (snd_pcm_running(ak4117->substream)) {
509 snd_pcm_stop(ak4117->substream, SNDRV_PCM_STATE_DRAINING);
513 snd_pcm_stream_unlock_irqrestore(ak4117->substream, _flags);

Completed in 225 milliseconds

<<11121314151617181920>>